Paginators#
Auto-generated documentation for Cloud9 type annotations stubs module mypy-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 mypy_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 mypy_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)
- client: Cloud9Client
- paginator: DescribeEnvironmentMembershipsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeEnvironmentMembershipsRequestPaginateTypeDef = { # (1)
"userArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: Cloud9Client
- paginator: ListEnvironmentsPaginator
- item: ListEnvironmentsResultTypeDef
paginate#
Type annotations and code completion for ListEnvironmentsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListEnvironmentsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListEnvironmentsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)