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

***********************
update_gateway_instance
***********************



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

  

  Updates an existing gateway instance.

  

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


  **Request Syntax**
  ::

    response = client.update_gateway_instance(
        BridgePlacement='AVAILABLE'|'LOCKED',
        GatewayInstanceArn='string'
    )
    
  :type BridgePlacement: string
  :param BridgePlacement: 

    The state of the instance. ``ACTIVE`` or ``INACTIVE``.

    

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

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

    

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

    
    ::

      {
          'BridgePlacement': 'AVAILABLE'|'LOCKED',
          'GatewayInstanceArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **BridgePlacement** *(string) --* 

        The state of the instance. ``ACTIVE`` or ``INACTIVE``.

        
      

      - **GatewayInstanceArn** *(string) --* 

        The ARN of the instance that was updated.

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

  