:doc:`MediaConnect <../../mediaconnect>` / Client / add_bridge_sources

******************
add_bridge_sources
******************



.. py:method:: MediaConnect.Client.add_bridge_sources(**kwargs)

  

  Adds sources to an existing bridge.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddBridgeSources>`_  


  **Request Syntax**
  ::

    response = client.add_bridge_sources(
        BridgeArn='string',
        Sources=[
            {
                'FlowSource': {
                    'FlowArn': 'string',
                    'FlowVpcInterfaceAttachment': {
                        'VpcInterfaceName': 'string'
                    },
                    'Name': 'string'
                },
                'NetworkSource': {
                    'MulticastIp': 'string',
                    'MulticastSourceSettings': {
                        'MulticastSourceIp': 'string'
                    },
                    'Name': 'string',
                    'NetworkName': 'string',
                    'Port': 123,
                    'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos'|'udp'|'ndi-speed-hq'
                }
            },
        ]
    )
    
  :type BridgeArn: string
  :param BridgeArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the bridge that you want to update.

    

  
  :type Sources: list
  :param Sources: **[REQUIRED]** 

    The sources that you want to add to this bridge.

    

  
    - *(dict) --* 

      Add an output to a bridge.

      

    
      - **FlowSource** *(dict) --* 

        The source of the flow.

        

      
        - **FlowArn** *(string) --* **[REQUIRED]** 

          The Amazon Resource Number (ARN) of the flow to use as a source of this bridge.

          

        
        - **FlowVpcInterfaceAttachment** *(dict) --* 

          The name of the VPC interface attachment to use for this source.

          

        
          - **VpcInterfaceName** *(string) --* 

            The name of the VPC interface to use for this resource.

            

          
        
        - **Name** *(string) --* **[REQUIRED]** 

          The name of the flow source. This name is used to reference the source and must be unique among sources in this bridge.

          

        
      
      - **NetworkSource** *(dict) --* 

        The source of the network.

        

      
        - **MulticastIp** *(string) --* **[REQUIRED]** 

          The network source multicast IP.

          

        
        - **MulticastSourceSettings** *(dict) --* 

          The settings related to the multicast source.

          

        
          - **MulticastSourceIp** *(string) --* 

            The IP address of the source for source-specific multicast (SSM).

            

          
        
        - **Name** *(string) --* **[REQUIRED]** 

          The name of the network source. This name is used to reference the source and must be unique among sources in this bridge.

          

        
        - **NetworkName** *(string) --* **[REQUIRED]** 

          The network source's gateway network name.

          

        
        - **Port** *(integer) --* **[REQUIRED]** 

          The network source port.

          

        
        - **Protocol** *(string) --* **[REQUIRED]** 

          The network source protocol.

           

          .. note::

            

            Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.

            

          

        
      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'BridgeArn': 'string',
          'Sources': [
              {
                  'FlowSource': {
                      'FlowArn': 'string',
                      'FlowVpcInterfaceAttachment': {
                          'VpcInterfaceName': 'string'
                      },
                      'Name': 'string',
                      'OutputArn': 'string'
                  },
                  'NetworkSource': {
                      'MulticastIp': 'string',
                      'MulticastSourceSettings': {
                          'MulticastSourceIp': 'string'
                      },
                      'Name': 'string',
                      'NetworkName': 'string',
                      'Port': 123,
                      'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos'|'udp'|'ndi-speed-hq'
                  }
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **BridgeArn** *(string) --* 

        The ARN of the bridge that you added sources to.

        
      

      - **Sources** *(list) --* 

        The sources that you added to this bridge.

        
        

        - *(dict) --* 

          The bridge's source.

          
          

          - **FlowSource** *(dict) --* 

            The source of the associated flow.

            
            

            - **FlowArn** *(string) --* 

              The ARN of the cloud flow used as a source of this bridge.

              
            

            - **FlowVpcInterfaceAttachment** *(dict) --* 

              The name of the VPC interface attachment to use for this source.

              
              

              - **VpcInterfaceName** *(string) --* 

                The name of the VPC interface to use for this resource.

                
          
            

            - **Name** *(string) --* 

              The name of the flow source.

              
            

            - **OutputArn** *(string) --* 

              The Amazon Resource Number (ARN) of the output.

              
        
          

          - **NetworkSource** *(dict) --* 

            The network source for the bridge.

            
            

            - **MulticastIp** *(string) --* 

              The network source multicast IP.

              
            

            - **MulticastSourceSettings** *(dict) --* 

              The settings related to the multicast source.

              
              

              - **MulticastSourceIp** *(string) --* 

                The IP address of the source for source-specific multicast (SSM).

                
          
            

            - **Name** *(string) --* 

              The name of the network source.

              
            

            - **NetworkName** *(string) --* 

              The network source's gateway network name.

              
            

            - **Port** *(integer) --* 

              The network source port.

              
            

            - **Protocol** *(string) --* 

              The network source protocol.

               

              .. note::

                

                Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.

                

              
        
      
    
  
  **Exceptions**
  
  *   :py:class:`MediaConnect.Client.exceptions.BadRequestException`

  
  *   :py:class:`MediaConnect.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`MediaConnect.Client.exceptions.ConflictException`

  
  *   :py:class:`MediaConnect.Client.exceptions.ForbiddenException`

  
  *   :py:class:`MediaConnect.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MediaConnect.Client.exceptions.NotFoundException`

  
  *   :py:class:`MediaConnect.Client.exceptions.ServiceUnavailableException`

  