Amazon License Manager License Manager Token API
The License Manager Token API from Amazon License Manager — 3 operation(s) for license manager token.
The License Manager Token API from Amazon License Manager — 3 operation(s) for license manager token.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-license-manager:amazon-license-manager-token-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AWS License Manager Token API
version: '2018-08-01'
description: Generated from AWS's published Smithy model for AWS License Manager. 3 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://license-manager.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
tags:
- name: Token
paths:
/#CreateToken:
post:
operationId: CreateToken
summary: Create Token
description: 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.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateTokenResponse'
'401':
description: AccessDeniedException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'403':
description: AuthorizationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AuthorizationException'
'429':
description: RateLimitExceededException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RateLimitExceededException'
'308':
description: RedirectException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedirectException'
'400':
description: ResourceLimitExceededException; ResourceNotFoundException; ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceLimitExceededException'
'500':
description: ServerInternalException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ServerInternalException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSLicenseManager.CreateToken
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateTokenRequest'
tags:
- Token
/#DeleteToken:
post:
operationId: DeleteToken
summary: Delete Token
description: Deletes the specified token. Must be called in the license home Region.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteTokenResponse'
'401':
description: AccessDeniedException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'403':
description: AuthorizationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AuthorizationException'
'429':
description: RateLimitExceededException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RateLimitExceededException'
'308':
description: RedirectException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedirectException'
'400':
description: ResourceNotFoundException; ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'500':
description: ServerInternalException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ServerInternalException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSLicenseManager.DeleteToken
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteTokenRequest'
tags:
- Token
/#ListTokens:
post:
operationId: ListTokens
summary: List Tokens
description: Lists your tokens.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListTokensResponse'
'401':
description: AccessDeniedException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'403':
description: AuthorizationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AuthorizationException'
'429':
description: RateLimitExceededException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RateLimitExceededException'
'500':
description: ServerInternalException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ServerInternalException'
'400':
description: ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSLicenseManager.ListTokens
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListTokensRequest'
tags:
- Token
components:
schemas:
TokenData:
type: object
properties:
TokenId:
type: string
description: Token ID.
TokenType:
type: string
description: Type of token generated. The supported value is REFRESH_TOKEN.
LicenseArn:
type: string
description: Amazon Resource Name (ARN) of the license.
ExpirationTime:
type: string
description: Token expiration time, in ISO8601-UTC format.
TokenProperties:
type: array
items:
type: string
description: Data specified by the caller.
RoleArns:
type: array
items:
type: string
description: Amazon Resource Names (ARN) of the roles included in the token.
Status:
type: string
description: Token status. The possible values are AVAILABLE and DELETED.
DeleteTokenResponse:
type: object
properties: {}
ListTokensResponse:
type: object
properties:
Tokens:
type: array
items:
$ref: '#/components/schemas/TokenData'
description: Received token details.
NextToken:
type: string
description: Token for the next set of results.
AuthorizationException:
type: object
properties:
Message:
type: string
CreateTokenRequest:
type: object
properties:
LicenseArn:
type: string
description: Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.
RoleArns:
type: array
items:
type: string
description: Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.
ExpirationInDays:
type: integer
description: Token expiration, in days, counted from token creation. The default is 365 days.
TokenProperties:
type: array
items:
type: string
description: Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.
ClientToken:
type: string
description: Idempotency token, valid for 10 minutes.
required:
- LicenseArn
- ClientToken
RateLimitExceededException:
type: object
properties:
Message:
type: string
ServerInternalException:
type: object
properties:
Message:
type: string
AccessDeniedException:
type: object
properties:
Message:
type: string
ListTokensRequest:
type: object
properties:
TokenIds:
type: array
items:
type: string
description: Token IDs.
Filters:
type: array
items:
$ref: '#/components/schemas/Filter'
description: 'Filters to scope the results. The following filter is supported: LicenseArns'
NextToken:
type: string
description: Token for the next set of results.
MaxResults:
type: integer
description: Maximum number of results to return in a single call.
CreateTokenResponse:
type: object
properties:
TokenId:
type: string
description: Token ID.
TokenType:
type: string
enum:
- REFRESH_TOKEN
description: Token type.
Token:
type: string
description: Refresh token, encoded as a JWT token.
ValidationException:
type: object
properties:
Message:
type: string
ResourceNotFoundException:
type: object
properties:
Message:
type: string
RedirectException:
type: object
properties:
Location:
type: string
Message:
type: string
DeleteTokenRequest:
type: object
properties:
TokenId:
type: string
description: Token ID.
required:
- TokenId
Filter:
type: object
properties:
Name:
type: string
description: Name of the filter. Filter names are case-sensitive.
Values:
type: array
items:
type: string
description: The value of the filter, which is case-sensitive. You can only specify one value for the filter.
ResourceLimitExceededException:
type: object
properties:
Message:
type: string
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: license-manager
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/license-manager/service/2018-08-01/license-manager-2018-08-01.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)