| 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.UpdateTaskExecution
Description
Updates execution of a task.
You can modify bandwidth throttling for a task execution that is running or queued. For more information, see Adjusting Bandwidth Throttling for a Task Execution.
The only Option that can be modified by UpdateTaskExecution is
BytesPerSecond .
Synopsis
- data UpdateTaskExecution = UpdateTaskExecution' {}
- newUpdateTaskExecution :: Text -> Options -> UpdateTaskExecution
- updateTaskExecution_taskExecutionArn :: Lens' UpdateTaskExecution Text
- updateTaskExecution_options :: Lens' UpdateTaskExecution Options
- data UpdateTaskExecutionResponse = UpdateTaskExecutionResponse' {
- httpStatus :: Int
- newUpdateTaskExecutionResponse :: Int -> UpdateTaskExecutionResponse
- updateTaskExecutionResponse_httpStatus :: Lens' UpdateTaskExecutionResponse Int
Creating a Request
data UpdateTaskExecution Source #
See: newUpdateTaskExecution smart constructor.
Constructors
| UpdateTaskExecution' | |
Fields
| |
Instances
newUpdateTaskExecution Source #
Arguments
| :: Text | |
| -> Options | |
| -> UpdateTaskExecution |
Create a value of UpdateTaskExecution 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:
UpdateTaskExecution, updateTaskExecution_taskExecutionArn - The Amazon Resource Name (ARN) of the specific task execution that is
being updated.
$sel:options:UpdateTaskExecution', updateTaskExecution_options - Undocumented member.
Request Lenses
updateTaskExecution_taskExecutionArn :: Lens' UpdateTaskExecution Text Source #
The Amazon Resource Name (ARN) of the specific task execution that is being updated.
updateTaskExecution_options :: Lens' UpdateTaskExecution Options Source #
Undocumented member.
Destructuring the Response
data UpdateTaskExecutionResponse Source #
See: newUpdateTaskExecutionResponse smart constructor.
Constructors
| UpdateTaskExecutionResponse' | |
Fields
| |
Instances
newUpdateTaskExecutionResponse Source #
Create a value of UpdateTaskExecutionResponse 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:UpdateTaskExecutionResponse', updateTaskExecutionResponse_httpStatus - The response's http status code.
Response Lenses
updateTaskExecutionResponse_httpStatus :: Lens' UpdateTaskExecutionResponse Int Source #
The response's http status code.