Skip to content

ExecuteProvisionedProductServiceAction

Source: src/AWS/ServiceCatalog/ExecuteProvisionedProductServiceAction.ts

Runtime binding for servicecatalog:ExecuteProvisionedProductServiceAction.

Executes a self-service action (e.g. restart, snapshot — an SSM-document-backed operation the administrator attached to the product) on a provisioned product.

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.ExecuteProvisionedProductServiceActionHttp).

// init — account-level binding, no resource argument
const executeProvisionedProductServiceAction = yield* AWS.ServiceCatalog.ExecuteProvisionedProductServiceAction();
// runtime
const { RecordDetail } =
yield* executeProvisionedProductServiceAction({
ProvisionedProductId: "pp-abc123",
ServiceActionId: "act-abc123",
ExecuteToken: crypto.randomUUID(),
});