/* * Copyright 2018-2023 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 com.amazonaws.services.lookoutequipment; import org.w3c.dom.*; import java.net.*; import java.util.*; import javax.annotation.Generated; import org.apache.commons.logging.*; import com.amazonaws.*; import com.amazonaws.annotation.SdkInternalApi; import com.amazonaws.auth.*; import com.amazonaws.handlers.*; import com.amazonaws.http.*; import com.amazonaws.internal.*; import com.amazonaws.internal.auth.*; import com.amazonaws.metrics.*; import com.amazonaws.regions.*; import com.amazonaws.transform.*; import com.amazonaws.util.*; import com.amazonaws.protocol.json.*; import com.amazonaws.util.AWSRequestMetrics.Field; import com.amazonaws.annotation.ThreadSafe; import com.amazonaws.client.AwsSyncClientParams; import com.amazonaws.client.builder.AdvancedConfig; import com.amazonaws.services.lookoutequipment.AmazonLookoutEquipmentClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.lookoutequipment.model.*; import com.amazonaws.services.lookoutequipment.model.transform.*; /** * Client for accessing LookoutEquipment. All service calls made using this client are blocking, and will not return * until the service call completes. *
*
* Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify anomalies in * machines from sensor data for use in predictive maintenance. *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AmazonLookoutEquipmentClient extends AmazonWebServiceClient implements AmazonLookoutEquipment { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AmazonLookoutEquipment.class); /** Default signing name for the service. */ private static final String DEFAULT_SIGNING_NAME = "lookoutequipment"; /** Client configuration factory providing ClientConfigurations tailored to this client */ protected static final ClientConfigurationFactory configFactory = new ClientConfigurationFactory(); private final AdvancedConfig advancedConfig; private static final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory = new com.amazonaws.protocol.json.SdkJsonProtocolFactory( new JsonClientMetadata() .withProtocolVersion("1.0") .withSupportsCbor(false) .withSupportsIon(false) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ThrottlingException").withExceptionUnmarshaller( com.amazonaws.services.lookoutequipment.model.transform.ThrottlingExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ServiceQuotaExceededException").withExceptionUnmarshaller( com.amazonaws.services.lookoutequipment.model.transform.ServiceQuotaExceededExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("InternalServerException").withExceptionUnmarshaller( com.amazonaws.services.lookoutequipment.model.transform.InternalServerExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("AccessDeniedException").withExceptionUnmarshaller( com.amazonaws.services.lookoutequipment.model.transform.AccessDeniedExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ConflictException").withExceptionUnmarshaller( com.amazonaws.services.lookoutequipment.model.transform.ConflictExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ResourceNotFoundException").withExceptionUnmarshaller( com.amazonaws.services.lookoutequipment.model.transform.ResourceNotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ValidationException").withExceptionUnmarshaller( com.amazonaws.services.lookoutequipment.model.transform.ValidationExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.lookoutequipment.model.AmazonLookoutEquipmentException.class)); public static AmazonLookoutEquipmentClientBuilder builder() { return AmazonLookoutEquipmentClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on LookoutEquipment using the specified parameters. * ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AmazonLookoutEquipmentClient(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on LookoutEquipment using the specified parameters. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AmazonLookoutEquipmentClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled) { super(clientParams); this.awsCredentialsProvider = clientParams.getCredentialsProvider(); this.advancedConfig = clientParams.getAdvancedConfig(); init(); } private void init() { setServiceNameIntern(DEFAULT_SIGNING_NAME); setEndpointPrefix(ENDPOINT_PREFIX); // calling this.setEndPoint(...) will also modify the signer accordingly setEndpoint("lookoutequipment.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/lookoutequipment/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/lookoutequipment/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Creates a container for a collection of data being ingested for analysis. The dataset contains the metadata * describing where the data is and what the data actually looks like. In other words, it contains the location of * the data source, the data schema, and other information. A dataset also contains any tags associated with the * ingested data. *
* * @param createDatasetRequest * @return Result of the CreateDataset operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ServiceQuotaExceededException * Resource limitations have been exceeded. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.CreateDataset * @see AWS * API Documentation */ @Override public CreateDatasetResult createDataset(CreateDatasetRequest request) { request = beforeClientExecution(request); return executeCreateDataset(request); } @SdkInternalApi final CreateDatasetResult executeCreateDataset(CreateDatasetRequest createDatasetRequest) { ExecutionContext executionContext = createExecutionContext(createDatasetRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a scheduled inference. Scheduling an inference is setting up a continuous real-time inference plan to * analyze new measurement data. When setting up the schedule, you provide an S3 bucket location for the input data, * assign it a delimiter between separate entries in the data, set an offset delay if desired, and set the frequency * of inferencing. You must also provide an S3 bucket location for the output data. *
* * @param createInferenceSchedulerRequest * @return Result of the CreateInferenceScheduler operation returned by the service. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ServiceQuotaExceededException * Resource limitations have been exceeded. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.CreateInferenceScheduler * @see AWS API Documentation */ @Override public CreateInferenceSchedulerResult createInferenceScheduler(CreateInferenceSchedulerRequest request) { request = beforeClientExecution(request); return executeCreateInferenceScheduler(request); } @SdkInternalApi final CreateInferenceSchedulerResult executeCreateInferenceScheduler(CreateInferenceSchedulerRequest createInferenceSchedulerRequest) { ExecutionContext executionContext = createExecutionContext(createInferenceSchedulerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a label for an event. *
* * @param createLabelRequest * @return Result of the CreateLabel operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ServiceQuotaExceededException * Resource limitations have been exceeded. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.CreateLabel * @see AWS * API Documentation */ @Override public CreateLabelResult createLabel(CreateLabelRequest request) { request = beforeClientExecution(request); return executeCreateLabel(request); } @SdkInternalApi final CreateLabelResult executeCreateLabel(CreateLabelRequest createLabelRequest) { ExecutionContext executionContext = createExecutionContext(createLabelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a group of labels. *
* * @param createLabelGroupRequest * @return Result of the CreateLabelGroup operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ServiceQuotaExceededException * Resource limitations have been exceeded. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.CreateLabelGroup * @see AWS API Documentation */ @Override public CreateLabelGroupResult createLabelGroup(CreateLabelGroupRequest request) { request = beforeClientExecution(request); return executeCreateLabelGroup(request); } @SdkInternalApi final CreateLabelGroupResult executeCreateLabelGroup(CreateLabelGroupRequest createLabelGroupRequest) { ExecutionContext executionContext = createExecutionContext(createLabelGroupRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an ML model for data inference. *
** A machine-learning (ML) model is a mathematical model that finds patterns in your data. In Amazon Lookout for * Equipment, the model learns the patterns of normal behavior and detects abnormal behavior that could be potential * equipment failure (or maintenance events). The models are made by analyzing normal data and abnormalities in * machine behavior that have already occurred. *
** Your model is trained using a portion of the data from your dataset and uses that data to learn patterns of * normal behavior and abnormal patterns that lead to equipment failure. Another portion of the data is used to * evaluate the model's accuracy. *
* * @param createModelRequest * @return Result of the CreateModel operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ServiceQuotaExceededException * Resource limitations have been exceeded. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @sample AmazonLookoutEquipment.CreateModel * @see AWS * API Documentation */ @Override public CreateModelResult createModel(CreateModelRequest request) { request = beforeClientExecution(request); return executeCreateModel(request); } @SdkInternalApi final CreateModelResult executeCreateModel(CreateModelRequest createModelRequest) { ExecutionContext executionContext = createExecutionContext(createModelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a dataset and associated artifacts. The operation will check to see if any inference scheduler or data * ingestion job is currently using the dataset, and if there isn't, the dataset, its metadata, and any associated * data stored in S3 will be deleted. This does not affect any models that used this dataset for training and * evaluation, but does prevent it from being used in the future. *
* * @param deleteDatasetRequest * @return Result of the DeleteDataset operation returned by the service. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @sample AmazonLookoutEquipment.DeleteDataset * @see AWS * API Documentation */ @Override public DeleteDatasetResult deleteDataset(DeleteDatasetRequest request) { request = beforeClientExecution(request); return executeDeleteDataset(request); } @SdkInternalApi final DeleteDatasetResult executeDeleteDataset(DeleteDatasetRequest deleteDatasetRequest) { ExecutionContext executionContext = createExecutionContext(deleteDatasetRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an inference scheduler that has been set up. Already processed output results are not affected. *
* * @param deleteInferenceSchedulerRequest * @return Result of the DeleteInferenceScheduler operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.DeleteInferenceScheduler * @see AWS API Documentation */ @Override public DeleteInferenceSchedulerResult deleteInferenceScheduler(DeleteInferenceSchedulerRequest request) { request = beforeClientExecution(request); return executeDeleteInferenceScheduler(request); } @SdkInternalApi final DeleteInferenceSchedulerResult executeDeleteInferenceScheduler(DeleteInferenceSchedulerRequest deleteInferenceSchedulerRequest) { ExecutionContext executionContext = createExecutionContext(deleteInferenceSchedulerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a label. *
* * @param deleteLabelRequest * @return Result of the DeleteLabel operation returned by the service. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @sample AmazonLookoutEquipment.DeleteLabel * @see AWS * API Documentation */ @Override public DeleteLabelResult deleteLabel(DeleteLabelRequest request) { request = beforeClientExecution(request); return executeDeleteLabel(request); } @SdkInternalApi final DeleteLabelResult executeDeleteLabel(DeleteLabelRequest deleteLabelRequest) { ExecutionContext executionContext = createExecutionContext(deleteLabelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a group of labels. *
* * @param deleteLabelGroupRequest * @return Result of the DeleteLabelGroup operation returned by the service. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @sample AmazonLookoutEquipment.DeleteLabelGroup * @see AWS API Documentation */ @Override public DeleteLabelGroupResult deleteLabelGroup(DeleteLabelGroupRequest request) { request = beforeClientExecution(request); return executeDeleteLabelGroup(request); } @SdkInternalApi final DeleteLabelGroupResult executeDeleteLabelGroup(DeleteLabelGroupRequest deleteLabelGroupRequest) { ExecutionContext executionContext = createExecutionContext(deleteLabelGroupRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an ML model currently available for Amazon Lookout for Equipment. This will prevent it from being used * with an inference scheduler, even one that is already set up. *
* * @param deleteModelRequest * @return Result of the DeleteModel operation returned by the service. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @sample AmazonLookoutEquipment.DeleteModel * @see AWS * API Documentation */ @Override public DeleteModelResult deleteModel(DeleteModelRequest request) { request = beforeClientExecution(request); return executeDeleteModel(request); } @SdkInternalApi final DeleteModelResult executeDeleteModel(DeleteModelRequest deleteModelRequest) { ExecutionContext executionContext = createExecutionContext(deleteModelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Provides information on a specific data ingestion job such as creation time, dataset ARN, and status. *
* * @param describeDataIngestionJobRequest * @return Result of the DescribeDataIngestionJob operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.DescribeDataIngestionJob * @see AWS API Documentation */ @Override public DescribeDataIngestionJobResult describeDataIngestionJob(DescribeDataIngestionJobRequest request) { request = beforeClientExecution(request); return executeDescribeDataIngestionJob(request); } @SdkInternalApi final DescribeDataIngestionJobResult executeDescribeDataIngestionJob(DescribeDataIngestionJobRequest describeDataIngestionJobRequest) { ExecutionContext executionContext = createExecutionContext(describeDataIngestionJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Provides a JSON description of the data in each time series dataset, including names, column names, and data * types. *
* * @param describeDatasetRequest * @return Result of the DescribeDataset operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.DescribeDataset * @see AWS API Documentation */ @Override public DescribeDatasetResult describeDataset(DescribeDatasetRequest request) { request = beforeClientExecution(request); return executeDescribeDataset(request); } @SdkInternalApi final DescribeDatasetResult executeDescribeDataset(DescribeDatasetRequest describeDatasetRequest) { ExecutionContext executionContext = createExecutionContext(describeDatasetRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Specifies information about the inference scheduler being used, including name, model, status, and associated * metadata *
* * @param describeInferenceSchedulerRequest * @return Result of the DescribeInferenceScheduler operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.DescribeInferenceScheduler * @see AWS API Documentation */ @Override public DescribeInferenceSchedulerResult describeInferenceScheduler(DescribeInferenceSchedulerRequest request) { request = beforeClientExecution(request); return executeDescribeInferenceScheduler(request); } @SdkInternalApi final DescribeInferenceSchedulerResult executeDescribeInferenceScheduler(DescribeInferenceSchedulerRequest describeInferenceSchedulerRequest) { ExecutionContext executionContext = createExecutionContext(describeInferenceSchedulerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns the name of the label. *
* * @param describeLabelRequest * @return Result of the DescribeLabel operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.DescribeLabel * @see AWS * API Documentation */ @Override public DescribeLabelResult describeLabel(DescribeLabelRequest request) { request = beforeClientExecution(request); return executeDescribeLabel(request); } @SdkInternalApi final DescribeLabelResult executeDescribeLabel(DescribeLabelRequest describeLabelRequest) { ExecutionContext executionContext = createExecutionContext(describeLabelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns information about the label group. *
* * @param describeLabelGroupRequest * @return Result of the DescribeLabelGroup operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.DescribeLabelGroup * @see AWS API Documentation */ @Override public DescribeLabelGroupResult describeLabelGroup(DescribeLabelGroupRequest request) { request = beforeClientExecution(request); return executeDescribeLabelGroup(request); } @SdkInternalApi final DescribeLabelGroupResult executeDescribeLabelGroup(DescribeLabelGroupRequest describeLabelGroupRequest) { ExecutionContext executionContext = createExecutionContext(describeLabelGroupRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Provides a JSON containing the overall information about a specific ML model, including model name and ARN, * dataset, training and evaluation information, status, and so on. *
* * @param describeModelRequest * @return Result of the DescribeModel operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.DescribeModel * @see AWS * API Documentation */ @Override public DescribeModelResult describeModel(DescribeModelRequest request) { request = beforeClientExecution(request); return executeDescribeModel(request); } @SdkInternalApi final DescribeModelResult executeDescribeModel(DescribeModelRequest describeModelRequest) { ExecutionContext executionContext = createExecutionContext(describeModelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location of the input data, * status, and so on. *
* * @param listDataIngestionJobsRequest * @return Result of the ListDataIngestionJobs operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListDataIngestionJobs * @see AWS API Documentation */ @Override public ListDataIngestionJobsResult listDataIngestionJobs(ListDataIngestionJobsRequest request) { request = beforeClientExecution(request); return executeListDataIngestionJobs(request); } @SdkInternalApi final ListDataIngestionJobsResult executeListDataIngestionJobs(ListDataIngestionJobsRequest listDataIngestionJobsRequest) { ExecutionContext executionContext = createExecutionContext(listDataIngestionJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all datasets currently available in your account, filtering on the dataset name. *
* * @param listDatasetsRequest * @return Result of the ListDatasets operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListDatasets * @see AWS * API Documentation */ @Override public ListDatasetsResult listDatasets(ListDatasetsRequest request) { request = beforeClientExecution(request); return executeListDatasets(request); } @SdkInternalApi final ListDatasetsResult executeListDatasets(ListDatasetsRequest listDatasetsRequest) { ExecutionContext executionContext = createExecutionContext(listDatasetsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all inference events that have been found for the specified inference scheduler. *
* * @param listInferenceEventsRequest * @return Result of the ListInferenceEvents operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListInferenceEvents * @see AWS API Documentation */ @Override public ListInferenceEventsResult listInferenceEvents(ListInferenceEventsRequest request) { request = beforeClientExecution(request); return executeListInferenceEvents(request); } @SdkInternalApi final ListInferenceEventsResult executeListInferenceEvents(ListInferenceEventsRequest listInferenceEventsRequest) { ExecutionContext executionContext = createExecutionContext(listInferenceEventsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all inference executions that have been performed by the specified inference scheduler. *
* * @param listInferenceExecutionsRequest * @return Result of the ListInferenceExecutions operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListInferenceExecutions * @see AWS API Documentation */ @Override public ListInferenceExecutionsResult listInferenceExecutions(ListInferenceExecutionsRequest request) { request = beforeClientExecution(request); return executeListInferenceExecutions(request); } @SdkInternalApi final ListInferenceExecutionsResult executeListInferenceExecutions(ListInferenceExecutionsRequest listInferenceExecutionsRequest) { ExecutionContext executionContext = createExecutionContext(listInferenceExecutionsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves a list of all inference schedulers currently available for your account. *
* * @param listInferenceSchedulersRequest * @return Result of the ListInferenceSchedulers operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListInferenceSchedulers * @see AWS API Documentation */ @Override public ListInferenceSchedulersResult listInferenceSchedulers(ListInferenceSchedulersRequest request) { request = beforeClientExecution(request); return executeListInferenceSchedulers(request); } @SdkInternalApi final ListInferenceSchedulersResult executeListInferenceSchedulers(ListInferenceSchedulersRequest listInferenceSchedulersRequest) { ExecutionContext executionContext = createExecutionContext(listInferenceSchedulersRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of the label groups. *
* * @param listLabelGroupsRequest * @return Result of the ListLabelGroups operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListLabelGroups * @see AWS API Documentation */ @Override public ListLabelGroupsResult listLabelGroups(ListLabelGroupsRequest request) { request = beforeClientExecution(request); return executeListLabelGroups(request); } @SdkInternalApi final ListLabelGroupsResult executeListLabelGroups(ListLabelGroupsRequest listLabelGroupsRequest) { ExecutionContext executionContext = createExecutionContext(listLabelGroupsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Provides a list of labels. *
* * @param listLabelsRequest * @return Result of the ListLabels operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListLabels * @see AWS * API Documentation */ @Override public ListLabelsResult listLabels(ListLabelsRequest request) { request = beforeClientExecution(request); return executeListLabels(request); } @SdkInternalApi final ListLabelsResult executeListLabels(ListLabelsRequest listLabelsRequest) { ExecutionContext executionContext = createExecutionContext(listLabelsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Generates a list of all models in the account, including model name and ARN, dataset, and status. *
* * @param listModelsRequest * @return Result of the ListModels operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListModels * @see AWS * API Documentation */ @Override public ListModelsResult listModels(ListModelsRequest request) { request = beforeClientExecution(request); return executeListModels(request); } @SdkInternalApi final ListModelsResult executeListModels(ListModelsRequest listModelsRequest) { ExecutionContext executionContext = createExecutionContext(listModelsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists statistics about the data collected for each of the sensors that have been successfully ingested in the * particular dataset. Can also be used to retreive Sensor Statistics for a previous ingestion job. *
* * @param listSensorStatisticsRequest * @return Result of the ListSensorStatistics operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListSensorStatistics * @see AWS API Documentation */ @Override public ListSensorStatisticsResult listSensorStatistics(ListSensorStatisticsRequest request) { request = beforeClientExecution(request); return executeListSensorStatistics(request); } @SdkInternalApi final ListSensorStatisticsResult executeListSensorStatistics(ListSensorStatisticsRequest listSensorStatisticsRequest) { ExecutionContext executionContext = createExecutionContext(listSensorStatisticsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all the tags for a specified resource, including key and value. *
* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.ListTagsForResource * @see AWS API Documentation */ @Override public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request) { request = beforeClientExecution(request); return executeListTagsForResource(request); } @SdkInternalApi final ListTagsForResourceResult executeListTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) { ExecutionContext executionContext = createExecutionContext(listTagsForResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Starts a data ingestion job. Amazon Lookout for Equipment returns the job status. *
* * @param startDataIngestionJobRequest * @return Result of the StartDataIngestionJob operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ServiceQuotaExceededException * Resource limitations have been exceeded. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.StartDataIngestionJob * @see AWS API Documentation */ @Override public StartDataIngestionJobResult startDataIngestionJob(StartDataIngestionJobRequest request) { request = beforeClientExecution(request); return executeStartDataIngestionJob(request); } @SdkInternalApi final StartDataIngestionJobResult executeStartDataIngestionJob(StartDataIngestionJobRequest startDataIngestionJobRequest) { ExecutionContext executionContext = createExecutionContext(startDataIngestionJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Starts an inference scheduler. *
* * @param startInferenceSchedulerRequest * @return Result of the StartInferenceScheduler operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.StartInferenceScheduler * @see AWS API Documentation */ @Override public StartInferenceSchedulerResult startInferenceScheduler(StartInferenceSchedulerRequest request) { request = beforeClientExecution(request); return executeStartInferenceScheduler(request); } @SdkInternalApi final StartInferenceSchedulerResult executeStartInferenceScheduler(StartInferenceSchedulerRequest startInferenceSchedulerRequest) { ExecutionContext executionContext = createExecutionContext(startInferenceSchedulerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Stops an inference scheduler. *
* * @param stopInferenceSchedulerRequest * @return Result of the StopInferenceScheduler operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.StopInferenceScheduler * @see AWS API Documentation */ @Override public StopInferenceSchedulerResult stopInferenceScheduler(StopInferenceSchedulerRequest request) { request = beforeClientExecution(request); return executeStopInferenceScheduler(request); } @SdkInternalApi final StopInferenceSchedulerResult executeStopInferenceScheduler(StopInferenceSchedulerRequest stopInferenceSchedulerRequest) { ExecutionContext executionContext = createExecutionContext(stopInferenceSchedulerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Associates a given tag to a resource in your account. A tag is a key-value pair which can be added to an Amazon * Lookout for Equipment resource as metadata. Tags can be used for organizing your resources as well as helping you * to search and filter by tag. Multiple tags can be added to a resource, either when you create it, or later. Up to * 50 tags can be associated with each resource. *
* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ServiceQuotaExceededException * Resource limitations have been exceeded. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.TagResource * @see AWS * API Documentation */ @Override public TagResourceResult tagResource(TagResourceRequest request) { request = beforeClientExecution(request); return executeTagResource(request); } @SdkInternalApi final TagResourceResult executeTagResource(TagResourceRequest tagResourceRequest) { ExecutionContext executionContext = createExecutionContext(tagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Removes a specific tag from a given resource. The tag is specified by its key. *
* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.UntagResource * @see AWS * API Documentation */ @Override public UntagResourceResult untagResource(UntagResourceRequest request) { request = beforeClientExecution(request); return executeUntagResource(request); } @SdkInternalApi final UntagResourceResult executeUntagResource(UntagResourceRequest untagResourceRequest) { ExecutionContext executionContext = createExecutionContext(untagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates an inference scheduler. *
* * @param updateInferenceSchedulerRequest * @return Result of the UpdateInferenceScheduler operation returned by the service. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.UpdateInferenceScheduler * @see AWS API Documentation */ @Override public UpdateInferenceSchedulerResult updateInferenceScheduler(UpdateInferenceSchedulerRequest request) { request = beforeClientExecution(request); return executeUpdateInferenceScheduler(request); } @SdkInternalApi final UpdateInferenceSchedulerResult executeUpdateInferenceScheduler(UpdateInferenceSchedulerRequest updateInferenceSchedulerRequest) { ExecutionContext executionContext = createExecutionContext(updateInferenceSchedulerRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates the label group. *
* * @param updateLabelGroupRequest * @return Result of the UpdateLabelGroup operation returned by the service. * @throws ConflictException * The request could not be completed due to a conflict with the current state of the target resource. * @throws ResourceNotFoundException * The resource requested could not be found. Verify the resource ID and retry your request. * @throws ValidationException * The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service * that's being utilized. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * The request could not be completed because you do not have access to the resource. * @throws InternalServerException * Processing of the request has failed because of an unknown error, exception or failure. * @sample AmazonLookoutEquipment.UpdateLabelGroup * @see AWS API Documentation */ @Override public UpdateLabelGroupResult updateLabelGroup(UpdateLabelGroupRequest request) { request = beforeClientExecution(request); return executeUpdateLabelGroup(request); } @SdkInternalApi final UpdateLabelGroupResult executeUpdateLabelGroup(UpdateLabelGroupRequest updateLabelGroupRequest) { ExecutionContext executionContext = createExecutionContext(updateLabelGroupRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request
* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
* information for an executed request, you should use this method to retrieve it as soon as possible after
* executing the request.
*
* @param request
* The originally executed request
*
* @return The response metadata for the specified request, or null if none is available.
*/
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request) {
return client.getResponseMetadataForRequest(request);
}
/**
* Normal invoke with authentication. Credentials are required and may be overriden at the request level.
**/
private