Skip to content

Paginators#

Index > SecurityIncidentResponse > Paginators

Auto-generated documentation for SecurityIncidentResponse type annotations stubs module mypy-boto3-security-ir.

ListCaseEditsPaginator#

Type annotations and code completion for boto3.client("security-ir").get_paginator("list_case_edits"). boto3 documentation

# ListCaseEditsPaginator usage example

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListCaseEditsPaginator

def get_list_case_edits_paginator() -> ListCaseEditsPaginator:
    return Session().client("security-ir").get_paginator("list_case_edits")
# ListCaseEditsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListCaseEditsPaginator

session = Session()

client = Session().client("security-ir")  # (1)
paginator: ListCaseEditsPaginator = client.get_paginator("list_case_edits")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityIncidentResponseClient
  2. paginator: ListCaseEditsPaginator
  3. item: ListCaseEditsResponseTypeDef

paginate#

Type annotations and code completion for ListCaseEditsPaginator.paginate method.

# paginate method definition

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

kwargs: ListCaseEditsRequestListCaseEditsPaginateTypeDef = {  # (1)
    "caseId": ...,
}

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

ListCasesPaginator#

Type annotations and code completion for boto3.client("security-ir").get_paginator("list_cases"). boto3 documentation

# ListCasesPaginator usage example

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListCasesPaginator

def get_list_cases_paginator() -> ListCasesPaginator:
    return Session().client("security-ir").get_paginator("list_cases")
# ListCasesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListCasesPaginator

session = Session()

client = Session().client("security-ir")  # (1)
paginator: ListCasesPaginator = client.get_paginator("list_cases")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityIncidentResponseClient
  2. paginator: ListCasesPaginator
  3. item: ListCasesResponseTypeDef

paginate#

Type annotations and code completion for ListCasesPaginator.paginate method.

# paginate method definition

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

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

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

ListCommentsPaginator#

Type annotations and code completion for boto3.client("security-ir").get_paginator("list_comments"). boto3 documentation

# ListCommentsPaginator usage example

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListCommentsPaginator

def get_list_comments_paginator() -> ListCommentsPaginator:
    return Session().client("security-ir").get_paginator("list_comments")
# ListCommentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListCommentsPaginator

session = Session()

client = Session().client("security-ir")  # (1)
paginator: ListCommentsPaginator = client.get_paginator("list_comments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityIncidentResponseClient
  2. paginator: ListCommentsPaginator
  3. item: ListCommentsResponseTypeDef

paginate#

Type annotations and code completion for ListCommentsPaginator.paginate method.

# paginate method definition

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

kwargs: ListCommentsRequestListCommentsPaginateTypeDef = {  # (1)
    "caseId": ...,
}

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

ListMembershipsPaginator#

Type annotations and code completion for boto3.client("security-ir").get_paginator("list_memberships"). boto3 documentation

# ListMembershipsPaginator usage example

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListMembershipsPaginator

def get_list_memberships_paginator() -> ListMembershipsPaginator:
    return Session().client("security-ir").get_paginator("list_memberships")
# ListMembershipsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_security_ir.paginator import ListMembershipsPaginator

session = Session()

client = Session().client("security-ir")  # (1)
paginator: ListMembershipsPaginator = client.get_paginator("list_memberships")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityIncidentResponseClient
  2. paginator: ListMembershipsPaginator
  3. item: ListMembershipsResponseTypeDef

paginate#

Type annotations and code completion for ListMembershipsPaginator.paginate method.

# paginate method definition

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

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

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