close_tunnel
(**kwargs)¶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.
Requires permission to access the CloseTunnel action.
See also: AWS API Documentation
Request Syntax
response = client.close_tunnel(
tunnelId='string',
delete=True|False
)
[REQUIRED]
The ID of the tunnel to close.
dict
Response Syntax
{}
Response Structure
Exceptions
IoTSecureTunneling.Client.exceptions.ResourceNotFoundException