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)


65779
65780
65781
65782
65783
65784
# File 'lib/aws-sdk-ec2/types.rb', line 65779

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)


65779
65780
65781
65782
65783
65784
# File 'lib/aws-sdk-ec2/types.rb', line 65779

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