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)
- client: InspectorClient
- paginator: ListAssessmentRunAgentsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAssessmentRunAgentsRequestListAssessmentRunAgentsPaginateTypeDef = { # (1)
"assessmentRunArn": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: ListAssessmentRunsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAssessmentRunsRequestListAssessmentRunsPaginateTypeDef = { # (1)
"assessmentTemplateArns": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: ListAssessmentTargetsPaginator
- 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)
...
- See AssessmentTargetFilterTypeDef
- See PaginatorConfigTypeDef
- See ListAssessmentTargetsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListAssessmentTargetsRequestListAssessmentTargetsPaginateTypeDef = { # (1)
"filter": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: ListAssessmentTemplatesPaginator
- 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)
...
- See AssessmentTemplateFilterTypeDef
- See PaginatorConfigTypeDef
- See ListAssessmentTemplatesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListAssessmentTemplatesRequestListAssessmentTemplatesPaginateTypeDef = { # (1)
"assessmentTargetArns": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: ListEventSubscriptionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListEventSubscriptionsRequestListEventSubscriptionsPaginateTypeDef = { # (1)
"resourceArn": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: ListExclusionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListExclusionsRequestListExclusionsPaginateTypeDef = { # (1)
"assessmentRunArn": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: ListFindingsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListFindingsRequestListFindingsPaginateTypeDef = { # (1)
"assessmentRunArns": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: ListRulesPackagesPaginator
- item: ListRulesPackagesResponseTypeDef
paginate#
Type annotations and code completion for ListRulesPackagesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListRulesPackagesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListRulesPackagesRequestListRulesPackagesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: InspectorClient
- paginator: PreviewAgentsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: PreviewAgentsRequestPreviewAgentsPaginateTypeDef = { # (1)
"previewAgentsArn": ...,
}
parent.paginate(**kwargs)