Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.5 KB

File metadata and controls

45 lines (36 loc) · 1.5 KB

The following command creates an import job from a manifest file:

aws importexport create-job --job-type import --manifest file://manifest --no-validate-only

The file manifest is a YAML formatted text file in the current directory with the following content:

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: [email protected];[email protected]
bucket: myBucket

For more information on the manifest file format, see Creating Import Manifests in the AWS Import/Export Developer Guide.

You can also pass the manifest as a string in quotes:

aws importexport create-job --job-type import --manifest '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: [email protected];[email protected]
 bucket: myBucket'

For information on quoting string arguments and using files, see Specifying Parameter Values in the AWS CLI User Guide.