Skip to content

DeletePackageVersionsResult

Source code in docs_src/capo_codeartifact/types/delete_package_versions_result.py
class DeletePackageVersionsResult(TypedDict, closed=True):
    successful_versions: NotRequired[
        "capo_codeartifact.types.successful_package_version_info_map.SuccessfulPackageVersionInfoMap"
    ]
    """<p> A list of the package versions that were successfully deleted. The status of every successful version will be <code>Deleted</code>. </p>"""
    failed_versions: NotRequired[
        "capo_codeartifact.types.package_version_error_map.PackageVersionErrorMap"
    ]
    """<p> A <code>PackageVersionError</code> object that contains a map of errors codes for the deleted package that failed. The possible error codes are: </p> <ul> <li> <p> <code>ALREADY_EXISTS</code> </p> </li> <li> <p> <code>MISMATCHED_REVISION</code> </p> </li> <li> <p> <code>MISMATCHED_STATUS</code> </p> </li> <li> <p> <code>NOT_ALLOWED</code> </p> </li> <li> <p> <code>NOT_FOUND</code> </p> </li> <li> <p> <code>SKIPPED</code> </p> </li> </ul>"""

failed_versions instance-attribute

failed_versions: NotRequired[PackageVersionErrorMap]

A PackageVersionError object that contains a map of errors codes for the deleted package that failed. The possible error codes are:

  • ALREADY_EXISTS

  • MISMATCHED_REVISION

  • MISMATCHED_STATUS

  • NOT_ALLOWED

  • NOT_FOUND

  • SKIPPED

successful_versions instance-attribute

successful_versions: NotRequired[SuccessfulPackageVersionInfoMap]

A list of the package versions that were successfully deleted. The status of every successful version will be Deleted.