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.

remove_flow_media_stream

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