Paginators#
Index > Inspector2 > Paginators
Auto-generated documentation for Inspector2 type annotations stubs module mypy-boto3-inspector2.
GetCisScanResultDetailsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("get_cis_scan_result_details")
.
boto3 documentation
# GetCisScanResultDetailsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import GetCisScanResultDetailsPaginator
def get_get_cis_scan_result_details_paginator() -> GetCisScanResultDetailsPaginator:
return Session().client("inspector2").get_paginator("get_cis_scan_result_details")
# GetCisScanResultDetailsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import GetCisScanResultDetailsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: GetCisScanResultDetailsPaginator = client.get_paginator("get_cis_scan_result_details") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: GetCisScanResultDetailsPaginator
- item: GetCisScanResultDetailsResponseTypeDef
paginate#
Type annotations and code completion for GetCisScanResultDetailsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
accountId: str,
scanArn: str,
targetResourceId: str,
filterCriteria: CisScanResultDetailsFilterCriteriaTypeDef = ..., # (1)
sortBy: CisScanResultDetailsSortByType = ..., # (2)
sortOrder: CisSortOrderType = ..., # (3)
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> PageIterator[GetCisScanResultDetailsResponseTypeDef]: # (5)
...
- See CisScanResultDetailsFilterCriteriaTypeDef
- See CisScanResultDetailsSortByType
- See CisSortOrderType
- See PaginatorConfigTypeDef
- See GetCisScanResultDetailsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetCisScanResultDetailsRequestPaginateTypeDef = { # (1)
"accountId": ...,
"scanArn": ...,
"targetResourceId": ...,
}
parent.paginate(**kwargs)
ListAccountPermissionsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_account_permissions")
.
boto3 documentation
# ListAccountPermissionsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListAccountPermissionsPaginator
def get_list_account_permissions_paginator() -> ListAccountPermissionsPaginator:
return Session().client("inspector2").get_paginator("list_account_permissions")
# ListAccountPermissionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListAccountPermissionsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListAccountPermissionsPaginator = client.get_paginator("list_account_permissions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListAccountPermissionsPaginator
- item: ListAccountPermissionsResponseTypeDef
paginate#
Type annotations and code completion for ListAccountPermissionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
service: ServiceType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListAccountPermissionsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAccountPermissionsRequestPaginateTypeDef = { # (1)
"service": ...,
}
parent.paginate(**kwargs)
ListCisScanConfigurationsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_cis_scan_configurations")
.
boto3 documentation
# ListCisScanConfigurationsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScanConfigurationsPaginator
def get_list_cis_scan_configurations_paginator() -> ListCisScanConfigurationsPaginator:
return Session().client("inspector2").get_paginator("list_cis_scan_configurations")
# ListCisScanConfigurationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScanConfigurationsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListCisScanConfigurationsPaginator = client.get_paginator("list_cis_scan_configurations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListCisScanConfigurationsPaginator
- item: ListCisScanConfigurationsResponseTypeDef
paginate#
Type annotations and code completion for ListCisScanConfigurationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filterCriteria: ListCisScanConfigurationsFilterCriteriaTypeDef = ..., # (1)
sortBy: CisScanConfigurationsSortByType = ..., # (2)
sortOrder: CisSortOrderType = ..., # (3)
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> PageIterator[ListCisScanConfigurationsResponseTypeDef]: # (5)
...
- See ListCisScanConfigurationsFilterCriteriaTypeDef
- See CisScanConfigurationsSortByType
- See CisSortOrderType
- See PaginatorConfigTypeDef
- See ListCisScanConfigurationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListCisScanConfigurationsRequestPaginateTypeDef = { # (1)
"filterCriteria": ...,
}
parent.paginate(**kwargs)
ListCisScanResultsAggregatedByChecksPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_cis_scan_results_aggregated_by_checks")
.
boto3 documentation
# ListCisScanResultsAggregatedByChecksPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScanResultsAggregatedByChecksPaginator
def get_list_cis_scan_results_aggregated_by_checks_paginator() -> ListCisScanResultsAggregatedByChecksPaginator:
return Session().client("inspector2").get_paginator("list_cis_scan_results_aggregated_by_checks")
# ListCisScanResultsAggregatedByChecksPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScanResultsAggregatedByChecksPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListCisScanResultsAggregatedByChecksPaginator = client.get_paginator("list_cis_scan_results_aggregated_by_checks") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListCisScanResultsAggregatedByChecksPaginator
- item: ListCisScanResultsAggregatedByChecksResponseTypeDef
paginate#
Type annotations and code completion for ListCisScanResultsAggregatedByChecksPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
scanArn: str,
filterCriteria: CisScanResultsAggregatedByChecksFilterCriteriaTypeDef = ..., # (1)
sortBy: CisScanResultsAggregatedByChecksSortByType = ..., # (2)
sortOrder: CisSortOrderType = ..., # (3)
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> PageIterator[ListCisScanResultsAggregatedByChecksResponseTypeDef]: # (5)
...
- See CisScanResultsAggregatedByChecksFilterCriteriaTypeDef
- See CisScanResultsAggregatedByChecksSortByType
- See CisSortOrderType
- See PaginatorConfigTypeDef
- See ListCisScanResultsAggregatedByChecksResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListCisScanResultsAggregatedByChecksRequestPaginateTypeDef = { # (1)
"scanArn": ...,
}
parent.paginate(**kwargs)
ListCisScanResultsAggregatedByTargetResourcePaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_cis_scan_results_aggregated_by_target_resource")
.
boto3 documentation
# ListCisScanResultsAggregatedByTargetResourcePaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScanResultsAggregatedByTargetResourcePaginator
def get_list_cis_scan_results_aggregated_by_target_resource_paginator() -> ListCisScanResultsAggregatedByTargetResourcePaginator:
return Session().client("inspector2").get_paginator("list_cis_scan_results_aggregated_by_target_resource")
# ListCisScanResultsAggregatedByTargetResourcePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScanResultsAggregatedByTargetResourcePaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListCisScanResultsAggregatedByTargetResourcePaginator = client.get_paginator("list_cis_scan_results_aggregated_by_target_resource") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListCisScanResultsAggregatedByTargetResourcePaginator
- item: ListCisScanResultsAggregatedByTargetResourceResponseTypeDef
paginate#
Type annotations and code completion for ListCisScanResultsAggregatedByTargetResourcePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
scanArn: str,
filterCriteria: CisScanResultsAggregatedByTargetResourceFilterCriteriaTypeDef = ..., # (1)
sortBy: CisScanResultsAggregatedByTargetResourceSortByType = ..., # (2)
sortOrder: CisSortOrderType = ..., # (3)
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> PageIterator[ListCisScanResultsAggregatedByTargetResourceResponseTypeDef]: # (5)
...
- See CisScanResultsAggregatedByTargetResourceFilterCriteriaTypeDef
- See CisScanResultsAggregatedByTargetResourceSortByType
- See CisSortOrderType
- See PaginatorConfigTypeDef
- See ListCisScanResultsAggregatedByTargetResourceResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListCisScanResultsAggregatedByTargetResourceRequestPaginateTypeDef = { # (1)
"scanArn": ...,
}
parent.paginate(**kwargs)
ListCisScansPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_cis_scans")
.
boto3 documentation
# ListCisScansPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScansPaginator
def get_list_cis_scans_paginator() -> ListCisScansPaginator:
return Session().client("inspector2").get_paginator("list_cis_scans")
# ListCisScansPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCisScansPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListCisScansPaginator = client.get_paginator("list_cis_scans") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListCisScansPaginator
- item: ListCisScansResponseTypeDef
paginate#
Type annotations and code completion for ListCisScansPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
detailLevel: ListCisScansDetailLevelType = ..., # (1)
filterCriteria: ListCisScansFilterCriteriaTypeDef = ..., # (2)
sortBy: ListCisScansSortByType = ..., # (3)
sortOrder: CisSortOrderType = ..., # (4)
PaginationConfig: PaginatorConfigTypeDef = ..., # (5)
) -> PageIterator[ListCisScansResponseTypeDef]: # (6)
...
- See ListCisScansDetailLevelType
- See ListCisScansFilterCriteriaTypeDef
- See ListCisScansSortByType
- See CisSortOrderType
- See PaginatorConfigTypeDef
- See ListCisScansResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListCisScansRequestPaginateTypeDef = { # (1)
"detailLevel": ...,
}
parent.paginate(**kwargs)
ListCoveragePaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_coverage")
.
boto3 documentation
# ListCoveragePaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCoveragePaginator
def get_list_coverage_paginator() -> ListCoveragePaginator:
return Session().client("inspector2").get_paginator("list_coverage")
# ListCoveragePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCoveragePaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListCoveragePaginator = client.get_paginator("list_coverage") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListCoveragePaginator
- item: ListCoverageResponseTypeDef
paginate#
Type annotations and code completion for ListCoveragePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filterCriteria: CoverageFilterCriteriaTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListCoverageResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListCoverageRequestPaginateTypeDef = { # (1)
"filterCriteria": ...,
}
parent.paginate(**kwargs)
ListCoverageStatisticsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_coverage_statistics")
.
boto3 documentation
# ListCoverageStatisticsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCoverageStatisticsPaginator
def get_list_coverage_statistics_paginator() -> ListCoverageStatisticsPaginator:
return Session().client("inspector2").get_paginator("list_coverage_statistics")
# ListCoverageStatisticsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListCoverageStatisticsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListCoverageStatisticsPaginator = client.get_paginator("list_coverage_statistics") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListCoverageStatisticsPaginator
- item: ListCoverageStatisticsResponseTypeDef
paginate#
Type annotations and code completion for ListCoverageStatisticsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filterCriteria: CoverageFilterCriteriaTypeDef = ..., # (1)
groupBy: GroupKeyType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListCoverageStatisticsResponseTypeDef]: # (4)
...
- See CoverageFilterCriteriaTypeDef
- See GroupKeyType
- See PaginatorConfigTypeDef
- See ListCoverageStatisticsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListCoverageStatisticsRequestPaginateTypeDef = { # (1)
"filterCriteria": ...,
}
parent.paginate(**kwargs)
ListDelegatedAdminAccountsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_delegated_admin_accounts")
.
boto3 documentation
# ListDelegatedAdminAccountsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListDelegatedAdminAccountsPaginator
def get_list_delegated_admin_accounts_paginator() -> ListDelegatedAdminAccountsPaginator:
return Session().client("inspector2").get_paginator("list_delegated_admin_accounts")
# ListDelegatedAdminAccountsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListDelegatedAdminAccountsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListDelegatedAdminAccountsPaginator = client.get_paginator("list_delegated_admin_accounts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListDelegatedAdminAccountsPaginator
- item: ListDelegatedAdminAccountsResponseTypeDef
paginate#
Type annotations and code completion for ListDelegatedAdminAccountsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListDelegatedAdminAccountsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDelegatedAdminAccountsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListFiltersPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_filters")
.
boto3 documentation
# ListFiltersPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListFiltersPaginator
def get_list_filters_paginator() -> ListFiltersPaginator:
return Session().client("inspector2").get_paginator("list_filters")
# ListFiltersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListFiltersPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListFiltersPaginator = client.get_paginator("list_filters") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListFiltersPaginator
- item: ListFiltersResponseTypeDef
paginate#
Type annotations and code completion for ListFiltersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
action: FilterActionType = ..., # (1)
arns: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListFiltersResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListFiltersRequestPaginateTypeDef = { # (1)
"action": ...,
}
parent.paginate(**kwargs)
ListFindingAggregationsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_finding_aggregations")
.
boto3 documentation
# ListFindingAggregationsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListFindingAggregationsPaginator
def get_list_finding_aggregations_paginator() -> ListFindingAggregationsPaginator:
return Session().client("inspector2").get_paginator("list_finding_aggregations")
# ListFindingAggregationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListFindingAggregationsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListFindingAggregationsPaginator = client.get_paginator("list_finding_aggregations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListFindingAggregationsPaginator
- item: ListFindingAggregationsResponseTypeDef
paginate#
Type annotations and code completion for ListFindingAggregationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
aggregationType: AggregationTypeType, # (1)
accountIds: Sequence[StringFilterTypeDef] = ..., # (2)
aggregationRequest: AggregationRequestTypeDef = ..., # (3)
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> PageIterator[ListFindingAggregationsResponseTypeDef]: # (5)
...
- See AggregationTypeType
- See StringFilterTypeDef
- See AggregationRequestTypeDef
- See PaginatorConfigTypeDef
- See ListFindingAggregationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListFindingAggregationsRequestPaginateTypeDef = { # (1)
"aggregationType": ...,
}
parent.paginate(**kwargs)
ListFindingsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_findings")
.
boto3 documentation
# ListFindingsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListFindingsPaginator
def get_list_findings_paginator() -> ListFindingsPaginator:
return Session().client("inspector2").get_paginator("list_findings")
# ListFindingsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListFindingsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListFindingsPaginator = client.get_paginator("list_findings") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListFindingsPaginator
- item: ListFindingsResponseTypeDef
paginate#
Type annotations and code completion for ListFindingsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filterCriteria: FilterCriteriaTypeDef = ..., # (1)
sortCriteria: SortCriteriaTypeDef = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListFindingsResponseTypeDef]: # (4)
...
- See FilterCriteriaTypeDef
- See SortCriteriaTypeDef
- See PaginatorConfigTypeDef
- See ListFindingsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListFindingsRequestPaginateTypeDef = { # (1)
"filterCriteria": ...,
}
parent.paginate(**kwargs)
ListMembersPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_members")
.
boto3 documentation
# ListMembersPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListMembersPaginator
def get_list_members_paginator() -> ListMembersPaginator:
return Session().client("inspector2").get_paginator("list_members")
# ListMembersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListMembersPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListMembersPaginator = client.get_paginator("list_members") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListMembersPaginator
- item: ListMembersResponseTypeDef
paginate#
Type annotations and code completion for ListMembersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
onlyAssociated: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListMembersResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListMembersRequestPaginateTypeDef = { # (1)
"onlyAssociated": ...,
}
parent.paginate(**kwargs)
ListUsageTotalsPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("list_usage_totals")
.
boto3 documentation
# ListUsageTotalsPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListUsageTotalsPaginator
def get_list_usage_totals_paginator() -> ListUsageTotalsPaginator:
return Session().client("inspector2").get_paginator("list_usage_totals")
# ListUsageTotalsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import ListUsageTotalsPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: ListUsageTotalsPaginator = client.get_paginator("list_usage_totals") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: ListUsageTotalsPaginator
- item: ListUsageTotalsResponseTypeDef
paginate#
Type annotations and code completion for ListUsageTotalsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
accountIds: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListUsageTotalsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListUsageTotalsRequestPaginateTypeDef = { # (1)
"accountIds": ...,
}
parent.paginate(**kwargs)
SearchVulnerabilitiesPaginator#
Type annotations and code completion for boto3.client("inspector2").get_paginator("search_vulnerabilities")
.
boto3 documentation
# SearchVulnerabilitiesPaginator usage example
from boto3.session import Session
from mypy_boto3_inspector2.paginator import SearchVulnerabilitiesPaginator
def get_search_vulnerabilities_paginator() -> SearchVulnerabilitiesPaginator:
return Session().client("inspector2").get_paginator("search_vulnerabilities")
# SearchVulnerabilitiesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_inspector2.paginator import SearchVulnerabilitiesPaginator
session = Session()
client = Session().client("inspector2") # (1)
paginator: SearchVulnerabilitiesPaginator = client.get_paginator("search_vulnerabilities") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Inspector2Client
- paginator: SearchVulnerabilitiesPaginator
- item: SearchVulnerabilitiesResponseTypeDef
paginate#
Type annotations and code completion for SearchVulnerabilitiesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filterCriteria: SearchVulnerabilitiesFilterCriteriaTypeDef, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[SearchVulnerabilitiesResponseTypeDef]: # (3)
...
- See SearchVulnerabilitiesFilterCriteriaTypeDef
- See PaginatorConfigTypeDef
- See SearchVulnerabilitiesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: SearchVulnerabilitiesRequestPaginateTypeDef = { # (1)
"filterCriteria": ...,
}
parent.paginate(**kwargs)