Skip to content

CopyPackageVersionsResult

Source code in docs_src/capo_codeartifact/types/copy_package_versions_result.py
class CopyPackageVersionsResult(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 copied to your repository. </p>"""
    failed_versions: NotRequired[
        "capo_codeartifact.types.package_version_error_map.PackageVersionErrorMap"
    ]
    """<p> A map of package versions that failed to copy and their error codes. The possible error codes are in the <code>PackageVersionError</code> data type. They 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 map of package versions that failed to copy and their error codes. The possible error codes are in the PackageVersionError data type. They 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 copied to your repository.