#[non_exhaustive]pub struct ScopedSession {
pub scoped_session_id: String,
pub arn: String,
}Expand description
Identifiers for the scoped session that GetScopedCredentials returns. The underlying identity and session name do not change from the caller principal.
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.scoped_session_id: StringA unique identifier for the scoped session. Because the identity is preserved, this identifies the same principal as the calling session.
arn: StringThe ARN of the scoped session. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
Implementations§
Source§impl ScopedSession
impl ScopedSession
Sourcepub fn scoped_session_id(&self) -> &str
pub fn scoped_session_id(&self) -> &str
A unique identifier for the scoped session. Because the identity is preserved, this identifies the same principal as the calling session.
Sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The ARN of the scoped session. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
Source§impl ScopedSession
impl ScopedSession
Sourcepub fn builder() -> ScopedSessionBuilder
pub fn builder() -> ScopedSessionBuilder
Creates a new builder-style object to manufacture ScopedSession.
Trait Implementations§
Source§impl Clone for ScopedSession
impl Clone for ScopedSession
Source§fn clone(&self) -> ScopedSession
fn clone(&self) -> ScopedSession
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 ScopedSession
impl Debug for ScopedSession
Source§impl PartialEq for ScopedSession
impl PartialEq for ScopedSession
impl StructuralPartialEq for ScopedSession
Auto Trait Implementations§
impl Freeze for ScopedSession
impl RefUnwindSafe for ScopedSession
impl Send for ScopedSession
impl Sync for ScopedSession
impl Unpin for ScopedSession
impl UnsafeUnpin for ScopedSession
impl UnwindSafe for ScopedSession
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