Skip to main content

connector_operations

Creates, updates, deletes, gets or lists a connector_operations resource.

Overview

Nameconnector_operations
TypeResource
Idaws.kafkaconnect.connector_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connector_arnstringThe Amazon Resource Name (ARN) of the connector.
connector_operation_arnstringThe Amazon Resource Name (ARN) of the connector operation.
connector_operation_statestringThe state of the connector operation. (PENDING, UPDATE_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_FAILED, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE)
connector_operation_typestringThe type of connector operation performed. (UPDATE_WORKER_SETTING, UPDATE_CONNECTOR_CONFIGURATION, ISOLATE_CONNECTOR, RESTORE_CONNECTOR)
creation_timestring (date-time)The time when the operation was created.
end_timestring (date-time)The time when the operation ended.
error_infoobjectDetails about the state of a resource.
operation_stepsarrayThe array of operation steps taken.
origin_connector_configurationobjectThe origin connector configuration.
origin_worker_settingobjectThe origin worker setting.
target_connector_configurationobjectThe target connector configuration.
target_worker_settingobjectThe target worker setting.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_connector_operationselectconnector_operation_arn, regionReturns information about the specified connector's operations.
list_connector_operationsselectconnector_arn, regionmaxResults, nextTokenLists information about a connector's operation(s).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
connector_arnstringThe Amazon Resource Name (ARN) of the connector for which to list operations.
connector_operation_arnstringARN of the connector operation to be described.
regionstringAWS region (default: us-east-1)
maxResultsintegerMaximum number of connector operations to fetch in one get request.
nextTokenstringIf the response is truncated, it includes a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.

SELECT examples

Returns information about the specified connector's operations.

SELECT
connector_arn,
connector_operation_arn,
connector_operation_state,
connector_operation_type,
creation_time,
end_time,
error_info,
operation_steps,
origin_connector_configuration,
origin_worker_setting,
target_connector_configuration,
target_worker_setting
FROM aws.kafkaconnect.connector_operations
WHERE connector_operation_arn = '{{ connector_operation_arn }}' -- required
AND region = '{{ region }}' -- required
;