Class: Aws::EC2::Types::DeleteSnapshotReturnCode
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DeleteSnapshotReturnCode
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
The snapshot ID and its deletion result code.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#return_code ⇒ String
The result code from the snapshot deletion attempt.
-
#snapshot_id ⇒ String
The ID of the snapshot.
Instance Attribute Details
#return_code ⇒ String
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 DeleteSnapshot event in the
CloudTrail event history. For more information, see View event
history in the Amazon Web Services CloudTrail User Guide.
21757 21758 21759 21760 21761 21762 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21757 class DeleteSnapshotReturnCode < Struct.new( :snapshot_id, :return_code) SENSITIVE = [] include Aws::Structure end |
#snapshot_id ⇒ String
The ID of the snapshot.
21757 21758 21759 21760 21761 21762 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21757 class DeleteSnapshotReturnCode < Struct.new( :snapshot_id, :return_code) SENSITIVE = [] include Aws::Structure end |