| 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.CloudWatchEvents.DeleteArchive
Description
Deletes the specified archive.
Synopsis
- data DeleteArchive = DeleteArchive' {
- archiveName :: Text
- newDeleteArchive :: Text -> DeleteArchive
- deleteArchive_archiveName :: Lens' DeleteArchive Text
- data DeleteArchiveResponse = DeleteArchiveResponse' {
- httpStatus :: Int
- newDeleteArchiveResponse :: Int -> DeleteArchiveResponse
- deleteArchiveResponse_httpStatus :: Lens' DeleteArchiveResponse Int
Creating a Request
data DeleteArchive Source #
See: newDeleteArchive smart constructor.
Constructors
| DeleteArchive' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteArchive |
Create a value of DeleteArchive 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:
DeleteArchive, deleteArchive_archiveName - The name of the archive to delete.
Request Lenses
deleteArchive_archiveName :: Lens' DeleteArchive Text Source #
The name of the archive to delete.
Destructuring the Response
data DeleteArchiveResponse Source #
See: newDeleteArchiveResponse smart constructor.
Constructors
| DeleteArchiveResponse' | |
Fields
| |
Instances
newDeleteArchiveResponse Source #
Create a value of DeleteArchiveResponse 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:DeleteArchiveResponse', deleteArchiveResponse_httpStatus - The response's http status code.
Response Lenses
deleteArchiveResponse_httpStatus :: Lens' DeleteArchiveResponse Int Source #
The response's http status code.