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.ConnectionState

Description

 
Synopsis

Documentation

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.