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

**************
create_network
**************



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

  

  Creates a new Wickr network with specified access level and configuration. This operation provisions a new communication network for your organization.

  

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


  **Request Syntax**
  ::

    response = client.create_network(
        networkName='string',
        accessLevel='STANDARD'|'PREMIUM',
        enablePremiumFreeTrial=True|False,
        encryptionKeyArn='string'
    )
    
  :type networkName: string
  :param networkName: **[REQUIRED]** 

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

    

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

    The access level for the network. Valid values are STANDARD or PREMIUM, which determine the features and capabilities available to network members.

    

  
  :type enablePremiumFreeTrial: boolean
  :param enablePremiumFreeTrial: 

    Specifies whether to enable a premium free trial for the network. It is optional and has a default value as false. When set to true, the network starts with premium features for a limited trial period.

    

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

    
    ::

      {
          'networkId': 'string',
          'networkName': 'string',
          'encryptionKeyArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **networkId** *(string) --* 

        The unique identifier assigned to the newly created network.

        
      

      - **networkName** *(string) --* 

        The name of the newly created network.

        
      

      - **encryptionKeyArn** *(string) --* 

        The ARN of the KMS key being used to encrypt sensitive data in the network.

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

  