EC2 / Paginator / GetManagedPrefixListEntries
GetManagedPrefixListEntries#
- class EC2.Paginator.GetManagedPrefixListEntries#
paginator = client.get_paginator('get_managed_prefix_list_entries')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
EC2.Client.get_managed_prefix_list_entries()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( DryRun=True|False, PrefixListId='string', TargetVersion=123, PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': '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.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'Entries': [ { 'Cidr': 'string', 'Description': '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.