MediaConnect / Client / remove_flow_media_stream

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 that you want to update.

  • 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) –

    • FlowArn (string) –

      The ARN of the flow that was updated.

    • MediaStreamName (string) –

      The name of the media stream that was removed.

Exceptions

  • MediaConnect.Client.exceptions.BadRequestException

  • MediaConnect.Client.exceptions.TooManyRequestsException

  • MediaConnect.Client.exceptions.InternalServerErrorException

  • MediaConnect.Client.exceptions.ForbiddenException

  • MediaConnect.Client.exceptions.NotFoundException

  • MediaConnect.Client.exceptions.ServiceUnavailableException