Skip to content

Paginators#

Index > Macie2 > Paginators

Auto-generated documentation for Macie2 type annotations stubs module mypy-boto3-macie2.

DescribeBucketsPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("describe_buckets"). boto3 documentation

# DescribeBucketsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import DescribeBucketsPaginator

def get_describe_buckets_paginator() -> DescribeBucketsPaginator:
    return Session().client("macie2").get_paginator("describe_buckets")
# DescribeBucketsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import DescribeBucketsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: DescribeBucketsPaginator = client.get_paginator("describe_buckets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: DescribeBucketsPaginator
  3. item: DescribeBucketsResponseTypeDef

paginate#

Type annotations and code completion for DescribeBucketsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    criteria: Mapping[str, BucketCriteriaAdditionalPropertiesTypeDef] = ...,  # (1)
    sortCriteria: BucketSortCriteriaTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[DescribeBucketsResponseTypeDef]:  # (4)
    ...
  1. See BucketCriteriaAdditionalPropertiesTypeDef
  2. See BucketSortCriteriaTypeDef
  3. See PaginatorConfigTypeDef
  4. See DescribeBucketsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeBucketsRequestDescribeBucketsPaginateTypeDef = {  # (1)
    "criteria": ...,
}

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

GetUsageStatisticsPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("get_usage_statistics"). boto3 documentation

# GetUsageStatisticsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import GetUsageStatisticsPaginator

def get_get_usage_statistics_paginator() -> GetUsageStatisticsPaginator:
    return Session().client("macie2").get_paginator("get_usage_statistics")
# GetUsageStatisticsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import GetUsageStatisticsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: GetUsageStatisticsPaginator = client.get_paginator("get_usage_statistics")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: GetUsageStatisticsPaginator
  3. item: GetUsageStatisticsResponseTypeDef

paginate#

Type annotations and code completion for GetUsageStatisticsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    filterBy: Sequence[UsageStatisticsFilterTypeDef] = ...,  # (1)
    sortBy: UsageStatisticsSortByTypeDef = ...,  # (2)
    timeRange: TimeRangeType = ...,  # (3)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[GetUsageStatisticsResponseTypeDef]:  # (5)
    ...
  1. See UsageStatisticsFilterTypeDef
  2. See UsageStatisticsSortByTypeDef
  3. See TimeRangeType
  4. See PaginatorConfigTypeDef
  5. See GetUsageStatisticsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetUsageStatisticsRequestGetUsageStatisticsPaginateTypeDef = {  # (1)
    "filterBy": ...,
}

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

ListAllowListsPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("list_allow_lists"). boto3 documentation

# ListAllowListsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListAllowListsPaginator

def get_list_allow_lists_paginator() -> ListAllowListsPaginator:
    return Session().client("macie2").get_paginator("list_allow_lists")
# ListAllowListsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListAllowListsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListAllowListsPaginator = client.get_paginator("list_allow_lists")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListAllowListsPaginator
  3. item: ListAllowListsResponseTypeDef

paginate#

Type annotations and code completion for ListAllowListsPaginator.paginate method.

# paginate method definition

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

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

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

ListAutomatedDiscoveryAccountsPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("list_automated_discovery_accounts"). boto3 documentation

# ListAutomatedDiscoveryAccountsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListAutomatedDiscoveryAccountsPaginator

def get_list_automated_discovery_accounts_paginator() -> ListAutomatedDiscoveryAccountsPaginator:
    return Session().client("macie2").get_paginator("list_automated_discovery_accounts")
# ListAutomatedDiscoveryAccountsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListAutomatedDiscoveryAccountsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListAutomatedDiscoveryAccountsPaginator = client.get_paginator("list_automated_discovery_accounts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListAutomatedDiscoveryAccountsPaginator
  3. item: ListAutomatedDiscoveryAccountsResponseTypeDef

paginate#

Type annotations and code completion for ListAutomatedDiscoveryAccountsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    accountIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAutomatedDiscoveryAccountsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAutomatedDiscoveryAccountsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAutomatedDiscoveryAccountsRequestListAutomatedDiscoveryAccountsPaginateTypeDef = {  # (1)
    "accountIds": ...,
}

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

ListClassificationJobsPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("list_classification_jobs"). boto3 documentation

# ListClassificationJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListClassificationJobsPaginator

def get_list_classification_jobs_paginator() -> ListClassificationJobsPaginator:
    return Session().client("macie2").get_paginator("list_classification_jobs")
# ListClassificationJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListClassificationJobsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListClassificationJobsPaginator = client.get_paginator("list_classification_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListClassificationJobsPaginator
  3. item: ListClassificationJobsResponseTypeDef

paginate#

Type annotations and code completion for ListClassificationJobsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    filterCriteria: ListJobsFilterCriteriaTypeDef = ...,  # (1)
    sortCriteria: ListJobsSortCriteriaTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[ListClassificationJobsResponseTypeDef]:  # (4)
    ...
  1. See ListJobsFilterCriteriaTypeDef
  2. See ListJobsSortCriteriaTypeDef
  3. See PaginatorConfigTypeDef
  4. See ListClassificationJobsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListClassificationJobsRequestListClassificationJobsPaginateTypeDef = {  # (1)
    "filterCriteria": ...,
}

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

ListClassificationScopesPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("list_classification_scopes"). boto3 documentation

# ListClassificationScopesPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListClassificationScopesPaginator

def get_list_classification_scopes_paginator() -> ListClassificationScopesPaginator:
    return Session().client("macie2").get_paginator("list_classification_scopes")
# ListClassificationScopesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListClassificationScopesPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListClassificationScopesPaginator = client.get_paginator("list_classification_scopes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListClassificationScopesPaginator
  3. item: ListClassificationScopesResponseTypeDef

paginate#

Type annotations and code completion for ListClassificationScopesPaginator.paginate method.

# paginate method definition

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

kwargs: ListClassificationScopesRequestListClassificationScopesPaginateTypeDef = {  # (1)
    "name": ...,
}

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

ListCustomDataIdentifiersPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("list_custom_data_identifiers"). boto3 documentation

# ListCustomDataIdentifiersPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListCustomDataIdentifiersPaginator

def get_list_custom_data_identifiers_paginator() -> ListCustomDataIdentifiersPaginator:
    return Session().client("macie2").get_paginator("list_custom_data_identifiers")
# ListCustomDataIdentifiersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListCustomDataIdentifiersPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListCustomDataIdentifiersPaginator = client.get_paginator("list_custom_data_identifiers")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListCustomDataIdentifiersPaginator
  3. item: ListCustomDataIdentifiersResponseTypeDef

paginate#

Type annotations and code completion for ListCustomDataIdentifiersPaginator.paginate method.

# paginate method definition

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

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

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

ListFindingsPaginator#

Type annotations and code completion for boto3.client("macie2").get_paginator("list_findings").