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

Description

Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

Synopsis

Creating a Request

data DeleteLink Source #

See: newDeleteLink smart constructor.

Constructors

DeleteLink' 

Fields

Instances

newDeleteLink Source #

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

DeleteLink, deleteLink_globalNetworkId - The ID of the global network.

DeleteLink, deleteLink_linkId - The ID of the link.

Request Lenses

deleteLink_globalNetworkId :: Lens' DeleteLink Text Source #

The ID of the global network.

Destructuring the Response

data DeleteLinkResponse Source #

See: newDeleteLinkResponse smart constructor.

Constructors

DeleteLinkResponse' 

Fields

Instances

Instances details
Generic DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteLink

Associated Types

type Rep DeleteLinkResponse :: Type -> Type #

Read DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteLink

Show DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteLink

NFData DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteLink

Methods

rnf :: DeleteLinkResponse -> () #

Eq DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteLink

type Rep DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteLink

type Rep DeleteLinkResponse = D1 ('MetaData "DeleteLinkResponse" "Amazonka.NetworkManager.DeleteLink" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "DeleteLinkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "link") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Link)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteLinkResponse Source #

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

$sel:httpStatus:DeleteLinkResponse', deleteLinkResponse_httpStatus - The response's http status code.

Response Lenses