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)


4269
4270
4271
4272
4273
4274
4275
4276
# File 'lib/aws-sdk-s3/types.rb', line 4269

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)


4269
4270
4271
4272
4273
4274
4275
4276
# File 'lib/aws-sdk-s3/types.rb', line 4269

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)


4269
4270
4271
4272
4273
4274
4275
4276
# File 'lib/aws-sdk-s3/types.rb', line 4269

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)


4269
4270
4271
4272
4273
4274
4275
4276
# File 'lib/aws-sdk-s3/types.rb', line 4269

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