describe_package_version

describe_package_version(**kwargs)

Returns information about a package version.

See also: AWS API Documentation

Request Syntax

response = client.describe_package_version(
    OwnerAccount='string',
    PackageId='string',
    PackageVersion='string',
    PatchVersion='string'
)
Parameters
  • OwnerAccount (string) -- The version's owner account.
  • PackageId (string) --

    [REQUIRED]

    The version's ID.

  • PackageVersion (string) --

    [REQUIRED]

    The version's version.

  • PatchVersion (string) -- The version's patch version.
Return type

dict

Returns

Response Syntax

{
    'IsLatestPatch': True|False,
    'OwnerAccount': 'string',
    'PackageArn': 'string',
    'PackageId': 'string',
    'PackageName': 'string',
    'PackageVersion': 'string',
    'PatchVersion': 'string',
    'RegisteredTime': datetime(2015, 1, 1),
    'Status': 'REGISTER_PENDING'|'REGISTER_COMPLETED'|'FAILED'|'DELETING',
    'StatusDescription': 'string'
}

Response Structure

  • (dict) --

    • IsLatestPatch (boolean) --

      Whether the version is the latest available.

    • OwnerAccount (string) --

      The account ID of the version's owner.

    • PackageArn (string) --

      The ARN of the package.

    • PackageId (string) --

      The version's ID.

    • PackageName (string) --

      The version's name.

    • PackageVersion (string) --

      The version's version.

    • PatchVersion (string) --

      The version's patch version.

    • RegisteredTime (datetime) --

      The version's registered time.

    • Status (string) --

      The version's status.

    • StatusDescription (string) --

      The version's status description.

Exceptions

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