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.
Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can delete flows one at a time.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginDeleteFlow and EndDeleteFlow.
Namespace: Amazon.Appflow
Assembly: AWSSDK.Appflow.dll
Version: 3.x.y.z
public virtual Task<DeleteFlowResponse> DeleteFlowAsync( DeleteFlowRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the DeleteFlow service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
ConflictException | There was a conflict when processing the request (for example, a flow with the given name already exists within the account. Check for conflicting resource names and try again. |
InternalServerException | An internal service error occurred during the processing of your request. Try again later. |
ResourceNotFoundException | The resource specified in the request (such as the source or destination connector profile) is not found. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5