remove_flow_source

remove_flow_source(**kwargs)

Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.

See also: AWS API Documentation

Request Syntax

response = client.remove_flow_source(
    FlowArn='string',
    SourceArn='string'
)
Parameters
  • FlowArn (string) -- [REQUIRED] The flow that you want to remove a source from.
  • SourceArn (string) -- [REQUIRED] The ARN of the source that you want to remove.
Return type

dict

Returns

Response Syntax

{
    'FlowArn': 'string',
    'SourceArn': 'string'
}

Response Structure

  • (dict) -- source successfully removed from flow configuration.
    • FlowArn (string) -- The ARN of the flow that is associated with the source you removed.
    • SourceArn (string) -- The ARN of the source 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