Module Values.CreateTokenRequestSource

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. licenseArn : Arn.t;
    (*

    Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.

    *)
  2. roleArns : ArnList.t option;
    (*

    Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.

    *)
  3. expirationInDays : Integer.t option;
    (*

    Token expiration, in days, counted from token creation. The default is 365 days.

    *)
  4. tokenProperties : MaxSize3StringList.t option;
    (*

    Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.

    *)
  5. clientToken : ClientToken.t;
    (*

    Idempotency token, valid for 10 minutes.

    *)
}
Sourceval context_ : string
Sourceval make : ?roleArns:??? -> ?expirationInDays:??? -> ?tokenProperties:??? -> licenseArn:Arn.t -> clientToken:ClientToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `String of Arn.t ] list | `String of Arn.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