| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data DeleteLink = DeleteLink' {
- identifier :: Text
- newDeleteLink :: Text -> DeleteLink
- deleteLink_identifier :: Lens' DeleteLink Text
- data DeleteLinkResponse = DeleteLinkResponse' {
- httpStatus :: Int
- newDeleteLinkResponse :: Int -> DeleteLinkResponse
- deleteLinkResponse_httpStatus :: Lens' DeleteLinkResponse Int
Creating a Request
data DeleteLink Source #
See: newDeleteLink smart constructor.
Constructors
| DeleteLink' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteLink |
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
newDeleteLinkResponse Source #
Arguments
| :: Int | |
| -> DeleteLinkResponse |
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
deleteLinkResponse_httpStatus :: Lens' DeleteLinkResponse Int Source #
The response's http status code.