AgentsforBedrockRuntime / Client / get_flow_execution

get_flow_execution

AgentsforBedrockRuntime.Client.get_flow_execution(**kwargs)

Retrieves details about a specific asynchronous execution of a flow, including its status, start and end times, and any errors that occurred during execution.

See also: AWS API Documentation

Request Syntax

response = client.get_flow_execution(
    executionIdentifier='string',
    flowAliasIdentifier='string',
    flowIdentifier='string'
)
Parameters:
  • executionIdentifier (string) –

    [REQUIRED]

    The unique identifier of the async execution to retrieve.

  • flowAliasIdentifier (string) –

    [REQUIRED]

    The unique identifier of the flow alias used for the execution.

  • flowIdentifier (string) –

    [REQUIRED]

    The unique identifier of the flow.

Return type:

dict

Returns:

Response Syntax

{
    'endedAt': datetime(2015, 1, 1),
    'errors': [
        {
            'error': 'ExecutionTimedOut',
            'message': 'string',
            'nodeName': 'string'
        },
    ],
    'executionArn': 'string',
    'flowAliasIdentifier': 'string',
    'flowIdentifier': 'string',
    'flowVersion': 'string',
    'startedAt': datetime(2015, 1, 1),
    'status': 'Running'|'Succeeded'|'Failed'|'TimedOut'|'Aborted'
}

Response Structure

  • (dict) –

    • endedAt (datetime) –

      The timestamp when the async execution ended. This field is only populated when the execution has completed, failed, timed out, or been aborted.

    • errors (list) –

      A list of errors that occurred during the async execution. Each error includes an error code, message, and the node where the error occurred, if applicable.

      • (dict) –

        Contains information about an error that occurred during an async execution.

        Note

        Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.

        • error (string) –

          The error code for the type of error that occurred.

        • message (string) –

          A descriptive message that provides details about the error.

        • nodeName (string) –

          The name of the node in the flow where the error occurred (if applicable).

    • executionArn (string) –

      The Amazon Resource Name (ARN) that uniquely identifies the async execution.

    • flowAliasIdentifier (string) –

      The unique identifier of the flow alias used for the execution.

    • flowIdentifier (string) –

      The unique identifier of the flow.

    • flowVersion (string) –

      The version of the flow used for the execution.

    • startedAt (datetime) –

      The timestamp when the async execution started.

    • status (string) –

      The current status of the async execution.

      Async executions time out after 24 hours.

Exceptions