{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-describe-role-alias-response-schema.json",
  "title": "DescribeRoleAliasResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-role-aliases-api-openapi.yml#/components/schemas/DescribeRoleAliasResponse",
  "type": "object",
  "properties": {
    "roleAliasDescription": {
      "allOf": [
        {
          "$ref": "#/$defs/RoleAliasDescription"
        },
        {
          "description": "The role alias description."
        }
      ]
    }
  },
  "$defs": {
    "AwsAccountId": {
      "type": "string",
      "pattern": "[0-9]+",
      "minLength": 12,
      "maxLength": 12
    },
    "CredentialDurationSeconds": {
      "type": "integer",
      "minimum": 900,
      "maximum": 43200
    },
    "DateType": {
      "type": "string",
      "format": "date-time"
    },
    "RoleAlias": {
      "type": "string",
      "pattern": "[\\w=,@-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "RoleAliasArn": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "RoleAliasDescription": {
      "type": "object",
      "properties": {
        "roleAlias": {
          "allOf": [
            {
              "$ref": "#/$defs/RoleAlias"
            },
            {
              "description": "The role alias."
            }
          ]
        },
        "roleAliasArn": {
          "allOf": [
            {
              "$ref": "#/$defs/RoleAliasArn"
            },
            {
              "description": "The ARN of the role alias."
            }
          ]
        },
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/RoleArn"
            },
            {
              "description": "The role ARN."
            }
          ]
        },
        "owner": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsAccountId"
            },
            {
              "description": "The role alias owner."
            }
          ]
        },
        "credentialDurationSeconds": {
          "allOf": [
            {
              "$ref": "#/$defs/CredentialDurationSeconds"
            },
            {
              "description": "The number of seconds for which the credential is valid."
            }
          ]
        },
        "creationDate": {
          "allOf": [
            {
              "$ref": "#/$defs/DateType"
            },
            {
              "description": "The UNIX timestamp of when the role alias was created."
            }
          ]
        },
        "lastModifiedDate": {
          "allOf": [
            {
              "$ref": "#/$defs/DateType"
            },
            {
              "description": "The UNIX timestamp of when the role alias was last modified."
            }
          ]
        }
      },
      "description": "Role alias description."
    },
    "RoleArn": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2048
    }
  }
}