:doc:`KinesisAnalyticsV2 <../../kinesisanalyticsv2>` / Client / describe_application_operation

******************************
describe_application_operation
******************************



.. py:method:: KinesisAnalyticsV2.Client.describe_application_operation(**kwargs)

  

  Provides a detailed description of a specified application operation. To see a list of all the operations of an application, invoke the  ListApplicationOperations operation.

   

  .. note::

    

    This operation is supported only for Managed Service for Apache Flink.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationOperation>`_  


  **Request Syntax**
  ::

    response = client.describe_application_operation(
        ApplicationName='string',
        OperationId='string'
    )
    
  :type ApplicationName: string
  :param ApplicationName: **[REQUIRED]** 

    The name of the application.

    

  
  :type OperationId: string
  :param OperationId: **[REQUIRED]** 

    The operation ID of the request.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ApplicationOperationInfoDetails': {
              'Operation': 'string',
              'StartTime': datetime(2015, 1, 1),
              'EndTime': datetime(2015, 1, 1),
              'OperationStatus': 'IN_PROGRESS'|'CANCELLED'|'SUCCESSFUL'|'FAILED',
              'ApplicationVersionChangeDetails': {
                  'ApplicationVersionUpdatedFrom': 123,
                  'ApplicationVersionUpdatedTo': 123
              },
              'OperationFailureDetails': {
                  'RollbackOperationId': 'string',
                  'ErrorInfo': {
                      'ErrorString': 'string'
                  }
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Provides details of the operation that corresponds to the operation ID on a Managed Service for Apache Flink application.

      
      

      - **ApplicationOperationInfoDetails** *(dict) --* 

        A description of the application operation that provides information about the updates that were made to the application.

        
        

        - **Operation** *(string) --* 

          The type of operation that is performed on an application.

          
        

        - **StartTime** *(datetime) --* 

          The timestamp that indicates when the operation was created.

          
        

        - **EndTime** *(datetime) --* 

          The timestamp that indicates when the operation finished.

          
        

        - **OperationStatus** *(string) --* 

          The status of the operation.

          
        

        - **ApplicationVersionChangeDetails** *(dict) --* 

          Contains information about the version changes that the operation applied to the application.

          
          

          - **ApplicationVersionUpdatedFrom** *(integer) --* 

            The new version that the application was updated to.

            
          

          - **ApplicationVersionUpdatedTo** *(integer) --* 

            The version that the operation execution applied to the applicartion.

            
      
        

        - **OperationFailureDetails** *(dict) --* 

          Provides a description of the operation failure.

          
          

          - **RollbackOperationId** *(string) --* 

            The rollback operation ID of the system-rollback operation that executed due to failure in the current operation.

            
          

          - **ErrorInfo** *(dict) --* 

            A description of the error that caused an operation to fail.

            
            

            - **ErrorString** *(string) --* 

              An error message that is returned when an operation fails.

              
        
      
    
  
  **Exceptions**
  
  *   :py:class:`KinesisAnalyticsV2.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`KinesisAnalyticsV2.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`KinesisAnalyticsV2.Client.exceptions.UnsupportedOperationException`

  