@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTEventsDataClient extends AmazonWebServiceClient implements AWSIoTEventsData
IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to detectors, list detectors, and view or update a detector's status.
For more information, see What is IoT Events? in the IoT Events Developer Guide.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
BatchAcknowledgeAlarmResult |
batchAcknowledgeAlarm(BatchAcknowledgeAlarmRequest request)
Acknowledges one or more alarms.
|
BatchDeleteDetectorResult |
batchDeleteDetector(BatchDeleteDetectorRequest request)
Deletes one or more detectors that were created.
|
BatchDisableAlarmResult |
batchDisableAlarm(BatchDisableAlarmRequest request)
Disables one or more alarms.
|
BatchEnableAlarmResult |
batchEnableAlarm(BatchEnableAlarmRequest request)
Enables one or more alarms.
|
BatchPutMessageResult |
batchPutMessage(BatchPutMessageRequest request)
Sends a set of messages to the IoT Events system.
|
BatchResetAlarmResult |
batchResetAlarm(BatchResetAlarmRequest request)
Resets one or more alarms.
|
BatchSnoozeAlarmResult |
batchSnoozeAlarm(BatchSnoozeAlarmRequest request)
Changes one or more alarms to the snooze mode.
|
BatchUpdateDetectorResult |
batchUpdateDetector(BatchUpdateDetectorRequest request)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified
detector model.
|
static AWSIoTEventsDataClientBuilder |
builder() |
DescribeAlarmResult |
describeAlarm(DescribeAlarmRequest request)
Retrieves information about an alarm.
|
DescribeDetectorResult |
describeDetector(DescribeDetectorRequest request)
Returns information about the specified detector (instance).
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListAlarmsResult |
listAlarms(ListAlarmsRequest request)
Lists one or more alarms.
|
ListDetectorsResult |
listDetectors(ListDetectorsRequest request)
Lists detectors (the instances of a detector model).
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSIoTEventsDataClientBuilder builder()
public BatchAcknowledgeAlarmResult batchAcknowledgeAlarm(BatchAcknowledgeAlarmRequest request)
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge
them.
batchAcknowledgeAlarm in interface AWSIoTEventsDatabatchAcknowledgeAlarmRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public BatchDeleteDetectorResult batchDeleteDetector(BatchDeleteDetectorRequest request)
Deletes one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the ListDetectors API call.
batchDeleteDetector in interface AWSIoTEventsDatabatchDeleteDetectorRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public BatchDisableAlarmResult batchDisableAlarm(BatchDisableAlarmRequest request)
Disables one or more alarms. The alarms change to the DISABLED state after you disable them.
batchDisableAlarm in interface AWSIoTEventsDatabatchDisableAlarmRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public BatchEnableAlarmResult batchEnableAlarm(BatchEnableAlarmRequest request)
Enables one or more alarms. The alarms change to the NORMAL state after you enable them.
batchEnableAlarm in interface AWSIoTEventsDatabatchEnableAlarmRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public BatchPutMessageResult batchPutMessage(BatchPutMessageRequest request)
Sends a set of messages to the IoT Events system. Each message payload is transformed into the input you specify
("inputName") and ingested into any detectors that monitor that input. If multiple messages are
sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send
messages one at a time and wait for a successful response.
batchPutMessage in interface AWSIoTEventsDatabatchPutMessageRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public BatchResetAlarmResult batchResetAlarm(BatchResetAlarmRequest request)
Resets one or more alarms. The alarms return to the NORMAL state after you reset them.
batchResetAlarm in interface AWSIoTEventsDatabatchResetAlarmRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public BatchSnoozeAlarmResult batchSnoozeAlarm(BatchSnoozeAlarmRequest request)
Changes one or more alarms to the snooze mode. The alarms change to the SNOOZE_DISABLED state after
you set them to the snooze mode.
batchSnoozeAlarm in interface AWSIoTEventsDatabatchSnoozeAlarmRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public BatchUpdateDetectorResult batchUpdateDetector(BatchUpdateDetectorRequest request)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
batchUpdateDetector in interface AWSIoTEventsDatabatchUpdateDetectorRequest - InvalidRequestException - The request was invalid.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.public DescribeAlarmResult describeAlarm(DescribeAlarmRequest request)
Retrieves information about an alarm.
describeAlarm in interface AWSIoTEventsDatadescribeAlarmRequest - InvalidRequestException - The request was invalid.ResourceNotFoundException - The resource was not found.ThrottlingException - The request could not be completed due to throttling.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.public DescribeDetectorResult describeDetector(DescribeDetectorRequest request)
Returns information about the specified detector (instance).
describeDetector in interface AWSIoTEventsDatadescribeDetectorRequest - InvalidRequestException - The request was invalid.ResourceNotFoundException - The resource was not found.ThrottlingException - The request could not be completed due to throttling.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.public ListAlarmsResult listAlarms(ListAlarmsRequest request)
Lists one or more alarms. The operation returns only the metadata associated with each alarm.
listAlarms in interface AWSIoTEventsDatalistAlarmsRequest - InvalidRequestException - The request was invalid.ResourceNotFoundException - The resource was not found.ThrottlingException - The request could not be completed due to throttling.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.public ListDetectorsResult listDetectors(ListDetectorsRequest request)
Lists detectors (the instances of a detector model).
listDetectors in interface AWSIoTEventsDatalistDetectorsRequest - InvalidRequestException - The request was invalid.ResourceNotFoundException - The resource was not found.ThrottlingException - The request could not be completed due to throttling.InternalFailureException - An internal failure occurred.ServiceUnavailableException - The service is currently unavailable.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSIoTEventsDatarequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSIoTEventsDatashutdown in class AmazonWebServiceClient