describe_package

Panorama.Client.describe_package(**kwargs)

Returns information about a package.

See also: AWS API Documentation

Request Syntax

response = client.describe_package(
    PackageId='string'
)
Parameters
PackageId (string) --

[REQUIRED]

The package's ID.

Return type
dict
Returns
Response Syntax
{
    'Arn': 'string',
    'CreatedTime': datetime(2015, 1, 1),
    'PackageId': 'string',
    'PackageName': 'string',
    'ReadAccessPrincipalArns': [
        'string',
    ],
    'StorageLocation': {
        'BinaryPrefixLocation': 'string',
        'Bucket': 'string',
        'GeneratedPrefixLocation': 'string',
        'ManifestPrefixLocation': 'string',
        'RepoPrefixLocation': 'string'
    },
    'Tags': {
        'string': 'string'
    },
    'WriteAccessPrincipalArns': [
        'string',
    ]
}

Response Structure

  • (dict) --
    • Arn (string) --

      The package's ARN.

    • CreatedTime (datetime) --

      When the package was created.

    • PackageId (string) --

      The package's ID.

    • PackageName (string) --

      The package's name.

    • ReadAccessPrincipalArns (list) --

      ARNs of accounts that have read access to the package.

      • (string) --
    • 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.

    • Tags (dict) --

      The package's tags.

      • (string) --
        • (string) --
    • WriteAccessPrincipalArns (list) --

      ARNs of accounts that have write access to the package.

      • (string) --

Exceptions

  • Panorama.Client.exceptions.ConflictException
  • Panorama.Client.exceptions.ValidationException
  • Panorama.Client.exceptions.AccessDeniedException
  • Panorama.Client.exceptions.ResourceNotFoundException
  • Panorama.Client.exceptions.InternalServerException