#[non_exhaustive]pub struct TransactionContext {
pub identity_provider: Option<HashMap<String, String>>,
}Expand description
The session's aws:TransactionContext/IdentityProvider/* keys.
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.identity_provider: Option<HashMap<String, String>>The session's aws:TransactionContext/IdentityProvider/* keys, keyed by the part of the key name after aws:TransactionContext/IdentityProvider/. Each value is up to 128 characters.
The number of entries is bounded twice. IAM limits how many keys a context provider maps when you configure it on the identity provider, and Amazon Web Services STS rejects a session whose session token exceeds the maximum size with PackedPolicyTooLarge.
Implementations§
Source§impl TransactionContext
impl TransactionContext
Sourcepub fn identity_provider(&self) -> Option<&HashMap<String, String>>
pub fn identity_provider(&self) -> Option<&HashMap<String, String>>
The session's aws:TransactionContext/IdentityProvider/* keys, keyed by the part of the key name after aws:TransactionContext/IdentityProvider/. Each value is up to 128 characters.
The number of entries is bounded twice. IAM limits how many keys a context provider maps when you configure it on the identity provider, and Amazon Web Services STS rejects a session whose session token exceeds the maximum size with PackedPolicyTooLarge.
Source§impl TransactionContext
impl TransactionContext
Sourcepub fn builder() -> TransactionContextBuilder
pub fn builder() -> TransactionContextBuilder
Creates a new builder-style object to manufacture TransactionContext.
Trait Implementations§
Source§impl Clone for TransactionContext
impl Clone for TransactionContext
Source§fn clone(&self) -> TransactionContext
fn clone(&self) -> TransactionContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransactionContext
impl Debug for TransactionContext
Source§impl PartialEq for TransactionContext
impl PartialEq for TransactionContext
impl StructuralPartialEq for TransactionContext
Auto Trait Implementations§
impl Freeze for TransactionContext
impl RefUnwindSafe for TransactionContext
impl Send for TransactionContext
impl Sync for TransactionContext
impl Unpin for TransactionContext
impl UnsafeUnpin for TransactionContext
impl UnwindSafe for TransactionContext
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§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