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

# ListGroupResourcesPaginator 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")
# ListGroupResourcesPaginator usage example with type annotations

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.

# paginate 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
# paginate method usage example with argument unpacking

kwargs: ListGroupResourcesInputPaginateTypeDef = {  # (1)
    "GroupName": ...,
}

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

ListGroupingStatusesPaginator#

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

# ListGroupingStatusesPaginator usage example

from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListGroupingStatusesPaginator

def get_list_grouping_statuses_paginator() -> ListGroupingStatusesPaginator:
    return Session().client("resource-groups").get_paginator("list_grouping_statuses")
# ListGroupingStatusesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListGroupingStatusesPaginator

session = Session()

client = Session().client("resource-groups")  # (1)
paginator: ListGroupingStatusesPaginator = client.get_paginator("list_grouping_statuses")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResourceGroupsClient
  2. paginator: ListGroupingStatusesPaginator
  3. item: ListGroupingStatusesOutputTypeDef

paginate#

Type annotations and code completion for ListGroupingStatusesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Group: str,
    Filters: Sequence[ListGroupingStatusesFilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListGroupingStatusesOutputTypeDef]:  # (3)
    ...
  1. See ListGroupingStatusesFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListGroupingStatusesOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListGroupingStatusesInputPaginateTypeDef = {  # (1)
    "Group": ...,
}

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

ListGroupsPaginator#

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

# ListGroupsPaginator 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")
# ListGroupsPaginator usage example with type annotations

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.

# paginate method definition

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

kwargs: ListGroupsInputPaginateTypeDef = {  # (1)
    "Filters": ...,
}

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

ListTagSyncTasksPaginator#

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

# ListTagSyncTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListTagSyncTasksPaginator

def get_list_tag_sync_tasks_paginator() -> ListTagSyncTasksPaginator:
    return Session().client("resource-groups").get_paginator("list_tag_sync_tasks")
# ListTagSyncTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_resource_groups.paginator import ListTagSyncTasksPaginator

session = Session()

client = Session().client("resource-groups")  # (1)
paginator: ListTagSyncTasksPaginator = client.get_paginator("list_tag_sync_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResourceGroupsClient
  2. paginator: ListTagSyncTasksPaginator
  3. item: ListTagSyncTasksOutputTypeDef

paginate#

Type annotations and code completion for ListTagSyncTasksPaginator.paginate method.

# paginate method definition

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

kwargs: ListTagSyncTasksInputPaginateTypeDef = {  # (1)
    "Filters": ...,
}

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

SearchResourcesPaginator#

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

# SearchResourcesPaginator 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")
# SearchResourcesPaginator usage example with type annotations

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.

# paginate method definition

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

kwargs: SearchResourcesInputPaginateTypeDef = {  # (1)
    "ResourceQuery": ...,
}

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