Class: Aws::EC2::Types::DeleteSnapshotReturnCode

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#return_codeString

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 Amazon Web Services CloudTrail User Guide.

Returns:

  • (String)


17887
17888
17889
17890
17891
17892
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17887

class DeleteSnapshotReturnCode < Struct.new(
  :snapshot_id,
  :return_code)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The ID of the snapshot.

Returns:

  • (String)


17887
17888
17889
17890
17891
17892
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17887

class DeleteSnapshotReturnCode < Struct.new(
  :snapshot_id,
  :return_code)
  SENSITIVE = []
  include Aws::Structure
end