Skip to content

UpdateProvisionedProduct

Source: src/AWS/ServiceCatalog/UpdateProvisionedProduct.ts

Runtime binding for servicecatalog:UpdateProvisionedProduct.

Updates a provisioned product to a new provisioning artifact (version), parameters, or launch path — the self-service equivalent of a stack update. Returns the in-flight record.

Also grants the CloudFormation stack-update actions Service Catalog performs with the caller’s credentials when the product has no launch-role constraint.

Account-level operation — which products the caller can see and act on is governed by portfolio principal associations, so the binding takes no resource argument. Provide the implementation with Effect.provide(AWS.ServiceCatalog.UpdateProvisionedProductHttp).

// init — account-level binding, no resource argument
const updateProvisionedProduct = yield* AWS.ServiceCatalog.UpdateProvisionedProduct();
// runtime
const { RecordDetail } = yield* updateProvisionedProduct({
ProvisionedProductName: "my-vpc",
ProvisioningArtifactName: "v2",
UpdateToken: crypto.randomUUID(),
});