| 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 |
Amazonka.DataSync.DeleteTask
Description
Deletes a 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:
$sel:taskArn:DeleteTask', deleteTask_taskArn - The Amazon Resource Name (ARN) of the task to delete.
Request Lenses
deleteTask_taskArn :: Lens' DeleteTask Text Source #
The Amazon Resource Name (ARN) of the task 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.