delete_package

delete_package(**kwargs)

Deletes a package.

Note

To delete a package, you need permission to call s3:DeleteObject in addition to permissions for the AWS Panorama API.

See also: AWS API Documentation

Request Syntax

response = client.delete_package(
    ForceDelete=True|False,
    PackageId='string'
)
Parameters
  • ForceDelete (boolean) -- Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.
  • PackageId (string) --

    [REQUIRED]

    The package's ID.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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