get_workflow_run
async
¶
get_workflow_run(
workflow_arn: WorkflowArn,
run_id: IdString,
*,
config_overrides: Optional[AsyncMWAAServerlessClientConfig] = None,
) -> GetWorkflowRunResponse
Retrieves detailed information about a specific workflow run, including its status, execution details, and task instances.
Parameters:
-
workflow_arn(WorkflowArn) –The Amazon Resource Name (ARN) of the workflow that contains the run.
-
run_id(IdString) –The unique identifier of the workflow run to retrieve.
Raises:
-
AccessDeniedException–You do not have sufficient permission to perform this action.
-
InternalServerException–An unexpected server-side error occurred during request processing.
-
OperationTimeoutException–The operation timed out.
-
ResourceNotFoundException–The specified resource was not found. You can only access or modify a resource that already exists.
-
ThrottlingException–The request was denied because too many requests were made in a short period, exceeding the service rate limits. Amazon Managed Workflows for Apache Airflow Serverless implements throttling controls to ensure fair resource allocation across all customers in the multi-tenant environment. This helps maintain service stability and performance. If you encounter throttling, implement exponential backoff and retry logic in your applications, or consider distributing your API calls over a longer time period.
-
ValidationException–The specified request parameters are invalid, missing, or inconsistent with Amazon Managed Workflows for Apache Airflow Serverless service requirements. This can occur when workflow definitions contain unsupported operators, when required IAM permissions are missing, when S3 locations are inaccessible, or when network configurations are invalid. The service validates workflow definitions, execution roles, and resource configurations to ensure compatibility with the managed Airflow environment and security requirements.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mwaa_serverless/_services/async_mwaa_serverless.py
989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 | |