@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIoTEventsData
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIoTEventsData
instead.
AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. AWS IoT Events Data API commands enable you to send inputs to detectors, list detectors, and view or update a detector's status.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
BatchPutMessageResult |
batchPutMessage(BatchPutMessageRequest batchPutMessageRequest)
Sends a set of messages to the AWS IoT Events system.
|
BatchUpdateDetectorResult |
batchUpdateDetector(BatchUpdateDetectorRequest batchUpdateDetectorRequest)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified
detector model.
|
DescribeDetectorResult |
describeDetector(DescribeDetectorRequest describeDetectorRequest)
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.
|
ListDetectorsResult |
listDetectors(ListDetectorsRequest listDetectorsRequest)
Lists detectors (the instances of a detector model).
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
static final String ENDPOINT_PREFIX
BatchPutMessageResult batchPutMessage(BatchPutMessageRequest batchPutMessageRequest)
Sends a set of messages to the AWS 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.
batchPutMessageRequest
- InvalidRequestException
- The request was invalid.InternalFailureException
- An internal failure occured.ServiceUnavailableException
- The service is currently unavailable.ThrottlingException
- The request could not be completed due to throttling.BatchUpdateDetectorResult batchUpdateDetector(BatchUpdateDetectorRequest batchUpdateDetectorRequest)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
batchUpdateDetectorRequest
- InvalidRequestException
- The request was invalid.InternalFailureException
- An internal failure occured.ServiceUnavailableException
- The service is currently unavailable.ThrottlingException
- The request could not be completed due to throttling.DescribeDetectorResult describeDetector(DescribeDetectorRequest describeDetectorRequest)
Returns information about the specified detector (instance).
describeDetectorRequest
- 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 occured.ServiceUnavailableException
- The service is currently unavailable.ListDetectorsResult listDetectors(ListDetectorsRequest listDetectorsRequest)
Lists detectors (the instances of a detector model).
listDetectorsRequest
- 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 occured.ServiceUnavailableException
- The service is currently unavailable.void shutdown()
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 a request.
request
- The originally executed request.