Skip to content

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)
  1. client: Inspector2Client
  2. paginator: GetCisScanResultDetailsPaginator
  3. 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)
    ...
  1. See CisScanResultDetailsFilterCriteriaTypeDef
  2. See CisScanResultDetailsSortByType
  3. See CisSortOrderType
  4. See PaginatorConfigTypeDef
  5. See GetCisScanResultDetailsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetCisScanResultDetailsRequestGetCisScanResultDetailsPaginateTypeDef = {  # (1)
    "accountId": ...,
    "scanArn": ...,
    "targetResourceId": ...,
}

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

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)
  1. client: Inspector2Client
  2. paginator: ListAccountPermissionsPaginator
  3. 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)
    ...
  1. See ServiceType
  2. See PaginatorConfigTypeDef
  3. See ListAccountPermissionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAccountPermissionsRequestListAccountPermissionsPaginateTypeDef = {  # (1)
    "service": ...,
}

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

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)
  1. client: Inspector2Client
  2. paginator: ListCisScanConfigurationsPaginator
  3. 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)
    ...
  1. See ListCisScanConfigurationsFilterCriteriaTypeDef
  2. See CisScanConfigurationsSortByType
  3. See CisSortOrderType
  4. See PaginatorConfigTypeDef
  5. See ListCisScanConfigurationsResponseTypeDef
# paginate method usage example with argument unpacking

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

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

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)
  1. client: Inspector2Client
  2. paginator: ListCisScanResultsAggregatedByChecksPaginator
  3. 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)
    ...
  1. See CisScanResultsAggregatedByChecksFilterCriteriaTypeDef
  2. See CisScanResultsAggregatedByChecksSortByType
  3. See CisSortOrderType
  4. See PaginatorConfigTypeDef
  5. See ListCisScanResultsAggregatedByChecksResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListCisScanResultsAggregatedByChecksRequestListCisScanResultsAggregatedByChecksPaginateTypeDef = {  # (1)
    "scanArn": ...,
}

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

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)
  1. client: Inspector2Client
  2. paginator: ListCisScanResultsAggregatedByTargetResourcePaginator
  3. 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)
    ...
  1. See CisScanResultsAggregatedByTargetResourceFilterCriteriaTypeDef
  2. See CisScanResultsAggregatedByTargetResourceSortByType
  3. See CisSortOrderType
  4. See PaginatorConfigTypeDef
  5. See ListCisScanResultsAggregatedByTargetResourceResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListCisScanResultsAggregatedByTargetResourceRequestListCisScanResultsAggregatedByTargetResourcePaginateTypeDef = {  # (1)
    "scanArn": ...,
}

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

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)
  1. client: Inspector2Client
  2. paginator: ListCisScansPaginator
  3. 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)
    ...
  1. See ListCisScansDetailLevelType
  2. See ListCisScansFilterCriteriaTypeDef
  3. See ListCisScansSortByType
  4. See CisSortOrderType
  5. See PaginatorConfigTypeDef
  6. See ListCisScansResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListCisScansRequestListCisScansPaginateTypeDef = {  # (1)
    "detailLevel": ...,
}

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

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)
  1. client: Inspector2Client
  2. paginator: ListCoveragePaginator
  3. 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)
    ...
  1. See CoverageFilterCriteriaTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListCoverageResponseTypeDef
# paginate method usage example with argument unpacking

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

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

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)
  1. client: Inspector2Client
  2. paginator: ListCoverageStatisticsPaginator
  3. item: ListCoverageStatisticsResponseTypeDef

paginate#

Type annotations and code comp