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

*******************
update_bridge_state
*******************



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

  

  Updates the bridge state.

  

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


  **Request Syntax**
  ::

    response = client.update_bridge_state(
        BridgeArn='string',
        DesiredState='ACTIVE'|'STANDBY'|'DELETED'
    )
    
  :type BridgeArn: string
  :param BridgeArn: **[REQUIRED]** 

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

    

  
  :type DesiredState: string
  :param DesiredState: **[REQUIRED]** 

    The desired state for the bridge.

    

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

    
    ::

      {
          'BridgeArn': 'string',
          'DesiredState': 'ACTIVE'|'STANDBY'|'DELETED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ARN of the updated bridge.

        
      

      - **DesiredState** *(string) --* 

        The new state of the bridge.

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

  