Interface IotEventsDataAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface IotEventsDataAsyncClient
    extends AwsClient
    Service client for accessing AWS IoT Events Data asynchronously. This can be created using the static 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.

    • Method Detail

      • batchAcknowledgeAlarm

        default CompletableFuture<BatchAcknowledgeAlarmResponse> batchAcknowledgeAlarm​(BatchAcknowledgeAlarmRequest batchAcknowledgeAlarmRequest)

        Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge them.

        Parameters:
        batchAcknowledgeAlarmRequest -
        Returns:
        A Java Future containing the result of the BatchAcknowledgeAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchAcknowledgeAlarm

        default CompletableFuture<BatchAcknowledgeAlarmResponse> batchAcknowledgeAlarm​(Consumer<BatchAcknowledgeAlarmRequest.Builder> batchAcknowledgeAlarmRequest)

        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()

        Parameters:
        batchAcknowledgeAlarmRequest - A Consumer that will call methods on BatchAcknowledgeAlarmRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchAcknowledgeAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchDeleteDetector

        default CompletableFuture<BatchDeleteDetectorResponse> batchDeleteDetector​(BatchDeleteDetectorRequest batchDeleteDetectorRequest)

        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:
        A Java Future containing the result of the BatchDeleteDetector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchDeleteDetector

        default CompletableFuture<BatchDeleteDetectorResponse> batchDeleteDetector​(Consumer<BatchDeleteDetectorRequest.Builder> batchDeleteDetectorRequest)

        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()

        Parameters:
        batchDeleteDetectorRequest - A Consumer that will call methods on BatchDeleteDetectorRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchDeleteDetector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchDisableAlarm

        default CompletableFuture<BatchDisableAlarmResponse> batchDisableAlarm​(BatchDisableAlarmRequest batchDisableAlarmRequest)

        Disables one or more alarms. The alarms change to the DISABLED state after you disable them.

        Parameters:
        batchDisableAlarmRequest -
        Returns:
        A Java Future containing the result of the BatchDisableAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchDisableAlarm

        default CompletableFuture<BatchDisableAlarmResponse> batchDisableAlarm​(Consumer<BatchDisableAlarmRequest.Builder> batchDisableAlarmRequest)

        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()

        Parameters:
        batchDisableAlarmRequest - A Consumer that will call methods on BatchDisableAlarmRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchDisableAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchEnableAlarm

        default CompletableFuture<BatchEnableAlarmResponse> batchEnableAlarm​(BatchEnableAlarmRequest batchEnableAlarmRequest)

        Enables one or more alarms. The alarms change to the NORMAL state after you enable them.

        Parameters:
        batchEnableAlarmRequest -
        Returns:
        A Java Future containing the result of the BatchEnableAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchEnableAlarm

        default CompletableFuture<BatchEnableAlarmResponse> batchEnableAlarm​(Consumer<BatchEnableAlarmRequest.Builder> batchEnableAlarmRequest)

        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()

        Parameters:
        batchEnableAlarmRequest - A Consumer that will call methods on BatchEnableAlarmRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchEnableAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchPutMessage

        default CompletableFuture<BatchPutMessageResponse> batchPutMessage​(BatchPutMessageRequest batchPutMessageRequest)

        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:
        A Java Future containing the result of the BatchPutMessage operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchPutMessage

        default CompletableFuture<BatchPutMessageResponse> batchPutMessage​(Consumer<BatchPutMessageRequest.Builder> batchPutMessageRequest)

        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()

        Parameters:
        batchPutMessageRequest - A Consumer that will call methods on BatchPutMessageRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchPutMessage operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchResetAlarm

        default CompletableFuture<BatchResetAlarmResponse> batchResetAlarm​(BatchResetAlarmRequest batchResetAlarmRequest)

        Resets one or more alarms. The alarms return to the NORMAL state after you reset them.

        Parameters:
        batchResetAlarmRequest -
        Returns:
        A Java Future containing the result of the BatchResetAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchResetAlarm

        default CompletableFuture<BatchResetAlarmResponse> batchResetAlarm​(Consumer<BatchResetAlarmRequest.Builder> batchResetAlarmRequest)

        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()

        Parameters:
        batchResetAlarmRequest - A Consumer that will call methods on BatchResetAlarmRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchResetAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchSnoozeAlarm

        default CompletableFuture<BatchSnoozeAlarmResponse> batchSnoozeAlarm​(BatchSnoozeAlarmRequest batchSnoozeAlarmRequest)

        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.

        Parameters:
        batchSnoozeAlarmRequest -
        Returns:
        A Java Future containing the result of the BatchSnoozeAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchSnoozeAlarm

        default CompletableFuture<BatchSnoozeAlarmResponse> batchSnoozeAlarm​(Consumer<BatchSnoozeAlarmRequest.Builder> batchSnoozeAlarmRequest)

        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()

        Parameters:
        batchSnoozeAlarmRequest - A Consumer that will call methods on BatchSnoozeAlarmRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchSnoozeAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchUpdateDetector

        default CompletableFuture<BatchUpdateDetectorResponse> batchUpdateDetector​(BatchUpdateDetectorRequest batchUpdateDetectorRequest)

        Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.

        Parameters:
        batchUpdateDetectorRequest -
        Returns:
        A Java Future containing the result of the BatchUpdateDetector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • batchUpdateDetector

        default CompletableFuture<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.


        This is a convenience which creates an instance of the BatchUpdateDetectorRequest.Builder avoiding the need to create one manually via BatchUpdateDetectorRequest.builder()

        Parameters:
        batchUpdateDetectorRequest - A Consumer that will call methods on BatchUpdateDetectorRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchUpdateDetector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • describeAlarm

        default CompletableFuture<DescribeAlarmResponse> describeAlarm​(DescribeAlarmRequest describeAlarmRequest)

        Retrieves information about an alarm.

        Parameters:
        describeAlarmRequest -
        Returns:
        A Java Future containing the result of the DescribeAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • describeAlarm

        default CompletableFuture<DescribeAlarmResponse> describeAlarm​(Consumer<DescribeAlarmRequest.Builder> describeAlarmRequest)

        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()

        Parameters:
        describeAlarmRequest - A Consumer that will call methods on DescribeAlarmRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeAlarm operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • describeDetector

        default CompletableFuture<DescribeDetectorResponse> describeDetector​(DescribeDetectorRequest describeDetectorRequest)

        Returns information about the specified detector (instance).

        Parameters:
        describeDetectorRequest -
        Returns:
        A Java Future containing the result of the DescribeDetector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • describeDetector

        default CompletableFuture<DescribeDetectorResponse> describeDetector​(Consumer<DescribeDetectorRequest.Builder> describeDetectorRequest)

        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()

        Parameters:
        describeDetectorRequest - A Consumer that will call methods on DescribeDetectorRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeDetector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • listAlarms

        default CompletableFuture<ListAlarmsResponse> listAlarms​(ListAlarmsRequest listAlarmsRequest)

        Lists one or more alarms. The operation returns only the metadata associated with each alarm.

        Parameters:
        listAlarmsRequest -
        Returns:
        A Java Future containing the result of the ListAlarms operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • listAlarms

        default CompletableFuture<ListAlarmsResponse> listAlarms​(Consumer<ListAlarmsRequest.Builder> listAlarmsRequest)

        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()

        Parameters:
        listAlarmsRequest - A Consumer that will call methods on ListAlarmsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListAlarms operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • listDetectors

        default CompletableFuture<ListDetectorsResponse> listDetectors​(ListDetectorsRequest listDetectorsRequest)

        Lists detectors (the instances of a detector model).

        Parameters:
        listDetectorsRequest -
        Returns:
        A Java Future containing the result of the ListDetectors operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation
      • listDetectors

        default CompletableFuture<ListDetectorsResponse> listDetectors​(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)

        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()

        Parameters:
        listDetectorsRequest - A Consumer that will call methods on ListDetectorsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDetectors operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • 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.
        See Also:
        AWS API Documentation