Smaws_Client_CognitoIdentity.GetOpenIdTokenGets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by GetId. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link.
The OpenID token is valid for 10 minutes.
This is a public API. You do not need any credentials to call this API.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ExternalServiceException of Types.external_service_exception
| `InternalErrorException of Types.internal_error_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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_open_id_token_input ->
(Types.get_open_id_token_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ExternalServiceException of Types.external_service_exception
| `InternalErrorException of Types.internal_error_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