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 |
Updates the metadata associated with a task.
Synopsis
- data UpdateTask = UpdateTask' {
- cloudWatchLogGroupArn :: Maybe Text
- excludes :: Maybe [FilterRule]
- includes :: Maybe [FilterRule]
- name :: Maybe Text
- options :: Maybe Options
- schedule :: Maybe TaskSchedule
- taskArn :: Text
- newUpdateTask :: Text -> UpdateTask
- updateTask_cloudWatchLogGroupArn :: Lens' UpdateTask (Maybe Text)
- updateTask_excludes :: Lens' UpdateTask (Maybe [FilterRule])
- updateTask_includes :: Lens' UpdateTask (Maybe [FilterRule])
- updateTask_name :: Lens' UpdateTask (Maybe Text)
- updateTask_options :: Lens' UpdateTask (Maybe Options)
- updateTask_schedule :: Lens' UpdateTask (Maybe TaskSchedule)
- updateTask_taskArn :: Lens' UpdateTask Text
- data UpdateTaskResponse = UpdateTaskResponse' {
- httpStatus :: Int
- newUpdateTaskResponse :: Int -> UpdateTaskResponse
- updateTaskResponse_httpStatus :: Lens' UpdateTaskResponse Int
Creating a Request
data UpdateTask Source #
UpdateTaskResponse
See: newUpdateTask
smart constructor.
UpdateTask' | |
|
Instances
:: Text | |
-> UpdateTask |
Create a value of UpdateTask
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:cloudWatchLogGroupArn:UpdateTask'
, updateTask_cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the resource name of the Amazon
CloudWatch log group.
$sel:excludes:UpdateTask'
, updateTask_excludes
- Specifies a list of filter rules that exclude specific data during your
transfer. For more information and examples, see
Filtering data transferred by DataSync.
$sel:includes:UpdateTask'
, updateTask_includes
- Specifies a list of filter rules that include specific data during your
transfer. For more information and examples, see
Filtering data transferred by DataSync.
UpdateTask
, updateTask_name
- The name of the task to update.
$sel:options:UpdateTask'
, updateTask_options
- Undocumented member.
$sel:schedule:UpdateTask'
, updateTask_schedule
- Specifies a schedule used to periodically transfer files from a source
to a destination location. You can configure your task to execute
hourly, daily, weekly or on specific days of the week. You control when
in the day or hour you want the task to execute. The time you specify is
UTC time. For more information, see
Scheduling your task.
UpdateTask
, updateTask_taskArn
- The Amazon Resource Name (ARN) of the resource name of the task to
update.
Request Lenses
updateTask_cloudWatchLogGroupArn :: Lens' UpdateTask (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
updateTask_excludes :: Lens' UpdateTask (Maybe [FilterRule]) Source #
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
updateTask_includes :: Lens' UpdateTask (Maybe [FilterRule]) Source #
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
updateTask_name :: Lens' UpdateTask (Maybe Text) Source #
The name of the task to update.
updateTask_options :: Lens' UpdateTask (Maybe Options) Source #
Undocumented member.
updateTask_schedule :: Lens' UpdateTask (Maybe TaskSchedule) Source #
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.
updateTask_taskArn :: Lens' UpdateTask Text Source #
The Amazon Resource Name (ARN) of the resource name of the task to update.
Destructuring the Response
data UpdateTaskResponse Source #
See: newUpdateTaskResponse
smart constructor.
UpdateTaskResponse' | |
|
Instances
newUpdateTaskResponse Source #
Create a value of UpdateTaskResponse
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:UpdateTaskResponse'
, updateTaskResponse_httpStatus
- The response's http status code.
Response Lenses
updateTaskResponse_httpStatus :: Lens' UpdateTaskResponse Int Source #
The response's http status code.