:doc:`WorkSpacesWeb <../../workspaces-web>` / Client / get_network_settings

********************
get_network_settings
********************



.. py:method:: WorkSpacesWeb.Client.get_network_settings(**kwargs)

  

  Gets the network settings.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetNetworkSettings>`_  


  **Request Syntax**
  ::

    response = client.get_network_settings(
        networkSettingsArn='string'
    )
    
  :type networkSettingsArn: string
  :param networkSettingsArn: **[REQUIRED]** 

    The ARN of the network settings.

    

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

    
    ::

      {
          'networkSettings': {
              'networkSettingsArn': 'string',
              'associatedPortalArns': [
                  'string',
              ],
              'vpcId': 'string',
              'subnetIds': [
                  'string',
              ],
              'securityGroupIds': [
                  'string',
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **networkSettings** *(dict) --* 

        The network settings.

        
        

        - **networkSettingsArn** *(string) --* 

          The ARN of the network settings.

          
        

        - **associatedPortalArns** *(list) --* 

          A list of web portal ARNs that this network settings is associated with.

          
          

          - *(string) --* 
      
        

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

          The VPC that streaming instances will connect to.

          
        

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

          The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

          
          

          - *(string) --* 
      
        

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

          One or more security groups used to control access from streaming instances to your VPC.

          
          

          - *(string) --* 
      
    
  
  **Exceptions**
  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.InternalServerException`

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

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

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

  
  *   :py:class:`WorkSpacesWeb.Client.exceptions.ValidationException`

  