pub struct GetCredentialsForIdentityInput {
pub custom_role_arn: Option<String>,
pub identity_id: String,
pub logins: Option<HashMap<String, String>>,
}Expand description
Input to the GetCredentialsForIdentity action.
Fields§
§custom_role_arn: Option<String>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.
identity_id: StringA unique identifier in the format REGION:GUID.
logins: 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.
Trait Implementations§
Source§impl Clone for GetCredentialsForIdentityInput
impl Clone for GetCredentialsForIdentityInput
Source§fn clone(&self) -> GetCredentialsForIdentityInput
fn clone(&self) -> GetCredentialsForIdentityInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GetCredentialsForIdentityInput
impl Default for GetCredentialsForIdentityInput
Source§fn default() -> GetCredentialsForIdentityInput
fn default() -> GetCredentialsForIdentityInput
Source§impl PartialEq for GetCredentialsForIdentityInput
impl PartialEq for GetCredentialsForIdentityInput
Source§fn eq(&self, other: &GetCredentialsForIdentityInput) -> bool
fn eq(&self, other: &GetCredentialsForIdentityInput) -> bool
self and other values to be equal, and is used by ==.