Learn R Programming

paws.storage (version 0.7.0)

s3_create_session: Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint APIs on directory buckets

Description

Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint APIs on directory buckets. For more information about Zonal endpoint APIs that include the Availability Zone in the request endpoint, see S3 Express One Zone APIs in the Amazon S3 User Guide.

See https://www.paws-r-sdk.com/docs/s3_create_session/ for full documentation.

Usage

s3_create_session(SessionMode = NULL, Bucket)

Arguments

SessionMode

Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session is capable of executing all the Zonal endpoint APIs on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint APIs: get_object, head_object, list_objects_v2, get_object_attributes, list_parts, and list_multipart_uploads.

Bucket

[required] The name of the bucket that you create a session for.