KafkaConnect / Paginator / ListConnectorOperations

ListConnectorOperations#

class KafkaConnect.Paginator.ListConnectorOperations#
paginator = client.get_paginator('list_connector_operations')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from KafkaConnect.Client.list_connector_operations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    connectorArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • connectorArn (string) –

    [REQUIRED]

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

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

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) –

      A token to resume pagination.