create_package_import_job
(**kwargs)¶Imports a node package.
See also: AWS API Documentation
Request Syntax
response = client.create_package_import_job(
ClientToken='string',
InputConfig={
'PackageVersionInputConfig': {
'S3Location': {
'BucketName': 'string',
'ObjectKey': 'string',
'Region': 'string'
}
}
},
JobTags=[
{
'ResourceType': 'PACKAGE',
'Tags': {
'string': 'string'
}
},
],
JobType='NODE_PACKAGE_VERSION'|'MARKETPLACE_NODE_PACKAGE_VERSION',
OutputConfig={
'PackageVersionOutputConfig': {
'MarkLatest': True|False,
'PackageName': 'string',
'PackageVersion': 'string'
}
}
)
[REQUIRED]
A client token for the package import job.
[REQUIRED]
An input config for the package import job.
The package version's input configuration.
A location in Amazon S3.
A bucket name.
An object key.
The bucket's Region.
Tags for the package import job.
Tags for a job.
The job's type.
The job's tags.
[REQUIRED]
A job type for the package import job.
[REQUIRED]
An output config for the package import job.
The package version's output configuration.
Indicates that the version is recommended for all users.
The output's package name.
The output's package version.
dict
Response Syntax
{
'JobId': 'string'
}
Response Structure
(dict) --
JobId (string) --
The job's ID.
Exceptions
Panorama.Client.exceptions.ConflictException
Panorama.Client.exceptions.ValidationException
Panorama.Client.exceptions.AccessDeniedException
Panorama.Client.exceptions.InternalServerException