libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager
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.NetworkManager.Types.Connection

Description

 
Synopsis

Documentation

data Connection Source #

Describes a connection.

See: newConnection smart constructor.

Constructors

Connection' 

Fields

Instances

Instances details
Eq Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

Read Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

Show Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

Generic Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

Associated Types

type Rep Connection :: Type -> Type #

NFData Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

Methods

rnf :: Connection -> () #

Hashable Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

FromJSON Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

type Rep Connection Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Connection

type Rep Connection = D1 ('MetaData "Connection" "Amazonka.NetworkManager.Types.Connection" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "Connection'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "connectedLinkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "linkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))))

newConnection :: Connection Source #

Create a value of Connection 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:state:Connection', connection_state - The state of the connection.

$sel:createdAt:Connection', connection_createdAt - The date and time that the connection was created.

$sel:globalNetworkId:Connection', connection_globalNetworkId - The ID of the global network.

$sel:connectionId:Connection', connection_connectionId - The ID of the connection.

$sel:connectedDeviceId:Connection', connection_connectedDeviceId - The ID of the second device in the connection.

$sel:connectedLinkId:Connection', connection_connectedLinkId - The ID of the link for the second device in the connection.

$sel:linkId:Connection', connection_linkId - The ID of the link for the first device in the connection.

$sel:deviceId:Connection', connection_deviceId - The ID of the first device in the connection.

$sel:connectionArn:Connection', connection_connectionArn - The Amazon Resource Name (ARN) of the connection.

$sel:description:Connection', connection_description - The description of the connection.

$sel:tags:Connection', connection_tags - The tags for the connection.

connection_state :: Lens' Connection (Maybe ConnectionState) Source #

The state of the connection.

connection_createdAt :: Lens' Connection (Maybe UTCTime) Source #

The date and time that the connection was created.

connection_globalNetworkId :: Lens' Connection (Maybe Text) Source #

The ID of the global network.

connection_connectionId :: Lens' Connection (Maybe Text) Source #

The ID of the connection.

connection_connectedDeviceId :: Lens' Connection (Maybe Text) Source #

The ID of the second device in the connection.

connection_connectedLinkId :: Lens' Connection (Maybe Text) Source #

The ID of the link for the second device in the connection.

connection_linkId :: Lens' Connection (Maybe Text) Source #

The ID of the link for the first device in the connection.

connection_deviceId :: Lens' Connection (Maybe Text) Source #

The ID of the first device in the connection.

connection_connectionArn :: Lens' Connection (Maybe Text) Source #

The Amazon Resource Name (ARN) of the connection.

connection_description :: Lens' Connection (Maybe Text) Source #

The description of the connection.

connection_tags :: Lens' Connection (Maybe [Tag]) Source #

The tags for the connection.