KinesisAnalyticsV2 / Client / describe_application_operation

describe_application_operation#

KinesisAnalyticsV2.Client.describe_application_operation(**kwargs)#

Returns information about a specific operation performed on a Managed Service for Apache Flink application

See also: AWS API Documentation

Request Syntax

response = client.describe_application_operation(
    ApplicationName='string',
    OperationId='string'
)
Parameters:
  • ApplicationName (string) – [REQUIRED] The name of the application

  • OperationId (string) – [REQUIRED] Identifier of the Operation

Return type:

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 corresponding to the operation-ID on a Managed Service for Apache Flink application

    • ApplicationOperationInfoDetails (dict) – Provides a description of the operation, such as the operation-type and status

      • Operation (string) – Type of operation performed on an application

      • StartTime (datetime) – The timestamp at which the operation was created

      • EndTime (datetime) – The timestamp at which the operation finished for the application

      • OperationStatus (string) – Status of the operation performed on an application

      • ApplicationVersionChangeDetails (dict) – Contains information about the application version changes due to an operation

        • ApplicationVersionUpdatedFrom (integer) – The operation was performed on this version of the application

        • ApplicationVersionUpdatedTo (integer) – The operation execution resulted in the transition to the following version of the application

      • OperationFailureDetails (dict) – Provides a description of the operation failure

        • RollbackOperationId (string) – Provides the operation ID of a system-rollback operation executed due to failure in the current operation

        • ErrorInfo (dict) – Provides a description of the operation failure error

          • ErrorString (string) – Error message resulting in failure of the operation

Exceptions

  • KinesisAnalyticsV2.Client.exceptions.InvalidArgumentException

  • KinesisAnalyticsV2.Client.exceptions.ResourceNotFoundException

  • KinesisAnalyticsV2.Client.exceptions.UnsupportedOperationException