{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-list-connectors-response-schema.json",
  "title": "ListConnectorsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-connectors-api-openapi.yml#/components/schemas/ListConnectorsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "The pagination token to use to request the next page of results. If there are no additional results, this value is null."
    },
    "Connectors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CspmConnectorSummary"
      },
      "description": "An array of connector summaries."
    }
  },
  "required": [
    "Connectors"
  ],
  "$defs": {
    "AzureDetail": {
      "type": "object",
      "properties": {
        "AWSConfigConnectorArn": {
          "type": "string",
          "description": "The ARN of the multi-cloud configuration connector used to establish the connection to Azure."
        },
        "ScopeConfiguration": {
          "$ref": "#/$defs/AzureScopeConfiguration"
        },
        "AzureRegions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of Azure regions being monitored."
        }
      },
      "required": [
        "AWSConfigConnectorArn",
        "ScopeConfiguration",
        "AzureRegions"
      ]
    },
    "AzureScopeConfiguration": {
      "type": "object",
      "properties": {
        "ScopeType": {
          "type": "string",
          "enum": [
            "TENANT",
            "SUBSCRIPTION"
          ],
          "description": "The type of scope. Valid values are tenant and subscription."
        },
        "ScopeValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of scope values, such as subscription IDs, when the scope type is subscription."
        }
      },
      "required": [
        "ScopeType"
      ]
    },
    "CspmConnectorSummary": {
      "type": "object",
      "properties": {
        "ConnectorArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the connector."
        },
        "ConnectorId": {
          "type": "string",
          "description": "The unique identifier of the connector."
        },
        "Name": {
          "type": "string",
          "description": "The name of the connector."
        },
        "Description": {
          "type": "string",
          "description": "The description of the connector."
        },
        "ProviderSummary": {
          "$ref": "#/$defs/CspmProviderSummary"
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The ISO 8601 UTC timestamp indicating when the connector was created."
        },
        "CreatedBy": {
          "type": "string",
          "description": "The service principal that created the connector."
        },
        "EnablementStatus": {
          "type": "string",
          "enum": [
            "ENABLED",
            "PENDING_ENABLEMENT",
            "PENDING_UPDATE",
            "PENDING_DELETION"
          ],
          "description": "The enablement status of the connector."
        }
      }
    },
    "CspmProviderDetail": {
      "type": "object",
      "properties": {
        "Azure": {
          "$ref": "#/$defs/AzureDetail"
        }
      },
      "description": "Exactly one member is set."
    },
    "CspmProviderSummary": {
      "type": "object",
      "properties": {
        "ProviderName": {
          "type": "string",
          "enum": [
            "AZURE"
          ],
          "description": "The name of the cloud provider."
        },
        "ConnectorStatus": {
          "type": "string",
          "enum": [
            "CONNECTED",
            "DEGRADED",
            "FAILED_TO_CONNECT",
            "UNKNOWN"
          ],
          "description": "The connectivity status of the connector."
        },
        "ProviderConfiguration": {
          "$ref": "#/$defs/CspmProviderDetail"
        }
      }
    }
  }
}