@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTSecureTunnelingAsyncClient extends AWSIoTSecureTunnelingClient implements AWSIoTSecureTunnelingAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
AWS IoT Secure Tunnling enables you to create remote connections to devices deployed in the field.
For more information about how AWS IoT Secure Tunneling works, see the User Guide.
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, closeTunnel, describeTunnel, getCachedResponseMetadata, listTagsForResource, listTunnels, openTunnel, tagResource, untagResourceaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseTunnel, describeTunnel, getCachedResponseMetadata, listTagsForResource, listTunnels, openTunnel, tagResource, untagResourcepublic static AWSIoTSecureTunnelingAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CloseTunnelResult> closeTunnelAsync(CloseTunnelRequest request)
AWSIoTSecureTunnelingAsync
Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close
the WebSocket connections between the client and proxy server so no data can be transmitted.
closeTunnelAsync in interface AWSIoTSecureTunnelingAsyncpublic Future<CloseTunnelResult> closeTunnelAsync(CloseTunnelRequest request, AsyncHandler<CloseTunnelRequest,CloseTunnelResult> asyncHandler)
AWSIoTSecureTunnelingAsync
Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close
the WebSocket connections between the client and proxy server so no data can be transmitted.
closeTunnelAsync in interface AWSIoTSecureTunnelingAsyncasyncHandler - 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<DescribeTunnelResult> describeTunnelAsync(DescribeTunnelRequest request)
AWSIoTSecureTunnelingAsyncGets information about a tunnel identified by the unique tunnel id.
describeTunnelAsync in interface AWSIoTSecureTunnelingAsyncpublic Future<DescribeTunnelResult> describeTunnelAsync(DescribeTunnelRequest request, AsyncHandler<DescribeTunnelRequest,DescribeTunnelResult> asyncHandler)
AWSIoTSecureTunnelingAsyncGets information about a tunnel identified by the unique tunnel id.
describeTunnelAsync in interface AWSIoTSecureTunnelingAsyncasyncHandler - 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)
AWSIoTSecureTunnelingAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSIoTSecureTunnelingAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIoTSecureTunnelingAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSIoTSecureTunnelingAsyncasyncHandler - 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<ListTunnelsResult> listTunnelsAsync(ListTunnelsRequest request)
AWSIoTSecureTunnelingAsyncList all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.
listTunnelsAsync in interface AWSIoTSecureTunnelingAsyncpublic Future<ListTunnelsResult> listTunnelsAsync(ListTunnelsRequest request, AsyncHandler<ListTunnelsRequest,ListTunnelsResult> asyncHandler)
AWSIoTSecureTunnelingAsyncList all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.
listTunnelsAsync in interface AWSIoTSecureTunnelingAsyncasyncHandler - 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<OpenTunnelResult> openTunnelAsync(OpenTunnelRequest request)
AWSIoTSecureTunnelingAsyncCreates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server. .
openTunnelAsync in interface AWSIoTSecureTunnelingAsyncpublic Future<OpenTunnelResult> openTunnelAsync(OpenTunnelRequest request, AsyncHandler<OpenTunnelRequest,OpenTunnelResult> asyncHandler)
AWSIoTSecureTunnelingAsyncCreates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server. .
openTunnelAsync in interface AWSIoTSecureTunnelingAsyncasyncHandler - 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)
AWSIoTSecureTunnelingAsyncA resource tag.
tagResourceAsync in interface AWSIoTSecureTunnelingAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIoTSecureTunnelingAsyncA resource tag.
tagResourceAsync in interface AWSIoTSecureTunnelingAsyncasyncHandler - 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)
AWSIoTSecureTunnelingAsyncRemoves a tag from a resource.
untagResourceAsync in interface AWSIoTSecureTunnelingAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIoTSecureTunnelingAsyncRemoves a tag from a resource.
untagResourceAsync in interface AWSIoTSecureTunnelingAsyncasyncHandler - 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 AWSIoTSecureTunnelingshutdown in class AmazonWebServiceClientCopyright © 2020. All rights reserved.