{ "version": "2.0", "metadata": { "apiVersion": "2018-10-05", "endpointPrefix": "api.tunneling.iot", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "AWS IoT Secure Tunneling", "serviceId": "IoTSecureTunneling", "signatureVersion": "v4", "signingName": "IoTSecuredTunneling", "targetPrefix": "IoTSecuredTunneling", "uid": "iotsecuretunneling-2018-10-05" }, "operations": { "CloseTunnel": { "name": "CloseTunnel", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CloseTunnelRequest" }, "output": { "shape": "CloseTunnelResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "
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.
" }, "DescribeTunnel": { "name": "DescribeTunnel", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeTunnelRequest" }, "output": { "shape": "DescribeTunnelResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "Gets information about a tunnel identified by the unique tunnel id.
Requires permission to access the DescribeTunnel action.
" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "Lists the tags for the specified resource.
" }, "ListTunnels": { "name": "ListTunnels", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTunnelsRequest" }, "output": { "shape": "ListTunnelsResponse" }, "documentation": "List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.
Requires permission to access the ListTunnels action.
" }, "OpenTunnel": { "name": "OpenTunnel", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "OpenTunnelRequest" }, "output": { "shape": "OpenTunnelResponse" }, "errors": [ { "shape": "LimitExceededException" } ], "documentation": "Creates a new tunnel, and returns two client access tokens for clients to use to connect to the IoT Secure Tunneling proxy server.
Requires permission to access the OpenTunnel action.
" }, "RotateTunnelAccessToken": { "name": "RotateTunnelAccessToken", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "RotateTunnelAccessTokenRequest" }, "output": { "shape": "RotateTunnelAccessTokenResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "Revokes the current client access token (CAT) and returns new CAT for clients to use when reconnecting to secure tunneling to access the same tunnel.
Requires permission to access the RotateTunnelAccessToken action.
Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel duration is 12 hours and the tunnel has already been open for 4 hours. When you rotate the access tokens, the new tokens that are generated can only be used for the remaining 8 hours.
A resource tag.
" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "Removes a tag from a resource.
" } }, "shapes": { "AmazonResourceName": { "type": "string", "max": 1011, "min": 1 }, "ClientAccessToken": { "type": "string", "sensitive": true }, "ClientMode": { "type": "string", "enum": [ "SOURCE", "DESTINATION", "ALL" ] }, "CloseTunnelRequest": { "type": "structure", "required": [ "tunnelId" ], "members": { "tunnelId": { "shape": "TunnelId", "documentation": "The ID of the tunnel to close.
" }, "delete": { "shape": "DeleteFlag", "documentation": "When set to true, IoT Secure Tunneling deletes the tunnel data immediately.
", "box": true } } }, "CloseTunnelResponse": { "type": "structure", "members": {} }, "ConnectionState": { "type": "structure", "members": { "status": { "shape": "ConnectionStatus", "documentation": "The connection status of the tunnel. Valid values are CONNECTED
and DISCONNECTED
.
The last time the connection status was updated.
" } }, "documentation": "The state of a connection.
" }, "ConnectionStatus": { "type": "string", "enum": [ "CONNECTED", "DISCONNECTED" ] }, "DateType": { "type": "timestamp" }, "DeleteFlag": { "type": "boolean" }, "DescribeTunnelRequest": { "type": "structure", "required": [ "tunnelId" ], "members": { "tunnelId": { "shape": "TunnelId", "documentation": "The tunnel to describe.
" } } }, "DescribeTunnelResponse": { "type": "structure", "members": { "tunnel": { "shape": "Tunnel", "documentation": "The tunnel being described.
" } } }, "Description": { "type": "string", "pattern": "[^\\p{C}]{1,2048}" }, "DestinationConfig": { "type": "structure", "required": [ "services" ], "members": { "thingName": { "shape": "ThingName", "documentation": "The name of the IoT thing to which you want to connect.
" }, "services": { "shape": "ServiceList", "documentation": "A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.
" } }, "documentation": "The destination configuration.
" }, "ListTagsForResourceRequest": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "shape": "AmazonResourceName", "documentation": "The resource ARN.
" } } }, "ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "shape": "TagList", "documentation": "The tags for the specified resource.
" } } }, "ListTunnelsRequest": { "type": "structure", "members": { "thingName": { "shape": "ThingName", "documentation": "The name of the IoT thing associated with the destination device.
" }, "maxResults": { "shape": "MaxResults", "documentation": "The maximum number of results to return at once.
", "box": true }, "nextToken": { "shape": "NextToken", "documentation": "To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
" } } }, "ListTunnelsResponse": { "type": "structure", "members": { "tunnelSummaries": { "shape": "TunnelSummaryList", "documentation": "A short description of the tunnels in an Amazon Web Services account.
" }, "nextToken": { "shape": "NextToken", "documentation": "The token to use to get the next set of results, or null if there are no additional results.
" } } }, "MaxResults": { "type": "integer", "max": 100, "min": 1 }, "NextToken": { "type": "string", "pattern": "[a-zA-Z0-9_=-]{1,4096}" }, "OpenTunnelRequest": { "type": "structure", "members": { "description": { "shape": "Description", "documentation": "A short text description of the tunnel.
" }, "tags": { "shape": "TagList", "documentation": "A collection of tag metadata.
" }, "destinationConfig": { "shape": "DestinationConfig", "documentation": "The destination configuration for the OpenTunnel request.
" }, "timeoutConfig": { "shape": "TimeoutConfig", "documentation": "Timeout configuration for a tunnel.
" } } }, "OpenTunnelResponse": { "type": "structure", "members": { "tunnelId": { "shape": "TunnelId", "documentation": "A unique alpha-numeric tunnel ID.
" }, "tunnelArn": { "shape": "TunnelArn", "documentation": "The Amazon Resource Name for the tunnel.
" }, "sourceAccessToken": { "shape": "ClientAccessToken", "documentation": "The access token the source local proxy uses to connect to IoT Secure Tunneling.
" }, "destinationAccessToken": { "shape": "ClientAccessToken", "documentation": "The access token the destination local proxy uses to connect to IoT Secure Tunneling.
" } } }, "RotateTunnelAccessTokenRequest": { "type": "structure", "required": [ "tunnelId", "clientMode" ], "members": { "tunnelId": { "shape": "TunnelId", "documentation": "The tunnel for which you want to rotate the access tokens.
" }, "clientMode": { "shape": "ClientMode", "documentation": "The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.
" }, "destinationConfig": { "shape": "DestinationConfig" } } }, "RotateTunnelAccessTokenResponse": { "type": "structure", "members": { "tunnelArn": { "shape": "TunnelArn", "documentation": "The Amazon Resource Name for the tunnel.
" }, "sourceAccessToken": { "shape": "ClientAccessToken", "documentation": "The client access token that the source local proxy uses to connect to IoT Secure Tunneling.
" }, "destinationAccessToken": { "shape": "ClientAccessToken", "documentation": "The client access token that the destination local proxy uses to connect to IoT Secure Tunneling.
" } } }, "Service": { "type": "string", "max": 128, "min": 1, "pattern": "[a-zA-Z0-9:_-]+" }, "ServiceList": { "type": "list", "member": { "shape": "Service" }, "min": 1 }, "Tag": { "type": "structure", "required": [ "key", "value" ], "members": { "key": { "shape": "TagKey", "documentation": "The key of the tag.
" }, "value": { "shape": "TagValue", "documentation": "The value of the tag.
" } }, "documentation": "An arbitary key/value pair used to add searchable metadata to secure tunnel resources.
" }, "TagKey": { "type": "string", "max": 128, "min": 1, "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 200, "min": 0 }, "TagList": { "type": "list", "member": { "shape": "Tag" }, "max": 200, "min": 1 }, "TagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "AmazonResourceName", "documentation": "The ARN of the resource.
" }, "tags": { "shape": "TagList", "documentation": "The tags for the resource.
" } } }, "TagResourceResponse": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256, "min": 0, "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "ThingName": { "type": "string", "max": 128, "min": 1, "pattern": "[a-zA-Z0-9:_-]+" }, "TimeoutConfig": { "type": "structure", "members": { "maxLifetimeTimeoutMinutes": { "shape": "TimeoutInMin", "documentation": "The maximum amount of time (in minutes) a tunnel can remain open. If not specified, maxLifetimeTimeoutMinutes defaults to 720 minutes. Valid values are from 1 minute to 12 hours (720 minutes)
", "box": true } }, "documentation": "Tunnel timeout configuration.
" }, "TimeoutInMin": { "type": "integer", "max": 720, "min": 1 }, "Tunnel": { "type": "structure", "members": { "tunnelId": { "shape": "TunnelId", "documentation": "A unique alpha-numeric ID that identifies a tunnel.
" }, "tunnelArn": { "shape": "TunnelArn", "documentation": "The Amazon Resource Name (ARN) of a tunnel.
" }, "status": { "shape": "TunnelStatus", "documentation": "The status of a tunnel. Valid values are: Open and Closed.
" }, "sourceConnectionState": { "shape": "ConnectionState", "documentation": "The connection state of the source application.
" }, "destinationConnectionState": { "shape": "ConnectionState", "documentation": "The connection state of the destination application.
" }, "description": { "shape": "Description", "documentation": "A description of the tunnel.
" }, "destinationConfig": { "shape": "DestinationConfig", "documentation": "The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.
" }, "timeoutConfig": { "shape": "TimeoutConfig", "documentation": "Timeout configuration for the tunnel.
" }, "tags": { "shape": "TagList", "documentation": "A list of tag metadata associated with the secure tunnel.
" }, "createdAt": { "shape": "DateType", "documentation": "The time when the tunnel was created.
" }, "lastUpdatedAt": { "shape": "DateType", "documentation": "The last time the tunnel was updated.
" } }, "documentation": "A connection between a source computer and a destination device.
" }, "TunnelArn": { "type": "string", "max": 1600, "min": 1 }, "TunnelId": { "type": "string", "pattern": "[a-zA-Z0-9_\\-+=:]{1,128}" }, "TunnelStatus": { "type": "string", "enum": [ "OPEN", "CLOSED" ] }, "TunnelSummary": { "type": "structure", "members": { "tunnelId": { "shape": "TunnelId", "documentation": "The unique alpha-numeric identifier for the tunnel.
" }, "tunnelArn": { "shape": "TunnelArn", "documentation": "The Amazon Resource Name of the tunnel.
" }, "status": { "shape": "TunnelStatus", "documentation": "The status of a tunnel. Valid values are: Open and Closed.
" }, "description": { "shape": "Description", "documentation": "A description of the tunnel.
" }, "createdAt": { "shape": "DateType", "documentation": "The time the tunnel was created.
" }, "lastUpdatedAt": { "shape": "DateType", "documentation": "The time the tunnel was last updated.
" } }, "documentation": "Information about the tunnel.
" }, "TunnelSummaryList": { "type": "list", "member": { "shape": "TunnelSummary" } }, "UntagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "AmazonResourceName", "documentation": "The resource ARN.
" }, "tagKeys": { "shape": "TagKeyList", "documentation": "The keys of the tags to remove.
" } } }, "UntagResourceResponse": { "type": "structure", "members": {} } }, "documentation": "IoT Secure Tunneling creates remote connections to devices deployed in the field.
For more information about how IoT Secure Tunneling works, see IoT Secure Tunneling.
" }