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)

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