KinesisAnalyticsV2 / Client / describe_application_operation

describe_application_operation

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

Request Syntax

response = client.describe_application_operation(
    ApplicationName='string',
    OperationId='string'
)
Parameters:
  • ApplicationName (string) –

    [REQUIRED]

    The name of the application.

  • OperationId (string) –

    [REQUIRED]

    The operation ID of the request.

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

  • KinesisAnalyticsV2.Client.exceptions.InvalidArgumentException

  • KinesisAnalyticsV2.Client.exceptions.ResourceNotFoundException

  • KinesisAnalyticsV2.Client.exceptions.UnsupportedOperationException