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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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

#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.

Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object.

Returns:

  • (String)


14996
14997
14998
14999
15000
15001
15002
15003
15004
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14996

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.

Returns:

  • (String)


14996
14997
14998
14999
15000
15001
15002
15003
15004
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14996

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.

This functionality is only supported for directory buckets.

Returns:

  • (Time)


14996
14997
14998
14999
15000
15001
15002
15003
15004
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14996

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.

This functionality is only supported for directory buckets.

Returns:

  • (Integer)


14996
14997
14998
14999
15000
15001
15002
15003
15004
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14996

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.

This functionality is not supported for directory buckets.

Returns:

  • (String)


14996
14997
14998
14999
15000
15001
15002
15003
15004
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14996

class ObjectIdentifier < Struct.new(
  :key,
  :version_id,
  :etag,
  :last_modified_time,
  :size)
  SENSITIVE = []
  include Aws::Structure
end