stop_flow
(**kwargs)¶Deactivates the existing flow. For on-demand flows, this operation returns an unsupportedOperationException
error message. For schedule and event-triggered flows, this operation deactivates the flow.
See also: AWS API Documentation
Request Syntax
response = client.stop_flow(
flowName='string'
)
[REQUIRED]
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
{
'flowArn': 'string',
'flowStatus': 'Active'|'Deprecated'|'Deleted'|'Draft'|'Errored'|'Suspended'
}
Response Structure
The flow's Amazon Resource Name (ARN).
Indicates the current status of the flow.
Exceptions
Appflow.Client.exceptions.ConflictException
Appflow.Client.exceptions.ResourceNotFoundException
Appflow.Client.exceptions.UnsupportedOperationException
Appflow.Client.exceptions.InternalServerException