Values.RevokeTokenResponseSourceRevokes all of the access tokens generated by, and at the same time as, the specified refresh token. After a token is revoked, you can't use the revoked token to access Amazon Cognito user APIs, or to authorize access to your resource server. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
type nonrec error = [ | `ForbiddenException of ForbiddenException.t| `InternalErrorException of InternalErrorException.t| `InvalidParameterException of InvalidParameterException.t| `TooManyRequestsException of TooManyRequestsException.t| `UnsupportedOperationException of UnsupportedOperationException.t| `UnsupportedTokenTypeException of UnsupportedTokenTypeException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ForbiddenException of ForbiddenException.t
| `InternalErrorException of InternalErrorException.t
| `InvalidParameterException of InvalidParameterException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of UnsupportedOperationException.t
| `UnsupportedTokenTypeException of UnsupportedTokenTypeException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ForbiddenException of ForbiddenException.t
| `InternalErrorException of InternalErrorException.t
| `InvalidParameterException of InvalidParameterException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of UnsupportedOperationException.t
| `UnsupportedTokenTypeException of UnsupportedTokenTypeException.t ]