:doc:`WickrAdminAPI <../../wickr>` / Client / update_network

**************
update_network
**************



.. py:method:: WickrAdminAPI.Client.update_network(**kwargs)

  

  Updates the properties of an existing Wickr network, such as its name or encryption key configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/UpdateNetwork>`_  


  **Request Syntax**
  ::

    response = client.update_network(
        networkId='string',
        networkName='string',
        clientToken='string',
        encryptionKeyArn='string'
    )
    
  :type networkId: string
  :param networkId: **[REQUIRED]** 

    The ID of the Wickr network to update.

    

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

    The new name for the network. Must be between 1 and 20 characters.

    

  
  :type clientToken: string
  :param clientToken: 

    A unique identifier for this request to ensure idempotency.

    This field is autopopulated if not provided.

  
  :type encryptionKeyArn: string
  :param encryptionKeyArn: 

    The ARN of the Amazon Web Services KMS customer managed key to use for encrypting sensitive data in the network.

    

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

    
    ::

      {
          'message': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **message** *(string) --* 

        A message indicating that the network was updated successfully.

        
  
  **Exceptions**
  
  *   :py:class:`WickrAdminAPI.Client.exceptions.ValidationError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.BadRequestError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.ResourceNotFoundError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.ForbiddenError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.UnauthorizedError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.InternalServerError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.RateLimitError`

  