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

*****************
take_router_input
*****************



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

  

  Associates a router input with a router output in AWS Elemental MediaConnect.

  

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


  **Request Syntax**
  ::

    response = client.take_router_input(
        RouterOutputArn='string',
        RouterInputArn='string'
    )
    
  :type RouterOutputArn: string
  :param RouterOutputArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the router output that you want to associate with a router input.

    

  
  :type RouterInputArn: string
  :param RouterInputArn: 

    The Amazon Resource Name (ARN) of the router input that you want to associate with a router output.

    

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

    
    ::

      {
          'RoutedState': 'ROUTED'|'ROUTING'|'UNROUTED',
          'RouterOutputArn': 'string',
          'RouterOutputName': 'string',
          'RouterInputArn': 'string',
          'RouterInputName': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RoutedState** *(string) --* 

        The state of the association between the router input and output.

        
      

      - **RouterOutputArn** *(string) --* 

        The ARN of the associated router output.

        
      

      - **RouterOutputName** *(string) --* 

        The name of the associated router output.

        
      

      - **RouterInputArn** *(string) --* 

        The ARN of the associated router input.

        
      

      - **RouterInputName** *(string) --* 

        The name of the associated router input.

        
  
  **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`

  