Paginators#
Index > UserNotifications > Paginators
Auto-generated documentation for UserNotifications type annotations stubs module mypy-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 mypy_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 mypy_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)
- client: UserNotificationsClient
- paginator: ListChannelsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListChannelsRequestPaginateTypeDef = { # (1)
"notificationConfigurationArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: UserNotificationsClient
- paginator: ListEventRulesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListEventRulesRequestPaginateTypeDef = { # (1)
"notificationConfigurationArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: UserNotificationsClient
- paginator: ListNotificationConfigurationsPaginator
- 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)
...
- See NotificationConfigurationStatusType
- See PaginatorConfigTypeDef
- See ListNotificationConfigurationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListNotificationConfigurationsRequestPaginateTypeDef = { # (1)
"eventRuleSource": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: UserNotificationsClient
- paginator: ListNotificationEventsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListNotificationEventsRequestPaginateTypeDef = { # (1)
"startTime": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: UserNotificationsClient
- paginator: ListNotificationHubsPaginator
- item: ListNotificationHubsResponseTypeDef
paginate#
Type annotations and code completion for ListNotificationHubsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListNotificationHubsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListNotificationHubsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)