libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataSync.DeleteTask

Description

Deletes a task.

Synopsis

Creating a Request

data DeleteTask Source #

DeleteTask

See: newDeleteTask smart constructor.

Constructors

DeleteTask' 

Fields

  • taskArn :: Text

    The Amazon Resource Name (ARN) of the task to delete.

Instances

Instances details
Eq DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Read DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Show DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Generic DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Associated Types

type Rep DeleteTask :: Type -> Type #

NFData DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Methods

rnf :: DeleteTask -> () #

Hashable DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

ToJSON DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

AWSRequest DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Associated Types

type AWSResponse DeleteTask #

ToHeaders DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Methods

toHeaders :: DeleteTask -> [Header] #

ToPath DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

ToQuery DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

type Rep DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

type Rep DeleteTask = D1 ('MetaData "DeleteTask" "Amazonka.DataSync.DeleteTask" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "DeleteTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteTask Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

newDeleteTask Source #

Create a value of DeleteTask 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:taskArn:DeleteTask', deleteTask_taskArn - The Amazon Resource Name (ARN) of the task to delete.

Request Lenses

deleteTask_taskArn :: Lens' DeleteTask Text Source #

The Amazon Resource Name (ARN) of the task to delete.

Destructuring the Response

data DeleteTaskResponse Source #

See: newDeleteTaskResponse smart constructor.

Constructors

DeleteTaskResponse' 

Fields

Instances

Instances details
Eq DeleteTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Read DeleteTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Show DeleteTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Generic DeleteTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Associated Types

type Rep DeleteTaskResponse :: Type -> Type #

NFData DeleteTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

Methods

rnf :: DeleteTaskResponse -> () #

type Rep DeleteTaskResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteTask

type Rep DeleteTaskResponse = D1 ('MetaData "DeleteTaskResponse" "Amazonka.DataSync.DeleteTask" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "DeleteTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteTaskResponse Source #

Create a value of DeleteTaskResponse 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:DeleteTaskResponse', deleteTaskResponse_httpStatus - The response's http status code.

Response Lenses