CmdID

CmdID / aws / aws importexport

aws importexport update-job

You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update a job

The following update-job example updates the specified job.

aws importexport update-job --job-id EX1ID --job-type import --manifest file://manifest.txt --no-validate-onlyIdentify
--job-idA unique identifier which refers to a particular job.
--job-typeSpecifies whether the job to initiate is an import or export job.
--manifestThe UTF-8 encoded text of the manifest file.
--no-validate-onlyValidate the manifest and parameter values in the request but do not actually create a job.

Contents of manifest.txt:

manifestVersion: 2.0;
returnAddress:
    name: Jane Roe
    company: Example Corp.
    street1: 123 Any Street
    city: Anytown
    stateOrProvince: WA
    postalCode: 91011-1111
    phoneNumber: 206-555-1111
    country: USA
deviceId: 49382
eraseDevice: yes
notificationEmail: john.doe@example.com;jane.roe@example.com
bucket: amzn-s3-demo-bucket
Its output
{
    "Success": true,
    "WarningMessage": "**** Device will be erased before being returned. ****"
}

With this command, you can either modify the original manifest you submitted, or you can start over and create a new manifest file. In either case, the original manifest is discarded.

Options

5 in the AWS CLI reference
--api-versionSpecifies the version of the client tool.
--job-idA unique identifier which refers to a particular job.
--job-typeSpecifies whether the job to initiate is an import or export job.
--manifestThe UTF-8 encoded text of the manifest file.
--validate-onlyValidate the manifest and parameter values in the request but do not actually create a job.