#[non_exhaustive]pub struct AssumeRootOutput {
pub credentials: Option<Credentials>,
pub source_identity: Option<String>,
/* private fields */
}
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.credentials: Option<Credentials>
The temporary security credentials, which include an access key ID, a secret access key, and a security token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
source_identity: Option<String>
The source identity specified by the principal that is calling the AssumeRoot
operation.
You can use the aws:SourceIdentity
condition key to control access based on the value of source identity. For more information about using source identity, see Monitor and control actions taken with assumed roles in the IAM User Guide.
The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@-
Implementations§
source§impl AssumeRootOutput
impl AssumeRootOutput
sourcepub fn credentials(&self) -> Option<&Credentials>
pub fn credentials(&self) -> Option<&Credentials>
The temporary security credentials, which include an access key ID, a secret access key, and a security token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
sourcepub fn source_identity(&self) -> Option<&str>
pub fn source_identity(&self) -> Option<&str>
The source identity specified by the principal that is calling the AssumeRoot
operation.
You can use the aws:SourceIdentity
condition key to control access based on the value of source identity. For more information about using source identity, see Monitor and control actions taken with assumed roles in the IAM User Guide.
The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@-
source§impl AssumeRootOutput
impl AssumeRootOutput
sourcepub fn builder() -> AssumeRootOutputBuilder
pub fn builder() -> AssumeRootOutputBuilder
Creates a new builder-style object to manufacture AssumeRootOutput
.
Trait Implementations§
source§impl Clone for AssumeRootOutput
impl Clone for AssumeRootOutput
source§fn clone(&self) -> AssumeRootOutput
fn clone(&self) -> AssumeRootOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssumeRootOutput
impl Debug for AssumeRootOutput
source§impl PartialEq for AssumeRootOutput
impl PartialEq for AssumeRootOutput
source§impl RequestId for AssumeRootOutput
impl RequestId for AssumeRootOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for AssumeRootOutput
Auto Trait Implementations§
impl Freeze for AssumeRootOutput
impl RefUnwindSafe for AssumeRootOutput
impl Send for AssumeRootOutput
impl Sync for AssumeRootOutput
impl Unpin for AssumeRootOutput
impl UnwindSafe for AssumeRootOutput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more