Class: Aws::S3::Types::CreateSessionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

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

Returns:

  • (String)


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_modeString

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.

Returns:

  • (String)


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