Class: Aws::S3::Types::ObjectIdentifier
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::ObjectIdentifier
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Object Identifier is unique value to identify objects.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#etag ⇒ String
An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL.
-
#key ⇒ String
Key name of the object.
-
#last_modified_time ⇒ Time
If present, the objects are deleted only if its modification times matches the provided ‘Timestamp`.
-
#size ⇒ Integer
If present, the objects are deleted only if its size matches the provided size in bytes.
-
#version_id ⇒ String
Version ID for the specific version of the object to delete.
Instance Attribute Details
#etag ⇒ String
An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL. This header field makes the request method conditional on ‘ETags`.
<note markdown=“1”> Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object.
</note>
12351 12352 12353 12354 12355 12356 12357 12358 12359 |
# File 'lib/aws-sdk-s3/types.rb', line 12351 class ObjectIdentifier < Struct.new( :key, :version_id, :etag, :last_modified_time, :size) SENSITIVE = [] include Aws::Structure end |
#key ⇒ String
Key name of the object.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [ XML related object key constraints].
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
12351 12352 12353 12354 12355 12356 12357 12358 12359 |
# File 'lib/aws-sdk-s3/types.rb', line 12351 class ObjectIdentifier < Struct.new( :key, :version_id, :etag, :last_modified_time, :size) SENSITIVE = [] include Aws::Structure end |
#last_modified_time ⇒ Time
If present, the objects are deleted only if its modification times matches the provided ‘Timestamp`.
<note markdown=“1”> This functionality is only supported for directory buckets.
</note>
12351 12352 12353 12354 12355 12356 12357 12358 12359 |
# File 'lib/aws-sdk-s3/types.rb', line 12351 class ObjectIdentifier < Struct.new( :key, :version_id, :etag, :last_modified_time, :size) SENSITIVE = [] include Aws::Structure end |
#size ⇒ Integer
If present, the objects are deleted only if its size matches the provided size in bytes.
<note markdown=“1”> This functionality is only supported for directory buckets.
</note>
12351 12352 12353 12354 12355 12356 12357 12358 12359 |
# File 'lib/aws-sdk-s3/types.rb', line 12351 class ObjectIdentifier < Struct.new( :key, :version_id, :etag, :last_modified_time, :size) SENSITIVE = [] include Aws::Structure end |
#version_id ⇒ String
Version ID for the specific version of the object to delete.
<note markdown=“1”> This functionality is not supported for directory buckets.
</note>
12351 12352 12353 12354 12355 12356 12357 12358 12359 |
# File 'lib/aws-sdk-s3/types.rb', line 12351 class ObjectIdentifier < Struct.new( :key, :version_id, :etag, :last_modified_time, :size) SENSITIVE = [] include Aws::Structure end |