Typed dictionaries#
Index > IoTEventsData > Typed dictionaries
Auto-generated documentation for IoTEventsData type annotations stubs module mypy-boto3-iotevents-data.
AcknowledgeActionConfigurationTypeDef#
# AcknowledgeActionConfigurationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import AcknowledgeActionConfigurationTypeDef
def get_value() -> AcknowledgeActionConfigurationTypeDef:
return {
"note": ...,
}
# AcknowledgeActionConfigurationTypeDef definition
class AcknowledgeActionConfigurationTypeDef(TypedDict):
note: NotRequired[str],
AcknowledgeAlarmActionRequestTypeDef#
# AcknowledgeAlarmActionRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import AcknowledgeAlarmActionRequestTypeDef
def get_value() -> AcknowledgeAlarmActionRequestTypeDef:
return {
"requestId": ...,
"alarmModelName": ...,
}
# AcknowledgeAlarmActionRequestTypeDef definition
class AcknowledgeAlarmActionRequestTypeDef(TypedDict):
requestId: str,
alarmModelName: str,
keyValue: NotRequired[str],
note: NotRequired[str],
AlarmSummaryTypeDef#
# AlarmSummaryTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import AlarmSummaryTypeDef
def get_value() -> AlarmSummaryTypeDef:
return {
"alarmModelName": ...,
}
# AlarmSummaryTypeDef definition
class AlarmSummaryTypeDef(TypedDict):
alarmModelName: NotRequired[str],
alarmModelVersion: NotRequired[str],
keyValue: NotRequired[str],
stateName: NotRequired[AlarmStateNameType], # (1)
creationTime: NotRequired[datetime],
lastUpdateTime: NotRequired[datetime],
BatchAlarmActionErrorEntryTypeDef#
# BatchAlarmActionErrorEntryTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchAlarmActionErrorEntryTypeDef
def get_value() -> BatchAlarmActionErrorEntryTypeDef:
return {
"requestId": ...,
}
# BatchAlarmActionErrorEntryTypeDef definition
class BatchAlarmActionErrorEntryTypeDef(TypedDict):
requestId: NotRequired[str],
errorCode: NotRequired[ErrorCodeType], # (1)
errorMessage: NotRequired[str],
- See ErrorCodeType
BatchDeleteDetectorErrorEntryTypeDef#
# BatchDeleteDetectorErrorEntryTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchDeleteDetectorErrorEntryTypeDef
def get_value() -> BatchDeleteDetectorErrorEntryTypeDef:
return {
"messageId": ...,
}
# BatchDeleteDetectorErrorEntryTypeDef definition
class BatchDeleteDetectorErrorEntryTypeDef(TypedDict):
messageId: NotRequired[str],
errorCode: NotRequired[ErrorCodeType], # (1)
errorMessage: NotRequired[str],
- See ErrorCodeType
DeleteDetectorRequestTypeDef#
# DeleteDetectorRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DeleteDetectorRequestTypeDef
def get_value() -> DeleteDetectorRequestTypeDef:
return {
"messageId": ...,
"detectorModelName": ...,
}
# DeleteDetectorRequestTypeDef definition
class DeleteDetectorRequestTypeDef(TypedDict):
messageId: str,
detectorModelName: str,
keyValue: NotRequired[str],
DisableAlarmActionRequestTypeDef#
# DisableAlarmActionRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DisableAlarmActionRequestTypeDef
def get_value() -> DisableAlarmActionRequestTypeDef:
return {
"requestId": ...,
"alarmModelName": ...,
}
# DisableAlarmActionRequestTypeDef definition
class DisableAlarmActionRequestTypeDef(TypedDict):
requestId: str,
alarmModelName: str,
keyValue: NotRequired[str],
note: NotRequired[str],
EnableAlarmActionRequestTypeDef#
# EnableAlarmActionRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import EnableAlarmActionRequestTypeDef
def get_value() -> EnableAlarmActionRequestTypeDef:
return {
"requestId": ...,
"alarmModelName": ...,
}
# EnableAlarmActionRequestTypeDef definition
class EnableAlarmActionRequestTypeDef(TypedDict):
requestId: str,
alarmModelName: str,
keyValue: NotRequired[str],
note: NotRequired[str],
BatchPutMessageErrorEntryTypeDef#
# BatchPutMessageErrorEntryTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchPutMessageErrorEntryTypeDef
def get_value() -> BatchPutMessageErrorEntryTypeDef:
return {
"messageId": ...,
}
# BatchPutMessageErrorEntryTypeDef definition
class BatchPutMessageErrorEntryTypeDef(TypedDict):
messageId: NotRequired[str],
errorCode: NotRequired[ErrorCodeType], # (1)
errorMessage: NotRequired[str],
- See ErrorCodeType
ResetAlarmActionRequestTypeDef#
# ResetAlarmActionRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import ResetAlarmActionRequestTypeDef
def get_value() -> ResetAlarmActionRequestTypeDef:
return {
"requestId": ...,
"alarmModelName": ...,
}
# ResetAlarmActionRequestTypeDef definition
class ResetAlarmActionRequestTypeDef(TypedDict):
requestId: str,
alarmModelName: str,
keyValue: NotRequired[str],
note: NotRequired[str],
SnoozeAlarmActionRequestTypeDef#
# SnoozeAlarmActionRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import SnoozeAlarmActionRequestTypeDef
def get_value() -> SnoozeAlarmActionRequestTypeDef:
return {
"requestId": ...,
"alarmModelName": ...,
"snoozeDuration": ...,
}
# SnoozeAlarmActionRequestTypeDef definition
class SnoozeAlarmActionRequestTypeDef(TypedDict):
requestId: str,
alarmModelName: str,
snoozeDuration: int,
keyValue: NotRequired[str],
note: NotRequired[str],
BatchUpdateDetectorErrorEntryTypeDef#
# BatchUpdateDetectorErrorEntryTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchUpdateDetectorErrorEntryTypeDef
def get_value() -> BatchUpdateDetectorErrorEntryTypeDef:
return {
"messageId": ...,
}
# BatchUpdateDetectorErrorEntryTypeDef definition
class BatchUpdateDetectorErrorEntryTypeDef(TypedDict):
messageId: NotRequired[str],
errorCode: NotRequired[ErrorCodeType], # (1)
errorMessage: NotRequired[str],
- See ErrorCodeType
DisableActionConfigurationTypeDef#
# DisableActionConfigurationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DisableActionConfigurationTypeDef
def get_value() -> DisableActionConfigurationTypeDef:
return {
"note": ...,
}
# DisableActionConfigurationTypeDef definition
class DisableActionConfigurationTypeDef(TypedDict):
note: NotRequired[str],
EnableActionConfigurationTypeDef#
# EnableActionConfigurationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import EnableActionConfigurationTypeDef
def get_value() -> EnableActionConfigurationTypeDef:
return {
"note": ...,
}
# EnableActionConfigurationTypeDef definition
class EnableActionConfigurationTypeDef(TypedDict):
note: NotRequired[str],
ResetActionConfigurationTypeDef#
# ResetActionConfigurationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import ResetActionConfigurationTypeDef
def get_value() -> ResetActionConfigurationTypeDef:
return {
"note": ...,
}
# ResetActionConfigurationTypeDef definition
class ResetActionConfigurationTypeDef(TypedDict):
note: NotRequired[str],
SnoozeActionConfigurationTypeDef#
# SnoozeActionConfigurationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import SnoozeActionConfigurationTypeDef
def get_value() -> SnoozeActionConfigurationTypeDef:
return {
"snoozeDuration": ...,
}
# SnoozeActionConfigurationTypeDef definition
class SnoozeActionConfigurationTypeDef(TypedDict):
snoozeDuration: NotRequired[int],
note: NotRequired[str],
DescribeAlarmRequestRequestTypeDef#
# DescribeAlarmRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DescribeAlarmRequestRequestTypeDef
def get_value() -> DescribeAlarmRequestRequestTypeDef:
return {
"alarmModelName": ...,
}
# DescribeAlarmRequestRequestTypeDef definition
class DescribeAlarmRequestRequestTypeDef(TypedDict):
alarmModelName: str,
keyValue: NotRequired[str],
DescribeDetectorRequestRequestTypeDef#
# DescribeDetectorRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DescribeDetectorRequestRequestTypeDef
def get_value() -> DescribeDetectorRequestRequestTypeDef:
return {
"detectorModelName": ...,
}
# DescribeDetectorRequestRequestTypeDef definition
class DescribeDetectorRequestRequestTypeDef(TypedDict):
detectorModelName: str,
keyValue: NotRequired[str],
TimerDefinitionTypeDef#
# TimerDefinitionTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import TimerDefinitionTypeDef
def get_value() -> TimerDefinitionTypeDef:
return {
"name": ...,
"seconds": ...,
}
# TimerDefinitionTypeDef definition
class TimerDefinitionTypeDef(TypedDict):
name: str,
seconds: int,
VariableDefinitionTypeDef#
# VariableDefinitionTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import VariableDefinitionTypeDef
def get_value() -> VariableDefinitionTypeDef:
return {
"name": ...,
"value": ...,
}
# VariableDefinitionTypeDef definition
class VariableDefinitionTypeDef(TypedDict):
name: str,
value: str,
DetectorStateSummaryTypeDef#
# DetectorStateSummaryTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DetectorStateSummaryTypeDef
def get_value() -> DetectorStateSummaryTypeDef:
return {
"stateName": ...,
}
# DetectorStateSummaryTypeDef definition
class DetectorStateSummaryTypeDef(TypedDict):
stateName: NotRequired[str],
TimerTypeDef#
# TimerTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import TimerTypeDef
def get_value() -> TimerTypeDef:
return {
"name": ...,
"timestamp": ...,
}
# TimerTypeDef definition
class TimerTypeDef(TypedDict):
name: str,
timestamp: datetime,
VariableTypeDef#
# VariableTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import VariableTypeDef
def get_value() -> VariableTypeDef:
return {
"name": ...,
"value": ...,
}
# VariableTypeDef definition
class VariableTypeDef(TypedDict):
name: str,
value: str,
ListAlarmsRequestRequestTypeDef#
# ListAlarmsRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import ListAlarmsRequestRequestTypeDef
def get_value() -> ListAlarmsRequestRequestTypeDef:
return {
"alarmModelName": ...,
}
# ListAlarmsRequestRequestTypeDef definition
class ListAlarmsRequestRequestTypeDef(TypedDict):
alarmModelName: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListDetectorsRequestRequestTypeDef#
# ListDetectorsRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import ListDetectorsRequestRequestTypeDef
def get_value() -> ListDetectorsRequestRequestTypeDef:
return {
"detectorModelName": ...,
}
# ListDetectorsRequestRequestTypeDef definition
class ListDetectorsRequestRequestTypeDef(TypedDict):
detectorModelName: str,
stateName: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
TimestampValueTypeDef#
# TimestampValueTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import TimestampValueTypeDef
def get_value() -> TimestampValueTypeDef:
return {
"timeInMillis": ...,
}
# TimestampValueTypeDef definition
class TimestampValueTypeDef(TypedDict):
timeInMillis: NotRequired[int],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
SimpleRuleEvaluationTypeDef#
# SimpleRuleEvaluationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import SimpleRuleEvaluationTypeDef
def get_value() -> SimpleRuleEvaluationTypeDef:
return {
"inputPropertyValue": ...,
}
# SimpleRuleEvaluationTypeDef definition
class SimpleRuleEvaluationTypeDef(TypedDict):
inputPropertyValue: NotRequired[str],
operator: NotRequired[ComparisonOperatorType], # (1)
thresholdValue: NotRequired[str],
StateChangeConfigurationTypeDef#
# StateChangeConfigurationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import StateChangeConfigurationTypeDef
def get_value() -> StateChangeConfigurationTypeDef:
return {
"triggerType": ...,
}
# StateChangeConfigurationTypeDef definition
class StateChangeConfigurationTypeDef(TypedDict):
triggerType: NotRequired[TriggerTypeType], # (1)
- See TriggerTypeType
BatchAcknowledgeAlarmRequestRequestTypeDef#
# BatchAcknowledgeAlarmRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchAcknowledgeAlarmRequestRequestTypeDef
def get_value() -> BatchAcknowledgeAlarmRequestRequestTypeDef:
return {
"acknowledgeActionRequests": ...,
}
# BatchAcknowledgeAlarmRequestRequestTypeDef definition
class BatchAcknowledgeAlarmRequestRequestTypeDef(TypedDict):
acknowledgeActionRequests: Sequence[AcknowledgeAlarmActionRequestTypeDef], # (1)
ListAlarmsResponseTypeDef#
# ListAlarmsResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import ListAlarmsResponseTypeDef
def get_value() -> ListAlarmsResponseTypeDef:
return {
"alarmSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListAlarmsResponseTypeDef definition
class ListAlarmsResponseTypeDef(TypedDict):
alarmSummaries: List[AlarmSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchAcknowledgeAlarmResponseTypeDef#
# BatchAcknowledgeAlarmResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchAcknowledgeAlarmResponseTypeDef
def get_value() -> BatchAcknowledgeAlarmResponseTypeDef:
return {
"errorEntries": ...,
"ResponseMetadata": ...,
}
# BatchAcknowledgeAlarmResponseTypeDef definition
class BatchAcknowledgeAlarmResponseTypeDef(TypedDict):
errorEntries: List[BatchAlarmActionErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchDisableAlarmResponseTypeDef#
# BatchDisableAlarmResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchDisableAlarmResponseTypeDef
def get_value() -> BatchDisableAlarmResponseTypeDef:
return {
"errorEntries": ...,
"ResponseMetadata": ...,
}
# BatchDisableAlarmResponseTypeDef definition
class BatchDisableAlarmResponseTypeDef(TypedDict):
errorEntries: List[BatchAlarmActionErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchEnableAlarmResponseTypeDef#
# BatchEnableAlarmResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchEnableAlarmResponseTypeDef
def get_value() -> BatchEnableAlarmResponseTypeDef:
return {
"errorEntries": ...,
"ResponseMetadata": ...,
}
# BatchEnableAlarmResponseTypeDef definition
class BatchEnableAlarmResponseTypeDef(TypedDict):
errorEntries: List[BatchAlarmActionErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchResetAlarmResponseTypeDef#
# BatchResetAlarmResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchResetAlarmResponseTypeDef
def get_value() -> BatchResetAlarmResponseTypeDef:
return {
"errorEntries": ...,
"ResponseMetadata": ...,
}
# BatchResetAlarmResponseTypeDef definition
class BatchResetAlarmResponseTypeDef(TypedDict):
errorEntries: List[BatchAlarmActionErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchSnoozeAlarmResponseTypeDef#
# BatchSnoozeAlarmResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchSnoozeAlarmResponseTypeDef
def get_value() -> BatchSnoozeAlarmResponseTypeDef:
return {
"errorEntries": ...,
"ResponseMetadata": ...,
}
# BatchSnoozeAlarmResponseTypeDef definition
class BatchSnoozeAlarmResponseTypeDef(TypedDict):
errorEntries: List[BatchAlarmActionErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchDeleteDetectorResponseTypeDef#
# BatchDeleteDetectorResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchDeleteDetectorResponseTypeDef
def get_value() -> BatchDeleteDetectorResponseTypeDef:
return {
"batchDeleteDetectorErrorEntries": ...,
"ResponseMetadata": ...,
}
# BatchDeleteDetectorResponseTypeDef definition
class BatchDeleteDetectorResponseTypeDef(TypedDict):
batchDeleteDetectorErrorEntries: List[BatchDeleteDetectorErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchDeleteDetectorRequestRequestTypeDef#
# BatchDeleteDetectorRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchDeleteDetectorRequestRequestTypeDef
def get_value() -> BatchDeleteDetectorRequestRequestTypeDef:
return {
"detectors": ...,
}
# BatchDeleteDetectorRequestRequestTypeDef definition
class BatchDeleteDetectorRequestRequestTypeDef(TypedDict):
detectors: Sequence[DeleteDetectorRequestTypeDef], # (1)
BatchDisableAlarmRequestRequestTypeDef#
# BatchDisableAlarmRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchDisableAlarmRequestRequestTypeDef
def get_value() -> BatchDisableAlarmRequestRequestTypeDef:
return {
"disableActionRequests": ...,
}
# BatchDisableAlarmRequestRequestTypeDef definition
class BatchDisableAlarmRequestRequestTypeDef(TypedDict):
disableActionRequests: Sequence[DisableAlarmActionRequestTypeDef], # (1)
BatchEnableAlarmRequestRequestTypeDef#
# BatchEnableAlarmRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchEnableAlarmRequestRequestTypeDef
def get_value() -> BatchEnableAlarmRequestRequestTypeDef:
return {
"enableActionRequests": ...,
}
# BatchEnableAlarmRequestRequestTypeDef definition
class BatchEnableAlarmRequestRequestTypeDef(TypedDict):
enableActionRequests: Sequence[EnableAlarmActionRequestTypeDef], # (1)
BatchPutMessageResponseTypeDef#
# BatchPutMessageResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchPutMessageResponseTypeDef
def get_value() -> BatchPutMessageResponseTypeDef:
return {
"BatchPutMessageErrorEntries": ...,
"ResponseMetadata": ...,
}
# BatchPutMessageResponseTypeDef definition
class BatchPutMessageResponseTypeDef(TypedDict):
BatchPutMessageErrorEntries: List[BatchPutMessageErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchResetAlarmRequestRequestTypeDef#
# BatchResetAlarmRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchResetAlarmRequestRequestTypeDef
def get_value() -> BatchResetAlarmRequestRequestTypeDef:
return {
"resetActionRequests": ...,
}
# BatchResetAlarmRequestRequestTypeDef definition
class BatchResetAlarmRequestRequestTypeDef(TypedDict):
resetActionRequests: Sequence[ResetAlarmActionRequestTypeDef], # (1)
BatchSnoozeAlarmRequestRequestTypeDef#
# BatchSnoozeAlarmRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchSnoozeAlarmRequestRequestTypeDef
def get_value() -> BatchSnoozeAlarmRequestRequestTypeDef:
return {
"snoozeActionRequests": ...,
}
# BatchSnoozeAlarmRequestRequestTypeDef definition
class BatchSnoozeAlarmRequestRequestTypeDef(TypedDict):
snoozeActionRequests: Sequence[SnoozeAlarmActionRequestTypeDef], # (1)
BatchUpdateDetectorResponseTypeDef#
# BatchUpdateDetectorResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchUpdateDetectorResponseTypeDef
def get_value() -> BatchUpdateDetectorResponseTypeDef:
return {
"batchUpdateDetectorErrorEntries": ...,
"ResponseMetadata": ...,
}
# BatchUpdateDetectorResponseTypeDef definition
class BatchUpdateDetectorResponseTypeDef(TypedDict):
batchUpdateDetectorErrorEntries: List[BatchUpdateDetectorErrorEntryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CustomerActionTypeDef#
# CustomerActionTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import CustomerActionTypeDef
def get_value() -> CustomerActionTypeDef:
return {
"actionName": ...,
}
# CustomerActionTypeDef definition
class CustomerActionTypeDef(TypedDict):
actionName: NotRequired[CustomerActionNameType], # (1)
snoozeActionConfiguration: NotRequired[SnoozeActionConfigurationTypeDef], # (2)
enableActionConfiguration: NotRequired[EnableActionConfigurationTypeDef], # (3)
disableActionConfiguration: NotRequired[DisableActionConfigurationTypeDef], # (4)
acknowledgeActionConfiguration: NotRequired[AcknowledgeActionConfigurationTypeDef], # (5)
resetActionConfiguration: NotRequired[ResetActionConfigurationTypeDef], # (6)
- See CustomerActionNameType
- See SnoozeActionConfigurationTypeDef
- See EnableActionConfigurationTypeDef
- See DisableActionConfigurationTypeDef
- See AcknowledgeActionConfigurationTypeDef
- See ResetActionConfigurationTypeDef
DetectorStateDefinitionTypeDef#
# DetectorStateDefinitionTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DetectorStateDefinitionTypeDef
def get_value() -> DetectorStateDefinitionTypeDef:
return {
"stateName": ...,
"variables": ...,
"timers": ...,
}
# DetectorStateDefinitionTypeDef definition
class DetectorStateDefinitionTypeDef(TypedDict):
stateName: str,
variables: Sequence[VariableDefinitionTypeDef], # (1)
timers: Sequence[TimerDefinitionTypeDef], # (2)
DetectorSummaryTypeDef#
# DetectorSummaryTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DetectorSummaryTypeDef
def get_value() -> DetectorSummaryTypeDef:
return {
"detectorModelName": ...,
}
# DetectorSummaryTypeDef definition
class DetectorSummaryTypeDef(TypedDict):
detectorModelName: NotRequired[str],
keyValue: NotRequired[str],
detectorModelVersion: NotRequired[str],
state: NotRequired[DetectorStateSummaryTypeDef], # (1)
creationTime: NotRequired[datetime],
lastUpdateTime: NotRequired[datetime],
DetectorStateTypeDef#
# DetectorStateTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DetectorStateTypeDef
def get_value() -> DetectorStateTypeDef:
return {
"stateName": ...,
"variables": ...,
"timers": ...,
}
# DetectorStateTypeDef definition
class DetectorStateTypeDef(TypedDict):
stateName: str,
variables: List[VariableTypeDef], # (1)
timers: List[TimerTypeDef], # (2)
- See VariableTypeDef
- See TimerTypeDef
MessageTypeDef#
# MessageTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import MessageTypeDef
def get_value() -> MessageTypeDef:
return {
"messageId": ...,
"inputName": ...,
"payload": ...,
}
# MessageTypeDef definition
class MessageTypeDef(TypedDict):
messageId: str,
inputName: str,
payload: Union[str, bytes, IO[Any], StreamingBody],
timestamp: NotRequired[TimestampValueTypeDef], # (1)
RuleEvaluationTypeDef#
# RuleEvaluationTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import RuleEvaluationTypeDef
def get_value() -> RuleEvaluationTypeDef:
return {
"simpleRuleEvaluation": ...,
}
# RuleEvaluationTypeDef definition
class RuleEvaluationTypeDef(TypedDict):
simpleRuleEvaluation: NotRequired[SimpleRuleEvaluationTypeDef], # (1)
SystemEventTypeDef#
# SystemEventTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import SystemEventTypeDef
def get_value() -> SystemEventTypeDef:
return {
"eventType": ...,
}
# SystemEventTypeDef definition
class SystemEventTypeDef(TypedDict):
eventType: NotRequired[EventTypeType], # (1)
stateChangeConfiguration: NotRequired[StateChangeConfigurationTypeDef], # (2)
UpdateDetectorRequestTypeDef#
# UpdateDetectorRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import UpdateDetectorRequestTypeDef
def get_value() -> UpdateDetectorRequestTypeDef:
return {
"messageId": ...,
"detectorModelName": ...,
"state": ...,
}
# UpdateDetectorRequestTypeDef definition
class UpdateDetectorRequestTypeDef(TypedDict):
messageId: str,
detectorModelName: str,
state: DetectorStateDefinitionTypeDef, # (1)
keyValue: NotRequired[str],
ListDetectorsResponseTypeDef#
# ListDetectorsResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import ListDetectorsResponseTypeDef
def get_value() -> ListDetectorsResponseTypeDef:
return {
"detectorSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListDetectorsResponseTypeDef definition
class ListDetectorsResponseTypeDef(TypedDict):
detectorSummaries: List[DetectorSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DetectorTypeDef#
# DetectorTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DetectorTypeDef
def get_value() -> DetectorTypeDef:
return {
"detectorModelName": ...,
}
# DetectorTypeDef definition
class DetectorTypeDef(TypedDict):
detectorModelName: NotRequired[str],
keyValue: NotRequired[str],
detectorModelVersion: NotRequired[str],
state: NotRequired[DetectorStateTypeDef], # (1)
creationTime: NotRequired[datetime],
lastUpdateTime: NotRequired[datetime],
BatchPutMessageRequestRequestTypeDef#
# BatchPutMessageRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchPutMessageRequestRequestTypeDef
def get_value() -> BatchPutMessageRequestRequestTypeDef:
return {
"messages": ...,
}
# BatchPutMessageRequestRequestTypeDef definition
class BatchPutMessageRequestRequestTypeDef(TypedDict):
messages: Sequence[MessageTypeDef], # (1)
- See MessageTypeDef
AlarmStateTypeDef#
# AlarmStateTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import AlarmStateTypeDef
def get_value() -> AlarmStateTypeDef:
return {
"stateName": ...,
}
# AlarmStateTypeDef definition
class AlarmStateTypeDef(TypedDict):
stateName: NotRequired[AlarmStateNameType], # (1)
ruleEvaluation: NotRequired[RuleEvaluationTypeDef], # (2)
customerAction: NotRequired[CustomerActionTypeDef], # (3)
systemEvent: NotRequired[SystemEventTypeDef], # (4)
BatchUpdateDetectorRequestRequestTypeDef#
# BatchUpdateDetectorRequestRequestTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import BatchUpdateDetectorRequestRequestTypeDef
def get_value() -> BatchUpdateDetectorRequestRequestTypeDef:
return {
"detectors": ...,
}
# BatchUpdateDetectorRequestRequestTypeDef definition
class BatchUpdateDetectorRequestRequestTypeDef(TypedDict):
detectors: Sequence[UpdateDetectorRequestTypeDef], # (1)
DescribeDetectorResponseTypeDef#
# DescribeDetectorResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DescribeDetectorResponseTypeDef
def get_value() -> DescribeDetectorResponseTypeDef:
return {
"detector": ...,
"ResponseMetadata": ...,
}
# DescribeDetectorResponseTypeDef definition
class DescribeDetectorResponseTypeDef(TypedDict):
detector: DetectorTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AlarmTypeDef#
# AlarmTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import AlarmTypeDef
def get_value() -> AlarmTypeDef:
return {
"alarmModelName": ...,
}
# AlarmTypeDef definition
class AlarmTypeDef(TypedDict):
alarmModelName: NotRequired[str],
alarmModelVersion: NotRequired[str],
keyValue: NotRequired[str],
alarmState: NotRequired[AlarmStateTypeDef], # (1)
severity: NotRequired[int],
creationTime: NotRequired[datetime],
lastUpdateTime: NotRequired[datetime],
DescribeAlarmResponseTypeDef#
# DescribeAlarmResponseTypeDef usage example
from mypy_boto3_iotevents_data.type_defs import DescribeAlarmResponseTypeDef
def get_value() -> DescribeAlarmResponseTypeDef:
return {
"alarm": ...,
"ResponseMetadata": ...,
}
# DescribeAlarmResponseTypeDef definition
class DescribeAlarmResponseTypeDef(TypedDict):
alarm: AlarmTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See AlarmTypeDef
- See ResponseMetadataTypeDef