@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTSecureTunnelingClient extends AmazonWebServiceClient implements AWSIoTSecureTunneling
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 AWS IoT Secure Tunneling.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSIoTSecureTunnelingClientBuilder |
builder() |
CloseTunnelResult |
closeTunnel(CloseTunnelRequest request)
Closes a tunnel identified by the unique tunnel id.
|
DescribeTunnelResult |
describeTunnel(DescribeTunnelRequest request)
Gets information about a tunnel identified by the unique tunnel id.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
|
ListTunnelsResult |
listTunnels(ListTunnelsRequest request)
List all tunnels for an AWS account.
|
OpenTunnelResult |
openTunnel(OpenTunnelRequest request)
Creates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure
Tunneling proxy server.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
A resource tag.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a tag from a resource.
|
addRequestHandler, 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, withTimeOffsetprotected static final ClientConfigurationFactory configFactory
public static AWSIoTSecureTunnelingClientBuilder builder()
public CloseTunnelResult closeTunnel(CloseTunnelRequest request)
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.
closeTunnel in interface AWSIoTSecureTunnelingcloseTunnelRequest - ResourceNotFoundException - Thrown when an operation is attempted on a resource that does not exist.public DescribeTunnelResult describeTunnel(DescribeTunnelRequest request)
Gets information about a tunnel identified by the unique tunnel id.
describeTunnel in interface AWSIoTSecureTunnelingdescribeTunnelRequest - ResourceNotFoundException - Thrown when an operation is attempted on a resource that does not exist.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
listTagsForResource in interface AWSIoTSecureTunnelinglistTagsForResourceRequest - ResourceNotFoundException - Thrown when an operation is attempted on a resource that does not exist.public ListTunnelsResult listTunnels(ListTunnelsRequest request)
List all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.
listTunnels in interface AWSIoTSecureTunnelinglistTunnelsRequest - public OpenTunnelResult openTunnel(OpenTunnelRequest request)
Creates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server.
openTunnel in interface AWSIoTSecureTunnelingopenTunnelRequest - LimitExceededException - Thrown when a tunnel limit is exceeded.public TagResourceResult tagResource(TagResourceRequest request)
A resource tag.
tagResource in interface AWSIoTSecureTunnelingtagResourceRequest - ResourceNotFoundException - Thrown when an operation is attempted on a resource that does not exist.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes a tag from a resource.
untagResource in interface AWSIoTSecureTunnelinguntagResourceRequest - ResourceNotFoundException - Thrown when an operation is attempted on a resource that does not exist.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest 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.
getCachedResponseMetadata in interface AWSIoTSecureTunnelingrequest - The originally executed requestpublic void shutdown()
AWSIoTSecureTunnelingshutdown in interface AWSIoTSecureTunnelingshutdown in class AmazonWebServiceClientCopyright © 2021. All rights reserved.