WorkSpaces / Client / list_available_management_cidr_ranges
list_available_management_cidr_ranges#
- 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
Request Syntax
response = client.list_available_management_cidr_ranges( ManagementCidrRangeConstraint='string', MaxResults=123, NextToken='string' )
- Parameters:
ManagementCidrRangeConstraint (string) –
[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).
MaxResults (integer) – The maximum number of items to return.
NextToken (string) – If you received a
NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
- Return type:
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
WorkSpaces.Client.exceptions.InvalidParameterValuesException
WorkSpaces.Client.exceptions.AccessDeniedException