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 |
Removes a previous export and the associated files stored in an S3 bucket.
Synopsis
- data DeleteExport = DeleteExport' {}
- newDeleteExport :: Text -> DeleteExport
- deleteExport_exportId :: Lens' DeleteExport Text
- data DeleteExportResponse = DeleteExportResponse' {}
- newDeleteExportResponse :: Int -> DeleteExportResponse
- deleteExportResponse_exportId :: Lens' DeleteExportResponse (Maybe Text)
- deleteExportResponse_exportStatus :: Lens' DeleteExportResponse (Maybe ExportStatus)
- deleteExportResponse_httpStatus :: Lens' DeleteExportResponse Int
Creating a Request
data DeleteExport Source #
See: newDeleteExport
smart constructor.
Instances
Create a value of DeleteExport
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:
DeleteExport
, deleteExport_exportId
- The unique identifier of the export to delete.
Request Lenses
deleteExport_exportId :: Lens' DeleteExport Text Source #
The unique identifier of the export to delete.
Destructuring the Response
data DeleteExportResponse Source #
See: newDeleteExportResponse
smart constructor.
DeleteExportResponse' | |
|
Instances
newDeleteExportResponse Source #
Create a value of DeleteExportResponse
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:
DeleteExport
, deleteExportResponse_exportId
- The unique identifier of the deleted export.
DeleteExportResponse
, deleteExportResponse_exportStatus
- The current status of the deletion. When the deletion is complete, the
export will no longer be returned by the
ListExports
operation and calls to the
DescribeExport
operation with the export identifier will fail.
$sel:httpStatus:DeleteExportResponse'
, deleteExportResponse_httpStatus
- The response's http status code.
Response Lenses
deleteExportResponse_exportId :: Lens' DeleteExportResponse (Maybe Text) Source #
The unique identifier of the deleted export.
deleteExportResponse_exportStatus :: Lens' DeleteExportResponse (Maybe ExportStatus) Source #
The current status of the deletion. When the deletion is complete, the export will no longer be returned by the ListExports operation and calls to the DescribeExport operation with the export identifier will fail.
deleteExportResponse_httpStatus :: Lens' DeleteExportResponse Int Source #
The response's http status code.