Class: Aws::NetworkManager::Types::ValidationException

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-networkmanager/types.rb

Overview

The input fails to satisfy the constraints.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fields ⇒ Array<Types::ValidationExceptionField>

The fields that caused the error, if applicable.



9581
9582
9583
9584
9585
9586
9587
9588
# File 'lib/aws-sdk-networkmanager/types.rb', line 9581

class ValidationException < Struct.new(
  :message,
  :reason,
  :fields,
  :reason_code)
  SENSITIVE = []
  include Aws::Structure
end

#message ⇒ String

Returns:

  • (String)


9581
9582
9583
9584
9585
9586
9587
9588
# File 'lib/aws-sdk-networkmanager/types.rb', line 9581

class ValidationException < Struct.new(
  :message,
  :reason,
  :fields,
  :reason_code)
  SENSITIVE = []
  include Aws::Structure
end

#reason ⇒ String

The reason for the error.

Returns:

  • (String)


9581
9582
9583
9584
9585
9586
9587
9588
# File 'lib/aws-sdk-networkmanager/types.rb', line 9581

class ValidationException < Struct.new(
  :message,
  :reason,
  :fields,
  :reason_code)
  SENSITIVE = []
  include Aws::Structure
end

#reason_code ⇒ String

A prerequisite that you must complete before you retry the request. Only the network scope operations return this value. Branch on this value rather than on Message. These are the same codes that a network scope and a network scope principal carry in StateReason, so a prerequisite that is missing when you make the request and one that is found to be missing later are reported the same way.

Returns:

  • (String)


9581
9582
9583
9584
9585
9586
9587
9588
# File 'lib/aws-sdk-networkmanager/types.rb', line 9581

class ValidationException < Struct.new(
  :message,
  :reason,
  :fields,
  :reason_code)
  SENSITIVE = []
  include Aws::Structure
end