[ 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
--client-token <value>
--input-config <value>
[--job-tags <value>]
--job-type <value>
--output-config <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--client-token (string)

A client token for the package import job.

--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.

BucketName -> (string)

A bucket name.

ObjectKey -> (string)

An object key.

Region -> (string)

The bucket’s Region.

Shorthand Syntax:

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

JSON Syntax:

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

--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"
      ...}
  }
  ...
]

--job-type (string)

A job type for the package import job.

Possible values:

  • NODE_PACKAGE_VERSION

  • MARKETPLACE_NODE_PACKAGE_VERSION

--output-config (structure)

An output config for the package import job.

PackageVersionOutputConfig -> (structure)

The package version’s output configuration.

MarkLatest -> (boolean)

Indicates that the version is recommended for all users.

PackageName -> (string)

The output’s package name.

PackageVersion -> (string)

The output’s package version.

Shorthand Syntax:

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

JSON Syntax:

{
  "PackageVersionOutputConfig": {
    "MarkLatest": true|false,
    "PackageName": "string",
    "PackageVersion": "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.