DeleteSnapshotReturnCode - Amazon Elastic Compute Cloud
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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 lacks DeleteSnapshot permissions. 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 DeleteSnapshot event 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-error

Required: 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: