Skip to content

/AWS1/CL_EC2SPOTINSTANCESTATUS

Describes the status of a Spot Instance request.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_code TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide.

iv_message TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The description for the status code.

iv_updatetime TYPE /AWS1/EC2DATETIME /AWS1/EC2DATETIME

The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).


Queryable Attributes

Code

The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide.

Accessible with the following methods

Method Description
GET_CODE() Getter for CODE, with configurable default
ASK_CODE() Getter for CODE w/ exceptions if field has no value
HAS_CODE() Determine if CODE has a value

Message

The description for the status code.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value

UpdateTime

The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Accessible with the following methods

Method Description
GET_UPDATETIME() Getter for UPDATETIME, with configurable default
ASK_UPDATETIME() Getter for UPDATETIME w/ exceptions if field has no value
HAS_UPDATETIME() Determine if UPDATETIME has a value