KafkaConnect / Client / list_connector_operations

list_connector_operations#

KafkaConnect.Client.list_connector_operations(**kwargs)#

Lists information about a connector’s operation(s).

See also: AWS API Documentation

Request Syntax

response = client.list_connector_operations(
    connectorArn='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • connectorArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the connector for which to list operations.

  • maxResults (integer) – Maximum number of connector operations to fetch in one get request.

  • nextToken (string) – If the response is truncated, it includes a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.

Return type:

dict

Returns:

Response Syntax

{
    'connectorOperations': [
        {
            'connectorOperationArn': 'string',
            'connectorOperationType': 'UPDATE_WORKER_SETTING'|'UPDATE_CONNECTOR_CONFIGURATION'|'ISOLATE_CONNECTOR'|'RESTORE_CONNECTOR',
            'connectorOperationState': 'PENDING'|'UPDATE_IN_PROGRESS'|'UPDATE_COMPLETE'|'UPDATE_FAILED'|'ROLLBACK_IN_PROGRESS'|'ROLLBACK_FAILED'|'ROLLBACK_COMPLETE',
            'creationTime': datetime(2015, 1, 1),
            'endTime': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • connectorOperations (list) –

      An array of connector operation descriptions.

      • (dict) –

        Summary of a connector operation.

        • connectorOperationArn (string) –

          The Amazon Resource Name (ARN) of the connector operation.

        • connectorOperationType (string) –

          The type of connector operation performed.

        • connectorOperationState (string) –

          The state of the connector operation.

        • creationTime (datetime) –

          The time when operation was created.

        • endTime (datetime) –

          The time when operation ended.

    • nextToken (string) –

      If the response is truncated, it includes a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.

Exceptions