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

Description

Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

Synopsis

Creating a Request

data AssociateLink Source #

See: newAssociateLink smart constructor.

Constructors

AssociateLink' 

Fields

Instances

newAssociateLink Source #

Create a value of AssociateLink 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:globalNetworkId:AssociateLink', associateLink_globalNetworkId - The ID of the global network.

$sel:deviceId:AssociateLink', associateLink_deviceId - The ID of the device.

$sel:linkId:AssociateLink', associateLink_linkId - The ID of the link.

Request Lenses

Destructuring the Response

data AssociateLinkResponse Source #

See: newAssociateLinkResponse smart constructor.

Constructors

AssociateLinkResponse' 

Fields

Instances

Instances details
Eq AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Read AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Show AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Generic AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Associated Types

type Rep AssociateLinkResponse :: Type -> Type #

NFData AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Methods

rnf :: AssociateLinkResponse -> () #

type Rep AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

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

newAssociateLinkResponse Source #

Create a value of AssociateLinkResponse 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:linkAssociation:AssociateLinkResponse', associateLinkResponse_linkAssociation - The link association.

$sel:httpStatus:AssociateLinkResponse', associateLinkResponse_httpStatus - The response's http status code.

Response Lenses