list_package_import_jobs

Panorama.Client.list_package_import_jobs(**kwargs)

Returns a list of package import jobs.

See also: AWS API Documentation

Request Syntax

response = client.list_package_import_jobs(
    MaxResults=123,
    NextToken='string'
)
Parameters
  • MaxResults (integer) -- The maximum number of package import jobs 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',
    'PackageImportJobs': [
        {
            'CreatedTime': datetime(2015, 1, 1),
            'JobId': 'string',
            'JobType': 'NODE_PACKAGE_VERSION'|'MARKETPLACE_NODE_PACKAGE_VERSION',
            'LastUpdatedTime': datetime(2015, 1, 1),
            'Status': 'PENDING'|'SUCCEEDED'|'FAILED',
            'StatusMessage': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • NextToken (string) --

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

    • PackageImportJobs (list) --

      A list of package import jobs.

      • (dict) --

        A job to import a package version.

        • CreatedTime (datetime) --

          When the job was created.

        • JobId (string) --

          The job's ID.

        • JobType (string) --

          The job's type.

        • LastUpdatedTime (datetime) --

          When the job was updated.

        • Status (string) --

          The job's status.

        • StatusMessage (string) --

          The job's status message.

Exceptions

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