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

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

Overview

Note:

When making an API call, you may pass ObjectIdentifier data as a hash:

{
  key: "ObjectKey", # required
  version_id: "ObjectVersionId",
}

Object Identifier is unique value to identify objects.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

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


10571
10572
10573
10574
10575
10576
# File 'lib/aws-sdk-s3/types.rb', line 10571

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

#version_idString

VersionId for the specific version of the object to delete.

Returns:

  • (String)


10571
10572
10573
10574
10575
10576
# File 'lib/aws-sdk-s3/types.rb', line 10571

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