Skip to content

Paginators#

Index > Inspector > Paginators

Auto-generated documentation for Inspector type annotations stubs module mypy-boto3-inspector.

ListAssessmentRunAgentsPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_assessment_run_agents"). boto3 documentation

# ListAssessmentRunAgentsPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentRunAgentsPaginator

def get_list_assessment_run_agents_paginator() -> ListAssessmentRunAgentsPaginator:
    return Session().client("inspector").get_paginator("list_assessment_run_agents")
# ListAssessmentRunAgentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentRunAgentsPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListAssessmentRunAgentsPaginator = client.get_paginator("list_assessment_run_agents")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListAssessmentRunAgentsPaginator
  3. item: ListAssessmentRunAgentsResponseTypeDef

paginate#

Type annotations and code completion for ListAssessmentRunAgentsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    assessmentRunArn: str,
    filter: AgentFilterTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListAssessmentRunAgentsResponseTypeDef]:  # (3)
    ...
  1. See AgentFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListAssessmentRunAgentsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAssessmentRunAgentsRequestListAssessmentRunAgentsPaginateTypeDef = {  # (1)
    "assessmentRunArn": ...,
}

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

ListAssessmentRunsPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_assessment_runs"). boto3 documentation

# ListAssessmentRunsPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentRunsPaginator

def get_list_assessment_runs_paginator() -> ListAssessmentRunsPaginator:
    return Session().client("inspector").get_paginator("list_assessment_runs")
# ListAssessmentRunsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentRunsPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListAssessmentRunsPaginator = client.get_paginator("list_assessment_runs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListAssessmentRunsPaginator
  3. item: ListAssessmentRunsResponseTypeDef

paginate#

Type annotations and code completion for ListAssessmentRunsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    assessmentTemplateArns: Sequence[str] = ...,
    filter: AssessmentRunFilterTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListAssessmentRunsResponseTypeDef]:  # (3)
    ...
  1. See AssessmentRunFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListAssessmentRunsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAssessmentRunsRequestListAssessmentRunsPaginateTypeDef = {  # (1)
    "assessmentTemplateArns": ...,
}

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

ListAssessmentTargetsPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_assessment_targets"). boto3 documentation

# ListAssessmentTargetsPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentTargetsPaginator

def get_list_assessment_targets_paginator() -> ListAssessmentTargetsPaginator:
    return Session().client("inspector").get_paginator("list_assessment_targets")
# ListAssessmentTargetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentTargetsPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListAssessmentTargetsPaginator = client.get_paginator("list_assessment_targets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListAssessmentTargetsPaginator
  3. item: ListAssessmentTargetsResponseTypeDef

paginate#

Type annotations and code completion for ListAssessmentTargetsPaginator.paginate method.

# paginate method definition

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

kwargs: ListAssessmentTargetsRequestListAssessmentTargetsPaginateTypeDef = {  # (1)
    "filter": ...,
}

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

ListAssessmentTemplatesPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_assessment_templates"). boto3 documentation

# ListAssessmentTemplatesPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentTemplatesPaginator

def get_list_assessment_templates_paginator() -> ListAssessmentTemplatesPaginator:
    return Session().client("inspector").get_paginator("list_assessment_templates")
# ListAssessmentTemplatesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListAssessmentTemplatesPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListAssessmentTemplatesPaginator = client.get_paginator("list_assessment_templates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListAssessmentTemplatesPaginator
  3. item: ListAssessmentTemplatesResponseTypeDef

paginate#

Type annotations and code completion for ListAssessmentTemplatesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    assessmentTargetArns: Sequence[str] = ...,
    filter: AssessmentTemplateFilterTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListAssessmentTemplatesResponseTypeDef]:  # (3)
    ...
  1. See AssessmentTemplateFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListAssessmentTemplatesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAssessmentTemplatesRequestListAssessmentTemplatesPaginateTypeDef = {  # (1)
    "assessmentTargetArns": ...,
}

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

ListEventSubscriptionsPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_event_subscriptions"). boto3 documentation

# ListEventSubscriptionsPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListEventSubscriptionsPaginator

def get_list_event_subscriptions_paginator() -> ListEventSubscriptionsPaginator:
    return Session().client("inspector").get_paginator("list_event_subscriptions")
# ListEventSubscriptionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListEventSubscriptionsPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListEventSubscriptionsPaginator = client.get_paginator("list_event_subscriptions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListEventSubscriptionsPaginator
  3. item: ListEventSubscriptionsResponseTypeDef

paginate#

Type annotations and code completion for ListEventSubscriptionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListEventSubscriptionsRequestListEventSubscriptionsPaginateTypeDef = {  # (1)
    "resourceArn": ...,
}

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

ListExclusionsPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_exclusions"). boto3 documentation

# ListExclusionsPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListExclusionsPaginator

def get_list_exclusions_paginator() -> ListExclusionsPaginator:
    return Session().client("inspector").get_paginator("list_exclusions")
# ListExclusionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListExclusionsPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListExclusionsPaginator = client.get_paginator("list_exclusions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListExclusionsPaginator
  3. item: ListExclusionsResponseTypeDef

paginate#

Type annotations and code completion for ListExclusionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListExclusionsRequestListExclusionsPaginateTypeDef = {  # (1)
    "assessmentRunArn": ...,
}

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

ListFindingsPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_findings"). boto3 documentation

# ListFindingsPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListFindingsPaginator

def get_list_findings_paginator() -> ListFindingsPaginator:
    return Session().client("inspector").get_paginator("list_findings")
# ListFindingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListFindingsPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListFindingsPaginator = client.get_paginator("list_findings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListFindingsPaginator
  3. item: ListFindingsResponseTypeDef

paginate#

Type annotations and code completion for ListFindingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    assessmentRunArns: Sequence[str] = ...,
    filter: FindingFilterTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListFindingsResponseTypeDef]:  # (3)
    ...
  1. See FindingFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListFindingsResponseTypeDef
# paginate method usage example with argument unpacking

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

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

ListRulesPackagesPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("list_rules_packages"). boto3 documentation

# ListRulesPackagesPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListRulesPackagesPaginator

def get_list_rules_packages_paginator() -> ListRulesPackagesPaginator:
    return Session().client("inspector").get_paginator("list_rules_packages")
# ListRulesPackagesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import ListRulesPackagesPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: ListRulesPackagesPaginator = client.get_paginator("list_rules_packages")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: ListRulesPackagesPaginator
  3. item: ListRulesPackagesResponseTypeDef

paginate#

Type annotations and code completion for ListRulesPackagesPaginator.paginate method.

# paginate method definition

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

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

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

PreviewAgentsPaginator#

Type annotations and code completion for boto3.client("inspector").get_paginator("preview_agents"). boto3 documentation

# PreviewAgentsPaginator usage example

from boto3.session import Session

from mypy_boto3_inspector.paginator import PreviewAgentsPaginator

def get_preview_agents_paginator() -> PreviewAgentsPaginator:
    return Session().client("inspector").get_paginator("preview_agents")
# PreviewAgentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_inspector.paginator import PreviewAgentsPaginator

session = Session()

client = Session().client("inspector")  # (1)
paginator: PreviewAgentsPaginator = client.get_paginator("preview_agents")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: InspectorClient
  2. paginator: PreviewAgentsPaginator
  3. item: PreviewAgentsResponseTypeDef

paginate#

Type annotations and code completion for PreviewAgentsPaginator.paginate method.

# paginate method definition

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

kwargs: PreviewAgentsRequestPreviewAgentsPaginateTypeDef = {  # (1)
    "previewAgentsArn": ...,
}

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