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

Description

Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.

Synopsis

Creating a Request

data CreateConnection Source #

See: newCreateConnection smart constructor.

Constructors

CreateConnection' 

Fields

Instances

Instances details
Eq CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Read CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Show CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Generic CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Associated Types

type Rep CreateConnection :: Type -> Type #

NFData CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Methods

rnf :: CreateConnection -> () #

Hashable CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

ToJSON CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

AWSRequest CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Associated Types

type AWSResponse CreateConnection #

ToHeaders CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

ToPath CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

ToQuery CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

type Rep CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

type Rep CreateConnection = D1 ('MetaData "CreateConnection" "Amazonka.NetworkManager.CreateConnection" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "CreateConnection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectedLinkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "linkId") '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])) :*: S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "connectedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

newCreateConnection Source #

Create a value of CreateConnection 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:connectedLinkId:CreateConnection', createConnection_connectedLinkId - The ID of the link for the second device.

$sel:linkId:CreateConnection', createConnection_linkId - The ID of the link for the first device.

$sel:description:CreateConnection', createConnection_description - A description of the connection.

Length Constraints: Maximum length of 256 characters.

$sel:tags:CreateConnection', createConnection_tags - The tags to apply to the resource during creation.

$sel:globalNetworkId:CreateConnection', createConnection_globalNetworkId - The ID of the global network.

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

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

Request Lenses

createConnection_connectedLinkId :: Lens' CreateConnection (Maybe Text) Source #

The ID of the link for the second device.

createConnection_linkId :: Lens' CreateConnection (Maybe Text) Source #

The ID of the link for the first device.

createConnection_description :: Lens' CreateConnection (Maybe Text) Source #

A description of the connection.

Length Constraints: Maximum length of 256 characters.

createConnection_tags :: Lens' CreateConnection (Maybe [Tag]) Source #

The tags to apply to the resource during creation.

createConnection_deviceId :: Lens' CreateConnection Text Source #

The ID of the first device in the connection.

createConnection_connectedDeviceId :: Lens' CreateConnection Text Source #

The ID of the second device in the connection.

Destructuring the Response

data CreateConnectionResponse Source #

See: newCreateConnectionResponse smart constructor.

Constructors

CreateConnectionResponse' 

Fields

Instances

Instances details
Eq CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Read CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Show CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Generic CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

Associated Types

type Rep CreateConnectionResponse :: Type -> Type #

NFData CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

type Rep CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateConnection

type Rep CreateConnectionResponse = D1 ('MetaData "CreateConnectionResponse" "Amazonka.NetworkManager.CreateConnection" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "CreateConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Connection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateConnectionResponse Source #

Create a value of CreateConnectionResponse 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:connection:CreateConnectionResponse', createConnectionResponse_connection - Information about the connection.

$sel:httpStatus:CreateConnectionResponse', createConnectionResponse_httpStatus - The response's http status code.

Response Lenses