Skip to content

/AWS1/CL_ASCLAUNCHINSTSERROR

Contains details about errors encountered during instance launch attempts.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_instancetype TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The instance type that failed to launch.

iv_markettype TYPE /AWS1/ASCXMLSTRINGMAXLEN64 /AWS1/ASCXMLSTRINGMAXLEN64

The market type (On-Demand or Spot) that encountered the launch error.

iv_subnetid TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The subnet ID where the instance launch was attempted.

iv_availabilityzone TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The Availability Zone where the instance launch was attempted.

iv_availabilityzoneid TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The Availability Zone ID where the launch error occurred.

iv_errorcode TYPE /AWS1/ASCXMLSTRINGMAXLEN64 /AWS1/ASCXMLSTRINGMAXLEN64

The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).

iv_errormessage TYPE /AWS1/ASCXMLSTRING /AWS1/ASCXMLSTRING

A descriptive message providing details about the error encountered during the launch attempt.


Queryable Attributes

InstanceType

The instance type that failed to launch.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE, with configurable default
ASK_INSTANCETYPE() Getter for INSTANCETYPE w/ exceptions if field has no value
HAS_INSTANCETYPE() Determine if INSTANCETYPE has a value

MarketType

The market type (On-Demand or Spot) that encountered the launch error.

Accessible with the following methods

Method Description
GET_MARKETTYPE() Getter for MARKETTYPE, with configurable default
ASK_MARKETTYPE() Getter for MARKETTYPE w/ exceptions if field has no value
HAS_MARKETTYPE() Determine if MARKETTYPE has a value

SubnetId

The subnet ID where the instance launch was attempted.

Accessible with the following methods

Method Description
GET_SUBNETID() Getter for SUBNETID, with configurable default
ASK_SUBNETID() Getter for SUBNETID w/ exceptions if field has no value
HAS_SUBNETID() Determine if SUBNETID has a value

AvailabilityZone

The Availability Zone where the instance launch was attempted.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONE() Getter for AVAILABILITYZONE, with configurable default
ASK_AVAILABILITYZONE() Getter for AVAILABILITYZONE w/ exceptions if field has no va
HAS_AVAILABILITYZONE() Determine if AVAILABILITYZONE has a value

AvailabilityZoneId

The Availability Zone ID where the launch error occurred.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID, with configurable default
ASK_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID w/ exceptions if field has no
HAS_AVAILABILITYZONEID() Determine if AVAILABILITYZONEID has a value

ErrorCode

The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).

Accessible with the following methods

Method Description
GET_ERRORCODE() Getter for ERRORCODE, with configurable default
ASK_ERRORCODE() Getter for ERRORCODE w/ exceptions if field has no value
HAS_ERRORCODE() Determine if ERRORCODE has a value

ErrorMessage

A descriptive message providing details about the error encountered during the launch attempt.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LAUNCHINSTANCESERRORS

TYPES TT_LAUNCHINSTANCESERRORS TYPE STANDARD TABLE OF REF TO /AWS1/CL_ASCLAUNCHINSTSERROR WITH DEFAULT KEY
.