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: DescribeBucketsRequestPaginateTypeDef = {  # (1)
    "criteria": ...,
}

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

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: GetUsageStatisticsRequestPaginateTypeDef = {  # (1)
    "filterBy": ...,
}

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

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: ListAllowListsRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

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: ListAutomatedDiscoveryAccountsRequestPaginateTypeDef = {  # (1)
    "accountIds": ...,
}

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

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: ListClassificationJobsRequestPaginateTypeDef = {  # (1)
    "filterCriteria": ...,
}

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

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: ListClassificationScopesRequestPaginateTypeDef = {  # (1)
    "name": ...,
}

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

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: ListCustomDataIdentifiersRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListFindingsFiltersPaginator#

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

# ListFindingsFiltersPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListFindingsFiltersPaginator

def get_list_findings_filters_paginator() -> ListFindingsFiltersPaginator:
    return Session().client("macie2").get_paginator("list_findings_filters")
# ListFindingsFiltersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListFindingsFiltersPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListFindingsFiltersPaginator = client.get_paginator("list_findings_filters")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListFindingsFiltersPaginator
  3. item: ListFindingsFiltersResponseTypeDef

paginate#

Type annotations and code completion for ListFindingsFiltersPaginator.paginate method.

# paginate method definition

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

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

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

ListFindingsPaginator#

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

# ListFindingsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListFindingsPaginator

def get_list_findings_paginator() -> ListFindingsPaginator:
    return Session().client("macie2").get_paginator("list_findings")
# ListFindingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListFindingsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListFindingsPaginator = client.get_paginator("list_findings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListFindingsPaginator
  3. item: ListFindingsResponseTypeDef

paginate#

Type annotations and code completion for ListFindingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    findingCriteria: FindingCriteriaTypeDef = ...,  # (1)
    sortCriteria: SortCriteriaTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[ListFindingsResponseTypeDef]:  # (4)
    ...
  1. See FindingCriteriaTypeDef
  2. See SortCriteriaTypeDef
  3. See PaginatorConfigTypeDef
  4. See ListFindingsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListFindingsRequestPaginateTypeDef = {  # (1)
    "findingCriteria": ...,
}

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

ListInvitationsPaginator#

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

# ListInvitationsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListInvitationsPaginator

def get_list_invitations_paginator() -> ListInvitationsPaginator:
    return Session().client("macie2").get_paginator("list_invitations")
# ListInvitationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListInvitationsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListInvitationsPaginator = client.get_paginator("list_invitations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListInvitationsPaginator
  3. item: ListInvitationsResponseTypeDef

paginate#

Type annotations and code completion for ListInvitationsPaginator.paginate method.

# paginate method definition

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

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

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

ListManagedDataIdentifiersPaginator#

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

# ListManagedDataIdentifiersPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListManagedDataIdentifiersPaginator

def get_list_managed_data_identifiers_paginator() -> ListManagedDataIdentifiersPaginator:
    return Session().client("macie2").get_paginator("list_managed_data_identifiers")
# ListManagedDataIdentifiersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListManagedDataIdentifiersPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListManagedDataIdentifiersPaginator = client.get_paginator("list_managed_data_identifiers")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListManagedDataIdentifiersPaginator
  3. item: ListManagedDataIdentifiersResponseTypeDef

paginate#

Type annotations and code completion for ListManagedDataIdentifiersPaginator.paginate method.

# paginate method definition

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

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

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

ListMembersPaginator#

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

# ListMembersPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListMembersPaginator

def get_list_members_paginator() -> ListMembersPaginator:
    return Session().client("macie2").get_paginator("list_members")
# ListMembersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListMembersPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListMembersPaginator = client.get_paginator("list_members")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListMembersPaginator
  3. item: ListMembersResponseTypeDef

paginate#

Type annotations and code completion for ListMembersPaginator.paginate method.

# paginate method definition

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

kwargs: ListMembersRequestPaginateTypeDef = {  # (1)
    "onlyAssociated": ...,
}

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

ListOrganizationAdminAccountsPaginator#

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

# ListOrganizationAdminAccountsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListOrganizationAdminAccountsPaginator

def get_list_organization_admin_accounts_paginator() -> ListOrganizationAdminAccountsPaginator:
    return Session().client("macie2").get_paginator("list_organization_admin_accounts")
# ListOrganizationAdminAccountsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListOrganizationAdminAccountsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListOrganizationAdminAccountsPaginator = client.get_paginator("list_organization_admin_accounts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListOrganizationAdminAccountsPaginator
  3. item: ListOrganizationAdminAccountsResponseTypeDef

paginate#

Type annotations and code completion for ListOrganizationAdminAccountsPaginator.paginate method.

# paginate method definition

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

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

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

ListResourceProfileArtifactsPaginator#

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

# ListResourceProfileArtifactsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListResourceProfileArtifactsPaginator

def get_list_resource_profile_artifacts_paginator() -> ListResourceProfileArtifactsPaginator:
    return Session().client("macie2").get_paginator("list_resource_profile_artifacts")
# ListResourceProfileArtifactsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListResourceProfileArtifactsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListResourceProfileArtifactsPaginator = client.get_paginator("list_resource_profile_artifacts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListResourceProfileArtifactsPaginator
  3. item: ListResourceProfileArtifactsResponseTypeDef

paginate#

Type annotations and code completion for ListResourceProfileArtifactsPaginator.paginate method.

# paginate method definition

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

kwargs: ListResourceProfileArtifactsRequestPaginateTypeDef = {  # (1)
    "resourceArn": ...,
}

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

ListResourceProfileDetectionsPaginator#

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

# ListResourceProfileDetectionsPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListResourceProfileDetectionsPaginator

def get_list_resource_profile_detections_paginator() -> ListResourceProfileDetectionsPaginator:
    return Session().client("macie2").get_paginator("list_resource_profile_detections")
# ListResourceProfileDetectionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListResourceProfileDetectionsPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListResourceProfileDetectionsPaginator = client.get_paginator("list_resource_profile_detections")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListResourceProfileDetectionsPaginator
  3. item: ListResourceProfileDetectionsResponseTypeDef

paginate#

Type annotations and code completion for ListResourceProfileDetectionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListResourceProfileDetectionsRequestPaginateTypeDef = {  # (1)
    "resourceArn": ...,
}

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

ListSensitivityInspectionTemplatesPaginator#

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

# ListSensitivityInspectionTemplatesPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListSensitivityInspectionTemplatesPaginator

def get_list_sensitivity_inspection_templates_paginator() -> ListSensitivityInspectionTemplatesPaginator:
    return Session().client("macie2").get_paginator("list_sensitivity_inspection_templates")
# ListSensitivityInspectionTemplatesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import ListSensitivityInspectionTemplatesPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: ListSensitivityInspectionTemplatesPaginator = client.get_paginator("list_sensitivity_inspection_templates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: ListSensitivityInspectionTemplatesPaginator
  3. item: ListSensitivityInspectionTemplatesResponseTypeDef

paginate#

Type annotations and code completion for ListSensitivityInspectionTemplatesPaginator.paginate method.

# paginate method definition

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

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

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

SearchResourcesPaginator#

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

# SearchResourcesPaginator usage example

from boto3.session import Session

from mypy_boto3_macie2.paginator import SearchResourcesPaginator

def get_search_resources_paginator() -> SearchResourcesPaginator:
    return Session().client("macie2").get_paginator("search_resources")
# SearchResourcesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_macie2.paginator import SearchResourcesPaginator

session = Session()

client = Session().client("macie2")  # (1)
paginator: SearchResourcesPaginator = client.get_paginator("search_resources")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Macie2Client
  2. paginator: SearchResourcesPaginator
  3. item: SearchResourcesResponseTypeDef

paginate#

Type annotations and code completion for SearchResourcesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    bucketCriteria: SearchResourcesBucketCriteriaTypeDef = ...,  # (1)
    sortCriteria: SearchResourcesSortCriteriaTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[SearchResourcesResponseTypeDef]:  # (4)
    ...
  1. See SearchResourcesBucketCriteriaTypeDef
  2. See SearchResourcesSortCriteriaTypeDef
  3. See PaginatorConfigTypeDef
  4. See SearchResourcesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: SearchResourcesRequestPaginateTypeDef = {  # (1)
    "bucketCriteria": ...,
}

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