Skip to content

Paginators

Index > DirectoryService > Paginators

Auto-generated documentation for DirectoryService type annotations stubs module mypy-boto3-ds.

DescribeDirectoriesPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("describe_directories"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeDirectoriesPaginator

def get_describe_directories_paginator() -> DescribeDirectoriesPaginator:
    return Session().client("ds").get_paginator("describe_directories")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeDirectoriesPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: DescribeDirectoriesPaginator = client.get_paginator("describe_directories")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: DescribeDirectoriesPaginator
  3. item: DescribeDirectoriesResultTypeDef

paginate

Type annotations and code completion for DescribeDirectoriesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    DirectoryIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeDirectoriesResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeDirectoriesResultTypeDef
Usage example with kwargs
kwargs: DescribeDirectoriesRequestDescribeDirectoriesPaginateTypeDef = {  # (1)
    "DirectoryIds": ...,
}

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

DescribeDomainControllersPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("describe_domain_controllers"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeDomainControllersPaginator

def get_describe_domain_controllers_paginator() -> DescribeDomainControllersPaginator:
    return Session().client("ds").get_paginator("describe_domain_controllers")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeDomainControllersPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: DescribeDomainControllersPaginator = client.get_paginator("describe_domain_controllers")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: DescribeDomainControllersPaginator
  3. item: DescribeDomainControllersResultTypeDef

paginate

Type annotations and code completion for DescribeDomainControllersPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    DirectoryId: str,
    DomainControllerIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeDomainControllersResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeDomainControllersResultTypeDef
Usage example with kwargs
kwargs: DescribeDomainControllersRequestDescribeDomainControllersPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
}

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

DescribeSharedDirectoriesPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("describe_shared_directories"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeSharedDirectoriesPaginator

def get_describe_shared_directories_paginator() -> DescribeSharedDirectoriesPaginator:
    return Session().client("ds").get_paginator("describe_shared_directories")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeSharedDirectoriesPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: DescribeSharedDirectoriesPaginator = client.get_paginator("describe_shared_directories")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: DescribeSharedDirectoriesPaginator
  3. item: DescribeSharedDirectoriesResultTypeDef

paginate

Type annotations and code completion for DescribeSharedDirectoriesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    OwnerDirectoryId: str,
    SharedDirectoryIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeSharedDirectoriesResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeSharedDirectoriesResultTypeDef
Usage example with kwargs
kwargs: DescribeSharedDirectoriesRequestDescribeSharedDirectoriesPaginateTypeDef = {  # (1)
    "OwnerDirectoryId": ...,
}

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

DescribeSnapshotsPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("describe_snapshots"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeSnapshotsPaginator

def get_describe_snapshots_paginator() -> DescribeSnapshotsPaginator:
    return Session().client("ds").get_paginator("describe_snapshots")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeSnapshotsPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: DescribeSnapshotsPaginator = client.get_paginator("describe_snapshots")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: DescribeSnapshotsPaginator
  3. item: DescribeSnapshotsResultTypeDef

paginate

Type annotations and code completion for DescribeSnapshotsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    DirectoryId: str = ...,
    SnapshotIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeSnapshotsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeSnapshotsResultTypeDef
Usage example with kwargs
kwargs: DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
}

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

DescribeTrustsPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("describe_trusts"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeTrustsPaginator

def get_describe_trusts_paginator() -> DescribeTrustsPaginator:
    return Session().client("ds").get_paginator("describe_trusts")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import DescribeTrustsPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: DescribeTrustsPaginator = client.get_paginator("describe_trusts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: DescribeTrustsPaginator
  3. item: DescribeTrustsResultTypeDef

paginate

Type annotations and code completion for DescribeTrustsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    DirectoryId: str = ...,
    TrustIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeTrustsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeTrustsResultTypeDef
Usage example with kwargs
kwargs: DescribeTrustsRequestDescribeTrustsPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
}

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

ListIpRoutesPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("list_ip_routes"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListIpRoutesPaginator

def get_list_ip_routes_paginator() -> ListIpRoutesPaginator:
    return Session().client("ds").get_paginator("list_ip_routes")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListIpRoutesPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: ListIpRoutesPaginator = client.get_paginator("list_ip_routes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: ListIpRoutesPaginator
  3. item: ListIpRoutesResultTypeDef

paginate

Type annotations and code completion for ListIpRoutesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    DirectoryId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListIpRoutesResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListIpRoutesResultTypeDef
Usage example with kwargs
kwargs: ListIpRoutesRequestListIpRoutesPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
}

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

ListLogSubscriptionsPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("list_log_subscriptions"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListLogSubscriptionsPaginator

def get_list_log_subscriptions_paginator() -> ListLogSubscriptionsPaginator:
    return Session().client("ds").get_paginator("list_log_subscriptions")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListLogSubscriptionsPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: ListLogSubscriptionsPaginator = client.get_paginator("list_log_subscriptions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: ListLogSubscriptionsPaginator
  3. item: ListLogSubscriptionsResultTypeDef

paginate

Type annotations and code completion for ListLogSubscriptionsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    DirectoryId: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListLogSubscriptionsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListLogSubscriptionsResultTypeDef
Usage example with kwargs
kwargs: ListLogSubscriptionsRequestListLogSubscriptionsPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
}

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

ListSchemaExtensionsPaginator

Type annotations and code completion for boto3.client("ds").get_paginator("list_schema_extensions"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListSchemaExtensionsPaginator

def get_list_schema_extensions_paginator() -> ListSchemaExtensionsPaginator:
    return Session().client("ds").get_paginator("list_schema_extensions")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListSchemaExtensionsPaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: ListSchemaExtensionsPaginator = client.get_paginator("list_schema_extensions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: ListSchemaExtensionsPaginator
  3. item: ListSchemaExtensionsResultTypeDef

paginate

Type annotations and code completion for ListSchemaExtensionsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    DirectoryId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListSchemaExtensionsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSchemaExtensionsResultTypeDef
Usage example with kwargs
kwargs: ListSchemaExtensionsRequestListSchemaExtensionsPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
}

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

ListTagsForResourcePaginator

Type annotations and code completion for boto3.client("ds").get_paginator("list_tags_for_resource"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListTagsForResourcePaginator

def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
    return Session().client("ds").get_paginator("list_tags_for_resource")
Usage example
from boto3.session import Session

from mypy_boto3_ds.paginator import ListTagsForResourcePaginator

session = Session()

client = Session().client("ds")  # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceClient
  2. paginator: ListTagsForResourcePaginator
  3. item: ListTagsForResourceResultTypeDef

paginate

Type annotations and code completion for ListTagsForResourcePaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    ResourceId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListTagsForResourceResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTagsForResourceResultTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestListTagsForResourcePaginateTypeDef = {  # (1)
    "ResourceId": ...,
}

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