

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

# BatchUpdateCluster
<a name="API_BatchUpdateCluster"></a>

提供されたクラスターのリストにサービスの更新を適用します。サービスアップデートとその適用の詳細については、「[Applying the service updates](https://docs.aws.amazon.com/MemoryDB/latest/devguide/managing-updates.html#applying-updates)」を参照してください。

## リクエストの構文
<a name="API_BatchUpdateCluster_RequestSyntax"></a>

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

## リクエストパラメーター
<a name="API_BatchUpdateCluster_RequestParameters"></a>

すべてのアクションに共通のパラメータの詳細については、「[共通パラメータ](CommonParameters.md)」を参照してください。

リクエストは以下のデータを JSON 形式で受け入れます。

 ** [ClusterNames](#API_BatchUpdateCluster_RequestSyntax) **   <a name="MemoryDB-BatchUpdateCluster-request-ClusterNames"></a>
更新を適用するクラスター名。  
型: 文字列の配列  
配列メンバー: 最大数は 20 項目です。  
必須: はい

 ** [ServiceUpdate](#API_BatchUpdateCluster_RequestSyntax) **   <a name="MemoryDB-BatchUpdateCluster-request-ServiceUpdate"></a>
サービス更新の一意の ID  
型: [ServiceUpdateRequest](API_ServiceUpdateRequest.md) オブジェクト  
必須: いいえ

## レスポンスの構文
<a name="API_BatchUpdateCluster_ResponseSyntax"></a>

```
{
   "ProcessedClusters": [ 
      { 
         "ACLName": "string",
         "ARN": "string",
         "AutoMinorVersionUpgrade": boolean,
         "AvailabilityMode": "string",
         "ClusterEndpoint": { 
            "Address": "string",
            "Port": number
         },
         "DataTiering": "string",
         "Description": "string",
         "Engine": "string",
         "EnginePatchVersion": "string",
         "EngineVersion": "string",
         "IpDiscovery": "string",
         "KmsKeyId": "string",
         "MaintenanceWindow": "string",
         "MultiRegionClusterName": "string",
         "Name": "string",
         "NetworkType": "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"
      }
   ]
}
```

## レスポンス要素
<a name="API_BatchUpdateCluster_ResponseElements"></a>

アクションが成功すると、サービスは HTTP 200 レスポンスを返します。

サービスから以下のデータが JSON 形式で返されます。

 ** [ProcessedClusters](#API_BatchUpdateCluster_ResponseSyntax) **   <a name="MemoryDB-BatchUpdateCluster-response-ProcessedClusters"></a>
更新されたクラスターのリスト。  
型: [Cluster](API_Cluster.md) オブジェクトの配列

 ** [UnprocessedClusters](#API_BatchUpdateCluster_ResponseSyntax) **   <a name="MemoryDB-BatchUpdateCluster-response-UnprocessedClusters"></a>
更新が適用されていないクラスターのリスト。  
型: [UnprocessedCluster](API_UnprocessedCluster.md) オブジェクトの配列

## エラー
<a name="API_BatchUpdateCluster_Errors"></a>

すべてのアクションに共通のエラーについては、[一般的なエラータイプ](CommonErrors.md) を参照してください。

 ** InvalidParameterValueException **   
  
HTTP ステータスコード: 400

 ** ServiceUpdateNotFoundFault **   
  
HTTP ステータスコード: 400

## 以下の資料も参照してください。
<a name="API_BatchUpdateCluster_SeeAlso"></a>

言語固有の AWS SDKs のいずれかでこの API を使用する方法の詳細については、以下を参照してください。
+  [AWS コマンドラインインターフェイス V2](https://docs.aws.amazon.com/goto/cli2/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/memorydb-2021-01-01/BatchUpdateCluster) 