:doc:`KafkaConnect <../../kafkaconnect>` / Client / list_connector_operations

*************************
list_connector_operations
*************************



.. py:method:: KafkaConnect.Client.list_connector_operations(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectorOperations>`_  


  **Request Syntax**
  ::

    response = client.list_connector_operations(
        connectorArn='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type connectorArn: string
  :param connectorArn: **[REQUIRED]** 

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

    

  
  :type maxResults: integer
  :param maxResults: 

    Maximum number of connector operations to fetch in one get request.

    

  
  :type nextToken: string
  :param nextToken: 

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

    

  
  
  :rtype: 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**
  
  *   :py:class:`KafkaConnect.Client.exceptions.NotFoundException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.BadRequestException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.ForbiddenException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.InternalServerErrorException`

  