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

Description

Cancels execution of a task.

When you cancel a task execution, the transfer of some files is abruptly interrupted. The contents of files that are transferred to the destination might be incomplete or inconsistent with the source files. However, if you start a new task execution on the same task and you allow the task execution to complete, file content on the destination is complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully complete the transfer when you start the next task execution.

Synopsis

Creating a Request

data CancelTaskExecution Source #

CancelTaskExecutionRequest

See: newCancelTaskExecution smart constructor.

Constructors

CancelTaskExecution' 

Fields

Instances

Instances details
Eq CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Read CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Show CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Generic CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Associated Types

type Rep CancelTaskExecution :: Type -> Type #

NFData CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Methods

rnf :: CancelTaskExecution -> () #

Hashable CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

ToJSON CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

AWSRequest CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Associated Types

type AWSResponse CancelTaskExecution #

ToHeaders CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

ToPath CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

ToQuery CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

type Rep CancelTaskExecution Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

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

Defined in Amazonka.DataSync.CancelTaskExecution

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:

$sel:taskExecutionArn:CancelTaskExecution', cancelTaskExecution_taskExecutionArn - The Amazon Resource Name (ARN) of the task execution to cancel.

Request Lenses

cancelTaskExecution_taskExecutionArn :: Lens' CancelTaskExecution Text Source #

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

Destructuring the Response

data CancelTaskExecutionResponse Source #

See: newCancelTaskExecutionResponse smart constructor.

Constructors

CancelTaskExecutionResponse' 

Fields

Instances

Instances details
Eq CancelTaskExecutionResponse Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Read CancelTaskExecutionResponse Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Show CancelTaskExecutionResponse Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Generic CancelTaskExecutionResponse Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

Associated Types

type Rep CancelTaskExecutionResponse :: Type -> Type #

NFData CancelTaskExecutionResponse Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

type Rep CancelTaskExecutionResponse Source # 
Instance details

Defined in Amazonka.DataSync.CancelTaskExecution

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

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