Class: Aws::S3::Types::CreateSessionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::CreateSessionRequest
- Defined in:
- gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bucket ⇒ String
The name of the bucket that you create a session for.
-
#session_mode ⇒ String
Specifies the mode of the session that will be created, either
ReadWrite
orReadOnly
.
Instance Attribute Details
#bucket ⇒ String
The name of the bucket that you create a session for.
3329 3330 3331 3332 3333 3334 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3329 class CreateSessionRequest < Struct.new( :session_mode, :bucket) SENSITIVE = [] include Aws::Structure end |
#session_mode ⇒ String
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:
GetObject
, HeadObject
, ListObjectsV2
, GetObjectAttributes
,
ListParts
, and ListMultipartUploads
.
3329 3330 3331 3332 3333 3334 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3329 class CreateSessionRequest < Struct.new( :session_mode, :bucket) SENSITIVE = [] include Aws::Structure end |