Skip to content

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)
  1. client: CodeGuruSecurityClient
  2. paginator: GetFindingsPaginator
  3. 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)
    ...
  1. See StatusType
  2. See PaginatorConfigTypeDef
  3. See GetFindingsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetFindingsRequestGetFindingsPaginateTypeDef = {  # (1)
    "scanName": ...,
}

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

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

kwargs: ListFindingsMetricsRequestListFindingsMetricsPaginateTypeDef = {  # (1)
    "endDate": ...,
    "startDate": ...,
}

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

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)
  1. client: CodeGuruSecurityClient
  2. paginator: ListScansPaginator
  3. item: ListScansResponseTypeDef

paginate#

Type annotations and code completion for ListScansPaginator.paginate method.

# paginate method definition

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

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

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