class Aws::S3::Presigner

def presigned_url(method, params = {})

Returns:
  • (String) - a presigned url

Raises:
  • (ArgumentError) - Raises an ArgumentError if `:expires_in`

Options Hash: (**params)
  • :whitelist_headers (Array) -- Additional
  • :use_accelerate_endpoint (Boolean) -- When `true`,
  • :virtual_host (Boolean) -- When `true`, the
  • :secure (Boolean) -- When `false`, a HTTP URL
  • :time (Time) -- The starting time for when the
  • :expires_in (Integer) -- The number of seconds

Parameters:
  • method (Symbol) -- Symbolized method name of the operation you want
def presigned_url(method, params = {})
  url, _headers = _presigned_request(method, params)
  url
end