:doc:`VPCLattice <../../vpc-lattice>` / Client / update_resource_gateway

***********************
update_resource_gateway
***********************



.. py:method:: VPCLattice.Client.update_resource_gateway(**kwargs)

  

  Updates the specified resource gateway.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/UpdateResourceGateway>`_  


  **Request Syntax**
  ::

    response = client.update_resource_gateway(
        resourceGatewayIdentifier='string',
        securityGroupIds=[
            'string',
        ]
    )
    
  :type resourceGatewayIdentifier: string
  :param resourceGatewayIdentifier: **[REQUIRED]** 

    The ID or ARN of the resource gateway.

    

  
  :type securityGroupIds: list
  :param securityGroupIds: 

    The IDs of the security groups associated with the resource gateway.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'name': 'string',
          'id': 'string',
          'arn': 'string',
          'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED',
          'vpcId': 'string',
          'subnetIds': [
              'string',
          ],
          'securityGroupIds': [
              'string',
          ],
          'ipAddressType': 'IPV4'|'IPV6'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **name** *(string) --* 

        The name of the resource gateway.

        
      

      - **id** *(string) --* 

        The ID of the resource gateway.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the resource gateway.

        
      

      - **status** *(string) --* 

        The status of the resource gateway.

        
      

      - **vpcId** *(string) --* 

        The ID of the VPC for the resource gateway.

        
      

      - **subnetIds** *(list) --* 

        The IDs of the VPC subnets for the resource gateway.

        
        

        - *(string) --* 
    
      

      - **securityGroupIds** *(list) --* 

        The IDs of the security groups associated with the resource gateway.

        
        

        - *(string) --* 
    
      

      - **ipAddressType** *(string) --* 

        The type of IP address used by the resource gateway.

        
  
  **Exceptions**
  
  *   :py:class:`VPCLattice.Client.exceptions.ValidationException`

  
  *   :py:class:`VPCLattice.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`VPCLattice.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`VPCLattice.Client.exceptions.ThrottlingException`

  
  *   :py:class:`VPCLattice.Client.exceptions.InternalServerException`

  