TerminateProvisionedProduct
Source:
src/AWS/ServiceCatalog/TerminateProvisionedProduct.ts
Runtime binding for servicecatalog:TerminateProvisionedProduct.
Terminates a provisioned product, deleting the underlying CloudFormation stack. Returns the in-flight record — poll it with DescribeRecord.
Also grants the CloudFormation stack-deletion 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.TerminateProvisionedProductHttp).
Provisioning Products
Section titled “Provisioning Products”// init — account-level binding, no resource argumentconst terminateProvisionedProduct = yield* AWS.ServiceCatalog.TerminateProvisionedProduct();
// runtimeconst { RecordDetail } = yield* terminateProvisionedProduct({ ProvisionedProductName: "my-vpc", TerminateToken: crypto.randomUUID(),});