{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-certificate-manager/json-schema/amazon-certificate-manager-update-acme-endpoint-request-schema.json",
  "title": "UpdateAcmeEndpointRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-certificate-manager-acme-endpoint-api-openapi.yml#/components/schemas/UpdateAcmeEndpointRequest",
  "type": "object",
  "properties": {
    "AcmeEndpointArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the ACME endpoint to update."
    },
    "AuthorizationBehavior": {
      "type": "string",
      "enum": [
        "PRE_APPROVED"
      ],
      "description": "The updated authorization behavior."
    },
    "Contact": {
      "type": "string",
      "enum": [
        "REQUIRED",
        "NOT_REQUIRED"
      ],
      "description": "The updated contact requirement."
    },
    "CertificateAuthority": {
      "$ref": "#/$defs/CertificateAuthority"
    }
  },
  "required": [
    "AcmeEndpointArn"
  ],
  "$defs": {
    "CertificateAuthority": {
      "type": "object",
      "properties": {
        "PublicCertificateAuthority": {
          "$ref": "#/$defs/PublicCertificateAuthority"
        }
      },
      "description": "Exactly one member is set."
    },
    "PublicCertificateAuthority": {
      "type": "object",
      "properties": {
        "AllowedKeyAlgorithms": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "RSA_2048",
              "EC_prime256v1",
              "EC_secp384r1"
            ]
          },
          "description": "The key algorithms allowed for certificates issued by this certificate authority."
        }
      }
    }
  }
}