Skip to content

Typed dictionaries

Index > IoTEvents > Typed dictionaries

Auto-generated documentation for IoTEvents type annotations stubs module mypy-boto3-iotevents.

AcknowledgeFlowTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AcknowledgeFlowTypeDef

def get_value() -> AcknowledgeFlowTypeDef:
    return {
        "enabled": ...,
    }
Definition
class AcknowledgeFlowTypeDef(TypedDict):
    enabled: bool,

ClearTimerActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ClearTimerActionTypeDef

def get_value() -> ClearTimerActionTypeDef:
    return {
        "timerName": ...,
    }
Definition
class ClearTimerActionTypeDef(TypedDict):
    timerName: str,

ResetTimerActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ResetTimerActionTypeDef

def get_value() -> ResetTimerActionTypeDef:
    return {
        "timerName": ...,
    }
Definition
class ResetTimerActionTypeDef(TypedDict):
    timerName: str,

SetTimerActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import SetTimerActionTypeDef

def get_value() -> SetTimerActionTypeDef:
    return {
        "timerName": ...,
    }
Definition
class SetTimerActionTypeDef(TypedDict):
    timerName: str,
    seconds: NotRequired[int],
    durationExpression: NotRequired[str],

SetVariableActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import SetVariableActionTypeDef

def get_value() -> SetVariableActionTypeDef:
    return {
        "variableName": ...,
        "value": ...,
    }
Definition
class SetVariableActionTypeDef(TypedDict):
    variableName: str,
    value: str,

InitializationConfigurationTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import InitializationConfigurationTypeDef

def get_value() -> InitializationConfigurationTypeDef:
    return {
        "disabledOnInitialization": ...,
    }
Definition
class InitializationConfigurationTypeDef(TypedDict):
    disabledOnInitialization: bool,

AlarmModelSummaryTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AlarmModelSummaryTypeDef

def get_value() -> AlarmModelSummaryTypeDef:
    return {
        "creationTime": ...,
    }
Definition
class AlarmModelSummaryTypeDef(TypedDict):
    creationTime: NotRequired[datetime],
    alarmModelDescription: NotRequired[str],
    alarmModelName: NotRequired[str],

AlarmModelVersionSummaryTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AlarmModelVersionSummaryTypeDef

def get_value() -> AlarmModelVersionSummaryTypeDef:
    return {
        "alarmModelName": ...,
    }
Definition
class AlarmModelVersionSummaryTypeDef(TypedDict):
    alarmModelName: NotRequired[str],
    alarmModelArn: NotRequired[str],
    alarmModelVersion: NotRequired[str],
    roleArn: NotRequired[str],
    creationTime: NotRequired[datetime],
    lastUpdateTime: NotRequired[datetime],
    status: NotRequired[AlarmModelVersionStatusType],  # (1)
    statusMessage: NotRequired[str],
  1. See AlarmModelVersionStatusType

SimpleRuleTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import SimpleRuleTypeDef

def get_value() -> SimpleRuleTypeDef:
    return {
        "inputProperty": ...,
        "comparisonOperator": ...,
        "threshold": ...,
    }
Definition
class SimpleRuleTypeDef(TypedDict):
    inputProperty: str,
    comparisonOperator: ComparisonOperatorType,  # (1)
    threshold: str,
  1. See ComparisonOperatorType

AnalysisResultLocationTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AnalysisResultLocationTypeDef

def get_value() -> AnalysisResultLocationTypeDef:
    return {
        "path": ...,
    }
Definition
class AnalysisResultLocationTypeDef(TypedDict):
    path: NotRequired[str],

AssetPropertyTimestampTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AssetPropertyTimestampTypeDef

def get_value() -> AssetPropertyTimestampTypeDef:
    return {
        "timeInSeconds": ...,
    }
Definition
class AssetPropertyTimestampTypeDef(TypedDict):
    timeInSeconds: str,
    offsetInNanos: NotRequired[str],

AssetPropertyVariantTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AssetPropertyVariantTypeDef

def get_value() -> AssetPropertyVariantTypeDef:
    return {
        "stringValue": ...,
    }
Definition
class AssetPropertyVariantTypeDef(TypedDict):
    stringValue: NotRequired[str],
    integerValue: NotRequired[str],
    doubleValue: NotRequired[str],
    booleanValue: NotRequired[str],

AttributeTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AttributeTypeDef

def get_value() -> AttributeTypeDef:
    return {
        "jsonPath": ...,
    }
Definition
class AttributeTypeDef(TypedDict):
    jsonPath: str,

TagTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
        "value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    key: str,
    value: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

DetectorModelConfigurationTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DetectorModelConfigurationTypeDef

def get_value() -> DetectorModelConfigurationTypeDef:
    return {
        "detectorModelName": ...,
    }
Definition
class DetectorModelConfigurationTypeDef(TypedDict):
    detectorModelName: NotRequired[str],
    detectorModelVersion: NotRequired[str],
    detectorModelDescription: NotRequired[str],
    detectorModelArn: NotRequired[str],
    roleArn: NotRequired[str],
    creationTime: NotRequired[datetime],
    lastUpdateTime: NotRequired[datetime],
    status: NotRequired[DetectorModelVersionStatusType],  # (1)
    key: NotRequired[str],
    evaluationMethod: NotRequired[EvaluationMethodType],  # (2)
  1. See DetectorModelVersionStatusType
  2. See EvaluationMethodType

InputConfigurationTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import InputConfigurationTypeDef

def get_value() -> InputConfigurationTypeDef:
    return {
        "inputName": ...,
        "inputArn": ...,
        "creationTime": ...,
        "lastUpdateTime": ...,
        "status": ...,
    }
Definition
class InputConfigurationTypeDef(TypedDict):
    inputName: str,
    inputArn: str,
    creationTime: datetime,
    lastUpdateTime: datetime,
    status: InputStatusType,  # (1)
    inputDescription: NotRequired[str],
  1. See InputStatusType

DeleteAlarmModelRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DeleteAlarmModelRequestRequestTypeDef

def get_value() -> DeleteAlarmModelRequestRequestTypeDef:
    return {
        "alarmModelName": ...,
    }
Definition
class DeleteAlarmModelRequestRequestTypeDef(TypedDict):
    alarmModelName: str,

DeleteDetectorModelRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DeleteDetectorModelRequestRequestTypeDef

def get_value() -> DeleteDetectorModelRequestRequestTypeDef:
    return {
        "detectorModelName": ...,
    }
Definition
class DeleteDetectorModelRequestRequestTypeDef(TypedDict):
    detectorModelName: str,

DeleteInputRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DeleteInputRequestRequestTypeDef

def get_value() -> DeleteInputRequestRequestTypeDef:
    return {
        "inputName": ...,
    }
Definition
class DeleteInputRequestRequestTypeDef(TypedDict):
    inputName: str,

DescribeAlarmModelRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeAlarmModelRequestRequestTypeDef

def get_value() -> DescribeAlarmModelRequestRequestTypeDef:
    return {
        "alarmModelName": ...,
    }
Definition
class DescribeAlarmModelRequestRequestTypeDef(TypedDict):
    alarmModelName: str,
    alarmModelVersion: NotRequired[str],

DescribeDetectorModelAnalysisRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeDetectorModelAnalysisRequestRequestTypeDef

def get_value() -> DescribeDetectorModelAnalysisRequestRequestTypeDef:
    return {
        "analysisId": ...,
    }
Definition
class DescribeDetectorModelAnalysisRequestRequestTypeDef(TypedDict):
    analysisId: str,

DescribeDetectorModelRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeDetectorModelRequestRequestTypeDef

def get_value() -> DescribeDetectorModelRequestRequestTypeDef:
    return {
        "detectorModelName": ...,
    }
Definition
class DescribeDetectorModelRequestRequestTypeDef(TypedDict):
    detectorModelName: str,
    detectorModelVersion: NotRequired[str],

DescribeInputRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeInputRequestRequestTypeDef

def get_value() -> DescribeInputRequestRequestTypeDef:
    return {
        "inputName": ...,
    }
Definition
class DescribeInputRequestRequestTypeDef(TypedDict):
    inputName: str,

DetectorDebugOptionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DetectorDebugOptionTypeDef

def get_value() -> DetectorDebugOptionTypeDef:
    return {
        "detectorModelName": ...,
    }
Definition
class DetectorDebugOptionTypeDef(TypedDict):
    detectorModelName: str,
    keyValue: NotRequired[str],

DetectorModelSummaryTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DetectorModelSummaryTypeDef

def get_value() -> DetectorModelSummaryTypeDef:
    return {
        "detectorModelName": ...,
    }
Definition
class DetectorModelSummaryTypeDef(TypedDict):
    detectorModelName: NotRequired[str],
    detectorModelDescription: NotRequired[str],
    creationTime: NotRequired[datetime],

DetectorModelVersionSummaryTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DetectorModelVersionSummaryTypeDef

def get_value() -> DetectorModelVersionSummaryTypeDef:
    return {
        "detectorModelName": ...,
    }
Definition
class DetectorModelVersionSummaryTypeDef(TypedDict):
    detectorModelName: NotRequired[str],
    detectorModelVersion: NotRequired[str],
    detectorModelArn: NotRequired[str],
    roleArn: NotRequired[str],
    creationTime: NotRequired[datetime],
    lastUpdateTime: NotRequired[datetime],
    status: NotRequired[DetectorModelVersionStatusType],  # (1)
    evaluationMethod: NotRequired[EvaluationMethodType],  # (2)
  1. See DetectorModelVersionStatusType
  2. See EvaluationMethodType

PayloadTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import PayloadTypeDef

def get_value() -> PayloadTypeDef:
    return {
        "contentExpression": ...,
        "type": ...,
    }
Definition
class PayloadTypeDef(TypedDict):
    contentExpression: str,
    type: PayloadTypeType,  # (1)
  1. See PayloadTypeType

EmailContentTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import EmailContentTypeDef

def get_value() -> EmailContentTypeDef:
    return {
        "subject": ...,
    }
Definition
class EmailContentTypeDef(TypedDict):
    subject: NotRequired[str],
    additionalMessage: NotRequired[str],

GetDetectorModelAnalysisResultsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import GetDetectorModelAnalysisResultsRequestRequestTypeDef

def get_value() -> GetDetectorModelAnalysisResultsRequestRequestTypeDef:
    return {
        "analysisId": ...,
    }
Definition
class GetDetectorModelAnalysisResultsRequestRequestTypeDef(TypedDict):
    analysisId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

IotEventsInputIdentifierTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import IotEventsInputIdentifierTypeDef

def get_value() -> IotEventsInputIdentifierTypeDef:
    return {
        "inputName": ...,
    }
Definition
class IotEventsInputIdentifierTypeDef(TypedDict):
    inputName: str,

InputSummaryTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import InputSummaryTypeDef

def get_value() -> InputSummaryTypeDef:
    return {
        "inputName": ...,
    }
Definition
class InputSummaryTypeDef(TypedDict):
    inputName: NotRequired[str],
    inputDescription: NotRequired[str],
    inputArn: NotRequired[str],
    creationTime: NotRequired[datetime],
    lastUpdateTime: NotRequired[datetime],
    status: NotRequired[InputStatusType],  # (1)
  1. See InputStatusType

IotSiteWiseAssetModelPropertyIdentifierTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import IotSiteWiseAssetModelPropertyIdentifierTypeDef

def get_value() -> IotSiteWiseAssetModelPropertyIdentifierTypeDef:
    return {
        "assetModelId": ...,
        "propertyId": ...,
    }
Definition
class IotSiteWiseAssetModelPropertyIdentifierTypeDef(TypedDict):
    assetModelId: str,
    propertyId: str,

ListAlarmModelVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListAlarmModelVersionsRequestRequestTypeDef

def get_value() -> ListAlarmModelVersionsRequestRequestTypeDef:
    return {
        "alarmModelName": ...,
    }
Definition
class ListAlarmModelVersionsRequestRequestTypeDef(TypedDict):
    alarmModelName: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListAlarmModelsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListAlarmModelsRequestRequestTypeDef

def get_value() -> ListAlarmModelsRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListAlarmModelsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListDetectorModelVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListDetectorModelVersionsRequestRequestTypeDef

def get_value() -> ListDetectorModelVersionsRequestRequestTypeDef:
    return {
        "detectorModelName": ...,
    }
Definition
class ListDetectorModelVersionsRequestRequestTypeDef(TypedDict):
    detectorModelName: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListDetectorModelsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListDetectorModelsRequestRequestTypeDef

def get_value() -> ListDetectorModelsRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListDetectorModelsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

RoutedResourceTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import RoutedResourceTypeDef

def get_value() -> RoutedResourceTypeDef:
    return {
        "name": ...,
    }
Definition
class RoutedResourceTypeDef(TypedDict):
    name: NotRequired[str],
    arn: NotRequired[str],

ListInputsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListInputsRequestRequestTypeDef

def get_value() -> ListInputsRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListInputsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

SSOIdentityTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import SSOIdentityTypeDef

def get_value() -> SSOIdentityTypeDef:
    return {
        "identityStoreId": ...,
    }
Definition
class SSOIdentityTypeDef(TypedDict):
    identityStoreId: str,
    userId: NotRequired[str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

AlarmCapabilitiesTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AlarmCapabilitiesTypeDef

def get_value() -> AlarmCapabilitiesTypeDef:
    return {
        "initializationConfiguration": ...,
    }
Definition
class AlarmCapabilitiesTypeDef(TypedDict):
    initializationConfiguration: NotRequired[InitializationConfigurationTypeDef],  # (1)
    acknowledgeFlow: NotRequired[AcknowledgeFlowTypeDef],  # (2)
  1. See InitializationConfigurationTypeDef
  2. See AcknowledgeFlowTypeDef

AlarmRuleTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AlarmRuleTypeDef

def get_value() -> AlarmRuleTypeDef:
    return {
        "simpleRule": ...,
    }
Definition
class AlarmRuleTypeDef(TypedDict):
    simpleRule: NotRequired[SimpleRuleTypeDef],  # (1)
  1. See SimpleRuleTypeDef

AnalysisResultTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AnalysisResultTypeDef

def get_value() -> AnalysisResultTypeDef:
    return {
        "type": ...,
    }
Definition
class AnalysisResultTypeDef(TypedDict):
    type: NotRequired[str],
    level: NotRequired[AnalysisResultLevelType],  # (1)
    message: NotRequired[str],
    locations: NotRequired[List[AnalysisResultLocationTypeDef]],  # (2)
  1. See AnalysisResultLevelType
  2. See AnalysisResultLocationTypeDef

AssetPropertyValueTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AssetPropertyValueTypeDef

def get_value() -> AssetPropertyValueTypeDef:
    return {
        "value": ...,
    }
Definition
class AssetPropertyValueTypeDef(TypedDict):
    value: NotRequired[AssetPropertyVariantTypeDef],  # (1)
    timestamp: NotRequired[AssetPropertyTimestampTypeDef],  # (2)
    quality: NotRequired[str],
  1. See AssetPropertyVariantTypeDef
  2. See AssetPropertyTimestampTypeDef

InputDefinitionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import InputDefinitionTypeDef

def get_value() -> InputDefinitionTypeDef:
    return {
        "attributes": ...,
    }
Definition
class InputDefinitionTypeDef(TypedDict):
    attributes: Sequence[AttributeTypeDef],  # (1)
  1. See AttributeTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateAlarmModelResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import CreateAlarmModelResponseTypeDef

def get_value() -> CreateAlarmModelResponseTypeDef:
    return {
        "creationTime": ...,
        "alarmModelArn": ...,
        "alarmModelVersion": ...,
        "lastUpdateTime": ...,
        "status": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAlarmModelResponseTypeDef(TypedDict):
    creationTime: datetime,
    alarmModelArn: str,
    alarmModelVersion: str,
    lastUpdateTime: datetime,
    status: AlarmModelVersionStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlarmModelVersionStatusType
  2. See ResponseMetadataTypeDef

DescribeDetectorModelAnalysisResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeDetectorModelAnalysisResponseTypeDef

def get_value() -> DescribeDetectorModelAnalysisResponseTypeDef:
    return {
        "status": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDetectorModelAnalysisResponseTypeDef(TypedDict):
    status: AnalysisStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalysisStatusType
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAlarmModelVersionsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListAlarmModelVersionsResponseTypeDef

def get_value() -> ListAlarmModelVersionsResponseTypeDef:
    return {
        "alarmModelVersionSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAlarmModelVersionsResponseTypeDef(TypedDict):
    alarmModelVersionSummaries: List[AlarmModelVersionSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlarmModelVersionSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListAlarmModelsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListAlarmModelsResponseTypeDef

def get_value() -> ListAlarmModelsResponseTypeDef:
    return {
        "alarmModelSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAlarmModelsResponseTypeDef(TypedDict):
    alarmModelSummaries: List[AlarmModelSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlarmModelSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

StartDetectorModelAnalysisResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import StartDetectorModelAnalysisResponseTypeDef

def get_value() -> StartDetectorModelAnalysisResponseTypeDef:
    return {
        "analysisId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartDetectorModelAnalysisResponseTypeDef(TypedDict):
    analysisId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateAlarmModelResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import UpdateAlarmModelResponseTypeDef

def get_value() -> UpdateAlarmModelResponseTypeDef:
    return {
        "creationTime": ...,
        "alarmModelArn": ...,
        "alarmModelVersion": ...,
        "lastUpdateTime": ...,
        "status": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateAlarmModelResponseTypeDef(TypedDict):
    creationTime: datetime,
    alarmModelArn: str,
    alarmModelVersion: str,
    lastUpdateTime: datetime,
    status: AlarmModelVersionStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlarmModelVersionStatusType
  2. See ResponseMetadataTypeDef

CreateDetectorModelResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import CreateDetectorModelResponseTypeDef

def get_value() -> CreateDetectorModelResponseTypeDef:
    return {
        "detectorModelConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDetectorModelResponseTypeDef(TypedDict):
    detectorModelConfiguration: DetectorModelConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DetectorModelConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateDetectorModelResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import UpdateDetectorModelResponseTypeDef

def get_value() -> UpdateDetectorModelResponseTypeDef:
    return {
        "detectorModelConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateDetectorModelResponseTypeDef(TypedDict):
    detectorModelConfiguration: DetectorModelConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DetectorModelConfigurationTypeDef
  2. See ResponseMetadataTypeDef

CreateInputResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import CreateInputResponseTypeDef

def get_value() -> CreateInputResponseTypeDef:
    return {
        "inputConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateInputResponseTypeDef(TypedDict):
    inputConfiguration: InputConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InputConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateInputResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import UpdateInputResponseTypeDef

def get_value() -> UpdateInputResponseTypeDef:
    return {
        "inputConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateInputResponseTypeDef(TypedDict):
    inputConfiguration: InputConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InputConfigurationTypeDef
  2. See ResponseMetadataTypeDef

LoggingOptionsTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import LoggingOptionsTypeDef

def get_value() -> LoggingOptionsTypeDef:
    return {
        "roleArn": ...,
        "level": ...,
        "enabled": ...,
    }
Definition
class LoggingOptionsTypeDef(TypedDict):
    roleArn: str,
    level: LoggingLevelType,  # (1)
    enabled: bool,
    detectorDebugOptions: NotRequired[List[DetectorDebugOptionTypeDef]],  # (2)
  1. See LoggingLevelType
  2. See DetectorDebugOptionTypeDef

ListDetectorModelsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListDetectorModelsResponseTypeDef

def get_value() -> ListDetectorModelsResponseTypeDef:
    return {
        "detectorModelSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDetectorModelsResponseTypeDef(TypedDict):
    detectorModelSummaries: List[DetectorModelSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DetectorModelSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListDetectorModelVersionsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListDetectorModelVersionsResponseTypeDef

def get_value() -> ListDetectorModelVersionsResponseTypeDef:
    return {
        "detectorModelVersionSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDetectorModelVersionsResponseTypeDef(TypedDict):
    detectorModelVersionSummaries: List[DetectorModelVersionSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DetectorModelVersionSummaryTypeDef
  2. See ResponseMetadataTypeDef

DynamoDBActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DynamoDBActionTypeDef

def get_value() -> DynamoDBActionTypeDef:
    return {
        "hashKeyField": ...,
        "hashKeyValue": ...,
        "tableName": ...,
    }
Definition
class DynamoDBActionTypeDef(TypedDict):
    hashKeyField: str,
    hashKeyValue: str,
    tableName: str,
    hashKeyType: NotRequired[str],
    rangeKeyType: NotRequired[str],
    rangeKeyField: NotRequired[str],
    rangeKeyValue: NotRequired[str],
    operation: NotRequired[str],
    payloadField: NotRequired[str],
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

DynamoDBv2ActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DynamoDBv2ActionTypeDef

def get_value() -> DynamoDBv2ActionTypeDef:
    return {
        "tableName": ...,
    }
Definition
class DynamoDBv2ActionTypeDef(TypedDict):
    tableName: str,
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

FirehoseActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import FirehoseActionTypeDef

def get_value() -> FirehoseActionTypeDef:
    return {
        "deliveryStreamName": ...,
    }
Definition
class FirehoseActionTypeDef(TypedDict):
    deliveryStreamName: str,
    separator: NotRequired[str],
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

IotEventsActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import IotEventsActionTypeDef

def get_value() -> IotEventsActionTypeDef:
    return {
        "inputName": ...,
    }
Definition
class IotEventsActionTypeDef(TypedDict):
    inputName: str,
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

IotTopicPublishActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import IotTopicPublishActionTypeDef

def get_value() -> IotTopicPublishActionTypeDef:
    return {
        "mqttTopic": ...,
    }
Definition
class IotTopicPublishActionTypeDef(TypedDict):
    mqttTopic: str,
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

LambdaActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import LambdaActionTypeDef

def get_value() -> LambdaActionTypeDef:
    return {
        "functionArn": ...,
    }
Definition
class LambdaActionTypeDef(TypedDict):
    functionArn: str,
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

SNSTopicPublishActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import SNSTopicPublishActionTypeDef

def get_value() -> SNSTopicPublishActionTypeDef:
    return {
        "targetArn": ...,
    }
Definition
class SNSTopicPublishActionTypeDef(TypedDict):
    targetArn: str,
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

SqsActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import SqsActionTypeDef

def get_value() -> SqsActionTypeDef:
    return {
        "queueUrl": ...,
    }
Definition
class SqsActionTypeDef(TypedDict):
    queueUrl: str,
    useBase64: NotRequired[bool],
    payload: NotRequired[PayloadTypeDef],  # (1)
  1. See PayloadTypeDef

ListInputsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListInputsResponseTypeDef

def get_value() -> ListInputsResponseTypeDef:
    return {
        "inputSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInputsResponseTypeDef(TypedDict):
    inputSummaries: List[InputSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InputSummaryTypeDef
  2. See ResponseMetadataTypeDef

IotSiteWiseInputIdentifierTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import IotSiteWiseInputIdentifierTypeDef

def get_value() -> IotSiteWiseInputIdentifierTypeDef:
    return {
        "iotSiteWiseAssetModelPropertyIdentifier": ...,
    }
Definition
class IotSiteWiseInputIdentifierTypeDef(TypedDict):
    iotSiteWiseAssetModelPropertyIdentifier: NotRequired[IotSiteWiseAssetModelPropertyIdentifierTypeDef],  # (1)
  1. See IotSiteWiseAssetModelPropertyIdentifierTypeDef

ListInputRoutingsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListInputRoutingsResponseTypeDef

def get_value() -> ListInputRoutingsResponseTypeDef:
    return {
        "routedResources": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInputRoutingsResponseTypeDef(TypedDict):
    routedResources: List[RoutedResourceTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RoutedResourceTypeDef
  2. See ResponseMetadataTypeDef

RecipientDetailTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import RecipientDetailTypeDef

def get_value() -> RecipientDetailTypeDef:
    return {
        "ssoIdentity": ...,
    }
Definition
class RecipientDetailTypeDef(TypedDict):
    ssoIdentity: NotRequired[SSOIdentityTypeDef],  # (1)
  1. See SSOIdentityTypeDef

GetDetectorModelAnalysisResultsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import GetDetectorModelAnalysisResultsResponseTypeDef

def get_value() -> GetDetectorModelAnalysisResultsResponseTypeDef:
    return {
        "analysisResults": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDetectorModelAnalysisResultsResponseTypeDef(TypedDict):
    analysisResults: List[AnalysisResultTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalysisResultTypeDef
  2. See ResponseMetadataTypeDef

IotSiteWiseActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import IotSiteWiseActionTypeDef

def get_value() -> IotSiteWiseActionTypeDef:
    return {
        "entryId": ...,
    }
Definition
class IotSiteWiseActionTypeDef(TypedDict):
    entryId: NotRequired[str],
    assetId: NotRequired[str],
    propertyId: NotRequired[str],
    propertyAlias: NotRequired[str],
    propertyValue: NotRequired[AssetPropertyValueTypeDef],  # (1)
  1. See AssetPropertyValueTypeDef

CreateInputRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import CreateInputRequestRequestTypeDef

def get_value() -> CreateInputRequestRequestTypeDef:
    return {
        "inputName": ...,
        "inputDefinition": ...,
    }
Definition
class CreateInputRequestRequestTypeDef(TypedDict):
    inputName: str,
    inputDefinition: InputDefinitionTypeDef,  # (1)
    inputDescription: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See InputDefinitionTypeDef
  2. See TagTypeDef

InputTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import InputTypeDef

def get_value() -> InputTypeDef:
    return {
        "inputConfiguration": ...,
    }
Definition
class InputTypeDef(TypedDict):
    inputConfiguration: NotRequired[InputConfigurationTypeDef],  # (1)
    inputDefinition: NotRequired[InputDefinitionTypeDef],  # (2)
  1. See InputConfigurationTypeDef
  2. See InputDefinitionTypeDef

UpdateInputRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import UpdateInputRequestRequestTypeDef

def get_value() -> UpdateInputRequestRequestTypeDef:
    return {
        "inputName": ...,
        "inputDefinition": ...,
    }
Definition
class UpdateInputRequestRequestTypeDef(TypedDict):
    inputName: str,
    inputDefinition: InputDefinitionTypeDef,  # (1)
    inputDescription: NotRequired[str],
  1. See InputDefinitionTypeDef

DescribeLoggingOptionsResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeLoggingOptionsResponseTypeDef

def get_value() -> DescribeLoggingOptionsResponseTypeDef:
    return {
        "loggingOptions": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLoggingOptionsResponseTypeDef(TypedDict):
    loggingOptions: LoggingOptionsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingOptionsTypeDef
  2. See ResponseMetadataTypeDef

PutLoggingOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import PutLoggingOptionsRequestRequestTypeDef

def get_value() -> PutLoggingOptionsRequestRequestTypeDef:
    return {
        "loggingOptions": ...,
    }
Definition
class PutLoggingOptionsRequestRequestTypeDef(TypedDict):
    loggingOptions: LoggingOptionsTypeDef,  # (1)
  1. See LoggingOptionsTypeDef

NotificationTargetActionsTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import NotificationTargetActionsTypeDef

def get_value() -> NotificationTargetActionsTypeDef:
    return {
        "lambdaAction": ...,
    }
Definition
class NotificationTargetActionsTypeDef(TypedDict):
    lambdaAction: NotRequired[LambdaActionTypeDef],  # (1)
  1. See LambdaActionTypeDef

InputIdentifierTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import InputIdentifierTypeDef

def get_value() -> InputIdentifierTypeDef:
    return {
        "iotEventsInputIdentifier": ...,
    }
Definition
class InputIdentifierTypeDef(TypedDict):
    iotEventsInputIdentifier: NotRequired[IotEventsInputIdentifierTypeDef],  # (1)
    iotSiteWiseInputIdentifier: NotRequired[IotSiteWiseInputIdentifierTypeDef],  # (2)
  1. See IotEventsInputIdentifierTypeDef
  2. See IotSiteWiseInputIdentifierTypeDef

EmailRecipientsTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import EmailRecipientsTypeDef

def get_value() -> EmailRecipientsTypeDef:
    return {
        "to": ...,
    }
Definition
class EmailRecipientsTypeDef(TypedDict):
    to: NotRequired[Sequence[RecipientDetailTypeDef]],  # (1)
  1. See RecipientDetailTypeDef

SMSConfigurationTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import SMSConfigurationTypeDef

def get_value() -> SMSConfigurationTypeDef:
    return {
        "recipients": ...,
    }
Definition
class SMSConfigurationTypeDef(TypedDict):
    recipients: Sequence[RecipientDetailTypeDef],  # (1)
    senderId: NotRequired[str],
    additionalMessage: NotRequired[str],
  1. See RecipientDetailTypeDef

ActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ActionTypeDef

def get_value() -> ActionTypeDef:
    return {
        "setVariable": ...,
    }
Definition
class ActionTypeDef(TypedDict):
    setVariable: NotRequired[SetVariableActionTypeDef],  # (1)
    sns: NotRequired[SNSTopicPublishActionTypeDef],  # (2)
    iotTopicPublish: NotRequired[IotTopicPublishActionTypeDef],  # (3)
    setTimer: NotRequired[SetTimerActionTypeDef],  # (4)
    clearTimer: NotRequired[ClearTimerActionTypeDef],  # (5)
    resetTimer: NotRequired[ResetTimerActionTypeDef],  # (6)
    lambda: NotRequired[LambdaActionTypeDef],  # (7)
    iotEvents: NotRequired[IotEventsActionTypeDef],  # (8)
    sqs: NotRequired[SqsActionTypeDef],  # (9)
    firehose: NotRequired[FirehoseActionTypeDef],  # (10)
    dynamoDB: NotRequired[DynamoDBActionTypeDef],  # (11)
    dynamoDBv2: NotRequired[DynamoDBv2ActionTypeDef],  # (12)
    iotSiteWise: NotRequired[IotSiteWiseActionTypeDef],  # (13)
  1. See SetVariableActionTypeDef
  2. See SNSTopicPublishActionTypeDef
  3. See IotTopicPublishActionTypeDef
  4. See SetTimerActionTypeDef
  5. See ClearTimerActionTypeDef
  6. See ResetTimerActionTypeDef
  7. See LambdaActionTypeDef
  8. See IotEventsActionTypeDef
  9. See SqsActionTypeDef
  10. See FirehoseActionTypeDef
  11. See DynamoDBActionTypeDef
  12. See DynamoDBv2ActionTypeDef
  13. See IotSiteWiseActionTypeDef

AlarmActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AlarmActionTypeDef

def get_value() -> AlarmActionTypeDef:
    return {
        "sns": ...,
    }
Definition
class AlarmActionTypeDef(TypedDict):
    sns: NotRequired[SNSTopicPublishActionTypeDef],  # (1)
    iotTopicPublish: NotRequired[IotTopicPublishActionTypeDef],  # (2)
    lambda: NotRequired[LambdaActionTypeDef],  # (3)
    iotEvents: NotRequired[IotEventsActionTypeDef],  # (4)
    sqs: NotRequired[SqsActionTypeDef],  # (5)
    firehose: NotRequired[FirehoseActionTypeDef],  # (6)
    dynamoDB: NotRequired[DynamoDBActionTypeDef],  # (7)
    dynamoDBv2: NotRequired[DynamoDBv2ActionTypeDef],  # (8)
    iotSiteWise: NotRequired[IotSiteWiseActionTypeDef],  # (9)
  1. See SNSTopicPublishActionTypeDef
  2. See IotTopicPublishActionTypeDef
  3. See LambdaActionTypeDef
  4. See IotEventsActionTypeDef
  5. See SqsActionTypeDef
  6. See FirehoseActionTypeDef
  7. See DynamoDBActionTypeDef
  8. See DynamoDBv2ActionTypeDef
  9. See IotSiteWiseActionTypeDef

DescribeInputResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeInputResponseTypeDef

def get_value() -> DescribeInputResponseTypeDef:
    return {
        "input": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInputResponseTypeDef(TypedDict):
    input: InputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InputTypeDef
  2. See ResponseMetadataTypeDef

ListInputRoutingsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import ListInputRoutingsRequestRequestTypeDef

def get_value() -> ListInputRoutingsRequestRequestTypeDef:
    return {
        "inputIdentifier": ...,
    }
Definition
class ListInputRoutingsRequestRequestTypeDef(TypedDict):
    inputIdentifier: InputIdentifierTypeDef,  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See InputIdentifierTypeDef

EmailConfigurationTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import EmailConfigurationTypeDef

def get_value() -> EmailConfigurationTypeDef:
    return {
        "from": ...,
        "recipients": ...,
    }
Definition
class EmailConfigurationTypeDef(TypedDict):
    from: str,
    recipients: EmailRecipientsTypeDef,  # (2)
    content: NotRequired[EmailContentTypeDef],  # (1)
  1. See EmailContentTypeDef
  2. See EmailRecipientsTypeDef

EventTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import EventTypeDef

def get_value() -> EventTypeDef:
    return {
        "eventName": ...,
    }
Definition
class EventTypeDef(TypedDict):
    eventName: str,
    condition: NotRequired[str],
    actions: NotRequired[Sequence[ActionTypeDef]],  # (1)
  1. See ActionTypeDef

TransitionEventTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import TransitionEventTypeDef

def get_value() -> TransitionEventTypeDef:
    return {
        "eventName": ...,
        "condition": ...,
        "nextState": ...,
    }
Definition
class TransitionEventTypeDef(TypedDict):
    eventName: str,
    condition: str,
    nextState: str,
    actions: NotRequired[Sequence[ActionTypeDef]],  # (1)
  1. See ActionTypeDef

AlarmEventActionsTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AlarmEventActionsTypeDef

def get_value() -> AlarmEventActionsTypeDef:
    return {
        "alarmActions": ...,
    }
Definition
class AlarmEventActionsTypeDef(TypedDict):
    alarmActions: NotRequired[Sequence[AlarmActionTypeDef]],  # (1)
  1. See AlarmActionTypeDef

NotificationActionTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import NotificationActionTypeDef

def get_value() -> NotificationActionTypeDef:
    return {
        "action": ...,
    }
Definition
class NotificationActionTypeDef(TypedDict):
    action: NotificationTargetActionsTypeDef,  # (1)
    smsConfigurations: NotRequired[Sequence[SMSConfigurationTypeDef]],  # (2)
    emailConfigurations: NotRequired[Sequence[EmailConfigurationTypeDef]],  # (3)
  1. See NotificationTargetActionsTypeDef
  2. See SMSConfigurationTypeDef
  3. See EmailConfigurationTypeDef

OnEnterLifecycleTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import OnEnterLifecycleTypeDef

def get_value() -> OnEnterLifecycleTypeDef:
    return {
        "events": ...,
    }
Definition
class OnEnterLifecycleTypeDef(TypedDict):
    events: NotRequired[Sequence[EventTypeDef]],  # (1)
  1. See EventTypeDef

OnExitLifecycleTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import OnExitLifecycleTypeDef

def get_value() -> OnExitLifecycleTypeDef:
    return {
        "events": ...,
    }
Definition
class OnExitLifecycleTypeDef(TypedDict):
    events: NotRequired[Sequence[EventTypeDef]],  # (1)
  1. See EventTypeDef

OnInputLifecycleTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import OnInputLifecycleTypeDef

def get_value() -> OnInputLifecycleTypeDef:
    return {
        "events": ...,
    }
Definition
class OnInputLifecycleTypeDef(TypedDict):
    events: NotRequired[Sequence[EventTypeDef]],  # (1)
    transitionEvents: NotRequired[Sequence[TransitionEventTypeDef]],  # (2)
  1. See EventTypeDef
  2. See TransitionEventTypeDef

AlarmNotificationTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import AlarmNotificationTypeDef

def get_value() -> AlarmNotificationTypeDef:
    return {
        "notificationActions": ...,
    }
Definition
class AlarmNotificationTypeDef(TypedDict):
    notificationActions: NotRequired[Sequence[NotificationActionTypeDef]],  # (1)
  1. See NotificationActionTypeDef

StateTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import StateTypeDef

def get_value() -> StateTypeDef:
    return {
        "stateName": ...,
    }
Definition
class StateTypeDef(TypedDict):
    stateName: str,
    onInput: NotRequired[OnInputLifecycleTypeDef],  # (1)
    onEnter: NotRequired[OnEnterLifecycleTypeDef],  # (2)
    onExit: NotRequired[OnExitLifecycleTypeDef],  # (3)
  1. See OnInputLifecycleTypeDef
  2. See OnEnterLifecycleTypeDef
  3. See OnExitLifecycleTypeDef

CreateAlarmModelRequestRequestTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import CreateAlarmModelRequestRequestTypeDef

def get_value() -> CreateAlarmModelRequestRequestTypeDef:
    return {
        "alarmModelName": ...,
        "roleArn": ...,
        "alarmRule": ...,
    }
Definition
class CreateAlarmModelRequestRequestTypeDef(TypedDict):
    alarmModelName: str,
    roleArn: str,
    alarmRule: AlarmRuleTypeDef,  # (1)
    alarmModelDescription: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    key: NotRequired[str],
    severity: NotRequired[int],
    alarmNotification: NotRequired[AlarmNotificationTypeDef],  # (3)
    alarmEventActions: NotRequired[AlarmEventActionsTypeDef],  # (4)
    alarmCapabilities: NotRequired[AlarmCapabilitiesTypeDef],  # (5)
  1. See AlarmRuleTypeDef
  2. See TagTypeDef
  3. See AlarmNotificationTypeDef
  4. See AlarmEventActionsTypeDef
  5. See AlarmCapabilitiesTypeDef

DescribeAlarmModelResponseTypeDef

Usage Example
from mypy_boto3_iotevents.type_defs import DescribeAlarmModelResponseTypeDef

def get_value() -> DescribeAlarmModelResponseTypeDef:
    return {
        "creationTime": ...,
        "alarmModelArn": ...,
        "alarmModelVersion": ...,
        "lastUpdateTime": ...,
        "status": ...,
        "statusMessage": ...,
        "alarmModelName": ...,
        "alarmModelDescription": ...,
        "roleArn": ...,
        "key": ...,
        "severity": ...,
        "alarmRule": ...,
        "alarmNotification": ...,
        "alarmEventActions": ...,
        "alarmCapabilities": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAlarmModelResponseTypeDef(TypedDict):
    creationTime: datetime,
    alarmModelArn: str,
    alarmModelVersion: str,
    lastUpdateTime: datetime,
    status: AlarmModelVersionStatusType,  # (1)
    statusMessage: str,
    alarmModelName: str,
    alarmModelDescription: str,
    roleArn: str,
    key: str,
    severity: int,
    alarmRule: AlarmRuleTypeDef,  # (2)
    alarmNotification: AlarmNotificationTypeDef,  # (3)
    alarmEventActions: AlarmEventActionsTypeDef,  # (4)
    alarmCapabilities: AlarmCapabilitiesTypeDef,  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See AlarmModelVersionStatusType
  2. See AlarmRuleTypeDef
  3. See AlarmNotificationTypeDef
  4. See