Smaws_Client_CognitoIdentity.GetCredentialsForIdentity
Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com
, it will be passed through to Security Token Service with the appropriate role for the token.
This is a public API. You do not need any credentials to call this API.
val request :
Smaws_Lib.Context.t ->
Types.get_credentials_for_identity_input ->
(Types.get_credentials_for_identity_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ExternalServiceException of Types.external_service_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidIdentityPoolConfigurationException of
Types.invalid_identity_pool_configuration_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotAuthorizedException of Types.not_authorized_exception
| `ResourceConflictException of Types.resource_conflict_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyRequestsException of Types.too_many_requests_exception ])
Stdlib.result