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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-10-05 of the Amazon IoT Secure Tunneling SDK configuration.

Errors

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Thrown when an operation is attempted on a resource that does not exist.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Thrown when a tunnel limit is exceeded.

ConnectionStatus

newtype ConnectionStatus Source #

Instances

Instances details
Eq ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

Ord ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

Read ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

Show ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

Generic ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

Associated Types

type Rep ConnectionStatus :: Type -> Type #

NFData ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

Methods

rnf :: ConnectionStatus -> () #

Hashable ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToJSON ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToJSONKey ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

FromJSON ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

FromJSONKey ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToLog ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToHeader ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToQuery ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

FromXML ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToXML ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToByteString ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

FromText ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

ToText ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

type Rep ConnectionStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionStatus

type Rep ConnectionStatus = D1 ('MetaData "ConnectionStatus" "Amazonka.IoTSecureTunneling.Types.ConnectionStatus" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'True) (C1 ('MetaCons "ConnectionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConnectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TunnelStatus

newtype TunnelStatus Source #

Constructors

TunnelStatus' 

Bundled Patterns

pattern TunnelStatus_CLOSED :: TunnelStatus 
pattern TunnelStatus_OPEN :: TunnelStatus 

Instances

Instances details
Eq TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Ord TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Read TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Show TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Generic TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Associated Types

type Rep TunnelStatus :: Type -> Type #

NFData TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Methods

rnf :: TunnelStatus -> () #

Hashable TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

ToJSON TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

ToJSONKey TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

FromJSON TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

FromJSONKey TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

ToLog TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

ToHeader TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

ToQuery TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

FromXML TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

ToXML TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Methods

toXML :: TunnelStatus -> XML #

ToByteString TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

FromText TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

ToText TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

Methods

toText :: TunnelStatus -> Text #

type Rep TunnelStatus Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelStatus

type Rep TunnelStatus = D1 ('MetaData "TunnelStatus" "Amazonka.IoTSecureTunneling.Types.TunnelStatus" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'True) (C1 ('MetaCons "TunnelStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTunnelStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ConnectionState

data ConnectionState Source #

The state of a connection.

See: newConnectionState smart constructor.

Constructors

ConnectionState' 

Fields

Instances

Instances details
Eq ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

Read ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

Show ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

Generic ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

Associated Types

type Rep ConnectionState :: Type -> Type #

NFData ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

Methods

rnf :: ConnectionState -> () #

Hashable ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

FromJSON ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

type Rep ConnectionState Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.ConnectionState

type Rep ConnectionState = D1 ('MetaData "ConnectionState" "Amazonka.IoTSecureTunneling.Types.ConnectionState" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'False) (C1 ('MetaCons "ConnectionState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionStatus)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

newConnectionState :: ConnectionState Source #

Create a value of ConnectionState 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:ConnectionState', connectionState_status - The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.

$sel:lastUpdatedAt:ConnectionState', connectionState_lastUpdatedAt - The last time the connection status was updated.

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

data DestinationConfig Source #

The destination configuration.

See: newDestinationConfig smart constructor.

Constructors

DestinationConfig' 

Fields

  • thingName :: Maybe Text

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

  • services :: NonEmpty Text

    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.

Instances

Instances details
Eq DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Read DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Show DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Generic DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Associated Types

type Rep DestinationConfig :: Type -> Type #

NFData DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

Methods

rnf :: DestinationConfig -> () #

Hashable DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

ToJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

FromJSON DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

type Rep DestinationConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.DestinationConfig

type Rep DestinationConfig = D1 ('MetaData "DestinationConfig" "Amazonka.IoTSecureTunneling.Types.DestinationConfig" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'False) (C1 ('MetaCons "DestinationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newDestinationConfig Source #

Create a value of DestinationConfig 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:thingName:DestinationConfig', destinationConfig_thingName - The name of the IoT thing to which you want to connect.

$sel:services:DestinationConfig', destinationConfig_services - 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.

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

data Tag Source #

An arbitary key/value pair used to add searchable metadata to secure tunnel resources.

See: newTag smart constructor.

Constructors

Tag' 

Fields

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

Methods

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

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

Read Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

FromJSON Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.IoTSecureTunneling.Types.Tag" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - The key of the tag.

$sel:value:Tag', tag_value - The value of the tag.

tag_key :: Lens' Tag Text Source #

The key of the tag.

tag_value :: Lens' Tag Text Source #

The value of the tag.

TimeoutConfig

data TimeoutConfig Source #

Tunnel timeout configuration.

See: newTimeoutConfig smart constructor.

Constructors

TimeoutConfig' 

Fields

  • maxLifetimeTimeoutMinutes :: Maybe Natural

    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)

Instances

Instances details
Eq TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

Read TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

Show TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

Generic TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

Associated Types

type Rep TimeoutConfig :: Type -> Type #

NFData TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

Methods

rnf :: TimeoutConfig -> () #

Hashable TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

ToJSON TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

FromJSON TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

type Rep TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TimeoutConfig

type Rep TimeoutConfig = D1 ('MetaData "TimeoutConfig" "Amazonka.IoTSecureTunneling.Types.TimeoutConfig" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'False) (C1 ('MetaCons "TimeoutConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxLifetimeTimeoutMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newTimeoutConfig :: TimeoutConfig Source #

Create a value of TimeoutConfig 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:maxLifetimeTimeoutMinutes:TimeoutConfig', timeoutConfig_maxLifetimeTimeoutMinutes - 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)

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

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.

TunnelSummary

data TunnelSummary Source #

Information about the tunnel.

See: newTunnelSummary smart constructor.

Constructors

TunnelSummary' 

Fields

Instances

Instances details
Eq TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

Read TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

Show TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

Generic TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

Associated Types

type Rep TunnelSummary :: Type -> Type #

NFData TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

Methods

rnf :: TunnelSummary -> () #

Hashable TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

FromJSON TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

type Rep TunnelSummary Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.Types.TunnelSummary

type Rep TunnelSummary = D1 ('MetaData "TunnelSummary" "Amazonka.IoTSecureTunneling.Types.TunnelSummary" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'False) (C1 ('MetaCons "TunnelSummary'" '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 "tunnelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newTunnelSummary :: TunnelSummary Source #

Create a value of TunnelSummary 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:TunnelSummary', tunnelSummary_status - The status of a tunnel. Valid values are: Open and Closed.

$sel:lastUpdatedAt:TunnelSummary', tunnelSummary_lastUpdatedAt - The time the tunnel was last updated.

$sel:createdAt:TunnelSummary', tunnelSummary_createdAt - The time the tunnel was created.

$sel:tunnelArn:TunnelSummary', tunnelSummary_tunnelArn - The Amazon Resource Name of the tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

$sel:tunnelId:TunnelSummary', tunnelSummary_tunnelId - The unique alpha-numeric identifier for the tunnel.

$sel:description:TunnelSummary', tunnelSummary_description - A description of the tunnel.

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.