{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-create-connector-v2-response-schema.json",
  "title": "CreateConnectorV2Response",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-connectorsv2-api-openapi.yml#/components/schemas/CreateConnectorV2Response",
  "type": "object",
  "properties": {
    "ConnectorArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the connectorV2."
    },
    "ConnectorId": {
      "type": "string",
      "description": "The UUID of the connectorV2 to identify connectorV2 resource."
    },
    "AuthUrl": {
      "type": "string",
      "description": "The Url provide to customers for OAuth auth code flow."
    },
    "ConnectorStatus": {
      "type": "string",
      "enum": [
        "CONNECTED",
        "DEGRADED",
        "FAILED_TO_CONNECT",
        "PENDING_AUTHORIZATION",
        "PENDING_CONFIGURATION",
        "UNKNOWN"
      ],
      "description": "The current status of the connectorV2."
    },
    "EnablementStatus": {
      "type": "string",
      "enum": [
        "ENABLED",
        "PENDING_ENABLEMENT",
        "FAILED_TO_ENABLE",
        "PENDING_UPDATE",
        "FAILED_TO_UPDATE",
        "PENDING_DELETION",
        "FAILED_TO_DELETE"
      ],
      "description": "The enablement status of the connector after creation."
    }
  },
  "required": [
    "ConnectorArn",
    "ConnectorId"
  ]
}