class Aws::S3::ObjectSummary

def restore_object(options = {})

Returns:
  • (Types::RestoreObjectOutput) -

Options Hash: (**options)
  • :expected_bucket_owner (String) --
  • :checksum_algorithm (String) --
  • :request_payer (String) --
  • :restore_request (Types::RestoreRequest) --
  • :version_id (String) --

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

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