Interface IotEventsDataClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface IotEventsDataClient extends AwsClient
Service client for accessing AWS IoT Events Data. This can be created using the staticbuilder()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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default BatchAcknowledgeAlarmResponsebatchAcknowledgeAlarm(Consumer<BatchAcknowledgeAlarmRequest.Builder> batchAcknowledgeAlarmRequest)Acknowledges one or more alarms.default BatchAcknowledgeAlarmResponsebatchAcknowledgeAlarm(BatchAcknowledgeAlarmRequest batchAcknowledgeAlarmRequest)Acknowledges one or more alarms.default BatchDeleteDetectorResponsebatchDeleteDetector(Consumer<BatchDeleteDetectorRequest.Builder> batchDeleteDetectorRequest)Deletes one or more detectors that were created.default BatchDeleteDetectorResponsebatchDeleteDetector(BatchDeleteDetectorRequest batchDeleteDetectorRequest)Deletes one or more detectors that were created.default BatchDisableAlarmResponsebatchDisableAlarm(Consumer<BatchDisableAlarmRequest.Builder> batchDisableAlarmRequest)Disables one or more alarms.default BatchDisableAlarmResponsebatchDisableAlarm(BatchDisableAlarmRequest batchDisableAlarmRequest)Disables one or more alarms.default BatchEnableAlarmResponsebatchEnableAlarm(Consumer<BatchEnableAlarmRequest.Builder> batchEnableAlarmRequest)Enables one or more alarms.default BatchEnableAlarmResponsebatchEnableAlarm(BatchEnableAlarmRequest batchEnableAlarmRequest)Enables one or more alarms.default BatchPutMessageResponsebatchPutMessage(Consumer<BatchPutMessageRequest.Builder> batchPutMessageRequest)Sends a set of messages to the IoT Events system.default BatchPutMessageResponsebatchPutMessage(BatchPutMessageRequest batchPutMessageRequest)Sends a set of messages to the IoT Events system.default BatchResetAlarmResponsebatchResetAlarm(Consumer<BatchResetAlarmRequest.Builder> batchResetAlarmRequest)Resets one or more alarms.default BatchResetAlarmResponsebatchResetAlarm(BatchResetAlarmRequest batchResetAlarmRequest)Resets one or more alarms.default BatchSnoozeAlarmResponsebatchSnoozeAlarm(Consumer<BatchSnoozeAlarmRequest.Builder> batchSnoozeAlarmRequest)Changes one or more alarms to the snooze mode.default BatchSnoozeAlarmResponsebatchSnoozeAlarm(BatchSnoozeAlarmRequest batchSnoozeAlarmRequest)Changes one or more alarms to the snooze mode.default BatchUpdateDetectorResponsebatchUpdateDetector(Consumer<BatchUpdateDetectorRequest.Builder> batchUpdateDetectorRequest)Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.default BatchUpdateDetectorResponsebatchUpdateDetector(BatchUpdateDetectorRequest batchUpdateDetectorRequest)Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.static IotEventsDataClientBuilderbuilder()Create a builder that can be used to configure and create aIotEventsDataClient.static IotEventsDataClientcreate()Create aIotEventsDataClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default DescribeAlarmResponsedescribeAlarm(Consumer<DescribeAlarmRequest.Builder> describeAlarmRequest)Retrieves information about an alarm.default DescribeAlarmResponsedescribeAlarm(DescribeAlarmRequest describeAlarmRequest)Retrieves information about an alarm.default DescribeDetectorResponsedescribeDetector(Consumer<DescribeDetectorRequest.Builder> describeDetectorRequest)Returns information about the specified detector (instance).default DescribeDetectorResponsedescribeDetector(DescribeDetectorRequest describeDetectorRequest)Returns information about the specified detector (instance).default ListAlarmsResponselistAlarms(Consumer<ListAlarmsRequest.Builder> listAlarmsRequest)Lists one or more alarms.default ListAlarmsResponselistAlarms(ListAlarmsRequest listAlarmsRequest)Lists one or more alarms.default ListDetectorsResponselistDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)Lists detectors (the instances of a detector model).default ListDetectorsResponselistDetectors(ListDetectorsRequest listDetectorsRequest)Lists detectors (the instances of a detector model).default IotEventsDataServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
batchAcknowledgeAlarm
default BatchAcknowledgeAlarmResponse batchAcknowledgeAlarm(BatchAcknowledgeAlarmRequest batchAcknowledgeAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Acknowledges one or more alarms. The alarms change to the
ACKNOWLEDGEDstate after you acknowledge them.- Parameters:
batchAcknowledgeAlarmRequest-- Returns:
- Result of the BatchAcknowledgeAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchAcknowledgeAlarm
default BatchAcknowledgeAlarmResponse batchAcknowledgeAlarm(Consumer<BatchAcknowledgeAlarmRequest.Builder> batchAcknowledgeAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Acknowledges one or more alarms. The alarms change to the
ACKNOWLEDGEDstate after you acknowledge them.
This is a convenience which creates an instance of the
BatchAcknowledgeAlarmRequest.Builderavoiding the need to create one manually viaBatchAcknowledgeAlarmRequest.builder()- Parameters:
batchAcknowledgeAlarmRequest- AConsumerthat will call methods onBatchAcknowledgeAlarmRequest.Builderto create a request.- Returns:
- Result of the BatchAcknowledgeAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteDetector
default 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.
- Parameters:
batchDeleteDetectorRequest-- Returns:
- Result of the BatchDeleteDetector operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteDetector
default 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.Builderavoiding the need to create one manually viaBatchDeleteDetectorRequest.builder()- Parameters:
batchDeleteDetectorRequest- AConsumerthat will call methods onBatchDeleteDetectorRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteDetector operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDisableAlarm
default BatchDisableAlarmResponse batchDisableAlarm(BatchDisableAlarmRequest batchDisableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Disables one or more alarms. The alarms change to the
DISABLEDstate after you disable them.- Parameters:
batchDisableAlarmRequest-- Returns:
- Result of the BatchDisableAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDisableAlarm
default BatchDisableAlarmResponse batchDisableAlarm(Consumer<BatchDisableAlarmRequest.Builder> batchDisableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Disables one or more alarms. The alarms change to the
DISABLEDstate after you disable them.
This is a convenience which creates an instance of the
BatchDisableAlarmRequest.Builderavoiding the need to create one manually viaBatchDisableAlarmRequest.builder()- Parameters:
batchDisableAlarmRequest- AConsumerthat will call methods onBatchDisableAlarmRequest.Builderto create a request.- Returns:
- Result of the BatchDisableAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchEnableAlarm
default BatchEnableAlarmResponse batchEnableAlarm(BatchEnableAlarmRequest batchEnableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Enables one or more alarms. The alarms change to the
NORMALstate after you enable them.- Parameters:
batchEnableAlarmRequest-- Returns:
- Result of the BatchEnableAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchEnableAlarm
default BatchEnableAlarmResponse batchEnableAlarm(Consumer<BatchEnableAlarmRequest.Builder> batchEnableAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Enables one or more alarms. The alarms change to the
NORMALstate after you enable them.
This is a convenience which creates an instance of the
BatchEnableAlarmRequest.Builderavoiding the need to create one manually viaBatchEnableAlarmRequest.builder()- Parameters:
batchEnableAlarmRequest- AConsumerthat will call methods onBatchEnableAlarmRequest.Builderto create a request.- Returns:
- Result of the BatchEnableAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchPutMessage
default 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.- Parameters:
batchPutMessageRequest-- Returns:
- Result of the BatchPutMessage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchPutMessage
default 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.Builderavoiding the need to create one manually viaBatchPutMessageRequest.builder()- Parameters:
batchPutMessageRequest- AConsumerthat will call methods onBatchPutMessageRequest.Builderto create a request.- Returns:
- Result of the BatchPutMessage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchResetAlarm
default BatchResetAlarmResponse batchResetAlarm(BatchResetAlarmRequest batchResetAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Resets one or more alarms. The alarms return to the
NORMALstate after you reset them.- Parameters:
batchResetAlarmRequest-- Returns:
- Result of the BatchResetAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchResetAlarm
default BatchResetAlarmResponse batchResetAlarm(Consumer<BatchResetAlarmRequest.Builder> batchResetAlarmRequest) throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IotEventsDataException
Resets one or more alarms. The alarms return to the
NORMALstate after you reset them.
This is a convenience which creates an instance of the
BatchResetAlarmRequest.Builderavoiding the need to create one manually viaBatchResetAlarmRequest.builder()- Parameters:
batchResetAlarmRequest- AConsumerthat will call methods onBatchResetAlarmRequest.Builderto create a request.- Returns:
- Result of the BatchResetAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchSnoozeAlarm
default 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_DISABLEDstate after you set them to the snooze mode.- Parameters:
batchSnoozeAlarmRequest-- Returns:
- Result of the BatchSnoozeAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchSnoozeAlarm
default 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_DISABLEDstate after you set them to the snooze mode.
This is a convenience which creates an instance of the
BatchSnoozeAlarmRequest.Builderavoiding the need to create one manually viaBatchSnoozeAlarmRequest.builder()- Parameters:
batchSnoozeAlarmRequest- AConsumerthat will call methods onBatchSnoozeAlarmRequest.Builderto create a request.- Returns:
- Result of the BatchSnoozeAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateDetector
default 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.
- Parameters:
batchUpdateDetectorRequest-- Returns:
- Result of the BatchUpdateDetector operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateDetector
default 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.Builderavoiding the need to create one manually viaBatchUpdateDetectorRequest.builder()- Parameters:
batchUpdateDetectorRequest- AConsumerthat will call methods onBatchUpdateDetectorRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateDetector operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeAlarm
default DescribeAlarmResponse describeAlarm(DescribeAlarmRequest describeAlarmRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Retrieves information about an alarm.
- Parameters:
describeAlarmRequest-- Returns:
- Result of the DescribeAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeAlarm
default 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.Builderavoiding the need to create one manually viaDescribeAlarmRequest.builder()- Parameters:
describeAlarmRequest- AConsumerthat will call methods onDescribeAlarmRequest.Builderto create a request.- Returns:
- Result of the DescribeAlarm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeDetector
default DescribeDetectorResponse describeDetector(DescribeDetectorRequest describeDetectorRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Returns information about the specified detector (instance).
- Parameters:
describeDetectorRequest-- Returns:
- Result of the DescribeDetector operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeDetector
default 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.Builderavoiding the need to create one manually viaDescribeDetectorRequest.builder()- Parameters:
describeDetectorRequest- AConsumerthat will call methods onDescribeDetectorRequest.Builderto create a request.- Returns:
- Result of the DescribeDetector operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAlarms
default 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.
- Parameters:
listAlarmsRequest-- Returns:
- Result of the ListAlarms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAlarms
default 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.Builderavoiding the need to create one manually viaListAlarmsRequest.builder()- Parameters:
listAlarmsRequest- AConsumerthat will call methods onListAlarmsRequest.Builderto create a request.- Returns:
- Result of the ListAlarms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDetectors
default ListDetectorsResponse listDetectors(ListDetectorsRequest listDetectorsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsDataException
Lists detectors (the instances of a detector model).
- Parameters:
listDetectorsRequest-- Returns:
- Result of the ListDetectors operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDetectors
default 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.Builderavoiding the need to create one manually viaListDetectorsRequest.builder()- Parameters:
listDetectorsRequest- AConsumerthat will call methods onListDetectorsRequest.Builderto create a request.- Returns:
- Result of the ListDetectors operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static IotEventsDataClient create()
Create aIotEventsDataClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static IotEventsDataClientBuilder builder()
Create a builder that can be used to configure and create aIotEventsDataClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default IotEventsDataServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-