IoT / Client / delete_package_version

delete_package_version#

IoT.Client.delete_package_version(**kwargs)#

Deletes a specific version from a software package.

Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the associated software package.

  • versionName (string) –

    [REQUIRED]

    The name of the target package version.

  • 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