AWS 文档 AWS SDK示例 GitHub 存储库中还有更多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