/AWS1/CL_EC2DELETESNAPRETCODE¶
The snapshot ID and its deletion result code.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_snapshotid TYPE /AWS1/EC2SNAPSHOTID /AWS1/EC2SNAPSHOTID¶
The ID of the snapshot.
iv_returncode TYPE /AWS1/EC2SNAPSHOTRETURNCODES /AWS1/EC2SNAPSHOTRETURNCODES¶
The result code from the snapshot deletion attempt. Possible values:
success- The snapshot was successfully deleted.
skipped- The snapshot was not deleted because it's associated with other AMIs.
missing-permissions- The snapshot was not deleted because the role lacksDeleteSnapshotpermissions. For more information, see How Amazon EBS works with IAM.
internal-error- The snapshot was not deleted due to a server error.
client-error- The snapshot was not deleted due to a client configuration error.For details about an error, check the
DeleteSnapshotevent in the CloudTrail event history. For more information, see View event history in the Amazon Web Services CloudTrail User Guide.
Queryable Attributes¶
SnapshotId¶
The ID of the snapshot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SNAPSHOTID() |
Getter for SNAPSHOTID, with configurable default |
ASK_SNAPSHOTID() |
Getter for SNAPSHOTID w/ exceptions if field has no value |
HAS_SNAPSHOTID() |
Determine if SNAPSHOTID has a value |
ReturnCode¶
The result code from the snapshot deletion attempt. Possible values:
success- The snapshot was successfully deleted.
skipped- The snapshot was not deleted because it's associated with other AMIs.
missing-permissions- The snapshot was not deleted because the role lacksDeleteSnapshotpermissions. For more information, see How Amazon EBS works with IAM.
internal-error- The snapshot was not deleted due to a server error.
client-error- The snapshot was not deleted due to a client configuration error.For details about an error, check the
DeleteSnapshotevent in the CloudTrail event history. For more information, see View event history in the Amazon Web Services CloudTrail User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETURNCODE() |
Getter for RETURNCODE, with configurable default |
ASK_RETURNCODE() |
Getter for RETURNCODE w/ exceptions if field has no value |
HAS_RETURNCODE() |
Determine if RETURNCODE 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_DELETESNAPSHOTRESULTSET¶
TYPES TT_DELETESNAPSHOTRESULTSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2DELETESNAPRETCODE WITH DEFAULT KEY
.