You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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.

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.

Returns:

  • (String)

    The error code that indicates why the parameter or parameter combination is not valid.

#messageString

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

Returns:

  • (String)

    The error message that describes why the parameter or parameter combination is not valid.