Smaws_Client_LicenseManager.CreateTokenCreates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AuthorizationException of Types.authorization_exception
| `RateLimitExceededException of Types.rate_limit_exceeded_exception
| `RedirectException of Types.redirect_exception
| `ResourceLimitExceededException of Types.resource_limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServerInternalException of Types.server_internal_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_token_request ->
(Types.create_token_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AuthorizationException of Types.authorization_exception
| `RateLimitExceededException of Types.rate_limit_exceeded_exception
| `RedirectException of Types.redirect_exception
| `ResourceLimitExceededException of
Types.resource_limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServerInternalException of Types.server_internal_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_token_request ->
(Types.create_token_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AuthorizationException of Types.authorization_exception
| `RateLimitExceededException of Types.rate_limit_exceeded_exception
| `RedirectException of Types.redirect_exception
| `ResourceLimitExceededException of
Types.resource_limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServerInternalException of Types.server_internal_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result