| 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.DataSync.DeleteTask
Description
Deletes an DataSync task.
Synopsis
Creating a Request
data DeleteTask Source #
DeleteTask
See: newDeleteTask smart constructor.
Constructors
| DeleteTask' | |
Instances
Arguments
| :: Text | |
| -> DeleteTask |
Create a value of DeleteTask 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:
DeleteTask, deleteTask_taskArn - Specifies the Amazon Resource Name (ARN) of the task that you want to
delete.
Request Lenses
deleteTask_taskArn :: Lens' DeleteTask Text Source #
Specifies the Amazon Resource Name (ARN) of the task that you want to delete.
Destructuring the Response
data DeleteTaskResponse Source #
See: newDeleteTaskResponse smart constructor.
Constructors
| DeleteTaskResponse' | |
Fields
| |
Instances
newDeleteTaskResponse Source #
Arguments
| :: Int | |
| -> DeleteTaskResponse |
Create a value of DeleteTaskResponse 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:DeleteTaskResponse', deleteTaskResponse_httpStatus - The response's http status code.
Response Lenses
deleteTaskResponse_httpStatus :: Lens' DeleteTaskResponse Int Source #
The response's http status code.