CmdID

CmdID / aws / aws importexport

aws importexport create-job

This operation initiates the process of scheduling an upload or download of your data. 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 create an import job

The following create-job example creates an import job from a manifest file.

aws importexport create-job --job-type import --manifest file://manifest --no-validate-onlyIdentify
--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.

The file manifest is a YAML formatted text file in the current directory.

Contents of 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: john.doe@example.com;jane.roe@example.com
bucket: amzn-s3-demo-bucket
Its output
{
    "JobId": "EX1ID",
    "JobType": "Import",
    "Signature": "ktKDXpdbEXAMPLEyGFJmQO744UHw=",
    "SignatureFileContents": "version:2.0\nsigningMethod:HmacSHA1\njobId:EX1ID\nsignature:ktKDXpdbEXAMPLEyGFJmQO744UHw=",
    "WarningMessage": "**** Device will be erased before being returned. ****"
}

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

aws importexport create-job --job-type import --no-validate-only --manifest 'manifestVersion: 2.0;Identify
--job-typeSpecifies whether the job to initiate is an import or export job.
--no-validate-onlyValidate the manifest and parameter values in the request but do not actually create a job.
--manifestThe UTF-8 encoded text of the manifest file.
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'

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

Options

5 in the AWS CLI reference
--api-versionSpecifies the version of the client tool.
--job-typeSpecifies whether the job to initiate is an import or export job.
--manifest-addendumFor internal use only.
--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.