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
impl StructuralPartialEq for CreateSessionInput
Auto Trait Implementations§
impl Freeze for CreateSessionInput
impl RefUnwindSafe for CreateSessionInput
impl Send for CreateSessionInput
impl Sync for CreateSessionInput
impl Unpin for CreateSessionInput
impl UnwindSafe for CreateSessionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)