Skip to content

Paginators#

Index > RAM > 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)
  1. client: RAMClient
  2. paginator: GetResourcePoliciesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetResourcePoliciesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetResourcePoliciesRequestGetResourcePoliciesPaginateTypeDef = {  # (1)
    "resourceArns": ...,
}

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

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)
  1. client: RAMClient
  2. paginator: GetResourceShareAssociationsPaginator
  3. 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)
    ...
  1. See ResourceShareAssociationTypeType
  2. See ResourceShareAssociationStatusType
  3. See PaginatorConfigTypeDef
  4. See GetResourceShareAssociationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetResourceShareAssociationsRequestGetResourceShareAssociationsPaginateTypeDef = {  # (1)
    "associationType": ...,
}

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

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)
  1. client: RAMClient
  2. paginator: GetResourceShareInvitationsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetResourceShareInvitationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetResourceShareInvitationsRequestGetResourceShareInvitationsPaginateTypeDef = {  # (1)
    "resourceShareInvitationArns": ...,
}

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

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)
  1. client: RAMClient
  2. paginator: GetResourceSharesPaginator
  3. 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)
    ...
  1. See ResourceOwnerType
  2. See ResourceShareStatusType
  3. See TagFilterTypeDef
  4. See PaginatorConfigTypeDef
  5. See GetResourceSharesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetResourceSharesRequestGetResourceSharesPaginateTypeDef = {  # (1)
    "resourceOwner": ...,
}

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

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)
  1. client: RAMClient
  2. paginator: ListPrincipalsPaginator
  3. 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)
    ...
  1. See ResourceOwnerType
  2. See PaginatorConfigTypeDef
  3. See ListPrincipalsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPrincipalsRequestListPrincipalsPaginateTypeDef = {  # (1)
    "resourceOwner": ...,
}

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

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)
  1. client: RAMClient
  2. paginator: ListResourcesPaginator
  3. 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)
    ...
  1. See ResourceOwnerType
  2. See ResourceRegionScopeFilterType
  3. See PaginatorConfigTypeDef
  4. See ListResourcesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListResourcesRequestListResourcesPaginateTypeDef = {  # (1)
    "resourceOwner": ...,
}

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