com.amazonaws.services.iotdeviceadvisor.AWSIoTDeviceAdvisor Maven / Gradle / Ivy
Show all versions of aws-java-sdk-iotdeviceadvisor Show documentation
/*
* Copyright 2015-2020 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.iotdeviceadvisor;
import javax.annotation.Generated;
import com.amazonaws.*;
import com.amazonaws.regions.*;
import com.amazonaws.services.iotdeviceadvisor.model.*;
/**
* Interface for accessing AWSIoTDeviceAdvisor.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.iotdeviceadvisor.AbstractAWSIoTDeviceAdvisor} instead.
*
*
*
* AWS IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT devices during device
* software development. Device Advisor provides pre-built tests that you can use to validate IoT devices for reliable
* and secure connectivity with AWS IoT Core before deploying devices to production. By using Device Advisor, you can
* confirm that your devices can connect to AWS IoT Core, follow security best practices and, if applicable, receive
* software updates from IoT Device Management. You can also download signed qualification reports to submit to the AWS
* Partner Network to get your device qualified for the AWS Partner Device Catalog without the need to send your device
* in and wait for it to be tested.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSIoTDeviceAdvisor {
/**
* The region metadata service name for computing region endpoints. You can use this value to retrieve metadata
* (such as supported regions) of the service.
*
* @see RegionUtils#getRegionsForService(String)
*/
String ENDPOINT_PREFIX = "api.iotdeviceadvisor";
/**
*
* Creates a Device Advisor test suite.
*
*
* @param createSuiteDefinitionRequest
* @return Result of the CreateSuiteDefinition operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @sample AWSIoTDeviceAdvisor.CreateSuiteDefinition
* @see AWS API Documentation
*/
CreateSuiteDefinitionResult createSuiteDefinition(CreateSuiteDefinitionRequest createSuiteDefinitionRequest);
/**
*
* Deletes a Device Advisor test suite.
*
*
* @param deleteSuiteDefinitionRequest
* @return Result of the DeleteSuiteDefinition operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @sample AWSIoTDeviceAdvisor.DeleteSuiteDefinition
* @see AWS API Documentation
*/
DeleteSuiteDefinitionResult deleteSuiteDefinition(DeleteSuiteDefinitionRequest deleteSuiteDefinitionRequest);
/**
*
* Gets information about a Device Advisor test suite.
*
*
* @param getSuiteDefinitionRequest
* @return Result of the GetSuiteDefinition operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @throws ResourceNotFoundException
* Sends Resource Not Found Exception.
* @sample AWSIoTDeviceAdvisor.GetSuiteDefinition
* @see AWS API Documentation
*/
GetSuiteDefinitionResult getSuiteDefinition(GetSuiteDefinitionRequest getSuiteDefinitionRequest);
/**
*
* Gets information about a Device Advisor test suite run.
*
*
* @param getSuiteRunRequest
* @return Result of the GetSuiteRun operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @throws ResourceNotFoundException
* Sends Resource Not Found Exception.
* @sample AWSIoTDeviceAdvisor.GetSuiteRun
* @see AWS
* API Documentation
*/
GetSuiteRunResult getSuiteRun(GetSuiteRunRequest getSuiteRunRequest);
/**
*
* Gets a report download link for a successful Device Advisor qualifying test suite run.
*
*
* @param getSuiteRunReportRequest
* @return Result of the GetSuiteRunReport operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @throws ResourceNotFoundException
* Sends Resource Not Found Exception.
* @sample AWSIoTDeviceAdvisor.GetSuiteRunReport
* @see AWS API Documentation
*/
GetSuiteRunReportResult getSuiteRunReport(GetSuiteRunReportRequest getSuiteRunReportRequest);
/**
*
* Lists the Device Advisor test suites you have created.
*
*
* @param listSuiteDefinitionsRequest
* @return Result of the ListSuiteDefinitions operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @sample AWSIoTDeviceAdvisor.ListSuiteDefinitions
* @see AWS API Documentation
*/
ListSuiteDefinitionsResult listSuiteDefinitions(ListSuiteDefinitionsRequest listSuiteDefinitionsRequest);
/**
*
* Lists the runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs
* of a specific version of the test suite.
*
*
* @param listSuiteRunsRequest
* @return Result of the ListSuiteRuns operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @sample AWSIoTDeviceAdvisor.ListSuiteRuns
* @see AWS
* API Documentation
*/
ListSuiteRunsResult listSuiteRuns(ListSuiteRunsRequest listSuiteRunsRequest);
/**
*
* Lists the tags attached to an IoT Device Advisor resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @throws ValidationException
* Sends invalid request exception.
* @throws ResourceNotFoundException
* Sends Resource Not Found Exception.
* @sample AWSIoTDeviceAdvisor.ListTagsForResource
* @see AWS API Documentation
*/
ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Lists all the test cases in the test suite.
*
*
* @param listTestCasesRequest
* @return Result of the ListTestCases operation returned by the service.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @sample AWSIoTDeviceAdvisor.ListTestCases
* @see AWS
* API Documentation
*/
ListTestCasesResult listTestCases(ListTestCasesRequest listTestCasesRequest);
/**
*
* Starts a Device Advisor test suite run.
*
*
* @param startSuiteRunRequest
* @return Result of the StartSuiteRun operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @throws ConflictException
* Sends Conflict Exception.
* @sample AWSIoTDeviceAdvisor.StartSuiteRun
* @see AWS
* API Documentation
*/
StartSuiteRunResult startSuiteRun(StartSuiteRunRequest startSuiteRunRequest);
/**
*
* Adds to and modifies existing tags of an IoT Device Advisor resource.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @throws ValidationException
* Sends invalid request exception.
* @throws ResourceNotFoundException
* Sends Resource Not Found Exception.
* @sample AWSIoTDeviceAdvisor.TagResource
* @see AWS
* API Documentation
*/
TagResourceResult tagResource(TagResourceRequest tagResourceRequest);
/**
*
* Removes tags from an IoT Device Advisor resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @throws ValidationException
* Sends invalid request exception.
* @throws ResourceNotFoundException
* Sends Resource Not Found Exception.
* @sample AWSIoTDeviceAdvisor.UntagResource
* @see AWS
* API Documentation
*/
UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest);
/**
*
* Updates a Device Advisor test suite.
*
*
* @param updateSuiteDefinitionRequest
* @return Result of the UpdateSuiteDefinition operation returned by the service.
* @throws ValidationException
* Sends invalid request exception.
* @throws InternalServerException
* Sends Internal Failure Exception.
* @sample AWSIoTDeviceAdvisor.UpdateSuiteDefinition
* @see AWS API Documentation
*/
UpdateSuiteDefinitionResult updateSuiteDefinition(UpdateSuiteDefinitionRequest updateSuiteDefinitionRequest);
/**
* Shuts down this client object, releasing any resources that might be held open. This is an optional method, and
* callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client
* has been shutdown, it should not be used to make any more requests.
*/
void shutdown();
/**
* Returns additional metadata for a previously executed successful request, typically used for debugging issues
* where a service isn't acting as expected. This data isn't considered part of the result data returned by an
* operation, so it's available through this separate, diagnostic interface.
*
* 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 a request.
*
* @param request
* The originally executed request.
*
* @return The response metadata for the specified request, or null if none is available.
*/
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request);
}