Class: Aws::S3::Types::CreateSessionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::CreateSessionRequest
- Includes:
- Aws::Structure
- Defined in:
- 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` or `ReadOnly`.
Instance Attribute Details
#bucket ⇒ String
The name of the bucket that you create a session for.
3351 3352 3353 3354 3355 3356 |
# File 'lib/aws-sdk-s3/types.rb', line 3351 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`.
3351 3352 3353 3354 3355 3356 |
# File 'lib/aws-sdk-s3/types.rb', line 3351 class CreateSessionRequest < Struct.new( :session_mode, :bucket) SENSITIVE = [] include Aws::Structure end |