list_packages

Panorama.Client.list_packages(**kwargs)

Returns a list of packages.

See also: AWS API Documentation

Request Syntax

response = client.list_packages(
    MaxResults=123,
    NextToken='string'
)
Parameters
  • MaxResults (integer) -- The maximum number of packages to return in one page of results.
  • NextToken (string) -- Specify the pagination token from a previous request to retrieve the next page of results.
Return type

dict

Returns

Response Syntax

{
    'NextToken': 'string',
    'Packages': [
        {
            'Arn': 'string',
            'CreatedTime': datetime(2015, 1, 1),
            'PackageId': 'string',
            'PackageName': 'string',
            'Tags': {
                'string': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) --

    • NextToken (string) --

      A pagination token that's included if more results are available.

    • Packages (list) --

      A list of packages.

      • (dict) --

        A package summary.

        • 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.

        • Tags (dict) --

          The package's tags.

          • (string) --
            • (string) --

Exceptions

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