@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTEventsDataClient extends AmazonWebServiceClient implements AWSIoTEventsData
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
BatchPutMessageResult |
batchPutMessage(BatchPutMessageRequest request)
Sends a set of messages to the AWS IoT Events system.
|
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() |
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.
|
ListDetectorsResult |
listDetectors(ListDetectorsRequest request)
Lists detectors (the instances of a detector model).
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSIoTEventsDataClientBuilder builder()
public BatchPutMessageResult batchPutMessage(BatchPutMessageRequest request)
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.
batchPutMessage
in interface AWSIoTEventsData
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.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 AWSIoTEventsData
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.public DescribeDetectorResult describeDetector(DescribeDetectorRequest request)
Returns information about the specified detector (instance).
describeDetector
in interface AWSIoTEventsData
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.public ListDetectorsResult listDetectors(ListDetectorsRequest request)
Lists detectors (the instances of a detector model).
listDetectors
in interface AWSIoTEventsData
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.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 AWSIoTEventsData
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.