amazonka-datasync-2.0: Amazon DataSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataSync.UpdateTask

Description

Updates the metadata associated with a task.

Synopsis

Creating a Request

data UpdateTask Source #

UpdateTaskResponse

See: newUpdateTask smart constructor.

Constructors

UpdateTask' 

Fields

Instances

Instances details
ToJSON UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

ToHeaders UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Methods

toHeaders :: UpdateTask -> [Header] #

ToPath UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

ToQuery UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

AWSRequest UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Associated Types

type AWSResponse UpdateTask #

Generic UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Associated Types

type Rep UpdateTask :: Type -> Type #

Read UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Show UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

NFData UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Methods

rnf :: UpdateTask -> () #

Eq UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Hashable UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

type AWSResponse UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

type Rep UpdateTask Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

newUpdateTask Source #

Arguments

:: Text

UpdateTask

-> 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_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.

Constructors

UpdateTaskResponse' 

Fields

Instances

Instances details
Generic UpdateTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Associated Types

type Rep UpdateTaskResponse :: Type -> Type #

Read UpdateTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Show UpdateTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

NFData UpdateTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

Methods

rnf :: UpdateTaskResponse -> () #

Eq UpdateTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

type Rep UpdateTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateTask

type Rep UpdateTaskResponse = D1 ('MetaData "UpdateTaskResponse" "Amazonka.DataSync.UpdateTask" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "UpdateTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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