Paginators#
Index > RecycleBin > Paginators
Auto-generated documentation for RecycleBin type annotations stubs module mypy-boto3-rbin.
ListRulesPaginator#
Type annotations and code completion for boto3.client("rbin").get_paginator("list_rules")
.
boto3 documentation
# ListRulesPaginator usage example
from boto3.session import Session
from mypy_boto3_rbin.paginator import ListRulesPaginator
def get_list_rules_paginator() -> ListRulesPaginator:
return Session().client("rbin").get_paginator("list_rules")
# ListRulesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_rbin.paginator import ListRulesPaginator
session = Session()
client = Session().client("rbin") # (1)
paginator: ListRulesPaginator = client.get_paginator("list_rules") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RecycleBinClient
- paginator: ListRulesPaginator
- item: ListRulesResponseTypeDef
paginate#
Type annotations and code completion for ListRulesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ResourceType: ResourceTypeType, # (1)
ResourceTags: Sequence[ResourceTagTypeDef] = ..., # (2)
LockState: LockStateType = ..., # (3)
ExcludeResourceTags: Sequence[ResourceTagTypeDef] = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (5)
) -> _PageIterator[ListRulesResponseTypeDef]: # (6)
...
- See ResourceTypeType
- See ResourceTagTypeDef
- See LockStateType
- See ResourceTagTypeDef
- See PaginatorConfigTypeDef
- See ListRulesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListRulesRequestListRulesPaginateTypeDef = { # (1)
"ResourceType": ...,
}
parent.paginate(**kwargs)