amazonka-oam-2.0: Amazon CloudWatch Observability Access 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.OAM.DeleteLink

Description

Deletes a link between a monitoring account sink and a source account. You must run this operation in the source account.

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:

$sel:identifier:DeleteLink', deleteLink_identifier - The ARN of the link to delete.

Request Lenses

deleteLink_identifier :: Lens' DeleteLink Text Source #

The ARN of the link to delete.

Destructuring the Response

data DeleteLinkResponse Source #

See: newDeleteLinkResponse smart constructor.

Constructors

DeleteLinkResponse' 

Fields

Instances

Instances details
Generic DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

Associated Types

type Rep DeleteLinkResponse :: Type -> Type #

Read DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

Show DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

NFData DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

Methods

rnf :: DeleteLinkResponse -> () #

Eq DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

type Rep DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

type Rep DeleteLinkResponse = D1 ('MetaData "DeleteLinkResponse" "Amazonka.OAM.DeleteLink" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "DeleteLinkResponse'" 'PrefixI 'True) (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:httpStatus:DeleteLinkResponse', deleteLinkResponse_httpStatus - The response's http status code.

Response Lenses