{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-private-ca/json-schema/amazon-private-ca-list-connectors-response-schema.json",
  "title": "ListConnectorsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-private-ca-connectors-api-openapi.yml#/components/schemas/ListConnectorsResponse",
  "type": "object",
  "properties": {
    "Connectors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConnectorSummary"
      },
      "description": "Summary information about each connector you have created."
    },
    "NextToken": {
      "type": "string",
      "description": "Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received."
    }
  },
  "$defs": {
    "ConnectorSummary": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that was returned when you called CreateConnector."
        },
        "CertificateAuthorityArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the certificate authority being used."
        },
        "CertificateEnrollmentPolicyServerEndpoint": {
          "type": "string",
          "description": "Certificate enrollment endpoint for Active Directory domain-joined objects to request certificates."
        },
        "DirectoryId": {
          "type": "string",
          "description": "The identifier of the Active Directory."
        },
        "VpcInformation": {
          "$ref": "#/$defs/VpcInformation"
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "DELETING",
            "FAILED"
          ],
          "description": "Status of the connector. Status can be creating, active, deleting, or failed."
        },
        "StatusReason": {
          "type": "string",
          "enum": [
            "CA_CERTIFICATE_REGISTRATION_FAILED",
            "DIRECTORY_ACCESS_DENIED",
            "INTERNAL_FAILURE",
            "INSUFFICIENT_FREE_ADDRESSES",
            "INVALID_SUBNET_IP_PROTOCOL",
            "PRIVATECA_ACCESS_DENIED",
            "PRIVATECA_RESOURCE_NOT_FOUND",
            "SECURITY_GROUP_NOT_IN_VPC",
            "VPC_ACCESS_DENIED",
            "VPC_ENDPOINT_LIMIT_EXCEEDED",
            "VPC_RESOURCE_NOT_FOUND"
          ],
          "description": "Additional information about the connector status if the status is failed."
        },
        "CreatedAt": {
          "type": "string",
          "description": "The date and time that the connector was created."
        },
        "UpdatedAt": {
          "type": "string",
          "description": "The date and time that the connector was updated."
        }
      }
    },
    "VpcInformation": {
      "type": "object",
      "properties": {
        "IpAddressType": {
          "type": "string",
          "enum": [
            "IPV4",
            "DUALSTACK"
          ],
          "description": "The VPC IP address type."
        },
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The security groups used with the connector. You can use a maximum of 4 security groups with a connector."
        }
      },
      "required": [
        "SecurityGroupIds"
      ]
    }
  }
}