| Did this page help you? Yes No Tell us about it... |
You use UpdateJob to update the specifics of how you want a job done.
You specify a job using the job ID returned in the CreateJob response.
You update a job request by replacing the original manifest with the manifest you include in
this request. You can either modify the original manifest you submitted or start over and
create a new manifest file. In either case, the original manifest is discarded.
You can only use UpdateJob after submitting a CreateJob request, but before the data transfer starts, and you can only use
it on jobs you own.
Use the UpdateJob command with the new or updated
manifest.
> java -jar lib\AWSImportExportWebServiceTool-1.0.jar UpdateJob JOBID Export C:\DIRECTORY\updatedmanifest.txt To update a job
Use a text editor to create a YAML-compliant manifest file.
manifestversion: 2.0 bucket: toady accessKeyId: AKIAIOSFODNN7EXAMPLE returnAddress: name: Amazon.com ATTN Joe Random street1: 1200 12th Ave S. city: Seattle stateOrProvince: WA postalCode: 98114 phoneNumber: 206-266-0000 country: USA setContentEncodingForGzFiles: yes expires: tomorrow contentLanguage: Spanish acl: public-read cacheControl: max-age=3600
For more information, see Manifest File.
URL-encode the manifest file.
Send an Update request.
The following example submits the above manifest file to update the job
identified by JOBID.
POST / HTTP/1.1
content-type:application/x-www-form-urlencoded;charset=utf-8
host: https://importexport.amazonaws.com
content-length:741
Action=UpdateJob&JobId=JOBID&Manifest=manifestVersion
%3A%201.0%0Abucket%3A%20XMSAGE%0AaccessKeyId%3A%2013QSAMPLE3FK02%0
AreturnAddress%3A%0A%20%20%20%20name%3A%20Amazon.com%20ATTN%20
Joe%20Random%20%0A%20%20%20%20street1%3A%201200%111%20Nosuch%20Ave%20
S.%0A%20%20%20%20city%3A%20Seattle%0A%20%20%20%20
stateOrProvince%3A%20WA%0A%20%20%20%20postalCode%3A%2098114%0A%20%20%20%20
phoneNumber%3A%20206-266-0000%0A%20%20%20%20country%3A%20USA%0
AsetContentEncodingForGzFiles%3A%20yes%0Aexpires%3A%20tomorrow%0
AcontentLanguage%3A%20Spanish%0Aacl%3A%20public-read%0AcacheControl%3A%20
max-age%3D3600&JobType=Import&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE
&SignatureVersion=2&SignatureMethod=HmacSHA256&Version=2010-06-01
&Signature=%2FVfkltRBOoSUi1sWxRzN8rw%3DAmazon Import/Export returns a response to notify you whether we were able to update your job.