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 |
Stops an DataSync task execution that's in progress. The transfer of some files are abruptly interrupted. File contents that're transferred to the destination might be incomplete or inconsistent with the source files.
However, if you start a new task execution using the same task and allow it to finish, file content on the destination will be complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully completes the transfer when you start the next task execution.
Synopsis
- data CancelTaskExecution = CancelTaskExecution' {}
- newCancelTaskExecution :: Text -> CancelTaskExecution
- cancelTaskExecution_taskExecutionArn :: Lens' CancelTaskExecution Text
- data CancelTaskExecutionResponse = CancelTaskExecutionResponse' {
- httpStatus :: Int
- newCancelTaskExecutionResponse :: Int -> CancelTaskExecutionResponse
- cancelTaskExecutionResponse_httpStatus :: Lens' CancelTaskExecutionResponse Int
Creating a Request
data CancelTaskExecution Source #
CancelTaskExecutionRequest
See: newCancelTaskExecution
smart constructor.
CancelTaskExecution' | |
|
Instances
newCancelTaskExecution Source #
Create a value of CancelTaskExecution
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:
CancelTaskExecution
, cancelTaskExecution_taskExecutionArn
- The Amazon Resource Name (ARN) of the task execution to stop.
Request Lenses
cancelTaskExecution_taskExecutionArn :: Lens' CancelTaskExecution Text Source #
The Amazon Resource Name (ARN) of the task execution to stop.
Destructuring the Response
data CancelTaskExecutionResponse Source #
See: newCancelTaskExecutionResponse
smart constructor.
CancelTaskExecutionResponse' | |
|
Instances
newCancelTaskExecutionResponse Source #
Create a value of CancelTaskExecutionResponse
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:CancelTaskExecutionResponse'
, cancelTaskExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
cancelTaskExecutionResponse_httpStatus :: Lens' CancelTaskExecutionResponse Int Source #
The response's http status code.