[ aws . panorama ]

create-package-import-job

Description

Imports a node package.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  create-package-import-job
--job-type <value>
--input-config <value>
--output-config <value>
--client-token <value>
[--job-tags <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--job-type (string)

A job type for the package import job.

Possible values:

  • NODE_PACKAGE_VERSION

--input-config (structure)

An input config for the package import job.

PackageVersionInputConfig -> (structure)

The package version’s input configuration.

S3Location -> (structure)

A location in Amazon S3.

Region -> (string)

The bucket’s Region.

BucketName -> (string)

A bucket name.

ObjectKey -> (string)

An object key.

Shorthand Syntax:

PackageVersionInputConfig={S3Location={Region=string,BucketName=string,ObjectKey=string}}

JSON Syntax:

{
  "PackageVersionInputConfig": {
    "S3Location": {
      "Region": "string",
      "BucketName": "string",
      "ObjectKey": "string"
    }
  }
}

--output-config (structure)

An output config for the package import job.

PackageVersionOutputConfig -> (structure)

The package version’s output configuration.

PackageName -> (string)

The output’s package name.

PackageVersion -> (string)

The output’s package version.

MarkLatest -> (boolean)

Indicates that the version is recommended for all users.

Shorthand Syntax:

PackageVersionOutputConfig={PackageName=string,PackageVersion=string,MarkLatest=boolean}

JSON Syntax:

{
  "PackageVersionOutputConfig": {
    "PackageName": "string",
    "PackageVersion": "string",
    "MarkLatest": true|false
  }
}

--client-token (string)

A client token for the package import job.

--job-tags (list)

Tags for the package import job.

(structure)

Tags for a job.

ResourceType -> (string)

The job’s type.

Tags -> (map)

The job’s tags.

key -> (string)

value -> (string)

Shorthand Syntax:

ResourceType=string,Tags={KeyName1=string,KeyName2=string} ...

JSON Syntax:

[
  {
    "ResourceType": "PACKAGE",
    "Tags": {"string": "string"
      ...}
  }
  ...
]

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Output

JobId -> (string)

The job’s ID.