remove_flow_media_stream

MediaConnect.Client.remove_flow_media_stream(**kwargs)

Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.

See also: AWS API Documentation

Request Syntax

response = client.remove_flow_media_stream(
    FlowArn='string',
    MediaStreamName='string'
)
Parameters
  • FlowArn (string) -- [REQUIRED] The Amazon Resource Name (ARN) of the flow.
  • MediaStreamName (string) -- [REQUIRED] The name of the media stream that you want to remove.
Return type

dict

Returns

Response Syntax

{
    'FlowArn': 'string',
    'MediaStreamName': 'string'
}

Response Structure

  • (dict) -- The media stream was successfully removed from the flow.
    • FlowArn (string) -- The Amazon Resource Name (ARN) of the flow.
    • MediaStreamName (string) -- The name of the media stream that was removed.

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