Skip to content

Paginators#

Index > Cloud9 > Paginators

Auto-generated documentation for Cloud9 type annotations stubs module types-boto3-cloud9.

DescribeEnvironmentMembershipsPaginator#

Type annotations and code completion for boto3.client("cloud9").get_paginator("describe_environment_memberships"). boto3 documentation

# DescribeEnvironmentMembershipsPaginator usage example

from boto3.session import Session

from types_boto3_cloud9.paginator import DescribeEnvironmentMembershipsPaginator

def get_describe_environment_memberships_paginator() -> DescribeEnvironmentMembershipsPaginator:
    return Session().client("cloud9").get_paginator("describe_environment_memberships")
# DescribeEnvironmentMembershipsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_cloud9.paginator import DescribeEnvironmentMembershipsPaginator

session = Session()

client = Session().client("cloud9")  # (1)
paginator: DescribeEnvironmentMembershipsPaginator = client.get_paginator("describe_environment_memberships")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Cloud9Client
  2. paginator: DescribeEnvironmentMembershipsPaginator
  3. item: DescribeEnvironmentMembershipsResultTypeDef

paginate#

Type annotations and code completion for DescribeEnvironmentMembershipsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    userArn: str = ...,
    environmentId: str = ...,
    permissions: Sequence[PermissionsType] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[DescribeEnvironmentMembershipsResultTypeDef]:  # (3)
    ...
  1. See PermissionsType
  2. See PaginatorConfigTypeDef
  3. See DescribeEnvironmentMembershipsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeEnvironmentMembershipsRequestPaginateTypeDef = {  # (1)
    "userArn": ...,
}

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

ListEnvironmentsPaginator#

Type annotations and code completion for boto3.client("cloud9").get_paginator("list_environments"). boto3 documentation

# ListEnvironmentsPaginator usage example

from boto3.session import Session

from types_boto3_cloud9.paginator import ListEnvironmentsPaginator

def get_list_environments_paginator() -> ListEnvironmentsPaginator:
    return Session().client("cloud9").get_paginator("list_environments")
# ListEnvironmentsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_cloud9.paginator import ListEnvironmentsPaginator

session = Session()

client = Session().client("cloud9")  # (1)
paginator: ListEnvironmentsPaginator = client.get_paginator("list_environments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Cloud9Client
  2. paginator: ListEnvironmentsPaginator
  3. item: ListEnvironmentsResultTypeDef

paginate#

Type annotations and code completion for ListEnvironmentsPaginator.paginate method.

# paginate method definition

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

kwargs: ListEnvironmentsRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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