@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTDeviceAdvisorAsyncClient extends AWSIoTDeviceAdvisorClient implements AWSIoTDeviceAdvisorAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createSuiteDefinition, deleteSuiteDefinition, getCachedResponseMetadata, getSuiteDefinition, getSuiteRun, getSuiteRunReport, listSuiteDefinitions, listSuiteRuns, listTagsForResource, listTestCases, startSuiteRun, tagResource, untagResource, updateSuiteDefinition
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSuiteDefinition, deleteSuiteDefinition, getCachedResponseMetadata, getSuiteDefinition, getSuiteRun, getSuiteRunReport, listSuiteDefinitions, listSuiteRuns, listTagsForResource, listTestCases, startSuiteRun, tagResource, untagResource, updateSuiteDefinition
public static AWSIoTDeviceAdvisorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateSuiteDefinitionResult> createSuiteDefinitionAsync(CreateSuiteDefinitionRequest request)
AWSIoTDeviceAdvisorAsync
Creates a Device Advisor test suite.
createSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<CreateSuiteDefinitionResult> createSuiteDefinitionAsync(CreateSuiteDefinitionRequest request, AsyncHandler<CreateSuiteDefinitionRequest,CreateSuiteDefinitionResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Creates a Device Advisor test suite.
createSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSuiteDefinitionResult> deleteSuiteDefinitionAsync(DeleteSuiteDefinitionRequest request)
AWSIoTDeviceAdvisorAsync
Deletes a Device Advisor test suite.
deleteSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<DeleteSuiteDefinitionResult> deleteSuiteDefinitionAsync(DeleteSuiteDefinitionRequest request, AsyncHandler<DeleteSuiteDefinitionRequest,DeleteSuiteDefinitionResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Deletes a Device Advisor test suite.
deleteSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSuiteDefinitionResult> getSuiteDefinitionAsync(GetSuiteDefinitionRequest request)
AWSIoTDeviceAdvisorAsync
Gets information about a Device Advisor test suite.
getSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<GetSuiteDefinitionResult> getSuiteDefinitionAsync(GetSuiteDefinitionRequest request, AsyncHandler<GetSuiteDefinitionRequest,GetSuiteDefinitionResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Gets information about a Device Advisor test suite.
getSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSuiteRunResult> getSuiteRunAsync(GetSuiteRunRequest request)
AWSIoTDeviceAdvisorAsync
Gets information about a Device Advisor test suite run.
getSuiteRunAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<GetSuiteRunResult> getSuiteRunAsync(GetSuiteRunRequest request, AsyncHandler<GetSuiteRunRequest,GetSuiteRunResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Gets information about a Device Advisor test suite run.
getSuiteRunAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSuiteRunReportResult> getSuiteRunReportAsync(GetSuiteRunReportRequest request)
AWSIoTDeviceAdvisorAsync
Gets a report download link for a successful Device Advisor qualifying test suite run.
getSuiteRunReportAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<GetSuiteRunReportResult> getSuiteRunReportAsync(GetSuiteRunReportRequest request, AsyncHandler<GetSuiteRunReportRequest,GetSuiteRunReportResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Gets a report download link for a successful Device Advisor qualifying test suite run.
getSuiteRunReportAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSuiteDefinitionsResult> listSuiteDefinitionsAsync(ListSuiteDefinitionsRequest request)
AWSIoTDeviceAdvisorAsync
Lists the Device Advisor test suites you have created.
listSuiteDefinitionsAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<ListSuiteDefinitionsResult> listSuiteDefinitionsAsync(ListSuiteDefinitionsRequest request, AsyncHandler<ListSuiteDefinitionsRequest,ListSuiteDefinitionsResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Lists the Device Advisor test suites you have created.
listSuiteDefinitionsAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSuiteRunsResult> listSuiteRunsAsync(ListSuiteRunsRequest request)
AWSIoTDeviceAdvisorAsync
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.
listSuiteRunsAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<ListSuiteRunsResult> listSuiteRunsAsync(ListSuiteRunsRequest request, AsyncHandler<ListSuiteRunsRequest,ListSuiteRunsResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
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.
listSuiteRunsAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSIoTDeviceAdvisorAsync
Lists the tags attached to an IoT Device Advisor resource.
listTagsForResourceAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Lists the tags attached to an IoT Device Advisor resource.
listTagsForResourceAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTestCasesResult> listTestCasesAsync(ListTestCasesRequest request)
AWSIoTDeviceAdvisorAsync
Lists all the test cases in the test suite.
listTestCasesAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<ListTestCasesResult> listTestCasesAsync(ListTestCasesRequest request, AsyncHandler<ListTestCasesRequest,ListTestCasesResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Lists all the test cases in the test suite.
listTestCasesAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartSuiteRunResult> startSuiteRunAsync(StartSuiteRunRequest request)
AWSIoTDeviceAdvisorAsync
Starts a Device Advisor test suite run.
startSuiteRunAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<StartSuiteRunResult> startSuiteRunAsync(StartSuiteRunRequest request, AsyncHandler<StartSuiteRunRequest,StartSuiteRunResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Starts a Device Advisor test suite run.
startSuiteRunAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSIoTDeviceAdvisorAsync
Adds to and modifies existing tags of an IoT Device Advisor resource.
tagResourceAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Adds to and modifies existing tags of an IoT Device Advisor resource.
tagResourceAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSIoTDeviceAdvisorAsync
Removes tags from an IoT Device Advisor resource.
untagResourceAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Removes tags from an IoT Device Advisor resource.
untagResourceAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSuiteDefinitionResult> updateSuiteDefinitionAsync(UpdateSuiteDefinitionRequest request)
AWSIoTDeviceAdvisorAsync
Updates a Device Advisor test suite.
updateSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
public Future<UpdateSuiteDefinitionResult> updateSuiteDefinitionAsync(UpdateSuiteDefinitionRequest request, AsyncHandler<UpdateSuiteDefinitionRequest,UpdateSuiteDefinitionResult> asyncHandler)
AWSIoTDeviceAdvisorAsync
Updates a Device Advisor test suite.
updateSuiteDefinitionAsync
in interface AWSIoTDeviceAdvisorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSIoTDeviceAdvisor
shutdown
in class AWSIoTDeviceAdvisorClient