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.Types.Tunnel

Description

 
Synopsis

Documentation

data Tunnel Source #

A connection between a source computer and a destination device.

See: newTunnel smart constructor.

Constructors

Tunnel' 

Fields

Instances

Instances details
Eq Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

Methods

(==) :: Tunnel -> Tunnel -> Bool #

(/=) :: Tunnel -> Tunnel -> Bool #

Read Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

Show Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

Generic Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

Associated Types

type Rep Tunnel :: Type -> Type #

Methods

from :: Tunnel -> Rep Tunnel x #

to :: Rep Tunnel x -> Tunnel #

NFData Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

Methods

rnf :: Tunnel -> () #

Hashable Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

Methods

hashWithSalt :: Int -> Tunnel -> Int #

hash :: Tunnel -> Int #

FromJSON Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

type Rep Tunnel Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tunnel

type Rep Tunnel = D1 ('MetaData "Tunnel" "Amazonka.IoTSecureTunneling.Types.Tunnel" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'False) (C1 ('MetaCons "Tunnel'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TunnelStatus)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "tunnelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceConnectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState))))) :*: ((S1 ('MetaSel ('Just "destinationConnectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState)) :*: (S1 ('MetaSel ('Just "tunnelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DestinationConfig)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timeoutConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeoutConfig)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))))))))

newTunnel :: Tunnel Source #

Create a value of Tunnel with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Tunnel', tunnel_status - The status of a tunnel. Valid values are: Open and Closed.

$sel:lastUpdatedAt:Tunnel', tunnel_lastUpdatedAt - The last time the tunnel was updated.

$sel:createdAt:Tunnel', tunnel_createdAt - The time when the tunnel was created.

$sel:tunnelArn:Tunnel', tunnel_tunnelArn - The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

$sel:sourceConnectionState:Tunnel', tunnel_sourceConnectionState - The connection state of the source application.

$sel:destinationConnectionState:Tunnel', tunnel_destinationConnectionState - The connection state of the destination application.

$sel:tunnelId:Tunnel', tunnel_tunnelId - A unique alpha-numeric ID that identifies a tunnel.

$sel:destinationConfig:Tunnel', tunnel_destinationConfig - 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.

$sel:description:Tunnel', tunnel_description - A description of the tunnel.

$sel:timeoutConfig:Tunnel', tunnel_timeoutConfig - Timeout configuration for the tunnel.

$sel:tags:Tunnel', tunnel_tags - A list of tag metadata associated with the secure 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.