Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot!

airflow.providers.amazon.aws.exceptions

Exceptions

EcsTaskFailToStart

Raise when ECS tasks fail to start AFTER processing the request.

EcsOperatorError

Raise when ECS cannot handle the request.

S3HookUriParseFailure

When parse_s3_url fails to parse URL, this error is thrown.

S3HookPathTraversalError

Raise when an S3 object key resolves outside the target local directory.

NeptuneGraphCreationFailedError

Raised when a Neptune Analytics graph fails to reach the available state.

NeptunePrivateEndpointCreationFailedError

Raised when a Neptune Analytics private graph endpoint fails to be created.

NeptunePrivateEndpointDeletionFailedError

Raised when a Neptune Analytics private graph endpoint fails to be deleted.

NeptuneGraphDeletionFailedError

Raised when a Neptune Analytics graph deletion encounters an unexpected AWS error.

NeptuneImportTaskCancellationFailedError

Raised when a Neptune Analytics import task cancellation fails or returns an unexpected status.

NeptuneImportTaskFailedError

Raised when a Neptune Analytics import task fails to complete successfully.

GlueJobRunStoppedError

Raised when a Glue job run finishes in a state that is not a real success.

DataSyncTaskNotFoundError

Raised when a DataSync task could not be identified or created for the requested locations.

DataSyncMultipleTasksError

Raised when multiple DataSync tasks match and random task choice is not allowed.

DataSyncMultipleLocationsError

Raised when multiple DataSync locations match and random location choice is not allowed.

DataSyncLocationNotFoundError

Raised when a DataSync location could not be determined or created.

DataSyncTaskCreationError

Raised when DataSync task creation did not return a task ARN.

DataSyncTaskExecutionFailedError

Raised when a DataSync task execution could not be started or did not complete successfully.

Module Contents

exception airflow.providers.amazon.aws.exceptions.EcsTaskFailToStart(message)[source]

Bases: Exception

Raise when ECS tasks fail to start AFTER processing the request.

message[source]
__reduce__()[source]

Return ECSTask state and its message.

exception airflow.providers.amazon.aws.exceptions.EcsOperatorError(failures, message)[source]

Bases: Exception

Raise when ECS cannot handle the request.

failures[source]
message[source]
__reduce__()[source]

Return EcsOperator state and a tuple of failures list and message.

exception airflow.providers.amazon.aws.exceptions.S3HookUriParseFailure[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

When parse_s3_url fails to parse URL, this error is thrown.

exception airflow.providers.amazon.aws.exceptions.S3HookPathTraversalError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raise when an S3 object key resolves outside the target local directory.

exception airflow.providers.amazon.aws.exceptions.NeptuneGraphCreationFailedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a Neptune Analytics graph fails to reach the available state.

exception airflow.providers.amazon.aws.exceptions.NeptunePrivateEndpointCreationFailedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a Neptune Analytics private graph endpoint fails to be created.

exception airflow.providers.amazon.aws.exceptions.NeptunePrivateEndpointDeletionFailedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a Neptune Analytics private graph endpoint fails to be deleted.

exception airflow.providers.amazon.aws.exceptions.NeptuneGraphDeletionFailedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a Neptune Analytics graph deletion encounters an unexpected AWS error.

exception airflow.providers.amazon.aws.exceptions.NeptuneImportTaskCancellationFailedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a Neptune Analytics import task cancellation fails or returns an unexpected status.

exception airflow.providers.amazon.aws.exceptions.NeptuneImportTaskFailedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a Neptune Analytics import task fails to complete successfully.

exception airflow.providers.amazon.aws.exceptions.GlueJobRunStoppedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a Glue job run finishes in a state that is not a real success.

exception airflow.providers.amazon.aws.exceptions.DataSyncTaskNotFoundError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a DataSync task could not be identified or created for the requested locations.

exception airflow.providers.amazon.aws.exceptions.DataSyncMultipleTasksError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when multiple DataSync tasks match and random task choice is not allowed.

exception airflow.providers.amazon.aws.exceptions.DataSyncMultipleLocationsError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when multiple DataSync locations match and random location choice is not allowed.

exception airflow.providers.amazon.aws.exceptions.DataSyncLocationNotFoundError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a DataSync location could not be determined or created.

exception airflow.providers.amazon.aws.exceptions.DataSyncTaskCreationError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when DataSync task creation did not return a task ARN.

exception airflow.providers.amazon.aws.exceptions.DataSyncTaskExecutionFailedError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when a DataSync task execution could not be started or did not complete successfully.

Was this entry helpful?