Paginators#
Auto-generated documentation for SimpleDB type annotations stubs module types-boto3-sdb.
ListDomainsPaginator#
Type annotations and code completion for boto3.client("sdb").get_paginator("list_domains")
.
boto3 documentation
# ListDomainsPaginator usage example
from boto3.session import Session
from types_boto3_sdb.paginator import ListDomainsPaginator
def get_list_domains_paginator() -> ListDomainsPaginator:
return Session().client("sdb").get_paginator("list_domains")
# ListDomainsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_sdb.paginator import ListDomainsPaginator
session = Session()
client = Session().client("sdb") # (1)
paginator: ListDomainsPaginator = client.get_paginator("list_domains") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SimpleDBClient
- paginator: ListDomainsPaginator
- item: ListDomainsResultTypeDef
paginate#
Type annotations and code completion for ListDomainsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListDomainsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDomainsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
SelectPaginator#
Type annotations and code completion for boto3.client("sdb").get_paginator("select")
.
boto3 documentation
# SelectPaginator usage example
from boto3.session import Session
from types_boto3_sdb.paginator import SelectPaginator
def get_select_paginator() -> SelectPaginator:
return Session().client("sdb").get_paginator("select")
# SelectPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_sdb.paginator import SelectPaginator
session = Session()
client = Session().client("sdb") # (1)
paginator: SelectPaginator = client.get_paginator("select") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SimpleDBClient
- paginator: SelectPaginator
- item: SelectResultTypeDef
paginate#
Type annotations and code completion for SelectPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
SelectExpression: str,
ConsistentRead: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[SelectResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: SelectRequestPaginateTypeDef = { # (1)
"SelectExpression": ...,
}
parent.paginate(**kwargs)