class Aws::S3::ObjectVersion

def head(options = {})

Returns:
  • (Types::HeadObjectOutput) -

Options Hash: (**options)
  • :checksum_mode (String) --
  • :expected_bucket_owner (String) --
  • :part_number (Integer) --
  • :request_payer (String) --
  • :sse_customer_key_md5 (String) --
  • :sse_customer_key (String) --
  • :sse_customer_algorithm (String) --
  • :response_expires (Time, DateTime, Date, Integer, String) --
  • :response_content_type (String) --
  • :response_content_language (String) --
  • :response_content_encoding (String) --
  • :response_content_disposition (String) --
  • :response_cache_control (String) --
  • :range (String) --
  • :if_unmodified_since (Time, DateTime, Date, Integer, String) --
  • :if_none_match (String) --
  • :if_modified_since (Time, DateTime, Date, Integer, String) --
  • :if_match (String) --

Parameters:
  • options (Hash) -- ({})

Other tags:
    Example: Request syntax with placeholder values -
def head(options = {})
  options = options.merge(
    bucket: @bucket_name,
    key: @object_key,
    version_id: @id
  )
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
    @client.head_object(options)
  end
  resp.data
end