{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-trust-anchor-detail-response-schema.json",
  "title": "TrustAnchorDetailResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-disable-api-openapi.yml#/components/schemas/TrustAnchorDetailResponse",
  "type": "object",
  "properties": {
    "trustAnchor": {
      "$ref": "#/$defs/TrustAnchorDetail"
    }
  },
  "required": [
    "trustAnchor"
  ],
  "$defs": {
    "NotificationSettingDetail": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Indicates whether the notification setting is enabled."
        },
        "event": {
          "type": "string",
          "description": "The event to which this notification setting is applied."
        },
        "threshold": {
          "type": "integer",
          "description": "The number of days before a notification event."
        },
        "channel": {
          "type": "string",
          "description": "The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event. In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels."
        },
        "configuredBy": {
          "type": "string",
          "description": "The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the respective account ID."
        }
      },
      "required": [
        "enabled",
        "event"
      ]
    },
    "Source": {
      "type": "object",
      "properties": {
        "sourceType": {
          "type": "string",
          "description": "The type of the trust anchor."
        },
        "sourceData": {
          "$ref": "#/$defs/SourceData"
        }
      }
    },
    "SourceData": {
      "type": "object",
      "properties": {
        "x509CertificateData": {
          "type": "string",
          "description": "The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE."
        },
        "acmPcaArn": {
          "type": "string",
          "description": "The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type AWS_ACM_PCA."
        }
      },
      "description": "Exactly one member is set."
    },
    "TrustAnchorDetail": {
      "type": "object",
      "properties": {
        "trustAnchorId": {
          "type": "string",
          "description": "The unique identifier of the trust anchor."
        },
        "trustAnchorArn": {
          "type": "string",
          "description": "The ARN of the trust anchor."
        },
        "name": {
          "type": "string",
          "description": "The name of the trust anchor."
        },
        "source": {
          "$ref": "#/$defs/Source"
        },
        "enabled": {
          "type": "boolean",
          "description": "Indicates whether the trust anchor is enabled."
        },
        "crlDpRevocationEnabled": {
          "type": "boolean",
          "description": "Specifies whether the trust anchor checks certificate revocation status against CRL distribution points."
        },
        "createdAt": {
          "type": "string",
          "description": "The ISO-8601 timestamp when the trust anchor was created."
        },
        "updatedAt": {
          "type": "string",
          "description": "The ISO-8601 timestamp when the trust anchor was last updated."
        },
        "notificationSettings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NotificationSettingDetail"
          },
          "description": "A list of notification settings to be associated to the trust anchor."
        }
      }
    }
  }
}