Skip to content

Paginators#

Index > UserNotifications > Paginators

Auto-generated documentation for UserNotifications type annotations stubs module types-boto3-notifications.

ListChannelsPaginator#

Type annotations and code completion for boto3.client("notifications").get_paginator("list_channels"). boto3 documentation

# ListChannelsPaginator usage example

from boto3.session import Session

from types_boto3_notifications.paginator import ListChannelsPaginator

def get_list_channels_paginator() -> ListChannelsPaginator:
    return Session().client("notifications").get_paginator("list_channels")
# ListChannelsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_notifications.paginator import ListChannelsPaginator

session = Session()

client = Session().client("notifications")  # (1)
paginator: ListChannelsPaginator = client.get_paginator("list_channels")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: UserNotificationsClient
  2. paginator: ListChannelsPaginator
  3. item: ListChannelsResponseTypeDef

paginate#

Type annotations and code completion for ListChannelsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    notificationConfigurationArn: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListChannelsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListChannelsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListChannelsRequestPaginateTypeDef = {  # (1)
    "notificationConfigurationArn": ...,
}

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

ListEventRulesPaginator#

Type annotations and code completion for boto3.client("notifications").get_paginator("list_event_rules"). boto3 documentation

# ListEventRulesPaginator usage example

from boto3.session import Session

from types_boto3_notifications.paginator import ListEventRulesPaginator

def get_list_event_rules_paginator() -> ListEventRulesPaginator:
    return Session().client("notifications").get_paginator("list_event_rules")
# ListEventRulesPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_notifications.paginator import ListEventRulesPaginator

session = Session()

client = Session().client("notifications")  # (1)
paginator: ListEventRulesPaginator = client.get_paginator("list_event_rules")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: UserNotificationsClient
  2. paginator: ListEventRulesPaginator
  3. item: ListEventRulesResponseTypeDef

paginate#

Type annotations and code completion for ListEventRulesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    notificationConfigurationArn: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListEventRulesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListEventRulesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListEventRulesRequestPaginateTypeDef = {  # (1)
    "notificationConfigurationArn": ...,
}

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

ListNotificationConfigurationsPaginator#

Type annotations and code completion for boto3.client("notifications").get_paginator("list_notification_configurations"). boto3 documentation

# ListNotificationConfigurationsPaginator usage example

from boto3.session import Session

from types_boto3_notifications.paginator import ListNotificationConfigurationsPaginator

def get_list_notification_configurations_paginator() -> ListNotificationConfigurationsPaginator:
    return Session().client("notifications").get_paginator("list_notification_configurations")
# ListNotificationConfigurationsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_notifications.paginator import ListNotificationConfigurationsPaginator

session = Session()

client = Session().client("notifications")  # (1)
paginator: ListNotificationConfigurationsPaginator = client.get_paginator("list_notification_configurations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: UserNotificationsClient
  2. paginator: ListNotificationConfigurationsPaginator
  3. item: ListNotificationConfigurationsResponseTypeDef

paginate#

Type annotations and code completion for ListNotificationConfigurationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    eventRuleSource: str = ...,
    channelArn: str = ...,
    status: NotificationConfigurationStatusType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListNotificationConfigurationsResponseTypeDef]:  # (3)
    ...
  1. See NotificationConfigurationStatusType
  2. See PaginatorConfigTypeDef
  3. See ListNotificationConfigurationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListNotificationConfigurationsRequestPaginateTypeDef = {  # (1)
    "eventRuleSource": ...,
}

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

ListNotificationEventsPaginator#

Type annotations and code completion for boto3.client("notifications").get_paginator("list_notification_events"). boto3 documentation

# ListNotificationEventsPaginator usage example

from boto3.session import Session

from types_boto3_notifications.paginator import ListNotificationEventsPaginator

def get_list_notification_events_paginator() -> ListNotificationEventsPaginator:
    return Session().client("notifications").get_paginator("list_notification_events")
# ListNotificationEventsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_notifications.paginator import ListNotificationEventsPaginator

session = Session()

client = Session().client("notifications")  # (1)
paginator: ListNotificationEventsPaginator = client.get_paginator("list_notification_events")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: UserNotificationsClient
  2. paginator: ListNotificationEventsPaginator
  3. item: ListNotificationEventsResponseTypeDef

paginate#

Type annotations and code completion for ListNotificationEventsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    startTime: TimestampTypeDef = ...,
    endTime: TimestampTypeDef = ...,
    locale: LocaleCodeType = ...,  # (1)
    source: str = ...,
    includeChildEvents: bool = ...,
    aggregateNotificationEventArn: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListNotificationEventsResponseTypeDef]:  # (3)
    ...
  1. See LocaleCodeType
  2. See PaginatorConfigTypeDef
  3. See ListNotificationEventsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListNotificationEventsRequestPaginateTypeDef = {  # (1)
    "startTime": ...,
}

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

ListNotificationHubsPaginator#

Type annotations and code completion for boto3.client("notifications").get_paginator("list_notification_hubs"). boto3 documentation

# ListNotificationHubsPaginator usage example

from boto3.session import Session

from types_boto3_notifications.paginator import ListNotificationHubsPaginator

def get_list_notification_hubs_paginator() -> ListNotificationHubsPaginator:
    return Session().client("notifications").get_paginator("list_notification_hubs")
# ListNotificationHubsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_notifications.paginator import ListNotificationHubsPaginator

session = Session()

client = Session().client("notifications")  # (1)
paginator: ListNotificationHubsPaginator = client.get_paginator("list_notification_hubs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: UserNotificationsClient
  2. paginator: ListNotificationHubsPaginator
  3. item: ListNotificationHubsResponseTypeDef

paginate#

Type annotations and code completion for ListNotificationHubsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListNotificationHubsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListNotificationHubsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListNotificationHubsRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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