
software.amazon.awssdk.services.iotanalytics.IoTAnalyticsClient Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.iotanalytics;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.iotanalytics.model.BatchPutMessageRequest;
import software.amazon.awssdk.services.iotanalytics.model.BatchPutMessageResponse;
import software.amazon.awssdk.services.iotanalytics.model.CancelPipelineReprocessingRequest;
import software.amazon.awssdk.services.iotanalytics.model.CancelPipelineReprocessingResponse;
import software.amazon.awssdk.services.iotanalytics.model.CreateChannelRequest;
import software.amazon.awssdk.services.iotanalytics.model.CreateChannelResponse;
import software.amazon.awssdk.services.iotanalytics.model.CreateDatasetContentRequest;
import software.amazon.awssdk.services.iotanalytics.model.CreateDatasetContentResponse;
import software.amazon.awssdk.services.iotanalytics.model.CreateDatasetRequest;
import software.amazon.awssdk.services.iotanalytics.model.CreateDatasetResponse;
import software.amazon.awssdk.services.iotanalytics.model.CreateDatastoreRequest;
import software.amazon.awssdk.services.iotanalytics.model.CreateDatastoreResponse;
import software.amazon.awssdk.services.iotanalytics.model.CreatePipelineRequest;
import software.amazon.awssdk.services.iotanalytics.model.CreatePipelineResponse;
import software.amazon.awssdk.services.iotanalytics.model.DeleteChannelRequest;
import software.amazon.awssdk.services.iotanalytics.model.DeleteChannelResponse;
import software.amazon.awssdk.services.iotanalytics.model.DeleteDatasetContentRequest;
import software.amazon.awssdk.services.iotanalytics.model.DeleteDatasetContentResponse;
import software.amazon.awssdk.services.iotanalytics.model.DeleteDatasetRequest;
import software.amazon.awssdk.services.iotanalytics.model.DeleteDatasetResponse;
import software.amazon.awssdk.services.iotanalytics.model.DeleteDatastoreRequest;
import software.amazon.awssdk.services.iotanalytics.model.DeleteDatastoreResponse;
import software.amazon.awssdk.services.iotanalytics.model.DeletePipelineRequest;
import software.amazon.awssdk.services.iotanalytics.model.DeletePipelineResponse;
import software.amazon.awssdk.services.iotanalytics.model.DescribeChannelRequest;
import software.amazon.awssdk.services.iotanalytics.model.DescribeChannelResponse;
import software.amazon.awssdk.services.iotanalytics.model.DescribeDatasetRequest;
import software.amazon.awssdk.services.iotanalytics.model.DescribeDatasetResponse;
import software.amazon.awssdk.services.iotanalytics.model.DescribeDatastoreRequest;
import software.amazon.awssdk.services.iotanalytics.model.DescribeDatastoreResponse;
import software.amazon.awssdk.services.iotanalytics.model.DescribeLoggingOptionsRequest;
import software.amazon.awssdk.services.iotanalytics.model.DescribeLoggingOptionsResponse;
import software.amazon.awssdk.services.iotanalytics.model.DescribePipelineRequest;
import software.amazon.awssdk.services.iotanalytics.model.DescribePipelineResponse;
import software.amazon.awssdk.services.iotanalytics.model.GetDatasetContentRequest;
import software.amazon.awssdk.services.iotanalytics.model.GetDatasetContentResponse;
import software.amazon.awssdk.services.iotanalytics.model.InternalFailureException;
import software.amazon.awssdk.services.iotanalytics.model.InvalidRequestException;
import software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsException;
import software.amazon.awssdk.services.iotanalytics.model.LimitExceededException;
import software.amazon.awssdk.services.iotanalytics.model.ListChannelsRequest;
import software.amazon.awssdk.services.iotanalytics.model.ListChannelsResponse;
import software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsRequest;
import software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsResponse;
import software.amazon.awssdk.services.iotanalytics.model.ListDatasetsRequest;
import software.amazon.awssdk.services.iotanalytics.model.ListDatasetsResponse;
import software.amazon.awssdk.services.iotanalytics.model.ListDatastoresRequest;
import software.amazon.awssdk.services.iotanalytics.model.ListDatastoresResponse;
import software.amazon.awssdk.services.iotanalytics.model.ListPipelinesRequest;
import software.amazon.awssdk.services.iotanalytics.model.ListPipelinesResponse;
import software.amazon.awssdk.services.iotanalytics.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.iotanalytics.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.iotanalytics.model.PutLoggingOptionsRequest;
import software.amazon.awssdk.services.iotanalytics.model.PutLoggingOptionsResponse;
import software.amazon.awssdk.services.iotanalytics.model.ResourceAlreadyExistsException;
import software.amazon.awssdk.services.iotanalytics.model.ResourceNotFoundException;
import software.amazon.awssdk.services.iotanalytics.model.RunPipelineActivityRequest;
import software.amazon.awssdk.services.iotanalytics.model.RunPipelineActivityResponse;
import software.amazon.awssdk.services.iotanalytics.model.SampleChannelDataRequest;
import software.amazon.awssdk.services.iotanalytics.model.SampleChannelDataResponse;
import software.amazon.awssdk.services.iotanalytics.model.ServiceUnavailableException;
import software.amazon.awssdk.services.iotanalytics.model.StartPipelineReprocessingRequest;
import software.amazon.awssdk.services.iotanalytics.model.StartPipelineReprocessingResponse;
import software.amazon.awssdk.services.iotanalytics.model.TagResourceRequest;
import software.amazon.awssdk.services.iotanalytics.model.TagResourceResponse;
import software.amazon.awssdk.services.iotanalytics.model.ThrottlingException;
import software.amazon.awssdk.services.iotanalytics.model.UntagResourceRequest;
import software.amazon.awssdk.services.iotanalytics.model.UntagResourceResponse;
import software.amazon.awssdk.services.iotanalytics.model.UpdateChannelRequest;
import software.amazon.awssdk.services.iotanalytics.model.UpdateChannelResponse;
import software.amazon.awssdk.services.iotanalytics.model.UpdateDatasetRequest;
import software.amazon.awssdk.services.iotanalytics.model.UpdateDatasetResponse;
import software.amazon.awssdk.services.iotanalytics.model.UpdateDatastoreRequest;
import software.amazon.awssdk.services.iotanalytics.model.UpdateDatastoreResponse;
import software.amazon.awssdk.services.iotanalytics.model.UpdatePipelineRequest;
import software.amazon.awssdk.services.iotanalytics.model.UpdatePipelineResponse;
import software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable;
import software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetContentsIterable;
import software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable;
import software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable;
import software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable;
/**
* Service client for accessing AWS IoT Analytics. This can be created using the static {@link #builder()} method.
*
*
* AWS IoT Analytics allows you to collect large amounts of device data, process messages, and store them. You can then
* query the data and run sophisticated analytics on it. AWS IoT Analytics enables advanced data exploration through
* integration with Jupyter Notebooks and data visualization through integration with Amazon QuickSight.
*
*
* Traditional analytics and business intelligence tools are designed to process structured data. IoT data often comes
* from devices that record noisy processes (such as temperature, motion, or sound). As a result the data from these
* devices can have significant gaps, corrupted messages, and false readings that must be cleaned up before analysis can
* occur. Also, IoT data is often only meaningful in the context of other data from external sources.
*
*
* AWS IoT Analytics automates the steps required to analyze data from IoT devices. AWS IoT Analytics filters,
* transforms, and enriches IoT data before storing it in a time-series data store for analysis. You can set up the
* service to collect only the data you need from your devices, apply mathematical transforms to process the data, and
* enrich the data with device-specific metadata such as device type and location before storing it. Then, you can
* analyze your data by running queries using the built-in SQL query engine, or perform more complex analytics and
* machine learning inference. AWS IoT Analytics includes pre-built models for common IoT use cases so you can answer
* questions like which devices are about to fail or which customers are at risk of abandoning their wearable devices.
*
*/
@Generated("software.amazon.awssdk:codegen")
public interface IoTAnalyticsClient extends SdkClient {
String SERVICE_NAME = "iotanalytics";
/**
* Create a {@link IoTAnalyticsClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static IoTAnalyticsClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link IoTAnalyticsClient}.
*/
static IoTAnalyticsClientBuilder builder() {
return new DefaultIoTAnalyticsClientBuilder();
}
/**
*
* Sends messages to a channel.
*
*
* @param batchPutMessageRequest
* @return Result of the BatchPutMessage operation returned by the service.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.BatchPutMessage
* @see AWS
* API Documentation
*/
default BatchPutMessageResponse batchPutMessage(BatchPutMessageRequest batchPutMessageRequest)
throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Sends messages to a channel.
*
*
*
* This is a convenience which creates an instance of the {@link BatchPutMessageRequest.Builder} avoiding the need
* to create one manually via {@link BatchPutMessageRequest#builder()}
*
*
* @param batchPutMessageRequest
* A {@link Consumer} that will call methods on {@link BatchPutMessageRequest.Builder} to create a request.
* @return Result of the BatchPutMessage operation returned by the service.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.BatchPutMessage
* @see AWS
* API Documentation
*/
default BatchPutMessageResponse batchPutMessage(Consumer batchPutMessageRequest)
throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return batchPutMessage(BatchPutMessageRequest.builder().applyMutation(batchPutMessageRequest).build());
}
/**
*
* Cancels the reprocessing of data through the pipeline.
*
*
* @param cancelPipelineReprocessingRequest
* @return Result of the CancelPipelineReprocessing operation returned by the service.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CancelPipelineReprocessing
* @see AWS API Documentation
*/
default CancelPipelineReprocessingResponse cancelPipelineReprocessing(
CancelPipelineReprocessingRequest cancelPipelineReprocessingRequest) throws ResourceNotFoundException,
InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Cancels the reprocessing of data through the pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link CancelPipelineReprocessingRequest.Builder} avoiding
* the need to create one manually via {@link CancelPipelineReprocessingRequest#builder()}
*
*
* @param cancelPipelineReprocessingRequest
* A {@link Consumer} that will call methods on {@link CancelPipelineReprocessingRequest.Builder} to create a
* request.
* @return Result of the CancelPipelineReprocessing operation returned by the service.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CancelPipelineReprocessing
* @see AWS API Documentation
*/
default CancelPipelineReprocessingResponse cancelPipelineReprocessing(
Consumer cancelPipelineReprocessingRequest)
throws ResourceNotFoundException, InvalidRequestException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return cancelPipelineReprocessing(CancelPipelineReprocessingRequest.builder()
.applyMutation(cancelPipelineReprocessingRequest).build());
}
/**
*
* Creates a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before
* publishing the data to a pipeline.
*
*
* @param createChannelRequest
* @return Result of the CreateChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateChannel
* @see AWS API
* Documentation
*/
default CreateChannelResponse createChannel(CreateChannelRequest createChannelRequest) throws InvalidRequestException,
ResourceAlreadyExistsException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
LimitExceededException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before
* publishing the data to a pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link CreateChannelRequest.Builder} avoiding the need to
* create one manually via {@link CreateChannelRequest#builder()}
*
*
* @param createChannelRequest
* A {@link Consumer} that will call methods on {@link CreateChannelRequest.Builder} to create a request.
* @return Result of the CreateChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateChannel
* @see AWS API
* Documentation
*/
default CreateChannelResponse createChannel(Consumer createChannelRequest)
throws InvalidRequestException, ResourceAlreadyExistsException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
return createChannel(CreateChannelRequest.builder().applyMutation(createChannelRequest).build());
}
/**
*
* Creates a data set. A data set stores data retrieved from a data store by applying a "queryAction" (a SQL query)
* or a "containerAction" (executing a containerized application). This operation creates the skeleton of a data
* set. The data set can be populated manually by calling "CreateDatasetContent" or automatically according to a
* "trigger" you specify.
*
*
* @param createDatasetRequest
* @return Result of the CreateDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateDataset
* @see AWS API
* Documentation
*/
default CreateDatasetResponse createDataset(CreateDatasetRequest createDatasetRequest) throws InvalidRequestException,
ResourceAlreadyExistsException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
LimitExceededException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a data set. A data set stores data retrieved from a data store by applying a "queryAction" (a SQL query)
* or a "containerAction" (executing a containerized application). This operation creates the skeleton of a data
* set. The data set can be populated manually by calling "CreateDatasetContent" or automatically according to a
* "trigger" you specify.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDatasetRequest.Builder} avoiding the need to
* create one manually via {@link CreateDatasetRequest#builder()}
*
*
* @param createDatasetRequest
* A {@link Consumer} that will call methods on {@link CreateDatasetRequest.Builder} to create a request.
* @return Result of the CreateDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateDataset
* @see AWS API
* Documentation
*/
default CreateDatasetResponse createDataset(Consumer createDatasetRequest)
throws InvalidRequestException, ResourceAlreadyExistsException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
return createDataset(CreateDatasetRequest.builder().applyMutation(createDatasetRequest).build());
}
/**
*
* Creates the content of a data set by applying a "queryAction" (a SQL query) or a "containerAction" (executing a
* containerized application).
*
*
* @param createDatasetContentRequest
* @return Result of the CreateDatasetContent operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateDatasetContent
* @see AWS API Documentation
*/
default CreateDatasetContentResponse createDatasetContent(CreateDatasetContentRequest createDatasetContentRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Creates the content of a data set by applying a "queryAction" (a SQL query) or a "containerAction" (executing a
* containerized application).
*
*
*
* This is a convenience which creates an instance of the {@link CreateDatasetContentRequest.Builder} avoiding the
* need to create one manually via {@link CreateDatasetContentRequest#builder()}
*
*
* @param createDatasetContentRequest
* A {@link Consumer} that will call methods on {@link CreateDatasetContentRequest.Builder} to create a
* request.
* @return Result of the CreateDatasetContent operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateDatasetContent
* @see AWS API Documentation
*/
default CreateDatasetContentResponse createDatasetContent(
Consumer createDatasetContentRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return createDatasetContent(CreateDatasetContentRequest.builder().applyMutation(createDatasetContentRequest).build());
}
/**
*
* Creates a data store, which is a repository for messages.
*
*
* @param createDatastoreRequest
* @return Result of the CreateDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateDatastore
* @see AWS
* API Documentation
*/
default CreateDatastoreResponse createDatastore(CreateDatastoreRequest createDatastoreRequest)
throws InvalidRequestException, ResourceAlreadyExistsException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a data store, which is a repository for messages.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDatastoreRequest.Builder} avoiding the need
* to create one manually via {@link CreateDatastoreRequest#builder()}
*
*
* @param createDatastoreRequest
* A {@link Consumer} that will call methods on {@link CreateDatastoreRequest.Builder} to create a request.
* @return Result of the CreateDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreateDatastore
* @see AWS
* API Documentation
*/
default CreateDatastoreResponse createDatastore(Consumer createDatastoreRequest)
throws InvalidRequestException, ResourceAlreadyExistsException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
return createDatastore(CreateDatastoreRequest.builder().applyMutation(createDatastoreRequest).build());
}
/**
*
* Creates a pipeline. A pipeline consumes messages from a channel and allows you to process the messages before
* storing them in a data store. You must specify both a channel
and a datastore
activity
* and, optionally, as many as 23 additional activities in the pipelineActivities
array.
*
*
* @param createPipelineRequest
* @return Result of the CreatePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreatePipeline
* @see AWS
* API Documentation
*/
default CreatePipelineResponse createPipeline(CreatePipelineRequest createPipelineRequest) throws InvalidRequestException,
ResourceAlreadyExistsException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
LimitExceededException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a pipeline. A pipeline consumes messages from a channel and allows you to process the messages before
* storing them in a data store. You must specify both a channel
and a datastore
activity
* and, optionally, as many as 23 additional activities in the pipelineActivities
array.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePipelineRequest.Builder} avoiding the need to
* create one manually via {@link CreatePipelineRequest#builder()}
*
*
* @param createPipelineRequest
* A {@link Consumer} that will call methods on {@link CreatePipelineRequest.Builder} to create a request.
* @return Result of the CreatePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.CreatePipeline
* @see AWS
* API Documentation
*/
default CreatePipelineResponse createPipeline(Consumer createPipelineRequest)
throws InvalidRequestException, ResourceAlreadyExistsException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
return createPipeline(CreatePipelineRequest.builder().applyMutation(createPipelineRequest).build());
}
/**
*
* Deletes the specified channel.
*
*
* @param deleteChannelRequest
* @return Result of the DeleteChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteChannel
* @see AWS API
* Documentation
*/
default DeleteChannelResponse deleteChannel(DeleteChannelRequest deleteChannelRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteChannelRequest.Builder} avoiding the need to
* create one manually via {@link DeleteChannelRequest#builder()}
*
*
* @param deleteChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteChannelRequest.Builder} to create a request.
* @return Result of the DeleteChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteChannel
* @see AWS API
* Documentation
*/
default DeleteChannelResponse deleteChannel(Consumer deleteChannelRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return deleteChannel(DeleteChannelRequest.builder().applyMutation(deleteChannelRequest).build());
}
/**
*
* Deletes the specified data set.
*
*
* You do not have to delete the content of the data set before you perform this operation.
*
*
* @param deleteDatasetRequest
* @return Result of the DeleteDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteDataset
* @see AWS API
* Documentation
*/
default DeleteDatasetResponse deleteDataset(DeleteDatasetRequest deleteDatasetRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified data set.
*
*
* You do not have to delete the content of the data set before you perform this operation.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDatasetRequest.Builder} avoiding the need to
* create one manually via {@link DeleteDatasetRequest#builder()}
*
*
* @param deleteDatasetRequest
* A {@link Consumer} that will call methods on {@link DeleteDatasetRequest.Builder} to create a request.
* @return Result of the DeleteDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteDataset
* @see AWS API
* Documentation
*/
default DeleteDatasetResponse deleteDataset(Consumer deleteDatasetRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return deleteDataset(DeleteDatasetRequest.builder().applyMutation(deleteDatasetRequest).build());
}
/**
*
* Deletes the content of the specified data set.
*
*
* @param deleteDatasetContentRequest
* @return Result of the DeleteDatasetContent operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteDatasetContent
* @see AWS API Documentation
*/
default DeleteDatasetContentResponse deleteDatasetContent(DeleteDatasetContentRequest deleteDatasetContentRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the content of the specified data set.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDatasetContentRequest.Builder} avoiding the
* need to create one manually via {@link DeleteDatasetContentRequest#builder()}
*
*
* @param deleteDatasetContentRequest
* A {@link Consumer} that will call methods on {@link DeleteDatasetContentRequest.Builder} to create a
* request.
* @return Result of the DeleteDatasetContent operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteDatasetContent
* @see AWS API Documentation
*/
default DeleteDatasetContentResponse deleteDatasetContent(
Consumer deleteDatasetContentRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return deleteDatasetContent(DeleteDatasetContentRequest.builder().applyMutation(deleteDatasetContentRequest).build());
}
/**
*
* Deletes the specified data store.
*
*
* @param deleteDatastoreRequest
* @return Result of the DeleteDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteDatastore
* @see AWS
* API Documentation
*/
default DeleteDatastoreResponse deleteDatastore(DeleteDatastoreRequest deleteDatastoreRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified data store.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDatastoreRequest.Builder} avoiding the need
* to create one manually via {@link DeleteDatastoreRequest#builder()}
*
*
* @param deleteDatastoreRequest
* A {@link Consumer} that will call methods on {@link DeleteDatastoreRequest.Builder} to create a request.
* @return Result of the DeleteDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeleteDatastore
* @see AWS
* API Documentation
*/
default DeleteDatastoreResponse deleteDatastore(Consumer deleteDatastoreRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return deleteDatastore(DeleteDatastoreRequest.builder().applyMutation(deleteDatastoreRequest).build());
}
/**
*
* Deletes the specified pipeline.
*
*
* @param deletePipelineRequest
* @return Result of the DeletePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeletePipeline
* @see AWS
* API Documentation
*/
default DeletePipelineResponse deletePipeline(DeletePipelineRequest deletePipelineRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePipelineRequest.Builder} avoiding the need to
* create one manually via {@link DeletePipelineRequest#builder()}
*
*
* @param deletePipelineRequest
* A {@link Consumer} that will call methods on {@link DeletePipelineRequest.Builder} to create a request.
* @return Result of the DeletePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DeletePipeline
* @see AWS
* API Documentation
*/
default DeletePipelineResponse deletePipeline(Consumer deletePipelineRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return deletePipeline(DeletePipelineRequest.builder().applyMutation(deletePipelineRequest).build());
}
/**
*
* Retrieves information about a channel.
*
*
* @param describeChannelRequest
* @return Result of the DescribeChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeChannel
* @see AWS
* API Documentation
*/
default DescribeChannelResponse describeChannel(DescribeChannelRequest describeChannelRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a channel.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeChannelRequest.Builder} avoiding the need
* to create one manually via {@link DescribeChannelRequest#builder()}
*
*
* @param describeChannelRequest
* A {@link Consumer} that will call methods on {@link DescribeChannelRequest.Builder} to create a request.
* @return Result of the DescribeChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeChannel
* @see AWS
* API Documentation
*/
default DescribeChannelResponse describeChannel(Consumer describeChannelRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return describeChannel(DescribeChannelRequest.builder().applyMutation(describeChannelRequest).build());
}
/**
*
* Retrieves information about a data set.
*
*
* @param describeDatasetRequest
* @return Result of the DescribeDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeDataset
* @see AWS
* API Documentation
*/
default DescribeDatasetResponse describeDataset(DescribeDatasetRequest describeDatasetRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a data set.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDatasetRequest.Builder} avoiding the need
* to create one manually via {@link DescribeDatasetRequest#builder()}
*
*
* @param describeDatasetRequest
* A {@link Consumer} that will call methods on {@link DescribeDatasetRequest.Builder} to create a request.
* @return Result of the DescribeDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeDataset
* @see AWS
* API Documentation
*/
default DescribeDatasetResponse describeDataset(Consumer describeDatasetRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return describeDataset(DescribeDatasetRequest.builder().applyMutation(describeDatasetRequest).build());
}
/**
*
* Retrieves information about a data store.
*
*
* @param describeDatastoreRequest
* @return Result of the DescribeDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeDatastore
* @see AWS
* API Documentation
*/
default DescribeDatastoreResponse describeDatastore(DescribeDatastoreRequest describeDatastoreRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a data store.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDatastoreRequest.Builder} avoiding the need
* to create one manually via {@link DescribeDatastoreRequest#builder()}
*
*
* @param describeDatastoreRequest
* A {@link Consumer} that will call methods on {@link DescribeDatastoreRequest.Builder} to create a request.
* @return Result of the DescribeDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeDatastore
* @see AWS
* API Documentation
*/
default DescribeDatastoreResponse describeDatastore(Consumer describeDatastoreRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return describeDatastore(DescribeDatastoreRequest.builder().applyMutation(describeDatastoreRequest).build());
}
/**
*
* Retrieves the current settings of the AWS IoT Analytics logging options.
*
*
* @param describeLoggingOptionsRequest
* @return Result of the DescribeLoggingOptions operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeLoggingOptions
* @see AWS API Documentation
*/
default DescribeLoggingOptionsResponse describeLoggingOptions(DescribeLoggingOptionsRequest describeLoggingOptionsRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the current settings of the AWS IoT Analytics logging options.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeLoggingOptionsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeLoggingOptionsRequest#builder()}
*
*
* @param describeLoggingOptionsRequest
* A {@link Consumer} that will call methods on {@link DescribeLoggingOptionsRequest.Builder} to create a
* request.
* @return Result of the DescribeLoggingOptions operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribeLoggingOptions
* @see AWS API Documentation
*/
default DescribeLoggingOptionsResponse describeLoggingOptions(
Consumer describeLoggingOptionsRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return describeLoggingOptions(DescribeLoggingOptionsRequest.builder().applyMutation(describeLoggingOptionsRequest)
.build());
}
/**
*
* Retrieves information about a pipeline.
*
*
* @param describePipelineRequest
* @return Result of the DescribePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribePipeline
* @see AWS
* API Documentation
*/
default DescribePipelineResponse describePipeline(DescribePipelineRequest describePipelineRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePipelineRequest.Builder} avoiding the need
* to create one manually via {@link DescribePipelineRequest#builder()}
*
*
* @param describePipelineRequest
* A {@link Consumer} that will call methods on {@link DescribePipelineRequest.Builder} to create a request.
* @return Result of the DescribePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.DescribePipeline
* @see AWS
* API Documentation
*/
default DescribePipelineResponse describePipeline(Consumer describePipelineRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return describePipeline(DescribePipelineRequest.builder().applyMutation(describePipelineRequest).build());
}
/**
*
* Retrieves the contents of a data set as pre-signed URIs.
*
*
* @param getDatasetContentRequest
* @return Result of the GetDatasetContent operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.GetDatasetContent
* @see AWS
* API Documentation
*/
default GetDatasetContentResponse getDatasetContent(GetDatasetContentRequest getDatasetContentRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the contents of a data set as pre-signed URIs.
*
*
*
* This is a convenience which creates an instance of the {@link GetDatasetContentRequest.Builder} avoiding the need
* to create one manually via {@link GetDatasetContentRequest#builder()}
*
*
* @param getDatasetContentRequest
* A {@link Consumer} that will call methods on {@link GetDatasetContentRequest.Builder} to create a request.
* @return Result of the GetDatasetContent operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.GetDatasetContent
* @see AWS
* API Documentation
*/
default GetDatasetContentResponse getDatasetContent(Consumer getDatasetContentRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return getDatasetContent(GetDatasetContentRequest.builder().applyMutation(getDatasetContentRequest).build());
}
/**
*
* Retrieves a list of channels.
*
*
* @return Result of the ListChannels operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListChannels
* @see #listChannels(ListChannelsRequest)
* @see AWS API
* Documentation
*/
default ListChannelsResponse listChannels() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listChannels(ListChannelsRequest.builder().build());
}
/**
*
* Retrieves a list of channels.
*
*
* @param listChannelsRequest
* @return Result of the ListChannels operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListChannels
* @see AWS API
* Documentation
*/
default ListChannelsResponse listChannels(ListChannelsRequest listChannelsRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of channels.
*
*
*
* This is a convenience which creates an instance of the {@link ListChannelsRequest.Builder} avoiding the need to
* create one manually via {@link ListChannelsRequest#builder()}
*
*
* @param listChannelsRequest
* A {@link Consumer} that will call methods on {@link ListChannelsRequest.Builder} to create a request.
* @return Result of the ListChannels operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListChannels
* @see AWS API
* Documentation
*/
default ListChannelsResponse listChannels(Consumer listChannelsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listChannels(ListChannelsRequest.builder().applyMutation(listChannelsRequest).build());
}
/**
*
* Retrieves a list of channels.
*
*
*
* This is a variant of
* {@link #listChannels(software.amazon.awssdk.services.iotanalytics.model.ListChannelsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client
* .listChannelsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListChannelsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listChannels(software.amazon.awssdk.services.iotanalytics.model.ListChannelsRequest)} operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListChannels
* @see #listChannelsPaginator(ListChannelsRequest)
* @see AWS API
* Documentation
*/
default ListChannelsIterable listChannelsPaginator() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listChannelsPaginator(ListChannelsRequest.builder().build());
}
/**
*
* Retrieves a list of channels.
*
*
*
* This is a variant of
* {@link #listChannels(software.amazon.awssdk.services.iotanalytics.model.ListChannelsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client
* .listChannelsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListChannelsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listChannels(software.amazon.awssdk.services.iotanalytics.model.ListChannelsRequest)} operation.
*
*
* @param listChannelsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListChannels
* @see AWS API
* Documentation
*/
default ListChannelsIterable listChannelsPaginator(ListChannelsRequest listChannelsRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of channels.
*
*
*
* This is a variant of
* {@link #listChannels(software.amazon.awssdk.services.iotanalytics.model.ListChannelsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client
* .listChannelsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListChannelsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listChannels(software.amazon.awssdk.services.iotanalytics.model.ListChannelsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListChannelsRequest.Builder} avoiding the need to
* create one manually via {@link ListChannelsRequest#builder()}
*
*
* @param listChannelsRequest
* A {@link Consumer} that will call methods on {@link ListChannelsRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListChannels
* @see AWS API
* Documentation
*/
default ListChannelsIterable listChannelsPaginator(Consumer listChannelsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listChannelsPaginator(ListChannelsRequest.builder().applyMutation(listChannelsRequest).build());
}
/**
*
* Lists information about data set contents that have been created.
*
*
* @param listDatasetContentsRequest
* @return Result of the ListDatasetContents operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasetContents
* @see AWS API Documentation
*/
default ListDatasetContentsResponse listDatasetContents(ListDatasetContentsRequest listDatasetContentsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Lists information about data set contents that have been created.
*
*
*
* This is a convenience which creates an instance of the {@link ListDatasetContentsRequest.Builder} avoiding the
* need to create one manually via {@link ListDatasetContentsRequest#builder()}
*
*
* @param listDatasetContentsRequest
* A {@link Consumer} that will call methods on {@link ListDatasetContentsRequest.Builder} to create a
* request.
* @return Result of the ListDatasetContents operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasetContents
* @see AWS API Documentation
*/
default ListDatasetContentsResponse listDatasetContents(
Consumer listDatasetContentsRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, ResourceNotFoundException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatasetContents(ListDatasetContentsRequest.builder().applyMutation(listDatasetContentsRequest).build());
}
/**
*
* Lists information about data set contents that have been created.
*
*
*
* This is a variant of
* {@link #listDatasetContents(software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetContentsIterable responses = client.listDatasetContentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetContentsIterable responses = client
* .listDatasetContentsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetContentsIterable responses = client.listDatasetContentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatasetContents(software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsRequest)}
* operation.
*
*
* @param listDatasetContentsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasetContents
* @see AWS API Documentation
*/
default ListDatasetContentsIterable listDatasetContentsPaginator(ListDatasetContentsRequest listDatasetContentsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Lists information about data set contents that have been created.
*
*
*
* This is a variant of
* {@link #listDatasetContents(software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetContentsIterable responses = client.listDatasetContentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetContentsIterable responses = client
* .listDatasetContentsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetContentsIterable responses = client.listDatasetContentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatasetContents(software.amazon.awssdk.services.iotanalytics.model.ListDatasetContentsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListDatasetContentsRequest.Builder} avoiding the
* need to create one manually via {@link ListDatasetContentsRequest#builder()}
*
*
* @param listDatasetContentsRequest
* A {@link Consumer} that will call methods on {@link ListDatasetContentsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasetContents
* @see AWS API Documentation
*/
default ListDatasetContentsIterable listDatasetContentsPaginator(
Consumer listDatasetContentsRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, ResourceNotFoundException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatasetContentsPaginator(ListDatasetContentsRequest.builder().applyMutation(listDatasetContentsRequest)
.build());
}
/**
*
* Retrieves information about data sets.
*
*
* @return Result of the ListDatasets operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasets
* @see #listDatasets(ListDatasetsRequest)
* @see AWS API
* Documentation
*/
default ListDatasetsResponse listDatasets() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatasets(ListDatasetsRequest.builder().build());
}
/**
*
* Retrieves information about data sets.
*
*
* @param listDatasetsRequest
* @return Result of the ListDatasets operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsResponse listDatasets(ListDatasetsRequest listDatasetsRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about data sets.
*
*
*
* This is a convenience which creates an instance of the {@link ListDatasetsRequest.Builder} avoiding the need to
* create one manually via {@link ListDatasetsRequest#builder()}
*
*
* @param listDatasetsRequest
* A {@link Consumer} that will call methods on {@link ListDatasetsRequest.Builder} to create a request.
* @return Result of the ListDatasets operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsResponse listDatasets(Consumer listDatasetsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatasets(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build());
}
/**
*
* Retrieves information about data sets.
*
*
*
* This is a variant of
* {@link #listDatasets(software.amazon.awssdk.services.iotanalytics.model.ListDatasetsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client
* .listDatasetsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatasetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatasets(software.amazon.awssdk.services.iotanalytics.model.ListDatasetsRequest)} operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasets
* @see #listDatasetsPaginator(ListDatasetsRequest)
* @see AWS API
* Documentation
*/
default ListDatasetsIterable listDatasetsPaginator() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatasetsPaginator(ListDatasetsRequest.builder().build());
}
/**
*
* Retrieves information about data sets.
*
*
*
* This is a variant of
* {@link #listDatasets(software.amazon.awssdk.services.iotanalytics.model.ListDatasetsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client
* .listDatasetsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatasetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatasets(software.amazon.awssdk.services.iotanalytics.model.ListDatasetsRequest)} operation.
*
*
* @param listDatasetsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsIterable listDatasetsPaginator(ListDatasetsRequest listDatasetsRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about data sets.
*
*
*
* This is a variant of
* {@link #listDatasets(software.amazon.awssdk.services.iotanalytics.model.ListDatasetsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client
* .listDatasetsPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatasetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatasets(software.amazon.awssdk.services.iotanalytics.model.ListDatasetsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListDatasetsRequest.Builder} avoiding the need to
* create one manually via {@link ListDatasetsRequest#builder()}
*
*
* @param listDatasetsRequest
* A {@link Consumer} that will call methods on {@link ListDatasetsRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsIterable listDatasetsPaginator(Consumer listDatasetsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatasetsPaginator(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build());
}
/**
*
* Retrieves a list of data stores.
*
*
* @return Result of the ListDatastores operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatastores
* @see #listDatastores(ListDatastoresRequest)
* @see AWS
* API Documentation
*/
default ListDatastoresResponse listDatastores() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatastores(ListDatastoresRequest.builder().build());
}
/**
*
* Retrieves a list of data stores.
*
*
* @param listDatastoresRequest
* @return Result of the ListDatastores operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatastores
* @see AWS
* API Documentation
*/
default ListDatastoresResponse listDatastores(ListDatastoresRequest listDatastoresRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of data stores.
*
*
*
* This is a convenience which creates an instance of the {@link ListDatastoresRequest.Builder} avoiding the need to
* create one manually via {@link ListDatastoresRequest#builder()}
*
*
* @param listDatastoresRequest
* A {@link Consumer} that will call methods on {@link ListDatastoresRequest.Builder} to create a request.
* @return Result of the ListDatastores operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatastores
* @see AWS
* API Documentation
*/
default ListDatastoresResponse listDatastores(Consumer listDatastoresRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatastores(ListDatastoresRequest.builder().applyMutation(listDatastoresRequest).build());
}
/**
*
* Retrieves a list of data stores.
*
*
*
* This is a variant of
* {@link #listDatastores(software.amazon.awssdk.services.iotanalytics.model.ListDatastoresRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client
* .listDatastoresPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatastoresResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatastores(software.amazon.awssdk.services.iotanalytics.model.ListDatastoresRequest)} operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatastores
* @see #listDatastoresPaginator(ListDatastoresRequest)
* @see AWS
* API Documentation
*/
default ListDatastoresIterable listDatastoresPaginator() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatastoresPaginator(ListDatastoresRequest.builder().build());
}
/**
*
* Retrieves a list of data stores.
*
*
*
* This is a variant of
* {@link #listDatastores(software.amazon.awssdk.services.iotanalytics.model.ListDatastoresRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client
* .listDatastoresPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatastoresResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatastores(software.amazon.awssdk.services.iotanalytics.model.ListDatastoresRequest)} operation.
*
*
* @param listDatastoresRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatastores
* @see AWS
* API Documentation
*/
default ListDatastoresIterable listDatastoresPaginator(ListDatastoresRequest listDatastoresRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of data stores.
*
*
*
* This is a variant of
* {@link #listDatastores(software.amazon.awssdk.services.iotanalytics.model.ListDatastoresRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client
* .listDatastoresPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListDatastoresResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatastores(software.amazon.awssdk.services.iotanalytics.model.ListDatastoresRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListDatastoresRequest.Builder} avoiding the need to
* create one manually via {@link ListDatastoresRequest#builder()}
*
*
* @param listDatastoresRequest
* A {@link Consumer} that will call methods on {@link ListDatastoresRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListDatastores
* @see AWS
* API Documentation
*/
default ListDatastoresIterable listDatastoresPaginator(Consumer listDatastoresRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listDatastoresPaginator(ListDatastoresRequest.builder().applyMutation(listDatastoresRequest).build());
}
/**
*
* Retrieves a list of pipelines.
*
*
* @return Result of the ListPipelines operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListPipelines
* @see #listPipelines(ListPipelinesRequest)
* @see AWS API
* Documentation
*/
default ListPipelinesResponse listPipelines() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listPipelines(ListPipelinesRequest.builder().build());
}
/**
*
* Retrieves a list of pipelines.
*
*
* @param listPipelinesRequest
* @return Result of the ListPipelines operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListPipelines
* @see AWS API
* Documentation
*/
default ListPipelinesResponse listPipelines(ListPipelinesRequest listPipelinesRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of pipelines.
*
*
*
* This is a convenience which creates an instance of the {@link ListPipelinesRequest.Builder} avoiding the need to
* create one manually via {@link ListPipelinesRequest#builder()}
*
*
* @param listPipelinesRequest
* A {@link Consumer} that will call methods on {@link ListPipelinesRequest.Builder} to create a request.
* @return Result of the ListPipelines operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListPipelines
* @see AWS API
* Documentation
*/
default ListPipelinesResponse listPipelines(Consumer listPipelinesRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listPipelines(ListPipelinesRequest.builder().applyMutation(listPipelinesRequest).build());
}
/**
*
* Retrieves a list of pipelines.
*
*
*
* This is a variant of
* {@link #listPipelines(software.amazon.awssdk.services.iotanalytics.model.ListPipelinesRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client.listPipelinesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client
* .listPipelinesPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListPipelinesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client.listPipelinesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPipelines(software.amazon.awssdk.services.iotanalytics.model.ListPipelinesRequest)} operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListPipelines
* @see #listPipelinesPaginator(ListPipelinesRequest)
* @see AWS API
* Documentation
*/
default ListPipelinesIterable listPipelinesPaginator() throws InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listPipelinesPaginator(ListPipelinesRequest.builder().build());
}
/**
*
* Retrieves a list of pipelines.
*
*
*
* This is a variant of
* {@link #listPipelines(software.amazon.awssdk.services.iotanalytics.model.ListPipelinesRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client.listPipelinesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client
* .listPipelinesPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListPipelinesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client.listPipelinesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPipelines(software.amazon.awssdk.services.iotanalytics.model.ListPipelinesRequest)} operation.
*
*
* @param listPipelinesRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListPipelines
* @see AWS API
* Documentation
*/
default ListPipelinesIterable listPipelinesPaginator(ListPipelinesRequest listPipelinesRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a list of pipelines.
*
*
*
* This is a variant of
* {@link #listPipelines(software.amazon.awssdk.services.iotanalytics.model.ListPipelinesRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client.listPipelinesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client
* .listPipelinesPaginator(request);
* for (software.amazon.awssdk.services.iotanalytics.model.ListPipelinesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.iotanalytics.paginators.ListPipelinesIterable responses = client.listPipelinesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPipelines(software.amazon.awssdk.services.iotanalytics.model.ListPipelinesRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListPipelinesRequest.Builder} avoiding the need to
* create one manually via {@link ListPipelinesRequest#builder()}
*
*
* @param listPipelinesRequest
* A {@link Consumer} that will call methods on {@link ListPipelinesRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListPipelines
* @see AWS API
* Documentation
*/
default ListPipelinesIterable listPipelinesPaginator(Consumer listPipelinesRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return listPipelinesPaginator(ListPipelinesRequest.builder().applyMutation(listPipelinesRequest).build());
}
/**
*
* Lists the tags (metadata) which you have assigned to the resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListTagsForResource
* @see AWS API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
LimitExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the tags (metadata) which you have assigned to the resource.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a
* request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.ListTagsForResource
* @see AWS API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, LimitExceededException,
ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Sets or updates the AWS IoT Analytics logging options.
*
*
* Note that if you update the value of any loggingOptions
field, it takes up to one minute for the
* change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field
* (for example, to correct an invalid policy) it takes up to 5 minutes for that change to take effect.
*
*
* @param putLoggingOptionsRequest
* @return Result of the PutLoggingOptions operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.PutLoggingOptions
* @see AWS
* API Documentation
*/
default PutLoggingOptionsResponse putLoggingOptions(PutLoggingOptionsRequest putLoggingOptionsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Sets or updates the AWS IoT Analytics logging options.
*
*
* Note that if you update the value of any loggingOptions
field, it takes up to one minute for the
* change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field
* (for example, to correct an invalid policy) it takes up to 5 minutes for that change to take effect.
*
*
*
* This is a convenience which creates an instance of the {@link PutLoggingOptionsRequest.Builder} avoiding the need
* to create one manually via {@link PutLoggingOptionsRequest#builder()}
*
*
* @param putLoggingOptionsRequest
* A {@link Consumer} that will call methods on {@link PutLoggingOptionsRequest.Builder} to create a request.
* @return Result of the PutLoggingOptions operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.PutLoggingOptions
* @see AWS
* API Documentation
*/
default PutLoggingOptionsResponse putLoggingOptions(Consumer putLoggingOptionsRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
return putLoggingOptions(PutLoggingOptionsRequest.builder().applyMutation(putLoggingOptionsRequest).build());
}
/**
*
* Simulates the results of running a pipeline activity on a message payload.
*
*
* @param runPipelineActivityRequest
* @return Result of the RunPipelineActivity operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.RunPipelineActivity
* @see AWS API Documentation
*/
default RunPipelineActivityResponse runPipelineActivity(RunPipelineActivityRequest runPipelineActivityRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Simulates the results of running a pipeline activity on a message payload.
*
*
*
* This is a convenience which creates an instance of the {@link RunPipelineActivityRequest.Builder} avoiding the
* need to create one manually via {@link RunPipelineActivityRequest#builder()}
*
*
* @param runPipelineActivityRequest
* A {@link Consumer} that will call methods on {@link RunPipelineActivityRequest.Builder} to create a
* request.
* @return Result of the RunPipelineActivity operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.RunPipelineActivity
* @see AWS API Documentation
*/
default RunPipelineActivityResponse runPipelineActivity(
Consumer runPipelineActivityRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException,
IoTAnalyticsException {
return runPipelineActivity(RunPipelineActivityRequest.builder().applyMutation(runPipelineActivityRequest).build());
}
/**
*
* Retrieves a sample of messages from the specified channel ingested during the specified timeframe. Up to 10
* messages can be retrieved.
*
*
* @param sampleChannelDataRequest
* @return Result of the SampleChannelData operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.SampleChannelData
* @see AWS
* API Documentation
*/
default SampleChannelDataResponse sampleChannelData(SampleChannelDataRequest sampleChannelDataRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a sample of messages from the specified channel ingested during the specified timeframe. Up to 10
* messages can be retrieved.
*
*
*
* This is a convenience which creates an instance of the {@link SampleChannelDataRequest.Builder} avoiding the need
* to create one manually via {@link SampleChannelDataRequest#builder()}
*
*
* @param sampleChannelDataRequest
* A {@link Consumer} that will call methods on {@link SampleChannelDataRequest.Builder} to create a request.
* @return Result of the SampleChannelData operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.SampleChannelData
* @see AWS
* API Documentation
*/
default SampleChannelDataResponse sampleChannelData(Consumer sampleChannelDataRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return sampleChannelData(SampleChannelDataRequest.builder().applyMutation(sampleChannelDataRequest).build());
}
/**
*
* Starts the reprocessing of raw message data through the pipeline.
*
*
* @param startPipelineReprocessingRequest
* @return Result of the StartPipelineReprocessing operation returned by the service.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.StartPipelineReprocessing
* @see AWS API Documentation
*/
default StartPipelineReprocessingResponse startPipelineReprocessing(
StartPipelineReprocessingRequest startPipelineReprocessingRequest) throws ResourceNotFoundException,
ResourceAlreadyExistsException, InvalidRequestException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Starts the reprocessing of raw message data through the pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link StartPipelineReprocessingRequest.Builder} avoiding
* the need to create one manually via {@link StartPipelineReprocessingRequest#builder()}
*
*
* @param startPipelineReprocessingRequest
* A {@link Consumer} that will call methods on {@link StartPipelineReprocessingRequest.Builder} to create a
* request.
* @return Result of the StartPipelineReprocessing operation returned by the service.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws ResourceAlreadyExistsException
* A resource with the same name already exists.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.StartPipelineReprocessing
* @see AWS API Documentation
*/
default StartPipelineReprocessingResponse startPipelineReprocessing(
Consumer startPipelineReprocessingRequest)
throws ResourceNotFoundException, ResourceAlreadyExistsException, InvalidRequestException, InternalFailureException,
ServiceUnavailableException, ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return startPipelineReprocessing(StartPipelineReprocessingRequest.builder()
.applyMutation(startPipelineReprocessingRequest).build());
}
/**
*
* Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, LimitExceededException,
ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request.
* @return Result of the TagResource operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
LimitExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes the given tags (metadata) from the resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidRequestException,
InternalFailureException, ServiceUnavailableException, ThrottlingException, LimitExceededException,
ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Removes the given tags (metadata) from the resource.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request.
* @return Result of the UntagResource operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
LimitExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates the settings of a channel.
*
*
* @param updateChannelRequest
* @return Result of the UpdateChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdateChannel
* @see AWS API
* Documentation
*/
default UpdateChannelResponse updateChannel(UpdateChannelRequest updateChannelRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the settings of a channel.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateChannelRequest.Builder} avoiding the need to
* create one manually via {@link UpdateChannelRequest#builder()}
*
*
* @param updateChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateChannelRequest.Builder} to create a request.
* @return Result of the UpdateChannel operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdateChannel
* @see AWS API
* Documentation
*/
default UpdateChannelResponse updateChannel(Consumer updateChannelRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return updateChannel(UpdateChannelRequest.builder().applyMutation(updateChannelRequest).build());
}
/**
*
* Updates the settings of a data set.
*
*
* @param updateDatasetRequest
* @return Result of the UpdateDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdateDataset
* @see AWS API
* Documentation
*/
default UpdateDatasetResponse updateDataset(UpdateDatasetRequest updateDatasetRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the settings of a data set.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateDatasetRequest.Builder} avoiding the need to
* create one manually via {@link UpdateDatasetRequest#builder()}
*
*
* @param updateDatasetRequest
* A {@link Consumer} that will call methods on {@link UpdateDatasetRequest.Builder} to create a request.
* @return Result of the UpdateDataset operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdateDataset
* @see AWS API
* Documentation
*/
default UpdateDatasetResponse updateDataset(Consumer updateDatasetRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return updateDataset(UpdateDatasetRequest.builder().applyMutation(updateDatasetRequest).build());
}
/**
*
* Updates the settings of a data store.
*
*
* @param updateDatastoreRequest
* @return Result of the UpdateDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdateDatastore
* @see AWS
* API Documentation
*/
default UpdateDatastoreResponse updateDatastore(UpdateDatastoreRequest updateDatastoreRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the settings of a data store.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateDatastoreRequest.Builder} avoiding the need
* to create one manually via {@link UpdateDatastoreRequest#builder()}
*
*
* @param updateDatastoreRequest
* A {@link Consumer} that will call methods on {@link UpdateDatastoreRequest.Builder} to create a request.
* @return Result of the UpdateDatastore operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdateDatastore
* @see AWS
* API Documentation
*/
default UpdateDatastoreResponse updateDatastore(Consumer updateDatastoreRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return updateDatastore(UpdateDatastoreRequest.builder().applyMutation(updateDatastoreRequest).build());
}
/**
*
* Updates the settings of a pipeline. You must specify both a channel
and a datastore
* activity and, optionally, as many as 23 additional activities in the pipelineActivities
array.
*
*
* @param updatePipelineRequest
* @return Result of the UpdatePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdatePipeline
* @see AWS
* API Documentation
*/
default UpdatePipelineResponse updatePipeline(UpdatePipelineRequest updatePipelineRequest) throws InvalidRequestException,
ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ThrottlingException,
LimitExceededException, AwsServiceException, SdkClientException, IoTAnalyticsException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the settings of a pipeline. You must specify both a channel
and a datastore
* activity and, optionally, as many as 23 additional activities in the pipelineActivities
array.
*
*
*
* This is a convenience which creates an instance of the {@link UpdatePipelineRequest.Builder} avoiding the need to
* create one manually via {@link UpdatePipelineRequest#builder()}
*
*
* @param updatePipelineRequest
* A {@link Consumer} that will call methods on {@link UpdatePipelineRequest.Builder} to create a request.
* @return Result of the UpdatePipeline operation returned by the service.
* @throws InvalidRequestException
* The request was not valid.
* @throws ResourceNotFoundException
* A resource with the specified name could not be found.
* @throws InternalFailureException
* There was an internal failure.
* @throws ServiceUnavailableException
* The service is temporarily unavailable.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws LimitExceededException
* The command caused an internal limit to be exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws IoTAnalyticsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample IoTAnalyticsClient.UpdatePipeline
* @see AWS
* API Documentation
*/
default UpdatePipelineResponse updatePipeline(Consumer updatePipelineRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException,
ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException, IoTAnalyticsException {
return updatePipeline(UpdatePipelineRequest.builder().applyMutation(updatePipelineRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of("iotanalytics");
}
}