Class: Aws::S3::Types::ObjectIdentifier

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

Instance Attribute Details

#etagString

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>

Returns:

  • (String)


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

#keyString

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

Returns:

  • (String)


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_timeTime

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>

Returns:

  • (Time)


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

#sizeInteger

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>

Returns:

  • (Integer)


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_idString

Version ID for the specific version of the object to delete.

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

</note>

Returns:

  • (String)


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