Struct aws_sdk_s3::operation::create_session::CreateSessionInput
source · #[non_exhaustive]pub struct CreateSessionInput {
pub session_mode: Option<SessionMode>,
pub bucket: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.session_mode: Option<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: GetObject
, HeadObject
, ListObjectsV2
, GetObjectAttributes
, ListParts
, and ListMultipartUploads
.
bucket: Option<String>
The name of the bucket that you create a session for.
Implementations§
source§impl CreateSessionInput
impl CreateSessionInput
sourcepub fn session_mode(&self) -> Option<&SessionMode>
pub fn session_mode(&self) -> Option<&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: GetObject
, HeadObject
, ListObjectsV2
, GetObjectAttributes
, ListParts
, and ListMultipartUploads
.
source§impl CreateSessionInput
impl CreateSessionInput
sourcepub fn builder() -> CreateSessionInputBuilder
pub fn builder() -> CreateSessionInputBuilder
Creates a new builder-style object to manufacture CreateSessionInput
.
Trait Implementations§
source§impl Clone for CreateSessionInput
impl Clone for CreateSessionInput
source§fn clone(&self) -> CreateSessionInput
fn clone(&self) -> CreateSessionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSessionInput
impl Debug for CreateSessionInput
source§impl PartialEq for CreateSessionInput
impl PartialEq for CreateSessionInput
source§fn eq(&self, other: &CreateSessionInput) -> bool
fn eq(&self, other: &CreateSessionInput) -> bool
self
and other
values to be equal, and is used
by ==
.