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

Class: Aws::EC2::Types::ResponseError

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

Overview

Describes the error that's returned when you cannot delete a launch template version.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code.

Possible values:

  • launchTemplateIdDoesNotExist
  • launchTemplateIdMalformed
  • launchTemplateNameDoesNotExist
  • launchTemplateNameMalformed
  • launchTemplateVersionDoesNotExist
  • unexpectedError

Returns:

  • (String)

    The error code.

#messageString

The error message, if applicable.

Returns:

  • (String)

    The error message, if applicable.