Module Smaws_Client_CognitoIdentity.GetCredentialsForIdentity

val request : Smaws_Lib.Context.t -> get_credentials_for_identity_input -> (get_credentials_for_identity_response, [> Smaws_Lib.Protocols.AwsJson.error | `ExternalServiceException of external_service_exception | `InternalErrorException of internal_error_exception | `InvalidIdentityPoolConfigurationException of invalid_identity_pool_configuration_exception | `InvalidParameterException of invalid_parameter_exception | `NotAuthorizedException of not_authorized_exception | `ResourceConflictException of resource_conflict_exception | `ResourceNotFoundException of resource_not_found_exception | `TooManyRequestsException of too_many_requests_exception ]) Stdlib.result

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 AWS 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.