class Aws::S3::BucketAcl

def put(options = {})

Returns:
  • (EmptyStructure) -

Options Hash: (**options)
  • :grant_write_acp (String) --
  • :grant_write (String) --
  • :grant_read_acp (String) --
  • :grant_read (String) --
  • :grant_full_control (String) --
  • :content_md5 (String) --
  • :access_control_policy (Types::AccessControlPolicy) --
  • :acl (String) --

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

Other tags:
    Example: Request syntax with placeholder values -
def put(options = {})
  options = options.merge(bucket: @bucket_name)
  resp = @client.put_bucket_acl(options)
  resp.data
end