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 |
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.
UpdateTaskExecution' | |
|
Instances
newUpdateTaskExecution Source #
:: 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:
$sel:taskExecutionArn: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.
UpdateTaskExecutionResponse' | |
|
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.