You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Key name of the object to delete.

Returns:

  • (String)


5536
5537
5538
5539
5540
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5536

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

#version_idString

VersionId for the specific version of the object to delete.

Returns:

  • (String)


5536
5537
5538
5539
5540
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5536

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