Skip to content

UpdatePackageRequest

Source code in docs_src/capo_iot/types/update_package_request.py
class UpdatePackageRequest(TypedDict, closed=True):
    package_name: "capo_iot.types.package_name.PackageName"
    """<p>The name of the target software package.</p>"""
    description: NotRequired["capo_iot.types.resource_description.ResourceDescription"]
    """<p>The package description.</p>"""
    default_version_name: NotRequired["capo_iot.types.version_name.VersionName"]
    """<p>The name of the default package version.</p> <p> <b>Note:</b> You cannot name a <code>defaultVersion</code> and set <code>unsetDefaultVersion</code> equal to <code>true</code> at the same time.</p>"""
    unset_default_version: NotRequired[
        "capo_iot.types.unset_default_version.UnsetDefaultVersion"
    ]
    """<p>Indicates whether you want to remove the named default package version from the software package. Set as <code>true</code> to remove the default package version. </p> <p> <b>Note:</b> You cannot name a <code>defaultVersion</code> and set <code>unsetDefaultVersion</code> equal to <code>true</code> at the same time.</p>"""
    client_token: NotRequired["capo_iot.types.client_token.ClientToken"]
    """<p>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.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

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.

default_version_name instance-attribute

default_version_name: NotRequired[VersionName]

The name of the default package version.

Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

description instance-attribute

description: NotRequired[ResourceDescription]

The package description.

package_name instance-attribute

package_name: PackageName

The name of the target software package.

unset_default_version instance-attribute

unset_default_version: NotRequired[UnsetDefaultVersion]

Indicates whether you want to remove the named default package version from the software package. Set as true to remove the default package version.

Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.