amazonka-networkmanager-2.0: Amazon Network Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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:

AssociateLink, associateLink_globalNetworkId - The ID of the global network.

AssociateLink, associateLink_deviceId - The ID of the device.

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
Generic AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Associated Types

type Rep AssociateLinkResponse :: Type -> Type #

Read AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Show AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

NFData AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

Methods

rnf :: AssociateLinkResponse -> () #

Eq AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

type Rep AssociateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.AssociateLink

type Rep AssociateLinkResponse = D1 ('MetaData "AssociateLinkResponse" "Amazonka.NetworkManager.AssociateLink" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" '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