Panorama / Client / create_package

create_package#

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'
    }
)
Parameters:
  • PackageName (string) –

    [REQUIRED]

    A name for the package.

  • Tags (dict) –

    Tags for the package.

    • (string) –

      • (string) –

Return type:

dict

Returns:

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