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

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

Returns:

  • (String)


9590
9591
9592
9593
9594
9595
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9590

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)


9590
9591
9592
9593
9594
9595
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9590

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