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: GetCisScanResultDetailsRequestGetCisScanResultDetailsPaginateTypeDef = { # (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: ListAccountPermissionsRequestListAccountPermissionsPaginateTypeDef = { # (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: ListCisScanConfigurationsRequestListCisScanConfigurationsPaginateTypeDef = { # (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: ListCisScanResultsAggregatedByChecksRequestListCisScanResultsAggregatedByChecksPaginateTypeDef = { # (1)
"scanArn": ...,
}
parent.paginate(**kwargs)