IoT / Client / delete_package

delete_package#

IoT.Client.delete_package(**kwargs)#

Deletes a specific version from a software package.

Note: All package versions must be deleted before deleting the software package.

Requires permission to access the DeletePackageVersion action.

See also: AWS API Documentation

Request Syntax

response = client.delete_package(
    packageName='string',
    clientToken='string'
)
Parameters:
  • packageName (string) –

    [REQUIRED]

    The name of the target package.

  • clientToken (string) –

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don’t reuse this client token if a new idempotent request is required.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.InternalServerException

  • IoT.Client.exceptions.ValidationException