Paginators#
Auto-generated documentation for Macie2 type annotations stubs module types-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 types_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 types_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)
- client: Macie2Client
- paginator: DescribeBucketsPaginator
- 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)
...
- See BucketCriteriaAdditionalPropertiesTypeDef
- See BucketSortCriteriaTypeDef
- See PaginatorConfigTypeDef
- See DescribeBucketsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeBucketsRequestPaginateTypeDef = { # (1)
"criteria": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: GetUsageStatisticsPaginator
- 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)
...
- See UsageStatisticsFilterTypeDef
- See UsageStatisticsSortByTypeDef
- See TimeRangeType
- See PaginatorConfigTypeDef
- See GetUsageStatisticsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetUsageStatisticsRequestPaginateTypeDef = { # (1)
"filterBy": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListAllowListsPaginator
- item: ListAllowListsResponseTypeDef
paginate#
Type annotations and code completion for ListAllowListsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListAllowListsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAllowListsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListAutomatedDiscoveryAccountsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAutomatedDiscoveryAccountsRequestPaginateTypeDef = { # (1)
"accountIds": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListClassificationJobsPaginator
- 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)
...
- See ListJobsFilterCriteriaTypeDef
- See ListJobsSortCriteriaTypeDef
- See PaginatorConfigTypeDef
- See ListClassificationJobsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListClassificationJobsRequestPaginateTypeDef = { # (1)
"filterCriteria": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListClassificationScopesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListClassificationScopesRequestPaginateTypeDef = { # (1)
"name": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListCustomDataIdentifiersPaginator
- item: ListCustomDataIdentifiersResponseTypeDef
paginate#
Type annotations and code completion for ListCustomDataIdentifiersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListCustomDataIdentifiersResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListCustomDataIdentifiersRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListFindingsFiltersPaginator
- item: ListFindingsFiltersResponseTypeDef
paginate#
Type annotations and code completion for ListFindingsFiltersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListFindingsFiltersResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListFindingsFiltersRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListFindingsPaginator
- 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)
...
- See FindingCriteriaTypeDef
- See SortCriteriaTypeDef
- See PaginatorConfigTypeDef
- See ListFindingsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListFindingsRequestPaginateTypeDef = { # (1)
"findingCriteria": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListInvitationsPaginator
- item: ListInvitationsResponseTypeDef
paginate#
Type annotations and code completion for ListInvitationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListInvitationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListInvitationsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListManagedDataIdentifiersPaginator
- item: ListManagedDataIdentifiersResponseTypeDef
paginate#
Type annotations and code completion for ListManagedDataIdentifiersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListManagedDataIdentifiersResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListManagedDataIdentifiersRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListMembersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListMembersRequestPaginateTypeDef = { # (1)
"onlyAssociated": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListOrganizationAdminAccountsPaginator
- item: ListOrganizationAdminAccountsResponseTypeDef
paginate#
Type annotations and code completion for ListOrganizationAdminAccountsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListOrganizationAdminAccountsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListOrganizationAdminAccountsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListResourceProfileArtifactsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListResourceProfileArtifactsRequestPaginateTypeDef = { # (1)
"resourceArn": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListResourceProfileDetectionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListResourceProfileDetectionsRequestPaginateTypeDef = { # (1)
"resourceArn": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: ListSensitivityInspectionTemplatesPaginator
- item: ListSensitivityInspectionTemplatesResponseTypeDef
paginate#
Type annotations and code completion for ListSensitivityInspectionTemplatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSensitivityInspectionTemplatesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSensitivityInspectionTemplatesRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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 types_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 types_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)
- client: Macie2Client
- paginator: SearchResourcesPaginator
- 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)
...
- See SearchResourcesBucketCriteriaTypeDef
- See SearchResourcesSortCriteriaTypeDef
- See PaginatorConfigTypeDef
- See SearchResourcesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: SearchResourcesRequestPaginateTypeDef = { # (1)
"bucketCriteria": ...,
}
parent.paginate(**kwargs)