Module Values.RevokeTokenResponseSource

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

Sourcetype nonrec t = unit
Sourcetype nonrec error = [
  1. | `ForbiddenException of ForbiddenException.t
  2. | `InternalErrorException of InternalErrorException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `UnauthorizedException of UnauthorizedException.t
  6. | `UnsupportedOperationException of UnsupportedOperationException.t
  7. | `UnsupportedTokenTypeException of UnsupportedTokenTypeException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> unit
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> unit
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> unit
Sourceval of_string : string -> unit
Sourceval of_json : 'a -> unit
Sourceval to_json : 'a -> Yojson.Safe.t