Module Values.CreateTokenResponseSource

Creates a long-lived token. A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.

Sourcetype nonrec t = {
  1. tokenId : String_.t option;
    (*

    Token ID.

    *)
  2. tokenType : TokenType.t option;
    (*

    Token type.

    *)
  3. token : TokenString.t option;
    (*

    Refresh token, encoded as a JWT token.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `AuthorizationException of AuthorizationException.t
  3. | `RateLimitExceededException of RateLimitExceededException.t
  4. | `RedirectException of RedirectException.t
  5. | `ResourceLimitExceededException of ResourceLimitExceededException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ServerInternalException of ServerInternalException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?tokenId:??? -> ?tokenType:??? -> ?token:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `AuthorizationException of AuthorizationException.t | `RateLimitExceededException of RateLimitExceededException.t | `RedirectException of RedirectException.t | `ResourceLimitExceededException of ResourceLimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServerInternalException of ServerInternalException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `AuthorizationException of AuthorizationException.t | `RateLimitExceededException of RateLimitExceededException.t | `RedirectException of RedirectException.t | `ResourceLimitExceededException of ResourceLimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServerInternalException of ServerInternalException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t