| Did this page help you? Yes No Tell us about it... |
You use this action to change the parameters specified in the original manifest file
by supplying a new manifest file. The manifest file attached to this request replaces
the original manifest file. You can only use the action after a CreateJob request and before the data transfer starts, and you can only
use it on jobs you own.
For information about the common parameters that all actions use, see Common Query Parameters
| Name | Description | Required |
|---|---|---|
|
Action | Specifies the action to invoke. Type: String Default: None Valid Values: UpdateJob |
Yes |
|
JobId |
Identifier that specifies the job you want to update. Type: String Default: None Constraints: Must be a valid job ID for a job you created. |
Yes |
| JobType | Specifies import or export job. Type: String Default: None Valid Values: Import | Export | Yes |
|
Manifest |
The UTF-8 encoded text of the manifest file. For more information, see Manifest File Parameters. Type: String Default: None |
Yes |
| Name | Description |
|---|---|
| RequestId |
ID that uniquely identifies the request. Type: String Ancestor: UpdateJobResponse.ResponseMetadata Children: None |
| ResponseMetadata |
Container. Type: None Ancestor: UpdateJobResponse Children: RequestId |
| Success |
Specifies whether ( Type: Boolean Valid values: Ancestor: UpdateJobResponse.UpdateJobResult |
| UpdateJobResponse |
Container for the response. Type: None Ancestor: None Children: UpdateJobResult, ResponseMetadata |
| UpdateJobResult |
Container. Type: None Ancestor: UpdateJobResponse Children: Success |
| WarningMessage |
An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name. Type: String Ancestor: UpdateJobResponse |
For a list of common errors, see Error and Status Codes.
The following examples show sample requests and responses.
The following request updates a job by providing new manifest text.
Example Request
POST / HTTP/1.1
content-type:application/x-www-form-urlencoded;charset=utf-8
host: https://importexport.amazonaws.com
content-length:625
JobType=Import&Manifest=manifestVersion%3A%201.0%0Abucket%
3A%20XYZ%0AaccessKeyId%3A%AKIAIOSFODNN7EXAMPLE%0AreturnAddress%3A%0A%20%20%20%20name
%3A%20Amazon.com%20ATTN%20Joe%20Random%20%0A%20%20%20%20street1%3A%201200%11111%20Nosuch%20Ave
%20S.%0A%20%20%20%20city%3A%20Seattle%0A%20%20%20%20stateOrProvince%3A%20WA%0A%20%20%20%20
postalCode%3A%2098114%0A%20%20%20%20phoneNumber%3A%20206-266-0000%0A%20%20%20%20country%3A%20USA
%0AsetContentEncodingForGzFiles%3A%20yes%0Aexpires%3A%20tomorrow%0AcontentLanguage%3A%20Spanish
%0Aacl%3A%20public-read%0AcacheControl%3A%20max-age%3D3600&Action=UpdateJob&SignatureMethod=HmacSHA256
&JobId=JOBID&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&SignatureVersion=2
&Version=2010-06-01Signature=%2FVfkltRBOoSUi1sWxRzN8rw%3D&Timestamp=2011-06-21T00%3A28%3A12.023ZThe response shows that AWS Import/Export successfully updated the job.
Example Response
<UpdateJobResponse xmlns="http://importexport.amazonaws.com/">
<UpdateJobResult>
<Success>true</Success>
</UpdateJobResult>
<ResponseMetadata>
<RequestId>12144cd2-0adb-11df-a381-155bec6f7c93</RequestId>
</ResponseMetadata>
</UpdateJobResponse>