#[non_exhaustive]pub struct GetDelegatedAccessTokenOutput {
pub credentials: Option<Credentials>,
pub packed_policy_size: Option<i32>,
pub assumed_principal: 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>Amazon Web Services credentials for API authentication.
packed_policy_size: Option<i32>The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.
assumed_principal: Option<String>The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.
Implementations§
Source§impl GetDelegatedAccessTokenOutput
impl GetDelegatedAccessTokenOutput
Sourcepub fn credentials(&self) -> Option<&Credentials>
pub fn credentials(&self) -> Option<&Credentials>
Amazon Web Services credentials for API authentication.
Sourcepub fn packed_policy_size(&self) -> Option<i32>
pub fn packed_policy_size(&self) -> Option<i32>
The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.
Sourcepub fn assumed_principal(&self) -> Option<&str>
pub fn assumed_principal(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.
Source§impl GetDelegatedAccessTokenOutput
impl GetDelegatedAccessTokenOutput
Sourcepub fn builder() -> GetDelegatedAccessTokenOutputBuilder
pub fn builder() -> GetDelegatedAccessTokenOutputBuilder
Creates a new builder-style object to manufacture GetDelegatedAccessTokenOutput.
Trait Implementations§
Source§impl Clone for GetDelegatedAccessTokenOutput
impl Clone for GetDelegatedAccessTokenOutput
Source§fn clone(&self) -> GetDelegatedAccessTokenOutput
fn clone(&self) -> GetDelegatedAccessTokenOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for GetDelegatedAccessTokenOutput
impl PartialEq for GetDelegatedAccessTokenOutput
Source§fn eq(&self, other: &GetDelegatedAccessTokenOutput) -> bool
fn eq(&self, other: &GetDelegatedAccessTokenOutput) -> bool
self and other values to be equal, and is used by ==.Source§impl RequestId for GetDelegatedAccessTokenOutput
impl RequestId for GetDelegatedAccessTokenOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetDelegatedAccessTokenOutput
Auto Trait Implementations§
impl Freeze for GetDelegatedAccessTokenOutput
impl RefUnwindSafe for GetDelegatedAccessTokenOutput
impl Send for GetDelegatedAccessTokenOutput
impl Sync for GetDelegatedAccessTokenOutput
impl Unpin for GetDelegatedAccessTokenOutput
impl UnwindSafe for GetDelegatedAccessTokenOutput
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