MediaConnect / Client / delete_flow
delete_flow#
- MediaConnect.Client.delete_flow(**kwargs)#
Deletes a flow. Before you can delete a flow, you must stop the flow.
See also: AWS API Documentation
Request Syntax
response = client.delete_flow( FlowArn='string' )
- Parameters:
FlowArn (string) – [REQUIRED] The ARN of the flow that you want to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'FlowArn': 'string', 'Status': 'STANDBY'|'ACTIVE'|'UPDATING'|'DELETING'|'STARTING'|'STOPPING'|'ERROR' }
Response Structure
(dict) – AWS Elemental MediaConnect is deleting the flow.
FlowArn (string) – The ARN of the flow that was deleted.
Status (string) – The status of the flow when the DeleteFlow process begins.
Exceptions
MediaConnect.Client.exceptions.BadRequestException
MediaConnect.Client.exceptions.InternalServerErrorException
MediaConnect.Client.exceptions.ForbiddenException
MediaConnect.Client.exceptions.NotFoundException
MediaConnect.Client.exceptions.ServiceUnavailableException
MediaConnect.Client.exceptions.TooManyRequestsException