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)
- client: SecurityIncidentResponseClient
- paginator: ListCaseEditsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListCaseEditsRequestListCaseEditsPaginateTypeDef = { # (1)
"caseId": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityIncidentResponseClient
- paginator: ListCasesPaginator
- item: ListCasesResponseTypeDef
paginate#
Type annotations and code completion for ListCasesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListCasesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListCasesRequestListCasesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityIncidentResponseClient
- paginator: ListCommentsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListCommentsRequestListCommentsPaginateTypeDef = { # (1)
"caseId": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityIncidentResponseClient
- paginator: ListMembershipsPaginator
- item: ListMembershipsResponseTypeDef
paginate#
Type annotations and code completion for ListMembershipsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListMembershipsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListMembershipsRequestListMembershipsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)