amazonka-importexport-1.3.6: Amazon Import/Export SDK.

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

Network.AWS.ImportExport.CancelJob

Contents

Description

This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.

See: AWS API Reference for CancelJob.

Synopsis

Creating a Request

cancelJob Source

Arguments

:: Text

cJobId

-> CancelJob 

Creates a value of CancelJob with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

cAPIVersion :: Lens' CancelJob (Maybe Text) Source

Undocumented member.

cJobId :: Lens' CancelJob Text Source

Undocumented member.

Destructuring the Response

cancelJobResponse Source

Creates a value of CancelJobResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

crsResponseStatus :: Lens' CancelJobResponse Int Source

The response status code.