{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-msk/json-schema/amazon-msk-describe-connector-operation-response-schema.json",
  "title": "DescribeConnectorOperationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-msk-operations-api-openapi.yml#/components/schemas/DescribeConnectorOperationResponse",
  "type": "object",
  "properties": {
    "connectorArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the connector."
    },
    "connectorOperationArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the connector operation."
    },
    "connectorOperationState": {
      "type": "string",
      "description": "The state of the connector operation."
    },
    "connectorOperationType": {
      "type": "string",
      "description": "The type of connector operation performed."
    },
    "operationSteps": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConnectorOperationStep"
      },
      "description": "The array of operation steps taken."
    },
    "originWorkerSetting": {
      "$ref": "#/$defs/WorkerSetting"
    },
    "originConnectorConfiguration": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The origin connector configuration."
    },
    "targetWorkerSetting": {
      "$ref": "#/$defs/WorkerSetting"
    },
    "targetConnectorConfiguration": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The target connector configuration."
    },
    "errorInfo": {
      "$ref": "#/$defs/StateDescription"
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the operation was created."
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the operation ended."
    }
  },
  "$defs": {
    "AutoScalingDescription": {
      "type": "object",
      "properties": {
        "maxWorkerCount": {
          "type": "integer",
          "description": "The maximum number of workers allocated to the connector."
        },
        "mcuCount": {
          "type": "integer",
          "description": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8."
        },
        "minWorkerCount": {
          "type": "integer",
          "description": "The minimum number of workers allocated to the connector."
        },
        "scaleInPolicy": {
          "$ref": "#/$defs/ScaleInPolicyDescription"
        },
        "scaleOutPolicy": {
          "$ref": "#/$defs/ScaleOutPolicyDescription"
        },
        "maxAutoscalingTaskCount": {
          "type": "integer",
          "description": "The maximum number of tasks allocated to the connector during autoscaling operations. Must be at least equal to maxWorkerCount."
        }
      }
    },
    "CapacityDescription": {
      "type": "object",
      "properties": {
        "autoScaling": {
          "$ref": "#/$defs/AutoScalingDescription"
        },
        "provisionedCapacity": {
          "$ref": "#/$defs/ProvisionedCapacityDescription"
        }
      }
    },
    "ConnectorOperationStep": {
      "type": "object",
      "properties": {
        "stepType": {
          "type": "string",
          "description": "The step type of the operation."
        },
        "stepState": {
          "type": "string",
          "description": "The step state of the operation."
        }
      }
    },
    "CustomPluginDescription": {
      "type": "object",
      "properties": {
        "customPluginArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the custom plugin."
        },
        "revision": {
          "type": "integer",
          "description": "The revision of the custom plugin."
        }
      }
    },
    "PluginDescription": {
      "type": "object",
      "properties": {
        "customPlugin": {
          "$ref": "#/$defs/CustomPluginDescription"
        }
      }
    },
    "ProvisionedCapacityDescription": {
      "type": "object",
      "properties": {
        "mcuCount": {
          "type": "integer",
          "description": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8."
        },
        "workerCount": {
          "type": "integer",
          "description": "The number of workers that are allocated to the connector."
        }
      }
    },
    "ScaleInPolicyDescription": {
      "type": "object",
      "properties": {
        "cpuUtilizationPercentage": {
          "type": "integer",
          "description": "Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered."
        }
      }
    },
    "ScaleOutPolicyDescription": {
      "type": "object",
      "properties": {
        "cpuUtilizationPercentage": {
          "type": "integer",
          "description": "The CPU utilization percentage threshold at which you want connector scale out to be triggered."
        }
      }
    },
    "StateDescription": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "A code that describes the state of a resource."
        },
        "message": {
          "type": "string",
          "description": "A message that describes the state of a resource."
        }
      }
    },
    "WorkerConfigurationDescription": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "description": "The revision of the worker configuration."
        },
        "workerConfigurationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the worker configuration."
        }
      }
    },
    "WorkerSetting": {
      "type": "object",
      "properties": {
        "capacity": {
          "$ref": "#/$defs/CapacityDescription"
        },
        "plugins": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PluginDescription"
          },
          "description": "Specifies which plugins the connector uses."
        },
        "workerConfiguration": {
          "$ref": "#/$defs/WorkerConfigurationDescription"
        },
        "useDefaultWorkerConfiguration": {
          "type": "boolean",
          "description": "Specifies whether the connector uses the default worker configuration instead of a custom worker configuration."
        }
      }
    }
  }
}