Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_flow

delete_flow(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.delete_flow(
    flowName='string',
    forceDelete=True|False
)
Parameters
  • flowName (string) --

    [REQUIRED]

    The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

  • forceDelete (boolean) -- Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Appflow.Client.exceptions.ResourceNotFoundException
  • Appflow.Client.exceptions.ConflictException
  • Appflow.Client.exceptions.InternalServerException