本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
使用 AWS CLI 应用服务更新
在收到服务更新可用的通知后,您可以使用 AWS CLI 检测和应用这些更新:
-
要检索可用的服务更新的描述,请运行以下命令:
aws elasticache describe-service-updates --service-update-status available
有关更多信息,请参阅 DescribeServiceUpdates。
-
要查看具有
not-applied
或stopped
状态的更新操作,请运行以下命令:aws elasticache describe-update-actions --service-update-name
sample-service-update
--update-action-status not-applied stopped有关更多信息,请参阅 DescribeUpdateActions。
-
要对复制组列表应用服务更新,请运行以下命令:
aws elasticache batch-apply-update-action --service-update-name
sample-service-update
--cache-cluster-idsmy-cachecluster-1 my-cache-cluster-2
有关更多信息,请参阅 BatchApplyUpdateAction。