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

Description

Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

This operation returns paginated results.

Synopsis

Creating a Request

data GetLinkAssociations Source #

See: newGetLinkAssociations smart constructor.

Constructors

GetLinkAssociations' 

Fields

Instances

Instances details
ToHeaders GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

ToPath GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

ToQuery GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

AWSPager GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

AWSRequest GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Associated Types

type AWSResponse GetLinkAssociations #

Generic GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Associated Types

type Rep GetLinkAssociations :: Type -> Type #

Read GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Show GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

NFData GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Methods

rnf :: GetLinkAssociations -> () #

Eq GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Hashable GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

type AWSResponse GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

type Rep GetLinkAssociations Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

type Rep GetLinkAssociations = D1 ('MetaData "GetLinkAssociations" "Amazonka.NetworkManager.GetLinkAssociations" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "GetLinkAssociations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "linkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetLinkAssociations Source #

Create a value of GetLinkAssociations 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:

GetLinkAssociations, getLinkAssociations_deviceId - The ID of the device.

GetLinkAssociations, getLinkAssociations_linkId - The ID of the link.

$sel:maxResults:GetLinkAssociations', getLinkAssociations_maxResults - The maximum number of results to return.

GetLinkAssociations, getLinkAssociations_nextToken - The token for the next page of results.

GetLinkAssociations, getLinkAssociations_globalNetworkId - The ID of the global network.

Request Lenses

getLinkAssociations_maxResults :: Lens' GetLinkAssociations (Maybe Natural) Source #

The maximum number of results to return.

getLinkAssociations_nextToken :: Lens' GetLinkAssociations (Maybe Text) Source #

The token for the next page of results.

Destructuring the Response

data GetLinkAssociationsResponse Source #

See: newGetLinkAssociationsResponse smart constructor.

Constructors

GetLinkAssociationsResponse' 

Fields

Instances

Instances details
Generic GetLinkAssociationsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Associated Types

type Rep GetLinkAssociationsResponse :: Type -> Type #

Read GetLinkAssociationsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Show GetLinkAssociationsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

NFData GetLinkAssociationsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

Eq GetLinkAssociationsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

type Rep GetLinkAssociationsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetLinkAssociations

type Rep GetLinkAssociationsResponse = D1 ('MetaData "GetLinkAssociationsResponse" "Amazonka.NetworkManager.GetLinkAssociations" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "GetLinkAssociationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "linkAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LinkAssociation])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetLinkAssociationsResponse Source #

Create a value of GetLinkAssociationsResponse 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:linkAssociations:GetLinkAssociationsResponse', getLinkAssociationsResponse_linkAssociations - The link associations.

GetLinkAssociations, getLinkAssociationsResponse_nextToken - The token for the next page of results.

$sel:httpStatus:GetLinkAssociationsResponse', getLinkAssociationsResponse_httpStatus - The response's http status code.

Response Lenses