Skip to content

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)
  1. client: CodeStarNotificationsClient
  2. paginator: ListEventTypesPaginator
  3. 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)
    ...
  1. See ListEventTypesFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListEventTypesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListEventTypesRequestListEventTypesPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See ListEventTypesRequestListEventTypesPaginateTypeDef

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)
  1. client: CodeStarNotificationsClient
  2. paginator: ListNotificationRulesPaginator
  3. 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)
    ...
  1. See ListNotificationRulesFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListNotificationRulesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListNotificationRulesRequestListNotificationRulesPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See ListNotificationRulesRequestListNotificationRulesPaginateTypeDef

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)
  1. client: CodeStarNotificationsClient
  2. paginator: ListTargetsPaginator
  3. 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)
    ...
  1. See ListTargetsFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListTargetsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTargetsRequestListTargetsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See ListTargetsRequestListTargetsPaginateTypeDef