BatchUpdateCluster - Amazon 内存 DB
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

BatchUpdateCluster

将服务更新应用于所提供的集群列表。有关服务更新及其应用的更多信息,请参阅应用服务更新

请求语法

{ "ClusterNames": [ "string" ], "ServiceUpdate": { "ServiceUpdateNameToApply": "string" } }

请求参数

有关所有操作的通用参数的信息,请参阅通用参数

请求接受采用 JSON 格式的以下数据。

ClusterNames

要应用更新的集群名称。

类型:字符串数组

数组成员:最多 20 项。

必需:是

ServiceUpdate

服务更新的唯一 ID

类型:ServiceUpdateRequest 对象

必需:否

响应语法

{ "ProcessedClusters": [ { "ACLName": "string", "ARN": "string", "AutoMinorVersionUpgrade": boolean, "AvailabilityMode": "string", "ClusterEndpoint": { "Address": "string", "Port": number }, "DataTiering": "string", "Description": "string", "EnginePatchVersion": "string", "EngineVersion": "string", "KmsKeyId": "string", "MaintenanceWindow": "string", "Name": "string", "NodeType": "string", "NumberOfShards": number, "ParameterGroupName": "string", "ParameterGroupStatus": "string", "PendingUpdates": { "ACLs": { "ACLToApply": "string" }, "Resharding": { "SlotMigration": { "ProgressPercentage": number } }, "ServiceUpdates": [ { "ServiceUpdateName": "string", "Status": "string" } ] }, "SecurityGroups": [ { "SecurityGroupId": "string", "Status": "string" } ], "Shards": [ { "Name": "string", "Nodes": [ { "AvailabilityZone": "string", "CreateTime": number, "Endpoint": { "Address": "string", "Port": number }, "Name": "string", "Status": "string" } ], "NumberOfNodes": number, "Slots": "string", "Status": "string" } ], "SnapshotRetentionLimit": number, "SnapshotWindow": "string", "SnsTopicArn": "string", "SnsTopicStatus": "string", "Status": "string", "SubnetGroupName": "string", "TLSEnabled": boolean } ], "UnprocessedClusters": [ { "ClusterName": "string", "ErrorMessage": "string", "ErrorType": "string" } ] }

响应元素

如果此操作成功,则该服务将会发送回 HTTP 200 响应。

服务以 JSON 格式返回以下数据。

ProcessedClusters

已更新的集群列表。

类型:Cluster 对象数组

UnprocessedClusters

尚未应用更新的集群列表。

类型:UnprocessedCluster 对象数组

错误

有关所有操作的常见错误的信息,请参阅常见错误

InvalidParameterValueException

HTTP 状态代码:400

ServiceUpdateNotFoundFault

HTTP 状态代码:400

另请参阅

有关在特定语言的 Amazon SDK 中使用此 API 的更多信息,请参阅以下内容: