Class: Aws::CognitoIdentity::Types::GetCredentialsForIdentityInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentity::Types::GetCredentialsForIdentityInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentity/types.rb
Overview
When making an API call, you may pass GetCredentialsForIdentityInput data as a hash:
{
identity_id: "IdentityId", # required
logins: {
"IdentityProviderName" => "IdentityProviderToken",
},
custom_role_arn: "ARNString",
}
Input to the ‘GetCredentialsForIdentity` action.
Instance Attribute Summary collapse
-
#custom_role_arn ⇒ String
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider.
-
#identity_id ⇒ String
A unique identifier in the format REGION:GUID.
-
#logins ⇒ Hash<String,String>
A set of optional name-value pairs that map provider names to provider tokens.
Instance Attribute Details
#custom_role_arn ⇒ 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.
272 273 274 275 276 277 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 272 class GetCredentialsForIdentityInput < Struct.new( :identity_id, :logins, :custom_role_arn) include Aws::Structure end |
#identity_id ⇒ String
A unique identifier in the format REGION:GUID.
272 273 274 275 276 277 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 272 class GetCredentialsForIdentityInput < Struct.new( :identity_id, :logins, :custom_role_arn) include Aws::Structure end |
#logins ⇒ Hash<String,String>
A set of optional name-value pairs that map provider names to provider tokens.
272 273 274 275 276 277 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 272 class GetCredentialsForIdentityInput < Struct.new( :identity_id, :logins, :custom_role_arn) include Aws::Structure end |