Skip to content

Paginators#

Index > IoT > Paginators

Auto-generated documentation for IoT type annotations stubs module mypy-boto3-iot.

GetBehaviorModelTrainingSummariesPaginator#

Type annotations and code completion for boto3.client("iot").get_paginator("get_behavior_model_training_summaries"). boto3 documentation

# GetBehaviorModelTrainingSummariesPaginator usage example

from boto3.session import Session

from mypy_boto3_iot.paginator import GetBehaviorModelTrainingSummariesPaginator

def get_get_behavior_model_training_summaries_paginator() -> GetBehaviorModelTrainingSummariesPaginator:
    return Session().client("iot").get_paginator("get_behavior_model_training_summaries")
# GetBehaviorModelTrainingSummariesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iot.paginator import GetBehaviorModelTrainingSummariesPaginator

session = Session()

client = Session().client("iot")  # (1)
paginator: GetBehaviorModelTrainingSummariesPaginator = client.get_paginator("get_behavior_model_training_summaries")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IoTClient
  2. paginator: GetBehaviorModelTrainingSummariesPaginator
  3. item: GetBehaviorModelTrainingSummariesResponseTypeDef

paginate#

Type annotations and code completion for GetBehaviorModelTrainingSummariesPaginator.paginate method.

# paginate method definition

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

kwargs: GetBehaviorModelTrainingSummariesRequestGetBehaviorModelTrainingSummariesPaginateTypeDef = {  # (1)
    "securityProfileName": ...,
}

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

ListActiveViolationsPaginator#

Type annotations and code completion for boto3.client("iot").get_paginator("list_active_violations"). boto3 documentation

# ListActiveViolationsPaginator usage example

from boto3.session import Session

from mypy_boto3_iot.paginator import ListActiveViolationsPaginator

def get_list_active_violations_paginator() -> ListActiveViolationsPaginator:
    return Session().client("iot").get_paginator("list_active_violations")
# ListActiveViolationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iot.paginator import ListActiveViolationsPaginator

session = Session()

client = Session().client("iot")  # (1)
paginator: ListActiveViolationsPaginator = client.get_paginator("list_active_violations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IoTClient
  2. paginator: ListActiveViolationsPaginator
  3. item: ListActiveViolationsResponseTypeDef

paginate#

Type annotations and code completion for ListActiveViolationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    thingName: str = ...,
    securityProfileName: str = ...,
    behaviorCriteriaType: BehaviorCriteriaTypeType = ...,  # (1)
    listSuppressedAlerts: bool = ...,
    verificationState: VerificationStateType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[ListActiveViolationsResponseTypeDef]:  # (4)
    ...
  1. See BehaviorCriteriaTypeType
  2. See VerificationStateType
  3. See PaginatorConfigTypeDef
  4. See ListActiveViolationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListActiveViolationsRequestListActiveViolationsPaginateTypeDef = {  # (1)
    "thingName": ...,
}

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

ListAttachedPoliciesPaginator#

Type annotations and code completion for boto3.client("iot").get_paginator("list_attached_policies").