Paginators#
Index > ConnectCampaignServiceV2 > Paginators
Auto-generated documentation for ConnectCampaignServiceV2 type annotations stubs module types-boto3-connectcampaignsv2.
ListCampaignsPaginator#
Type annotations and code completion for boto3.client("connectcampaignsv2").get_paginator("list_campaigns")
.
boto3 documentation
# ListCampaignsPaginator usage example
from boto3.session import Session
from types_boto3_connectcampaignsv2.paginator import ListCampaignsPaginator
def get_list_campaigns_paginator() -> ListCampaignsPaginator:
return Session().client("connectcampaignsv2").get_paginator("list_campaigns")
# ListCampaignsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_connectcampaignsv2.paginator import ListCampaignsPaginator
session = Session()
client = Session().client("connectcampaignsv2") # (1)
paginator: ListCampaignsPaginator = client.get_paginator("list_campaigns") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ConnectCampaignServiceV2Client
- paginator: ListCampaignsPaginator
- item: ListCampaignsResponseTypeDef
paginate#
Type annotations and code completion for ListCampaignsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filters: CampaignFiltersTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListCampaignsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListCampaignsRequestPaginateTypeDef = { # (1)
"filters": ...,
}
parent.paginate(**kwargs)
ListConnectInstanceIntegrationsPaginator#
Type annotations and code completion for boto3.client("connectcampaignsv2").get_paginator("list_connect_instance_integrations")
.
boto3 documentation
# ListConnectInstanceIntegrationsPaginator usage example
from boto3.session import Session
from types_boto3_connectcampaignsv2.paginator import ListConnectInstanceIntegrationsPaginator
def get_list_connect_instance_integrations_paginator() -> ListConnectInstanceIntegrationsPaginator:
return Session().client("connectcampaignsv2").get_paginator("list_connect_instance_integrations")
# ListConnectInstanceIntegrationsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_connectcampaignsv2.paginator import ListConnectInstanceIntegrationsPaginator
session = Session()
client = Session().client("connectcampaignsv2") # (1)
paginator: ListConnectInstanceIntegrationsPaginator = client.get_paginator("list_connect_instance_integrations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ConnectCampaignServiceV2Client
- paginator: ListConnectInstanceIntegrationsPaginator
- item: ListConnectInstanceIntegrationsResponseTypeDef
paginate#
Type annotations and code completion for ListConnectInstanceIntegrationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
connectInstanceId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListConnectInstanceIntegrationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListConnectInstanceIntegrationsRequestPaginateTypeDef = { # (1)
"connectInstanceId": ...,
}
parent.paginate(**kwargs)