Class: Aws::S3::Types::DeletedObject

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Information about the deleted object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_markerBoolean

Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.

<note markdown=“1”> This functionality is not supported for directory buckets.

</note>

Returns:

  • (Boolean)


4701
4702
4703
4704
4705
4706
4707
4708
# File 'lib/aws-sdk-s3/types.rb', line 4701

class DeletedObject < Struct.new(
  :key,
  :version_id,
  :delete_marker,
  :delete_marker_version_id)
  SENSITIVE = []
  include Aws::Structure
end

#delete_marker_version_idString

The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

<note markdown=“1”> This functionality is not supported for directory buckets.

</note>

Returns:

  • (String)


4701
4702
4703
4704
4705
4706
4707
4708
# File 'lib/aws-sdk-s3/types.rb', line 4701

class DeletedObject < Struct.new(
  :key,
  :version_id,
  :delete_marker,
  :delete_marker_version_id)
  SENSITIVE = []
  include Aws::Structure
end

#keyString

The name of the deleted object.

Returns:

  • (String)


4701
4702
4703
4704
4705
4706
4707
4708
# File 'lib/aws-sdk-s3/types.rb', line 4701

class DeletedObject < Struct.new(
  :key,
  :version_id,
  :delete_marker,
  :delete_marker_version_id)
  SENSITIVE = []
  include Aws::Structure
end

#version_idString

The version ID of the deleted object.

<note markdown=“1”> This functionality is not supported for directory buckets.

</note>

Returns:

  • (String)


4701
4702
4703
4704
4705
4706
4707
4708
# File 'lib/aws-sdk-s3/types.rb', line 4701

class DeletedObject < Struct.new(
  :key,
  :version_id,
  :delete_marker,
  :delete_marker_version_id)
  SENSITIVE = []
  include Aws::Structure
end