Class: Aws::EC2::Types::ValidationError

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

Overview

The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see [Error codes].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html

Returns:

  • (String)


67526
67527
67528
67529
67530
67531
# File 'lib/aws-sdk-ec2/types.rb', line 67526

class ValidationError < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see [Error codes].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html

Returns:

  • (String)


67526
67527
67528
67529
67530
67531
# File 'lib/aws-sdk-ec2/types.rb', line 67526

class ValidationError < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end