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 import and the associated file stored in an S3 bucket.
Synopsis
- data DeleteImport = DeleteImport' {}
- newDeleteImport :: Text -> DeleteImport
- deleteImport_importId :: Lens' DeleteImport Text
- data DeleteImportResponse = DeleteImportResponse' {}
- newDeleteImportResponse :: Int -> DeleteImportResponse
- deleteImportResponse_importId :: Lens' DeleteImportResponse (Maybe Text)
- deleteImportResponse_importStatus :: Lens' DeleteImportResponse (Maybe ImportStatus)
- deleteImportResponse_httpStatus :: Lens' DeleteImportResponse Int
Creating a Request
data DeleteImport Source #
See: newDeleteImport
smart constructor.
Instances
Create a value of DeleteImport
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:
DeleteImport
, deleteImport_importId
- The unique identifier of the import to delete.
Request Lenses
deleteImport_importId :: Lens' DeleteImport Text Source #
The unique identifier of the import to delete.
Destructuring the Response
data DeleteImportResponse Source #
See: newDeleteImportResponse
smart constructor.
DeleteImportResponse' | |
|
Instances
newDeleteImportResponse Source #
Create a value of DeleteImportResponse
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:
DeleteImport
, deleteImportResponse_importId
- The unique identifier of the deleted import.
DeleteImportResponse
, deleteImportResponse_importStatus
- The current status of the deletion. When the deletion is complete, the
import will no longer be returned by the
ListImports
operation and calls to the
DescribeImport
operation with the import identifier will fail.
$sel:httpStatus:DeleteImportResponse'
, deleteImportResponse_httpStatus
- The response's http status code.
Response Lenses
deleteImportResponse_importId :: Lens' DeleteImportResponse (Maybe Text) Source #
The unique identifier of the deleted import.
deleteImportResponse_importStatus :: Lens' DeleteImportResponse (Maybe ImportStatus) Source #
The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.
deleteImportResponse_httpStatus :: Lens' DeleteImportResponse Int Source #
The response's http status code.