Skip to content

Paginators

Index > ResourceGroups > Paginators

Auto-generated documentation for ResourceGroups type annotations stubs module mypy-boto3-resource-groups.

ListGroupResourcesPaginator

Type annotations and code completion for boto3.client("resource-groups").get_paginator("list_group_resources"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListGroupResourcesPaginator

def get_list_group_resources_paginator() -> ListGroupResourcesPaginator:
    return Session().client("resource-groups").get_paginator("list_group_resources")
Usage example
from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListGroupResourcesPaginator

session = Session()

client = Session().client("resource-groups")  # (1)
paginator: ListGroupResourcesPaginator = client.get_paginator("list_group_resources")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResourceGroupsClient
  2. paginator: ListGroupResourcesPaginator
  3. item: ListGroupResourcesOutputTypeDef

paginate

Type annotations and code completion for ListGroupResourcesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    GroupName: str = ...,
    Group: str = ...,
    Filters: Sequence[ResourceFilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListGroupResourcesOutputTypeDef]:  # (3)
    ...
  1. See ResourceFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListGroupResourcesOutputTypeDef
Usage example with kwargs
kwargs: ListGroupResourcesInputListGroupResourcesPaginateTypeDef = {  # (1)
    "GroupName": ...,
}

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

ListGroupsPaginator

Type annotations and code completion for boto3.client("resource-groups").get_paginator("list_groups"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListGroupsPaginator

def get_list_groups_paginator() -> ListGroupsPaginator:
    return Session().client("resource-groups").get_paginator("list_groups")
Usage example
from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListGroupsPaginator

session = Session()

client = Session().client("resource-groups")  # (1)
paginator: ListGroupsPaginator = client.get_paginator("list_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResourceGroupsClient
  2. paginator: ListGroupsPaginator
  3. item: ListGroupsOutputTypeDef

paginate

Type annotations and code completion for ListGroupsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    Filters: Sequence[GroupFilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListGroupsOutputTypeDef]:  # (3)
    ...
  1. See GroupFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListGroupsOutputTypeDef
Usage example with kwargs
kwargs: ListGroupsInputListGroupsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

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

SearchResourcesPaginator

Type annotations and code completion for boto3.client("resource-groups").get_paginator("search_resources"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_resource_groups.paginator import SearchResourcesPaginator

def get_search_resources_paginator() -> SearchResourcesPaginator:
    return Session().client("resource-groups").get_paginator("search_resources")
Usage example
from boto3.session import Session

from mypy_boto3_resource_groups.paginator import SearchResourcesPaginator

session = Session()

client = Session().client("resource-groups")  # (1)
paginator: SearchResourcesPaginator = client.get_paginator("search_resources")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResourceGroupsClient
  2. paginator: SearchResourcesPaginator
  3. item: SearchResourcesOutputTypeDef

paginate

Type annotations and code completion for SearchResourcesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    ResourceQuery: ResourceQueryTypeDef,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[SearchResourcesOutputTypeDef]:  # (3)
    ...
  1. See ResourceQueryTypeDef
  2. See PaginatorConfigTypeDef
  3. See SearchResourcesOutputTypeDef
Usage example with kwargs
kwargs: SearchResourcesInputSearchResourcesPaginateTypeDef = {  # (1)
    "ResourceQuery": ...,
}

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