Paginators#
Auto-generated documentation for RAM type annotations stubs module mypy-boto3-ram.
GetResourcePoliciesPaginator#
Type annotations and code completion for boto3.client("ram").get_paginator("get_resource_policies")
.
boto3 documentation
# GetResourcePoliciesPaginator usage example
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourcePoliciesPaginator
def get_get_resource_policies_paginator() -> GetResourcePoliciesPaginator:
return Session().client("ram").get_paginator("get_resource_policies")
# GetResourcePoliciesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourcePoliciesPaginator
session = Session()
client = Session().client("ram") # (1)
paginator: GetResourcePoliciesPaginator = client.get_paginator("get_resource_policies") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RAMClient
- paginator: GetResourcePoliciesPaginator
- item: GetResourcePoliciesResponseTypeDef
paginate#
Type annotations and code completion for GetResourcePoliciesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
resourceArns: Sequence[str],
principal: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetResourcePoliciesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetResourcePoliciesRequestPaginateTypeDef = { # (1)
"resourceArns": ...,
}
parent.paginate(**kwargs)
GetResourceShareAssociationsPaginator#
Type annotations and code completion for boto3.client("ram").get_paginator("get_resource_share_associations")
.
boto3 documentation
# GetResourceShareAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourceShareAssociationsPaginator
def get_get_resource_share_associations_paginator() -> GetResourceShareAssociationsPaginator:
return Session().client("ram").get_paginator("get_resource_share_associations")
# GetResourceShareAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourceShareAssociationsPaginator
session = Session()
client = Session().client("ram") # (1)
paginator: GetResourceShareAssociationsPaginator = client.get_paginator("get_resource_share_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RAMClient
- paginator: GetResourceShareAssociationsPaginator
- item: GetResourceShareAssociationsResponseTypeDef
paginate#
Type annotations and code completion for GetResourceShareAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
associationType: ResourceShareAssociationTypeType, # (1)
resourceShareArns: Sequence[str] = ...,
resourceArn: str = ...,
principal: str = ...,
associationStatus: ResourceShareAssociationStatusType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[GetResourceShareAssociationsResponseTypeDef]: # (4)
...
- See ResourceShareAssociationTypeType
- See ResourceShareAssociationStatusType
- See PaginatorConfigTypeDef
- See GetResourceShareAssociationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetResourceShareAssociationsRequestPaginateTypeDef = { # (1)
"associationType": ...,
}
parent.paginate(**kwargs)
GetResourceShareInvitationsPaginator#
Type annotations and code completion for boto3.client("ram").get_paginator("get_resource_share_invitations")
.
boto3 documentation
# GetResourceShareInvitationsPaginator usage example
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourceShareInvitationsPaginator
def get_get_resource_share_invitations_paginator() -> GetResourceShareInvitationsPaginator:
return Session().client("ram").get_paginator("get_resource_share_invitations")
# GetResourceShareInvitationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourceShareInvitationsPaginator
session = Session()
client = Session().client("ram") # (1)
paginator: GetResourceShareInvitationsPaginator = client.get_paginator("get_resource_share_invitations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RAMClient
- paginator: GetResourceShareInvitationsPaginator
- item: GetResourceShareInvitationsResponseTypeDef
paginate#
Type annotations and code completion for GetResourceShareInvitationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
resourceShareInvitationArns: Sequence[str] = ...,
resourceShareArns: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetResourceShareInvitationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetResourceShareInvitationsRequestPaginateTypeDef = { # (1)
"resourceShareInvitationArns": ...,
}
parent.paginate(**kwargs)
GetResourceSharesPaginator#
Type annotations and code completion for boto3.client("ram").get_paginator("get_resource_shares")
.
boto3 documentation
# GetResourceSharesPaginator usage example
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourceSharesPaginator
def get_get_resource_shares_paginator() -> GetResourceSharesPaginator:
return Session().client("ram").get_paginator("get_resource_shares")
# GetResourceSharesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ram.paginator import GetResourceSharesPaginator
session = Session()
client = Session().client("ram") # (1)
paginator: GetResourceSharesPaginator = client.get_paginator("get_resource_shares") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RAMClient
- paginator: GetResourceSharesPaginator
- item: GetResourceSharesResponseTypeDef
paginate#
Type annotations and code completion for GetResourceSharesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
resourceOwner: ResourceOwnerType, # (1)
resourceShareArns: Sequence[str] = ...,
resourceShareStatus: ResourceShareStatusType = ..., # (2)
name: str = ...,
tagFilters: Sequence[TagFilterTypeDef] = ..., # (3)
permissionArn: str = ...,
permissionVersion: int = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> PageIterator[GetResourceSharesResponseTypeDef]: # (5)
...
- See ResourceOwnerType
- See ResourceShareStatusType
- See TagFilterTypeDef
- See PaginatorConfigTypeDef
- See GetResourceSharesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetResourceSharesRequestPaginateTypeDef = { # (1)
"resourceOwner": ...,
}
parent.paginate(**kwargs)
ListPrincipalsPaginator#
Type annotations and code completion for boto3.client("ram").get_paginator("list_principals")
.
boto3 documentation
# ListPrincipalsPaginator usage example
from boto3.session import Session
from mypy_boto3_ram.paginator import ListPrincipalsPaginator
def get_list_principals_paginator() -> ListPrincipalsPaginator:
return Session().client("ram").get_paginator("list_principals")
# ListPrincipalsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ram.paginator import ListPrincipalsPaginator
session = Session()
client = Session().client("ram") # (1)
paginator: ListPrincipalsPaginator = client.get_paginator("list_principals") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RAMClient
- paginator: ListPrincipalsPaginator
- item: ListPrincipalsResponseTypeDef
paginate#
Type annotations and code completion for ListPrincipalsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
resourceOwner: ResourceOwnerType, # (1)
resourceArn: str = ...,
principals: Sequence[str] = ...,
resourceType: str = ...,
resourceShareArns: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListPrincipalsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListPrincipalsRequestPaginateTypeDef = { # (1)
"resourceOwner": ...,
}
parent.paginate(**kwargs)
ListResourcesPaginator#
Type annotations and code completion for boto3.client("ram").get_paginator("list_resources")
.
boto3 documentation
# ListResourcesPaginator usage example
from boto3.session import Session
from mypy_boto3_ram.paginator import ListResourcesPaginator
def get_list_resources_paginator() -> ListResourcesPaginator:
return Session().client("ram").get_paginator("list_resources")
# ListResourcesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ram.paginator import ListResourcesPaginator
session = Session()
client = Session().client("ram") # (1)
paginator: ListResourcesPaginator = client.get_paginator("list_resources") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RAMClient
- paginator: ListResourcesPaginator
- item: ListResourcesResponseTypeDef
paginate#
Type annotations and code completion for ListResourcesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
resourceOwner: ResourceOwnerType, # (1)
principal: str = ...,
resourceType: str = ...,
resourceArns: Sequence[str] = ...,
resourceShareArns: Sequence[str] = ...,
resourceRegionScope: ResourceRegionScopeFilterType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListResourcesResponseTypeDef]: # (4)
...
- See ResourceOwnerType
- See ResourceRegionScopeFilterType
- See PaginatorConfigTypeDef
- See ListResourcesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListResourcesRequestPaginateTypeDef = { # (1)
"resourceOwner": ...,
}
parent.paginate(**kwargs)