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 |
Starts a specific invocation of a task. A TaskExecution
value
represents an individual run of a task. Each task can have at most one
TaskExecution
at a time.
TaskExecution
has the following transition phases: INITIALIZING |
PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE.
For detailed information, see the Task Execution section in the Components and Terminology topic in the DataSync User Guide.
Synopsis
- data StartTaskExecution = StartTaskExecution' {
- overrideOptions :: Maybe Options
- includes :: Maybe [FilterRule]
- excludes :: Maybe [FilterRule]
- taskArn :: Text
- newStartTaskExecution :: Text -> StartTaskExecution
- startTaskExecution_overrideOptions :: Lens' StartTaskExecution (Maybe Options)
- startTaskExecution_includes :: Lens' StartTaskExecution (Maybe [FilterRule])
- startTaskExecution_excludes :: Lens' StartTaskExecution (Maybe [FilterRule])
- startTaskExecution_taskArn :: Lens' StartTaskExecution Text
- data StartTaskExecutionResponse = StartTaskExecutionResponse' {}
- newStartTaskExecutionResponse :: Int -> StartTaskExecutionResponse
- startTaskExecutionResponse_taskExecutionArn :: Lens' StartTaskExecutionResponse (Maybe Text)
- startTaskExecutionResponse_httpStatus :: Lens' StartTaskExecutionResponse Int
Creating a Request
data StartTaskExecution Source #
StartTaskExecutionRequest
See: newStartTaskExecution
smart constructor.
StartTaskExecution' | |
|
Instances
newStartTaskExecution Source #
Create a value of StartTaskExecution
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:overrideOptions:StartTaskExecution'
, startTaskExecution_overrideOptions
- Undocumented member.
$sel:includes:StartTaskExecution'
, startTaskExecution_includes
- A list of filter rules that determines which files to include when
running a task. The pattern should contain a single filter string that
consists of the patterns to include. The patterns are delimited by "|"
(that is, a pipe). For example: "/folder1|/folder2"
$sel:excludes:StartTaskExecution'
, startTaskExecution_excludes
- A list of filter rules that determines which files to exclude from a
task. The list should contain a single filter string that consists of
the patterns to exclude. The patterns are delimited by "|" (that is, a
pipe), for example, "/folder1|/folder2"
.
$sel:taskArn:StartTaskExecution'
, startTaskExecution_taskArn
- The Amazon Resource Name (ARN) of the task to start.
Request Lenses
startTaskExecution_overrideOptions :: Lens' StartTaskExecution (Maybe Options) Source #
Undocumented member.
startTaskExecution_includes :: Lens' StartTaskExecution (Maybe [FilterRule]) Source #
A list of filter rules that determines which files to include when
running a task. The pattern should contain a single filter string that
consists of the patterns to include. The patterns are delimited by "|"
(that is, a pipe). For example: "/folder1|/folder2"
startTaskExecution_excludes :: Lens' StartTaskExecution (Maybe [FilterRule]) Source #
A list of filter rules that determines which files to exclude from a
task. The list should contain a single filter string that consists of
the patterns to exclude. The patterns are delimited by "|" (that is, a
pipe), for example, "/folder1|/folder2"
.
startTaskExecution_taskArn :: Lens' StartTaskExecution Text Source #
The Amazon Resource Name (ARN) of the task to start.
Destructuring the Response
data StartTaskExecutionResponse Source #
StartTaskExecutionResponse
See: newStartTaskExecutionResponse
smart constructor.
StartTaskExecutionResponse' | |
|
Instances
newStartTaskExecutionResponse Source #
Create a value of StartTaskExecutionResponse
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:StartTaskExecutionResponse'
, startTaskExecutionResponse_taskExecutionArn
- The Amazon Resource Name (ARN) of the specific task execution that was
started.
$sel:httpStatus:StartTaskExecutionResponse'
, startTaskExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
startTaskExecutionResponse_taskExecutionArn :: Lens' StartTaskExecutionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the specific task execution that was started.
startTaskExecutionResponse_httpStatus :: Lens' StartTaskExecutionResponse Int Source #
The response's http status code.