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

Description

Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

Synopsis

Creating a Request

data UpdateLink Source #

See: newUpdateLink smart constructor.

Constructors

UpdateLink' 

Fields

Instances

newUpdateLink Source #

Create a value of UpdateLink 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:bandwidth:UpdateLink', updateLink_bandwidth - The upload and download speed in Mbps.

$sel:type':UpdateLink', updateLink_type - The type of the link.

Length Constraints: Maximum length of 128 characters.

$sel:description:UpdateLink', updateLink_description - A description of the link.

Length Constraints: Maximum length of 256 characters.

$sel:provider:UpdateLink', updateLink_provider - The provider of the link.

Length Constraints: Maximum length of 128 characters.

$sel:globalNetworkId:UpdateLink', updateLink_globalNetworkId - The ID of the global network.

$sel:linkId:UpdateLink', updateLink_linkId - The ID of the link.

Request Lenses

updateLink_bandwidth :: Lens' UpdateLink (Maybe Bandwidth) Source #

The upload and download speed in Mbps.

updateLink_type :: Lens' UpdateLink (Maybe Text) Source #

The type of the link.

Length Constraints: Maximum length of 128 characters.

updateLink_description :: Lens' UpdateLink (Maybe Text) Source #

A description of the link.

Length Constraints: Maximum length of 256 characters.

updateLink_provider :: Lens' UpdateLink (Maybe Text) Source #

The provider of the link.

Length Constraints: Maximum length of 128 characters.

updateLink_globalNetworkId :: Lens' UpdateLink Text Source #

The ID of the global network.

Destructuring the Response

data UpdateLinkResponse Source #

See: newUpdateLinkResponse smart constructor.

Constructors

UpdateLinkResponse' 

Fields

Instances

Instances details
Eq UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateLink

Read UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateLink

Show UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateLink

Generic UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateLink

Associated Types

type Rep UpdateLinkResponse :: Type -> Type #

NFData UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateLink

Methods

rnf :: UpdateLinkResponse -> () #

type Rep UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateLink

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

newUpdateLinkResponse Source #

Create a value of UpdateLinkResponse 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:link:UpdateLinkResponse', updateLinkResponse_link - Information about the link.

$sel:httpStatus:UpdateLinkResponse', updateLinkResponse_httpStatus - The response's http status code.

Response Lenses