Skip to content
Proud to collaborate with Microsoft for Startups

aws.codeartifact.update_package_versions_status ​

Call AWS CodeArtifact UpdatePackageVersionsStatus using a CloudConnection UUID.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID used for field resolution and connection scoping.
connection_uuiduuidYes—AWS CloudConnection UUID for the target CodeArtifact account, scoped to the caller organization.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS API endpoint region override; omit to use the connection or SDK default.
domainstringYes—The name of the domain that contains the repository that contains the package versions with a status to be updated.
domain_ownerstringNo—The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repositorystringYes—The repository that contains the package versions with the status you want to update.
formatstringYes—A format that specifies the type of the package with the statuses to update.
namespacestringNo—The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId . Th...
packagestringYes—The name of the package with the version statuses to update.
versionslistYes—An array of strings that specify the versions of the package with the statuses to update.
version_revisionsjsonNo—A map of package versions and package version revisions. The map key is the package version (for example, 3.5.2 ), and the map value is the package version revision.
expected_statusstringNo—The package version’s expected status before it is updated. If expectedStatus is provided, the package version's status is updated only if its status at the time UpdatePackageVersionsStatus is call...
target_statusstringYes—The status you want to change the package version status to.
provider_native_requestjsonNo—Optional provider-native request overrides for AWS parameters not yet promoted to first-class fields.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID echoed from input.
connection_uuiduuidNo—AWS CloudConnection UUID echoed from input.
regionstringNo—AWS API endpoint region used.
servicestringNo—AWS boto3 service/client name.
operationstringNo—AWS API operation invoked.
request_idstringNo—AWS request ID when available.
responsejsonNo—Sanitized provider response object.
itemslistNo—Primary response item list when the API returns a collection.
result_countintegerNo—Count of primary response items.
next_page_tokenstringNo—Pagination token for the next page.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aws.codeartifact.update_package_versions_status",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value",
    "domain": "value",
    "repository": "value"
  }
}