#[non_exhaustive]pub struct GetCredentialsForIdentityInput { /* private fields */ }
Expand description
Input to the GetCredentialsForIdentity
action.
Implementations
sourceimpl GetCredentialsForIdentityInput
impl GetCredentialsForIdentityInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCredentialsForIdentity, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCredentialsForIdentity, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetCredentialsForIdentity
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetCredentialsForIdentityInput
.
sourceimpl GetCredentialsForIdentityInput
impl GetCredentialsForIdentityInput
sourcepub fn identity_id(&self) -> Option<&str>
pub fn identity_id(&self) -> Option<&str>
A unique identifier in the format REGION:GUID.
sourcepub fn logins(&self) -> Option<&HashMap<String, String>>
pub fn logins(&self) -> Option<&HashMap<String, String>>
A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such as Facebook. For examples of Logins
maps, see the code examples in the External Identity Providers section of the Amazon Cognito Developer Guide.
sourcepub fn custom_role_arn(&self) -> Option<&str>
pub fn custom_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.
Trait Implementations
sourceimpl Clone for GetCredentialsForIdentityInput
impl Clone for GetCredentialsForIdentityInput
sourcefn clone(&self) -> GetCredentialsForIdentityInput
fn clone(&self) -> GetCredentialsForIdentityInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<GetCredentialsForIdentityInput> for GetCredentialsForIdentityInput
impl PartialEq<GetCredentialsForIdentityInput> for GetCredentialsForIdentityInput
sourcefn eq(&self, other: &GetCredentialsForIdentityInput) -> bool
fn eq(&self, other: &GetCredentialsForIdentityInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetCredentialsForIdentityInput) -> bool
fn ne(&self, other: &GetCredentialsForIdentityInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetCredentialsForIdentityInput
Auto Trait Implementations
impl RefUnwindSafe for GetCredentialsForIdentityInput
impl Send for GetCredentialsForIdentityInput
impl Sync for GetCredentialsForIdentityInput
impl Unpin for GetCredentialsForIdentityInput
impl UnwindSafe for GetCredentialsForIdentityInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more