

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# API の更新
<a name="api-reference-update-v3"></a>

このセクションでは、使用可能な 2 つのオプションのいずれかを使用して API を更新する方法について説明します。

**新しい AWS ParallelCluster バージョンへのアップグレード**

オプション 1: 既存の API を削除するには、対応する CloudFormation スタックを削除し、上記のように新しい API をデプロイします。

オプション 2: 既存の API を更新するには、次のコマンドを実行します。

```
$ REGION=<region>
$ API_STACK_NAME=<stack-name>  # This needs to correspond to the existing API stack name
$ VERSION=3.15.0
$ aws cloudformation update-stack \
    --region ${REGION} \
    --stack-name ${API_STACK_NAME} \
    --template-url https://${REGION}-aws-parallelcluster.s3.${REGION}.amazonaws.com/parallelcluster/${VERSION}/api/parallelcluster-api.yaml \
    --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND
$ aws cloudformation wait stack-update-complete --stack-name ${API_STACK_NAME} --region ${REGION}
```