{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-update-trust-anchor-request-schema.json",
  "title": "UpdateTrustAnchorRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-trustanchor-api-openapi.yml#/components/schemas/UpdateTrustAnchorRequest",
  "type": "object",
  "properties": {
    "trustAnchorId": {
      "type": "string",
      "description": "The unique identifier of the trust anchor."
    },
    "name": {
      "type": "string",
      "description": "The name of the trust anchor."
    },
    "source": {
      "$ref": "#/$defs/Source"
    },
    "crlDpRevocationEnabled": {
      "type": "boolean",
      "description": "Specifies whether the trust anchor checks certificate revocation status against CRL distribution points."
    }
  },
  "required": [
    "trustAnchorId"
  ],
  "$defs": {
    "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."
    }
  }
}