DeleteSnapshotReturnCode
The snapshot ID and its deletion result code.
Contents
- 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 AWS CloudTrail User Guide.Type: String
Valid Values:
success | skipped | missing-permissions | internal-error | client-errorRequired: No
-
- snapshotId
-
The ID of the snapshot.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: