MediaConnect / Client / stop_flow

stop_flow#

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