Paginators#
Index > CodeGuruSecurity > Paginators
Auto-generated documentation for CodeGuruSecurity type annotations stubs module mypy-boto3-codeguru-security.
GetFindingsPaginator#
Type annotations and code completion for boto3.client("codeguru-security").get_paginator("get_findings")
.
boto3 documentation
# GetFindingsPaginator usage example
from boto3.session import Session
from mypy_boto3_codeguru_security.paginator import GetFindingsPaginator
def get_get_findings_paginator() -> GetFindingsPaginator:
return Session().client("codeguru-security").get_paginator("get_findings")
# GetFindingsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeguru_security.paginator import GetFindingsPaginator
session = Session()
client = Session().client("codeguru-security") # (1)
paginator: GetFindingsPaginator = client.get_paginator("get_findings") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeGuruSecurityClient
- paginator: GetFindingsPaginator
- item: GetFindingsResponseTypeDef
paginate#
Type annotations and code completion for GetFindingsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
scanName: str,
status: StatusType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[GetFindingsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: GetFindingsRequestGetFindingsPaginateTypeDef = { # (1)
"scanName": ...,
}
parent.paginate(**kwargs)
ListFindingsMetricsPaginator#
Type annotations and code completion for boto3.client("codeguru-security").get_paginator("list_findings_metrics")
.
boto3 documentation
# ListFindingsMetricsPaginator usage example
from boto3.session import Session
from mypy_boto3_codeguru_security.paginator import ListFindingsMetricsPaginator
def get_list_findings_metrics_paginator() -> ListFindingsMetricsPaginator:
return Session().client("codeguru-security").get_paginator("list_findings_metrics")
# ListFindingsMetricsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeguru_security.paginator import ListFindingsMetricsPaginator
session = Session()
client = Session().client("codeguru-security") # (1)
paginator: ListFindingsMetricsPaginator = client.get_paginator("list_findings_metrics") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeGuruSecurityClient
- paginator: ListFindingsMetricsPaginator
- item: ListFindingsMetricsResponseTypeDef
paginate#
Type annotations and code completion for ListFindingsMetricsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
endDate: TimestampTypeDef,
startDate: TimestampTypeDef,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListFindingsMetricsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListFindingsMetricsRequestListFindingsMetricsPaginateTypeDef = { # (1)
"endDate": ...,
"startDate": ...,
}
parent.paginate(**kwargs)
ListScansPaginator#
Type annotations and code completion for boto3.client("codeguru-security").get_paginator("list_scans")
.
boto3 documentation
# ListScansPaginator usage example
from boto3.session import Session
from mypy_boto3_codeguru_security.paginator import ListScansPaginator
def get_list_scans_paginator() -> ListScansPaginator:
return Session().client("codeguru-security").get_paginator("list_scans")
# ListScansPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeguru_security.paginator import ListScansPaginator
session = Session()
client = Session().client("codeguru-security") # (1)
paginator: ListScansPaginator = client.get_paginator("list_scans") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeGuruSecurityClient
- paginator: ListScansPaginator
- item: ListScansResponseTypeDef
paginate#
Type annotations and code completion for ListScansPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListScansResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListScansRequestListScansPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)