Appflow / Client / delete_flow

delete_flow#

Appflow.Client.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