EC2 / Client / get_managed_prefix_list_entries
get_managed_prefix_list_entries#
- EC2.Client.get_managed_prefix_list_entries(**kwargs)#
Gets information about the entries for a specified managed prefix list.
See also: AWS API Documentation
Request Syntax
response = client.get_managed_prefix_list_entries( DryRun=True|False, PrefixListId='string', TargetVersion=123, MaxResults=123, NextToken='string' )
- Parameters:
DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.PrefixListId (string) –
[REQUIRED]
The ID of the prefix list.
TargetVersion (integer) – The version of the prefix list for which to return the entries. The default is the current version.
MaxResults (integer) – The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.NextToken (string) – The token for the next page of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'Entries': [ { 'Cidr': 'string', 'Description': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Entries (list) –
Information about the prefix list entries.
(dict) –
Describes a prefix list entry.
Cidr (string) –
The CIDR block.
Description (string) –
The description.
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.