Panorama.Client.
create_package
(**kwargs)¶Creates a package and storage location in an Amazon S3 access point.
See also: AWS API Documentation
Request Syntax
response = client.create_package(
PackageName='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
A name for the package.
Tags for the package.
dict
Response Syntax
{
'Arn': 'string',
'PackageId': 'string',
'StorageLocation': {
'BinaryPrefixLocation': 'string',
'Bucket': 'string',
'GeneratedPrefixLocation': 'string',
'ManifestPrefixLocation': 'string',
'RepoPrefixLocation': 'string'
}
}
Response Structure
(dict) --
Arn (string) --
The package's ARN.
PackageId (string) --
The package's ID.
StorageLocation (dict) --
The package's storage location.
BinaryPrefixLocation (string) --
The location's binary prefix.
Bucket (string) --
The location's bucket.
GeneratedPrefixLocation (string) --
The location's generated prefix.
ManifestPrefixLocation (string) --
The location's manifest prefix.
RepoPrefixLocation (string) --
The location's repo prefix.
Exceptions
Panorama.Client.exceptions.ConflictException
Panorama.Client.exceptions.ValidationException
Panorama.Client.exceptions.AccessDeniedException
Panorama.Client.exceptions.InternalServerException