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