{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codeartifact/json-schema/amazon-codeartifact-get-authorization-token-request-schema.json",
  "title": "GetAuthorizationTokenRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codeartifact-authorization-token-api-openapi.yml#/components/schemas/GetAuthorizationTokenRequest",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "The name of the domain that is in scope for the generated authorization token."
    },
    "domainOwner": {
      "type": "string",
      "description": "The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces."
    },
    "durationSeconds": {
      "type": "integer",
      "description": "The time, in seconds, that the generated authorization token is valid. Valid values are 0 and any number between 900 (15 minutes) and 43200 (12 hours). A value of 0 will set the expiration of the authorization token to the same expiration of the user's role's temporary credentials."
    }
  },
  "required": [
    "domain"
  ]
}