Skip to content

Type definitions#

Index > IoTEvents > Type definitions

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

InputDefinitionUnionTypeDef#

# InputDefinitionUnionTypeDef definition

InputDefinitionUnionTypeDef = Union[
    InputDefinitionTypeDef,  # (1)
    InputDefinitionOutputTypeDef,  # (2)
]
  1. See InputDefinitionTypeDef
  2. See InputDefinitionOutputTypeDef

LoggingOptionsUnionTypeDef#

# LoggingOptionsUnionTypeDef definition

LoggingOptionsUnionTypeDef = Union[
    LoggingOptionsTypeDef,  # (1)
    LoggingOptionsOutputTypeDef,  # (2)
]
  1. See LoggingOptionsTypeDef
  2. See LoggingOptionsOutputTypeDef

AlarmEventActionsUnionTypeDef#

# AlarmEventActionsUnionTypeDef definition

AlarmEventActionsUnionTypeDef = Union[
    AlarmEventActionsTypeDef,  # (1)
    AlarmEventActionsOutputTypeDef,  # (2)
]
  1. See AlarmEventActionsTypeDef
  2. See AlarmEventActionsOutputTypeDef

AlarmNotificationUnionTypeDef#

# AlarmNotificationUnionTypeDef definition

AlarmNotificationUnionTypeDef = Union[
    AlarmNotificationTypeDef,  # (1)
    AlarmNotificationOutputTypeDef,  # (2)
]
  1. See AlarmNotificationTypeDef
  2. See AlarmNotificationOutputTypeDef

DetectorModelDefinitionUnionTypeDef#

# DetectorModelDefinitionUnionTypeDef definition

DetectorModelDefinitionUnionTypeDef = Union[
    DetectorModelDefinitionTypeDef,  # (1)
    DetectorModelDefinitionOutputTypeDef,  # (2)
]
  1. See DetectorModelDefinitionTypeDef
  2. See DetectorModelDefinitionOutputTypeDef

AcknowledgeFlowTypeDef#

# AcknowledgeFlowTypeDef definition

class AcknowledgeFlowTypeDef(TypedDict):
    enabled: bool,

ClearTimerActionTypeDef#

# ClearTimerActionTypeDef definition

class ClearTimerActionTypeDef(TypedDict):
    timerName: str,

ResetTimerActionTypeDef#

# ResetTimerActionTypeDef definition

class ResetTimerActionTypeDef(TypedDict):
    timerName: str,

SetTimerActionTypeDef#

# SetTimerActionTypeDef definition

class SetTimerActionTypeDef(TypedDict):
    timerName: str,
    seconds: NotRequired[int],
    durationExpression: NotRequired[str],

SetVariableActionTypeDef#

# SetVariableActionTypeDef definition

class SetVariableActionTypeDef(TypedDict):
    variableName: str,
    value: str,

InitializationConfigurationTypeDef#

# InitializationConfigurationTypeDef definition

class InitializationConfigurationTypeDef(TypedDict):
    disabledOnInitialization: bool,

AlarmModelSummaryTypeDef#

# AlarmModelSummaryTypeDef definition

class AlarmModelSummaryTypeDef(TypedDict):
    creationTime: NotRequired[datetime],
    alarmModelDescription: NotRequired[str],
    alarmModelName: NotRequired[str],

AlarmModelVersionSummaryTypeDef#

# AlarmModelVersionSummaryTypeDef 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#

# SimpleRuleTypeDef definition

class SimpleRuleTypeDef(TypedDict):
    inputProperty: str,
    comparisonOperator: ComparisonOperatorType,  # (1)
    threshold: str,
  1. See ComparisonOperatorType

AnalysisResultLocationTypeDef#

# AnalysisResultLocationTypeDef definition

class AnalysisResultLocationTypeDef(TypedDict):
    path: NotRequired[str],

AssetPropertyTimestampTypeDef#

# AssetPropertyTimestampTypeDef definition

class AssetPropertyTimestampTypeDef(TypedDict):
    timeInSeconds: str,
    offsetInNanos: NotRequired[str],

AssetPropertyVariantTypeDef#

# AssetPropertyVariantTypeDef definition

class AssetPropertyVariantTypeDef(TypedDict):
    stringValue: NotRequired[str],
    integerValue: NotRequired[str],
    doubleValue: NotRequired[str],
    booleanValue: NotRequired[str],

AttributeTypeDef#

# AttributeTypeDef definition

class AttributeTypeDef(TypedDict):
    jsonPath: str,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: str,
    value: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DetectorModelConfigurationTypeDef#

# DetectorModelConfigurationTypeDef 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#

# InputConfigurationTypeDef definition

class InputConfigurationTypeDef(TypedDict):
    inputName: str,
    inputArn: str,
    creationTime: datetime,
    lastUpdateTime: datetime,
    status: InputStatusType,  # (1)
    inputDescription: NotRequired[str],
  1. See InputStatusType

DeleteAlarmModelRequestRequestTypeDef#

# DeleteAlarmModelRequestRequestTypeDef definition

class DeleteAlarmModelRequestRequestTypeDef(TypedDict):
    alarmModelName: str,

DeleteDetectorModelRequestRequestTypeDef#

# DeleteDetectorModelRequestRequestTypeDef definition

class DeleteDetectorModelRequestRequestTypeDef(TypedDict):
    detectorModelName: str,

DeleteInputRequestRequestTypeDef#

# DeleteInputRequestRequestTypeDef definition

class DeleteInputRequestRequestTypeDef(TypedDict):
    inputName: str,

DescribeAlarmModelRequestRequestTypeDef#

# DescribeAlarmModelRequestRequestTypeDef definition

class DescribeAlarmModelRequestRequestTypeDef(TypedDict):
    alarmModelName: str,
    alarmModelVersion: NotRequired[str],

DescribeDetectorModelAnalysisRequestRequestTypeDef#

# DescribeDetectorModelAnalysisRequestRequestTypeDef definition

class DescribeDetectorModelAnalysisRequestRequestTypeDef(TypedDict):
    analysisId: str,

DescribeDetectorModelRequestRequestTypeDef#

# DescribeDetectorModelRequestRequestTypeDef definition

class DescribeDetectorModelRequestRequestTypeDef(TypedDict):
    detectorModelName: str,
    detectorModelVersion: NotRequired[str],

DescribeInputRequestRequestTypeDef#

# DescribeInputRequestRequestTypeDef definition

class DescribeInputRequestRequestTypeDef(TypedDict):
    inputName: str,

DetectorDebugOptionTypeDef#

# DetectorDebugOptionTypeDef definition

class DetectorDebugOptionTypeDef(TypedDict):
    detectorModelName: str,
    keyValue: NotRequired[str],

DetectorModelSummaryTypeDef