Skip to content

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],
  1. See AlarmStateNameType

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],
  1. 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],
  1. 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],
  1. 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],
  1. 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],
  1. See ComparisonOperatorType

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)
  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)
  1. See AcknowledgeAlarmActionRequestTypeDef

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)
  1. See AlarmSummaryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See BatchAlarmActionErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See BatchAlarmActionErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See BatchAlarmActionErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See BatchAlarmActionErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See BatchAlarmActionErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See BatchDeleteDetectorErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See DeleteDetectorRequestTypeDef

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)
  1. See DisableAlarmActionRequestTypeDef

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)
  1. See EnableAlarmActionRequestTypeDef

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)
  1. See BatchPutMessageErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See ResetAlarmActionRequestTypeDef

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)
  1. See SnoozeAlarmActionRequestTypeDef

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)
  1. See BatchUpdateDetectorErrorEntryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See CustomerActionNameType
  2. See SnoozeActionConfigurationTypeDef
  3. See EnableActionConfigurationTypeDef
  4. See DisableActionConfigurationTypeDef
  5. See AcknowledgeActionConfigurationTypeDef
  6. 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)
  1. See VariableDefinitionTypeDef
  2. See TimerDefinitionTypeDef

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],
  1. See DetectorStateSummaryTypeDef

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)
  1. See VariableTypeDef
  2. 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)
  1. See TimestampValueTypeDef

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)
  1. See SimpleRuleEvaluationTypeDef

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)
  1. See EventTypeType
  2. See StateChangeConfigurationTypeDef

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],
  1. See DetectorStateDefinitionTypeDef

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)
  1. See DetectorSummaryTypeDef
  2. See ResponseMetadataTypeDef

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],
  1. See DetectorStateTypeDef

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)
  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)
  1. See AlarmStateNameType
  2. See RuleEvaluationTypeDef
  3. See CustomerActionTypeDef
  4. See SystemEventTypeDef

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)
  1. See UpdateDetectorRequestTypeDef

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)
  1. See DetectorTypeDef
  2. See ResponseMetadataTypeDef

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],
  1. See AlarmStateTypeDef

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)
  1. See AlarmTypeDef
  2. See ResponseMetadataTypeDef