Paginators#
Index > CodeStarNotifications > Paginators
Auto-generated documentation for CodeStarNotifications type annotations stubs module mypy-boto3-codestar-notifications.
ListEventTypesPaginator#
Type annotations and code completion for boto3.client("codestar-notifications").get_paginator("list_event_types")
.
boto3 documentation
# ListEventTypesPaginator usage example
from boto3.session import Session
from mypy_boto3_codestar_notifications.paginator import ListEventTypesPaginator
def get_list_event_types_paginator() -> ListEventTypesPaginator:
return Session().client("codestar-notifications").get_paginator("list_event_types")
# ListEventTypesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codestar_notifications.paginator import ListEventTypesPaginator
session = Session()
client = Session().client("codestar-notifications") # (1)
paginator: ListEventTypesPaginator = client.get_paginator("list_event_types") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeStarNotificationsClient
- paginator: ListEventTypesPaginator
- item: ListEventTypesResultTypeDef
paginate#
Type annotations and code completion for ListEventTypesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[ListEventTypesFilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListEventTypesResultTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListEventTypesRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListNotificationRulesPaginator#
Type annotations and code completion for boto3.client("codestar-notifications").get_paginator("list_notification_rules")
.
boto3 documentation
# ListNotificationRulesPaginator usage example
from boto3.session import Session
from mypy_boto3_codestar_notifications.paginator import ListNotificationRulesPaginator
def get_list_notification_rules_paginator() -> ListNotificationRulesPaginator:
return Session().client("codestar-notifications").get_paginator("list_notification_rules")
# ListNotificationRulesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codestar_notifications.paginator import ListNotificationRulesPaginator
session = Session()
client = Session().client("codestar-notifications") # (1)
paginator: ListNotificationRulesPaginator = client.get_paginator("list_notification_rules") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeStarNotificationsClient
- paginator: ListNotificationRulesPaginator
- item: ListNotificationRulesResultTypeDef
paginate#
Type annotations and code completion for ListNotificationRulesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[ListNotificationRulesFilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListNotificationRulesResultTypeDef]: # (3)
...
- See ListNotificationRulesFilterTypeDef
- See PaginatorConfigTypeDef
- See ListNotificationRulesResultTypeDef
# paginate method usage example with argument unpacking
kwargs: ListNotificationRulesRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListTargetsPaginator#
Type annotations and code completion for boto3.client("codestar-notifications").get_paginator("list_targets")
.
boto3 documentation
# ListTargetsPaginator usage example
from boto3.session import Session
from mypy_boto3_codestar_notifications.paginator import ListTargetsPaginator
def get_list_targets_paginator() -> ListTargetsPaginator:
return Session().client("codestar-notifications").get_paginator("list_targets")
# ListTargetsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codestar_notifications.paginator import ListTargetsPaginator
session = Session()
client = Session().client("codestar-notifications") # (1)
paginator: ListTargetsPaginator = client.get_paginator("list_targets") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeStarNotificationsClient
- paginator: ListTargetsPaginator
- item: ListTargetsResultTypeDef
paginate#
Type annotations and code completion for ListTargetsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[ListTargetsFilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListTargetsResultTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListTargetsRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)