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 completion for ListCoverageStatisticsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    filterCriteria: CoverageFilterCriteriaTypeDef = ...,  # (1)
    groupBy: GroupKeyType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[ListCoverageStatisticsResponseTypeDef]:  # (4)
    ...
  1. See CoverageFilterCriteriaTypeDef
  2. See GroupKeyType
  3. See PaginatorConfigTypeDef
  4. See ListCoverageStatisticsResponseTypeDef
# paginate method usage example with argument unpacking

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

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

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

paginate#

Type annotations and code completion for ListDelegatedAdminAccountsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListDelegatedAdminAccountsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListDelegatedAdminAccountsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListDelegatedAdminAccountsRequestListDelegatedAdminAccountsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

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

kwargs: ListFiltersRequestListFiltersPaginateTypeDef = {  # (1)
    "action": ...,
}

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

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)
  1. client: Inspector2Client
  2. paginator: ListFindingAggregationsPaginator
  3. 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)
    ...
  1. See AggregationTypeType
  2. See StringFilterTypeDef
  3. See AggregationRequestTypeDef
  4. See PaginatorConfigTypeDef
  5. See ListFindingAggregationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListFindingAggregationsRequestListFindingAggregationsPaginateTypeDef = {  # (1)
    "aggregationType": ...,
}

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

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)
  1. client: Inspector2Client
  2. paginator: ListFindingsPaginator
  3. 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)
    ...
  1. See FilterCriteriaTypeDef
  2. See SortCriteriaTypeDef
  3. See PaginatorConfigTypeDef
  4. See ListFindingsResponseTypeDef
# paginate method usage example with argument unpacking

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

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

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

kwargs: ListMembersRequestListMembersPaginateTypeDef = {  # (1)
    "onlyAssociated": ...,
}

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

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

kwargs: ListUsageTotalsRequestListUsageTotalsPaginateTypeDef = {  # (1)
    "accountIds": ...,
}

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

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

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

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