:doc:`WorkSpaces <../../workspaces>` / Client / list_available_management_cidr_ranges

*************************************
list_available_management_cidr_ranges
*************************************



.. py:method:: WorkSpaces.Client.list_available_management_cidr_ranges(**kwargs)

  

  Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).

   

  This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an ``AccessDeniedException`` error.

   

  The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRanges>`_  


  **Request Syntax**
  ::

    response = client.list_available_management_cidr_ranges(
        ManagementCidrRangeConstraint='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type ManagementCidrRangeConstraint: string
  :param ManagementCidrRangeConstraint: **[REQUIRED]** 

    The IP address range to search. Specify an IP address range that is compatible with your network and in CIDR notation (that is, specify the range as an IPv4 CIDR block).

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of items to return.

    

  
  :type NextToken: string
  :param NextToken: 

    If you received a ``NextToken`` from a previous call that was paginated, provide this token to receive the next set of results.

    

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

    
    ::

      {
          'ManagementCidrRanges': [
              'string',
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ManagementCidrRanges** *(list) --* 

        The list of available IP address ranges, specified as IPv4 CIDR blocks.

        
        

        - *(string) --* 
    
      

      - **NextToken** *(string) --* 

        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

        
  
  **Exceptions**
  
  *   :py:class:`WorkSpaces.Client.exceptions.InvalidParameterValuesException`

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

  