Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteArchive' | |
|
Instances
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:
$sel:archiveName: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.
DeleteArchiveResponse' | |
|
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.