

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# AWS Service Catalog API 概觀
<a name="service-catalog-api-overview"></a>

**使用 Service Catalog API 的優點**

 AWS Service Catalog API 提供對所有最終使用者動作的程式設計控制，作為使用 的替代方案 AWS 管理主控台。使用 API 時，您可以執行下列動作：
+ 撰寫您自己的自訂界面和應用程式
+ 取得最終使用者產品佈建操作的精細控制
+ 將資源佈建整合到您的協同運作管道
+ 使用應用程式的資源存取託管應用程式的中央位置

**存取 Service Catalog**

若要使用特定語言 APIs 建置應用程式，請使用軟體開發人員的程式庫、範例程式碼、教學課程和其他資源。這些程式庫提供的基本功能可自動化任務，例如密碼編譯簽署要求、重試要求，以及處理錯誤回應，讓您更容易入門。若要開始使用，請開啟[適用於 Amazon Web Services 的工具](https://aws.amazon.com/tools)，並在 SDK 下找到您選擇的 **SDKs**。

若您偏好使用命令列介面，可使用下列選項：

**AWS 命令列界面 (CLI)**  
若要開始使用，請參閱《[AWS Command Line Interface 使用者指南](https://docs.aws.amazon.com/cli/latest/userguide/)》。如需 Service Catalog 命令的詳細資訊，請參閱《 *AWS CLI 命令參考*》中的 [servicecatalog](https://docs.aws.amazon.com/cli/latest/reference/servicecatalog/index.html)。

**AWS 適用於 Windows PowerShell 的工具**  
若要開始使用，請參閱《[AWS Tools for PowerShell 使用者指南](https://docs.aws.amazon.com/powershell/latest/userguide/)》。如需有關 Service Catalog 的 cmdlet 的詳細資訊，請開啟 [AWS Tools for PowerShell Cmdlet 參考](https://docs.aws.amazon.com/powershell/latest/reference/)並展開 **AWS Service Catalog**。

 AWS Service Catalog API 邏輯上可分為下列類別。

**Topics**
+ [產品探索](#product-discovery)
+ [佈建請求](#provisioning-requests)
+ [佈建產品](#provisioned-info)
+ [佈建的產品計劃](#provisioned-product-plans)
+ [產品組合](#portfolio-management)
+ [委託人關聯](#principal-association)
+ [產品](#product-management)
+ [佈建成品](#provisioning-artifact-management)
+ [Constraints](#constraint-management)
+ [服務動作](#service-action)
+ [TagOptions](#tagoption-management)
+ [AppRegistry](#app-registry)
+ [範例工作流程](#service-catalog-example-workflow)

## 產品探索
<a name="product-discovery"></a>

使用這些操作來探索或取得有關產品及其啟動需求的資訊。這些操作不會建立或修改資源。

[SearchProducts](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_SearchProducts.html)  
列出發起人有權存取的所有產品。

[DescribeProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProduct.html)  
取得產品的詳細資訊。

[DescribeProductView](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProductView.html)  
功能與 相同`DescribeProduct`，但它接受產品檢視的 ID，而不是產品 ID。

[ListLaunchPaths](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListLaunchPaths.html)  
列出使用者存取指定產品的所有方式，稱為產品*路徑*。使用者必須選取路徑才能佈建產品。

[DescribeProvisioningParameters](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProvisioningParameters.html)  
取得佈建指定產品所需的參數，並提供佈建產品時會發生哪些情況的其他中繼資料。  
每個 `ProvisioningArtifactParameter` 都是使用者必須指定的項目，才能成功佈建產品 （例如 EC2 執行個體的大小）。`ConstraintSummary` 物件包含允許值的清單，以及有關`ProvisioningArtifactParameter`物件的其他中繼資料。

## 佈建請求
<a name="provisioning-requests"></a>

使用這些操作來請求、更新或終止產品的佈建。

[ProvisionProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ProvisionProduct.html)  
請求佈建產品。若要佈建產品，請啟動讓該產品上線以供實際使用所需的資源。例如，佈建由 CloudFormation 範本支援的產品意味著啟動 CloudFormation 堆疊及其所有基礎資源。

[UpdateProvisionedProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateProvisionedProduct.html)  
更新佈建產品的組態。例如， 支援的產品 CloudFormation 會更新其基礎 CloudFormation 堆疊。申請者必須擁有指定 ProvisionedProduct 的足夠存取許可。

[TerminateProvisionedProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_TerminateProvisionedProduct.html)  
請求終止已佈建的產品。例如，對於後端為 的產品 CloudFormation，這會刪除基礎 CloudFormation 堆疊。申請者必須擁有指定佈建產品的足夠存取許可。

## 佈建產品
<a name="provisioned-info"></a>

使用這些操作來取得佈建產品的相關資訊。這些操作不會建立或修改資源。

[ListRecordHistory](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListRecordHistory.html)  
列出所有執行的請求，即使是已終止的佈建產品。

[DescribeRecord](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeRecord.html)  
取得請求的相關資訊。在請求操作之後使用此操作來取得目前`RecordDetail`資訊。

[SearchProvisionedProducts](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_SearchProvisionedProducts.html)  
取得符合指定條件之佈建產品的相關資訊。

[ScanProvisionedProducts](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ScanProvisionedProducts.html)  
列出未終止的佈建產品。

[DescribeProvisionedProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProvisionedProduct.html)  
取得佈建產品的相關資訊。

[ImportAsProvisionedProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ImportAsProvisionedProduct.html)  
請求將資源匯入為與 Service Catalog 產品和佈建成品相關聯的 Service Catalog 佈建產品。匯入後，佈建產品支援所有支援的 Service Catalog 控管動作。

[UpdateProvisionedProductProperties](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateProvisionedProductProperties.html)  
請求更新指定佈建產品的屬性。

## 佈建的產品計劃
<a name="provisioned-product-plans"></a>

使用這些操作來管理您的佈建產品計劃。計劃包含執行計劃時要建立或修改的資源清單。

[CreateProvisionedProductPlan](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreateProvisionedProductPlan.html)  
建立計劃。

[DescribeProvisionedProductPlan](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProvisionedProductPlan.html)  
取得計劃資源變更的相關資訊。

[ExecuteProvisionedProductPlan](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ExecuteProvisionedProductPlan.html)  
根據計劃佈建或修改產品。

[ListProvisionedProductPlans](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListProvisionedProductPlans.html)  
列出佈建產品的計劃。

[DeleteProvisionedProductPlan](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeleteProvisionedProductPlan.html)  
刪除計劃。

## 產品組合
<a name="portfolio-management"></a>

目錄管理員使用這些操作為產品組合管理提供所有必要的操作。

[CreatePortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreatePortfolio.html)  
建立組合。

[DeletePortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeletePortfolio.html)  
刪除產品組合。

[DescribePortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribePortfolio.html)  
取得產品組合的詳細資訊。

[DescribePortfolioShares](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribePortfolioShares.html)  
傳回為指定產品組合建立的每個產品組合共用的摘要。

[ListPortfolios](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListPortfolios.html)  
列出目錄中的所有產品組合。

[ListPortfoliosForProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListPortfoliosForProduct.html)  
列出產品相關聯的所有產品組合。

[UpdatePortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdatePortfolio.html)  
更新產品組合。

[UpdatePortfolioShare](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdatePortfolioShare.html)  
更新產品組合共享。

[CreatePortfolioShare](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreatePortfolioShare.html)  
與 AWS 帳戶共用產品組合。

[DeletePortfolioShare](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeletePortfolioShare.html)  
停止共用產品組合。

[AcceptPortfolioShare](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_AcceptPortfolioShare.html)  
接受共用產品組合的提議。

[RejectPortfolioShare](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_RejectPortfolioShare.html)  
拒絕共用產品組合的提議。

[ListAcceptedPortfolioShares](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListAcceptedPortfolioShares.html)  
列出此帳戶接受共用之所有產品組合的詳細資訊。

[ListPortfolioAccess](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListPortfolioAccess.html)  
列出可存取產品組合的帳戶 IDs。

## 委託人關聯
<a name="principal-association"></a>

目錄管理員使用這些操作可為主體關聯提供所有必要的操作。

[AssociatePrincipalWithPortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_AssociatePrincipalWithPortfolio.html)  
將委託人 ARN 與產品組合建立關聯。

[DisassociatePrincipalFromPortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DisassociatePrincipalFromPortfolio.html)  
取消委託人 ARN 與產品組合的關聯。

[ListPrincipalsForPortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListPrincipalsForPortfolio.html)  
列出與產品組合相關聯的所有委託人 ARNs。

## 產品
<a name="product-management"></a>

目錄管理員使用這些操作為產品管理提供所有必要的操作。

[SearchProductsAsAdmin](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_SearchProductsAsAdmin.html)  
取得 產品的摘要和狀態資訊。

[DescribeProductAsAdmin](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProductAsAdmin.html)  
取得產品的相關資訊。

[CreateProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreateProduct.html)  
建立產品。

[CopyProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CopyProduct.html)  
複製產品。

[DescribeCopyProductStatus](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeCopyProductStatus.html)  
取得複製產品操作的狀態。

[UpdateProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateProduct.html)  
更新產品。

[DeleteProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeleteProduct.html)  
刪除產品。

[AssociateProductWithPortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_AssociateProductWithPortfolio.html)  
將產品與產品組合建立關聯。

[DisassociateProductFromPortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DisassociateProductFromPortfolio.html)  
取消產品與產品組合的關聯。

## 佈建成品
<a name="provisioning-artifact-management"></a>

目錄管理員使用這些操作來管理佈建成品 （也稱為產品版本）。

[DescribeProvisioningArtifact](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProvisioningArtifact.html)  
取得佈建成品的相關資訊。

[CreateProvisioningArtifact](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreateProvisioningArtifact.html)  
建立產品的佈建成品。

[DeleteProvisioningArtifact](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeleteProvisioningArtifact.html)  
刪除佈建成品。

[ListProvisioningArtifacts](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListProvisioningArtifacts.html)  
列出與產品相關聯的所有佈建成品。

[UpdateProvisioningArtifact](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateProvisioningArtifact.html)  
更新佈建成品。

## Constraints
<a name="constraint-management"></a>

目錄管理員使用這些操作來管理限制條件。

[CreateConstraint](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreateConstraint.html)  
建立限制條件。

[DeleteConstraint](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeleteConstraint.html)  
刪除限制條件。

[DescribeConstraint](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeConstraint.html)  
取得有關限制條件的資訊。

[UpdateConstraint](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateConstraint.html)  
更新限制條件。

[ListConstraintsForPortfolio](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListConstraintsForPortfolio.html)  
取得產品組合和產品的限制資訊。

## 服務動作
<a name="service-action"></a>

目錄管理員使用這些操作來管理服務動作。

[AssociateServiceActionWithProvisioningArtifact](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_AssociateServiceActionWithProvisioningArtifact.html)  
將自助式動作與佈建成品建立關聯。

[CreateServiceAction](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreateServiceAction.html)  
建立自助式動作。

[DeleteServiceAction](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeleteServiceAction.html)  
刪除自助式動作。

[DescribeServiceAction](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeServiceAction.html)  
描述自助式動作。

[DescribeServiceActionExecutionParameters](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeServiceActionExecutionParameters.html)  
尋找特定佈建產品上特定自助式動作的預設參數，並將結果的映射傳回給使用者。

[ExecuteProvisionedProductServiceAction](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ExecuteProvisionedProductServiceAction.html)  
針對佈建的產品執行自助式動作。

[UpdateServiceAction](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateServiceAction.html)  
更新自助式動作。

## TagOptions
<a name="tagoption-management"></a>

目錄管理員使用這些操作來管理 TagOptions。

[CreateTagOption](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_CreateTagOption.html)  
建立 TagOption。

[ListTagOptions](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListTagOptions.html)  
列出您的 TagOptions。

[DescribeTagOption](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeTagOption.html)  
描述 TagOption。

[UpdateTagOption](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateTagOption.html)  
更新 TagOption。

[AssociateTagOptionWithResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_AssociateTagOptionWithResource.html)  
將 TagOption 與資源建立關聯。

[DisassociateTagOptionFromResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DisassociateTagOptionFromResource.html)  
取消 TagOption 與資源的關聯。

[ListResourcesForTagOption](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListResourcesForTagOption.html)  
列出 TagOption 的資源。

[DeleteTagOption](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DeleteTagOption.html)  
刪除 TagOption。

## AppRegistry
<a name="app-registry"></a>

做為您應用程式、其資源和您在企業中使用的應用程式中繼資料的儲存庫。

[AssociateAttributeGroup](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_AssociateAttributeGroup.html)  
將屬性群組與應用程式建立關聯，以將應用程式的中繼資料增強為群組的屬性。

[AssociateResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_AssociateResource.html)  
將資源與應用程式建立關聯。

[CreateApplication](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_CreateApplication.html)  
建立新的應用程式，這是相關雲端資源抽象階層中最上層的節點。

[CreateAttributeGroup](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_CreateAttributeGroup.html)  
建立新的屬性群組作為使用者定義屬性的容器。

[DeleteApplication](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_DeleteApplication.html)  
刪除由應用程式 ID 或名稱指定的應用程式。

[DeleteAttributeGroup](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_DeleteAttributeGroup.html)  
刪除屬性群組，依其屬性群組 ID 或名稱指定。

[DisassociateAttributeGroup](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_DisassociateAttributeGroup.html)  
取消屬性群組與應用程式的關聯，將屬性群組中包含的額外屬性從應用程式的中繼資料中移除。

[DisassociateResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_DisassociateResource.html)  
取消資源與應用程式的關聯。

[GetApplication](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_GetApplication.html)  
擷取其中一個應用程式的中繼資料資訊。

[GetAssociatedResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_GetAssociatedResource.html)  
取得與應用程式相關聯的資源。

[GetAttributeGroup](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_GetAttributeGroup.html)  
依屬性群組的名稱或其 ID 擷取屬性群組。

[ListApplications](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_ListApplications.html)  
列出與指定應用程式相關聯的所有屬性群組。

[ListAssociatedAttributeGroups](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_ListAssociatedAttributeGroups.html)  
列出與指定應用程式相關聯的所有屬性群組。

[ListAssociatedResources](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_ListAssociatedResources.html)  
列出與指定應用程式相關聯的所有資源。

[ListAttributeGroups](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_ListAttributeGroups.html)  
列出您有權存取的所有屬性群組。

[ListAttributeGroupsForApplication](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_ListAttributeGroupsForApplication.html)  
列出與特定應用程式關聯之所有屬性群組的詳細資訊。

[ListTagsForResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_ListTagsForResource.html)  
列出資源上的所有標籤。

[TagResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_TagResource.html)  
將一或多個標籤 （鍵/值對） 指派給指定的資源。

[SyncResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_SyncResource.html)  
將資源與 AppRegistry 中目前記錄的資源同步。

[UntagResource](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_UntagResource.html)  
從資源移除標籤。

[UpdateApplication](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_UpdateApplication.html)  
使用新的屬性更新現有的應用程式。

[UpdateAttributeGroup](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_app-registry_UpdateAttributeGroup.html)  
使用新詳細資訊更新現有的屬性群組。

## 範例工作流程
<a name="service-catalog-example-workflow"></a>

在此案例中，管理員使用 建立資源 AWS Service Catalog ，最終使用者會找到可用的產品並佈建產品。這是範例工作流程；這不是使用 AWS Service Catalog API 的唯一方法。

**管理員任務**
+ 建立產品組合、產品檢視、產品、產品版本和限制條件。
+ 將 IAM 使用者指派給產品，讓他們能夠存取。

**最終使用者任務**

1. 使用者呼叫沒有引數的 [SearchProducts](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_SearchProducts.html)。這會傳回使用者可存取的產品清單，以及可用於範圍結果的「SearchDomain」。

1. 使用者會繼續使用其他搜尋篩選條件呼叫 [SearchProducts](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_SearchProducts.html)，直到找到所需的產品為止。

1. 使用者呼叫 [DescribeProductView](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProductView.html) 來尋找此產品的佈建成品 （也稱為版本） 清單。這會決定使用者實際佈建的內容。

1. 使用者呼叫 [ListLaunchPaths](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ListLaunchPaths.html) 來尋找此產品的路徑清單，以及每個路徑的限制。這會決定在佈建產品上套用哪些限制條件集。

1. 選擇佈建成品和路徑後，使用者會呼叫 [DescribeProvisioningParameters](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProvisioningParameters.html)。這會傳回使用者在使用佈建成品和路徑佈建產品之前必須提供的參數清單，以及管理員決定提供的任何其他使用說明。

1. 使用者呼叫 [ProvisionProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_ProvisionProduct.html)，指定產品、佈建成品、路徑和輸入參數。輸入參數是索引鍵/值對的清單，其中索引鍵是使用 [DescribeProvisioningParameters](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeProvisioningParameters.html) 取得，而值是使用者提供的 （例如，`{ParameterKey:"dbpassword", ParameterValue:"mycoolpassword"}`)。這會啟動工作流程來建立指定的 AWS 資源。它也會建立記錄詳細資訊來追蹤佈建請求，以及代表基礎 AWS 資源的佈建產品物件。

1. 使用者輪詢 [DescribeRecord](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeRecord.html) 以查看記錄詳細資訊的狀態何時從 `IN_PROGRESS` 狀態變更為已完成狀態 ( `SUCCEEDED`或 `ERROR`)。

1. 當請求的記錄詳細資訊處於完成狀態時，使用者會再次呼叫 [DescribeRecord](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_DescribeRecord.html)。輸出會識別建立的資源。

1. 使用者呼叫 [UpdateProvisionedProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_UpdateProvisionedProduct.html) 來更新現有的基礎資源。根據請求的特定更新，此操作可以在不中斷的情況下更新、有些中斷，或完全取代佈建的產品。

1. 最後，使用者呼叫 [TerminateProvisionedProduct](https://docs.aws.amazon.com/servicecatalog/latest/APIReference/API_TerminateProvisionedProduct.html) 來終止佈建的產品。