@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIoTSecureTunneling
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIoTSecureTunneling
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CloseTunnelResult |
closeTunnel(CloseTunnelRequest closeTunnelRequest)
Closes a tunnel identified by the unique tunnel id.
|
DescribeTunnelResult |
describeTunnel(DescribeTunnelRequest describeTunnelRequest)
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 listTagsForResourceRequest)
Lists the tags for the specified resource.
|
ListTunnelsResult |
listTunnels(ListTunnelsRequest listTunnelsRequest)
List all tunnels for an AWS account.
|
OpenTunnelResult |
openTunnel(OpenTunnelRequest openTunnelRequest)
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 tagResourceRequest)
A resource tag.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag from a resource.
|
static final String ENDPOINT_PREFIX
CloseTunnelResult closeTunnel(CloseTunnelRequest closeTunnelRequest)
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.
closeTunnelRequest
- ResourceNotFoundException
- Thrown when an operation is attempted on a resource that does not exist.DescribeTunnelResult describeTunnel(DescribeTunnelRequest describeTunnelRequest)
Gets information about a tunnel identified by the unique tunnel id.
describeTunnelRequest
- ResourceNotFoundException
- Thrown when an operation is attempted on a resource that does not exist.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest
- ResourceNotFoundException
- Thrown when an operation is attempted on a resource that does not exist.ListTunnelsResult listTunnels(ListTunnelsRequest listTunnelsRequest)
List all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.
listTunnelsRequest
- OpenTunnelResult openTunnel(OpenTunnelRequest openTunnelRequest)
Creates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server. .
openTunnelRequest
- LimitExceededException
- Thrown when a tunnel limit is exceeded.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
A resource tag.
tagResourceRequest
- ResourceNotFoundException
- Thrown when an operation is attempted on a resource that does not exist.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag from a resource.
untagResourceRequest
- ResourceNotFoundException
- Thrown when an operation is attempted on a resource that does not exist.void shutdown()
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 a request.
request
- The originally executed request.