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.

stop_flow

stop_flow(**kwargs)

Stops a flow.

See also: AWS API Documentation

Request Syntax

response = client.stop_flow(
    FlowArn='string'
)
Parameters
FlowArn (string) -- [REQUIRED] The ARN of the flow that you want to stop.
Return type
dict
Returns
Response Syntax
{
    'FlowArn': 'string',
    'Status': 'STANDBY'|'ACTIVE'|'UPDATING'|'DELETING'|'STARTING'|'STOPPING'|'ERROR'
}

Response Structure

  • (dict) -- AWS Elemental MediaConnect is stopping the flow.
    • FlowArn (string) -- The ARN of the flow that you stopped.
    • Status (string) -- The status of the flow when the StopFlow 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