文件範例儲存庫中有更多 AWS SDK可用的AWS SDK範例
本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
CodeDeploy 使用 的動作 AWS SDKs
下列程式碼範例示範如何使用 執行個別 CodeDeploy動作 AWS SDKs。每個範例都包含一個 連結 GitHub,您可以在其中找到設定和執行程式碼的指示。
下列範例僅包含最常使用的動作。如需完整清單,請參閱 AWS CodeDeploy API 參考。
範例
- AddTagsToOnPremisesInstances
- BatchGetApplications
- BatchGetDeployments
- BatchGetOnPremisesInstances
- CreateApplication
- CreateDeployment
- CreateDeploymentConfig
- CreateDeploymentGroup
- DeleteApplication
- DeleteDeploymentConfig
- DeleteDeploymentGroup
- DeregisterOnPremisesInstance
- GetApplication
- GetApplicationRevision
- GetDeployment
- GetDeploymentConfig
- GetDeploymentGroup
- GetDeploymentInstance
- GetOnPremisesInstance
- ListApplicationRevisions
- ListApplications
- ListDeploymentConfigs
- ListDeploymentGroups
- ListDeploymentInstances
- ListDeployments
- ListOnPremisesInstances
- RegisterApplicationRevision
- RegisterOnPremisesInstance
- RemoveTagsFromOnPremisesInstances
- StopDeployment
- UpdateApplication
- UpdateDeploymentGroup