Route53.Client.
list_cidr_blocks
(**kwargs)¶Returns a paginated list of location objects and their CIDR blocks.
See also: AWS API Documentation
Request Syntax
response = client.list_cidr_blocks(
CollectionId='string',
LocationName='string',
NextToken='string',
MaxResults='string'
)
[REQUIRED]
The UUID of the CIDR collection.
dict
Response Syntax
{
'NextToken': 'string',
'CidrBlocks': [
{
'CidrBlock': 'string',
'LocationName': 'string'
},
]
}
Response Structure
(dict) --
NextToken (string) --
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
CidrBlocks (list) --
A complex type that contains information about the CIDR blocks.
(dict) --
A complex type that lists the CIDR blocks.
CidrBlock (string) --
Value for the CIDR block.
LocationName (string) --
The location name of the CIDR block.
Exceptions
Route53.Client.exceptions.NoSuchCidrCollectionException
Route53.Client.exceptions.NoSuchCidrLocationException
Route53.Client.exceptions.InvalidInput