AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Retrieves detailed information about a specific task instance within a workflow run. Task instances represent individual tasks that are executed as part of a workflow in the Amazon Managed Workflows for Apache Airflow Serverless environment. Each task instance runs in an isolated ECS container with dedicated resources and security boundaries. The service tracks task execution state, retry attempts, and provides detailed timing and error information for troubleshooting and monitoring purposes.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetTaskInstanceAsync.

Namespace: Amazon.MWAAServerless
Assembly: AWSSDK.MWAAServerless.dll
Version: 3.x.y.z

Syntax

C#
public virtual GetTaskInstanceResponse GetTaskInstance(
         GetTaskInstanceRequest request
)

Parameters

request
Type: Amazon.MWAAServerless.Model.GetTaskInstanceRequest

Container for the necessary parameters to execute the GetTaskInstance service method.

Return Value


The response from the GetTaskInstance service method, as returned by MWAAServerless.

Exceptions

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

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also