@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface IotEventsDataClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default BatchAcknowledgeAlarmResponse |
batchAcknowledgeAlarm(BatchAcknowledgeAlarmRequest batchAcknowledgeAlarmRequest)
Acknowledges one or more alarms.
|
default BatchAcknowledgeAlarmResponse |
batchAcknowledgeAlarm(Consumer<BatchAcknowledgeAlarmRequest.Builder> batchAcknowledgeAlarmRequest)
Acknowledges one or more alarms.
|
default BatchDeleteDetectorResponse |
batchDeleteDetector(BatchDeleteDetectorRequest batchDeleteDetectorRequest)
Deletes one or more detectors that were created.
|
default BatchDeleteDetectorResponse |
batchDeleteDetector(Consumer<BatchDeleteDetectorRequest.Builder> batchDeleteDetectorRequest)
Deletes one or more detectors that were created.
|
default BatchDisableAlarmResponse |
batchDisableAlarm(BatchDisableAlarmRequest batchDisableAlarmRequest)
Disables one or more alarms.
|
default BatchDisableAlarmResponse |
batchDisableAlarm(Consumer<BatchDisableAlarmRequest.Builder> batchDisableAlarmRequest)
Disables one or more alarms.
|
default BatchEnableAlarmResponse |
batchEnableAlarm(BatchEnableAlarmRequest batchEnableAlarmRequest)
Enables one or more alarms.
|
default BatchEnableAlarmResponse |
batchEnableAlarm(Consumer<BatchEnableAlarmRequest.Builder> batchEnableAlarmRequest)
Enables one or more alarms.
|
default BatchPutMessageResponse |
batchPutMessage(BatchPutMessageRequest batchPutMessageRequest)
Sends a set of messages to the IoT Events system.
|
default BatchPutMessageResponse |
batchPutMessage(Consumer<BatchPutMessageRequest.Builder> batchPutMessageRequest)
Sends a set of messages to the IoT Events system.
|
default BatchResetAlarmResponse |
batchResetAlarm(BatchResetAlarmRequest batchResetAlarmRequest)
Resets one or more alarms.
|
default BatchResetAlarmResponse |
batchResetAlarm(Consumer<BatchResetAlarmRequest.Builder> batchResetAlarmRequest)
Resets one or more alarms.
|
default BatchSnoozeAlarmResponse |
batchSnoozeAlarm(BatchSnoozeAlarmRequest batchSnoozeAlarmRequest)
Changes one or more alarms to the snooze mode.
|
default BatchSnoozeAlarmResponse |
batchSnoozeAlarm(Consumer<BatchSnoozeAlarmRequest.Builder> batchSnoozeAlarmRequest)
Changes one or more alarms to the snooze mode.
|
default BatchUpdateDetectorResponse |
batchUpdateDetector(BatchUpdateDetectorRequest batchUpdateDetectorRequest)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified
detector model.
|
default BatchUpdateDetectorResponse |
batchUpdateDetector(Consumer<BatchUpdateDetectorRequest.Builder> batchUpdateDetectorRequest)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified
detector model.
|
static IotEventsDataClientBuilder |
builder()
Create a builder that can be used to configure and create a
IotEventsDataClient. |
static IotEventsDataClient |
create()
Create a
IotEventsDataClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default DescribeAlarmResponse |
describeAlarm(Consumer<DescribeAlarmRequest.Builder> describeAlarmRequest)
Retrieves information about an alarm.
|
default DescribeAlarmResponse |
describeAlarm(DescribeAlarmRequest describeAlarmRequest)
Retrieves information about an alarm.
|
default DescribeDetectorResponse |
describeDetector(Consumer<DescribeDetectorRequest.Builder> describeDetectorRequest)
Returns information about the specified detector (instance).
|
default DescribeDetectorResponse |
describeDetector(DescribeDetectorRequest describeDetectorRequest)
Returns information about the specified detector (instance).
|
default ListAlarmsResponse |
listAlarms(Consumer<ListAlarmsRequest.Builder> listAlarmsRequest)
Lists one or more alarms.
|
default ListAlarmsResponse |
listAlarms(ListAlarmsRequest listAlarmsRequest)
Lists one or more alarms.
|
default ListDetectorsResponse |
listDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
Lists detectors (the instances of a detector model).
|
default ListDetectorsResponse |
listDetectors(ListDetectorsRequest listDetectorsRequest)
Lists detectors (the instances of a detector model).
|
default IotEventsDataServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default BatchAcknowledgeAlarmResponse batchAcknowledgeAlarm(BatchAcknowledgeAlarmRequest batchAcknowledgeAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge
them.
batchAcknowledgeAlarmRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchAcknowledgeAlarmResponse batchAcknowledgeAlarm(Consumer<BatchAcknowledgeAlarmRequest.Builder> batchAcknowledgeAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge
them.
This is a convenience which creates an instance of the BatchAcknowledgeAlarmRequest.Builder avoiding the
need to create one manually via BatchAcknowledgeAlarmRequest.builder()
batchAcknowledgeAlarmRequest - A Consumer that will call methods on
BatchAcknowledgeAlarmRequest.Builder to create
a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteDetectorResponse batchDeleteDetector(BatchDeleteDetectorRequest batchDeleteDetectorRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
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.
batchDeleteDetectorRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteDetectorResponse batchDeleteDetector(Consumer<BatchDeleteDetectorRequest.Builder> batchDeleteDetectorRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
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.
This is a convenience which creates an instance of the BatchDeleteDetectorRequest.Builder avoiding the
need to create one manually via BatchDeleteDetectorRequest.builder()
batchDeleteDetectorRequest - A Consumer that will call methods on
BatchDeleteDetectorRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDisableAlarmResponse batchDisableAlarm(BatchDisableAlarmRequest batchDisableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Disables one or more alarms. The alarms change to the DISABLED state after you disable them.
batchDisableAlarmRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDisableAlarmResponse batchDisableAlarm(Consumer<BatchDisableAlarmRequest.Builder> batchDisableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Disables one or more alarms. The alarms change to the DISABLED state after you disable them.
This is a convenience which creates an instance of the BatchDisableAlarmRequest.Builder avoiding the need
to create one manually via BatchDisableAlarmRequest.builder()
batchDisableAlarmRequest - A Consumer that will call methods on
BatchDisableAlarmRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchEnableAlarmResponse batchEnableAlarm(BatchEnableAlarmRequest batchEnableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Enables one or more alarms. The alarms change to the NORMAL state after you enable them.
batchEnableAlarmRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchEnableAlarmResponse batchEnableAlarm(Consumer<BatchEnableAlarmRequest.Builder> batchEnableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Enables one or more alarms. The alarms change to the NORMAL state after you enable them.
This is a convenience which creates an instance of the BatchEnableAlarmRequest.Builder avoiding the need
to create one manually via BatchEnableAlarmRequest.builder()
batchEnableAlarmRequest - A Consumer that will call methods on
BatchEnableAlarmRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchPutMessageResponse batchPutMessage(BatchPutMessageRequest batchPutMessageRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
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.
batchPutMessageRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchPutMessageResponse batchPutMessage(Consumer<BatchPutMessageRequest.Builder> batchPutMessageRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
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.
This is a convenience which creates an instance of the BatchPutMessageRequest.Builder avoiding the need
to create one manually via BatchPutMessageRequest.builder()
batchPutMessageRequest - A Consumer that will call methods on
BatchPutMessageRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchResetAlarmResponse batchResetAlarm(BatchResetAlarmRequest batchResetAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Resets one or more alarms. The alarms return to the NORMAL state after you reset them.
batchResetAlarmRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchResetAlarmResponse batchResetAlarm(Consumer<BatchResetAlarmRequest.Builder> batchResetAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Resets one or more alarms. The alarms return to the NORMAL state after you reset them.
This is a convenience which creates an instance of the BatchResetAlarmRequest.Builder avoiding the need
to create one manually via BatchResetAlarmRequest.builder()
batchResetAlarmRequest - A Consumer that will call methods on
BatchResetAlarmRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchSnoozeAlarmResponse batchSnoozeAlarm(BatchSnoozeAlarmRequest batchSnoozeAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
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.
batchSnoozeAlarmRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchSnoozeAlarmResponse batchSnoozeAlarm(Consumer<BatchSnoozeAlarmRequest.Builder> batchSnoozeAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
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.
This is a convenience which creates an instance of the BatchSnoozeAlarmRequest.Builder avoiding the need
to create one manually via BatchSnoozeAlarmRequest.builder()
batchSnoozeAlarmRequest - A Consumer that will call methods on
BatchSnoozeAlarmRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchUpdateDetectorResponse batchUpdateDetector(BatchUpdateDetectorRequest batchUpdateDetectorRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
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 occurred.ServiceUnavailableException - The service is currently unavailable.ThrottlingException - The request could not be completed due to throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchUpdateDetectorResponse batchUpdateDetector(Consumer<BatchUpdateDetectorRequest.Builder> batchUpdateDetectorRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
This is a convenience which creates an instance of the BatchUpdateDetectorRequest.Builder avoiding the
need to create one manually via BatchUpdateDetectorRequest.builder()
batchUpdateDetectorRequest - A Consumer that will call methods on
BatchUpdateDetectorRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAlarmResponse describeAlarm(DescribeAlarmRequest describeAlarmRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Retrieves information about an alarm.
describeAlarmRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAlarmResponse describeAlarm(Consumer<DescribeAlarmRequest.Builder> describeAlarmRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Retrieves information about an alarm.
This is a convenience which creates an instance of the DescribeAlarmRequest.Builder avoiding the need to
create one manually via DescribeAlarmRequest.builder()
describeAlarmRequest - A Consumer that will call methods on
DescribeAlarmRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeDetectorResponse describeDetector(DescribeDetectorRequest describeDetectorRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
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 occurred.ServiceUnavailableException - The service is currently unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeDetectorResponse describeDetector(Consumer<DescribeDetectorRequest.Builder> describeDetectorRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Returns information about the specified detector (instance).
This is a convenience which creates an instance of the DescribeDetectorRequest.Builder avoiding the need
to create one manually via DescribeDetectorRequest.builder()
describeDetectorRequest - A Consumer that will call methods on
DescribeDetectorRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlarmsResponse listAlarms(ListAlarmsRequest listAlarmsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Lists one or more alarms. The operation returns only the metadata associated with each alarm.
listAlarmsRequest - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlarmsResponse listAlarms(Consumer<ListAlarmsRequest.Builder> listAlarmsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Lists one or more alarms. The operation returns only the metadata associated with each alarm.
This is a convenience which creates an instance of the ListAlarmsRequest.Builder avoiding the need to
create one manually via ListAlarmsRequest.builder()
listAlarmsRequest - A Consumer that will call methods on
ListAlarmsRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDetectorsResponse listDetectors(ListDetectorsRequest listDetectorsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
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 occurred.ServiceUnavailableException - The service is currently unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDetectorsResponse listDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Lists detectors (the instances of a detector model).
This is a convenience which creates an instance of the ListDetectorsRequest.Builder avoiding the need to
create one manually via ListDetectorsRequest.builder()
listDetectorsRequest - A Consumer that will call methods on
ListDetectorsRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IotEventsDataException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic IotEventsDataClient create()
IotEventsDataClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static IotEventsDataClientBuilder builder()
IotEventsDataClient.static ServiceMetadata serviceMetadata()
default IotEventsDataServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.