libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTSecureTunneling.Lens

Description

 
Synopsis

Operations

ListTagsForResource

CloseTunnel

closeTunnel_delete :: Lens' CloseTunnel (Maybe Bool) Source #

When set to true, AWS IoT Secure Tunneling deletes the tunnel data immediately.

closeTunnel_tunnelId :: Lens' CloseTunnel Text Source #

The ID of the tunnel to close.

OpenTunnel

openTunnel_destinationConfig :: Lens' OpenTunnel (Maybe DestinationConfig) Source #

The destination configuration for the OpenTunnel request.

openTunnel_description :: Lens' OpenTunnel (Maybe Text) Source #

A short text description of the tunnel.

openTunnel_timeoutConfig :: Lens' OpenTunnel (Maybe TimeoutConfig) Source #

Timeout configuration for a tunnel.

openTunnel_tags :: Lens' OpenTunnel (Maybe (NonEmpty Tag)) Source #

A collection of tag metadata.

openTunnelResponse_sourceAccessToken :: Lens' OpenTunnelResponse (Maybe Text) Source #

The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.

openTunnelResponse_tunnelArn :: Lens' OpenTunnelResponse (Maybe Text) Source #

The Amazon Resource Name for the tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

openTunnelResponse_destinationAccessToken :: Lens' OpenTunnelResponse (Maybe Text) Source #

The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.

openTunnelResponse_tunnelId :: Lens' OpenTunnelResponse (Maybe Text) Source #

A unique alpha-numeric tunnel ID.

DescribeTunnel

TagResource

tagResource_tags :: Lens' TagResource (NonEmpty Tag) Source #

The tags for the resource.

UntagResource

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The keys of the tags to remove.

ListTunnels

listTunnels_nextToken :: Lens' ListTunnels (Maybe Text) Source #

A token to retrieve the next set of results.

listTunnels_thingName :: Lens' ListTunnels (Maybe Text) Source #

The name of the IoT thing associated with the destination device.

listTunnels_maxResults :: Lens' ListTunnels (Maybe Natural) Source #

The maximum number of results to return at once.

listTunnelsResponse_nextToken :: Lens' ListTunnelsResponse (Maybe Text) Source #

A token to used to retrieve the next set of results.

listTunnelsResponse_tunnelSummaries :: Lens' ListTunnelsResponse (Maybe [TunnelSummary]) Source #

A short description of the tunnels in an AWS account.

Types

ConnectionState

connectionState_status :: Lens' ConnectionState (Maybe ConnectionStatus) Source #

The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.

connectionState_lastUpdatedAt :: Lens' ConnectionState (Maybe UTCTime) Source #

The last time the connection status was updated.

DestinationConfig

destinationConfig_thingName :: Lens' DestinationConfig (Maybe Text) Source #

The name of the IoT thing to which you want to connect.

destinationConfig_services :: Lens' DestinationConfig (NonEmpty Text) Source #

A list of service names that identity the target application. The AWS 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 AWS IoT client instantiates the local proxy which uses this information to connect to the destination application.

Tag

tag_key :: Lens' Tag Text Source #

The key of the tag.

tag_value :: Lens' Tag Text Source #

The value of the tag.

TimeoutConfig

timeoutConfig_maxLifetimeTimeoutMinutes :: Lens' TimeoutConfig (Maybe Natural) Source #

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)

Tunnel

tunnel_status :: Lens' Tunnel (Maybe TunnelStatus) Source #

The status of a tunnel. Valid values are: Open and Closed.

tunnel_lastUpdatedAt :: Lens' Tunnel (Maybe UTCTime) Source #

The last time the tunnel was updated.

tunnel_createdAt :: Lens' Tunnel (Maybe UTCTime) Source #

The time when the tunnel was created.

tunnel_tunnelArn :: Lens' Tunnel (Maybe Text) Source #

The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #

The connection state of the source application.

tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #

The connection state of the destination application.

tunnel_tunnelId :: Lens' Tunnel (Maybe Text) Source #

A unique alpha-numeric ID that identifies a tunnel.

tunnel_destinationConfig :: Lens' Tunnel (Maybe DestinationConfig) Source #

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.

tunnel_description :: Lens' Tunnel (Maybe Text) Source #

A description of the tunnel.

tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig) Source #

Timeout configuration for the tunnel.

tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag)) Source #

A list of tag metadata associated with the secure tunnel.

TunnelSummary

tunnelSummary_status :: Lens' TunnelSummary (Maybe TunnelStatus) Source #

The status of a tunnel. Valid values are: Open and Closed.

tunnelSummary_lastUpdatedAt :: Lens' TunnelSummary (Maybe UTCTime) Source #

The time the tunnel was last updated.

tunnelSummary_createdAt :: Lens' TunnelSummary (Maybe UTCTime) Source #

The time the tunnel was created.

tunnelSummary_tunnelArn :: Lens' TunnelSummary (Maybe Text) Source #

The Amazon Resource Name of the tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

tunnelSummary_tunnelId :: Lens' TunnelSummary (Maybe Text) Source #

The unique alpha-numeric identifier for the tunnel.