

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

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

Terapkan pembaruan layanan ke daftar cluster yang disediakan. Untuk informasi selengkapnya tentang pembaruan layanan dan menerapkannya, lihat [Menerapkan pembaruan layanan](https://docs.aws.amazon.com/MemoryDB/latest/devguide/managing-updates.html#applying-updates).

## Sintaksis Permintaan
<a name="API_BatchUpdateCluster_RequestSyntax"></a>

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

## Parameter Permintaan
<a name="API_BatchUpdateCluster_RequestParameters"></a>

Untuk informasi tentang parameter yang umum untuk semua tindakan, lihat [Parameter Umum](CommonParameters.md).

Permintaan menerima data berikut dalam format JSON.

 ** [ClusterNames](#API_BatchUpdateCluster_RequestSyntax) **   <a name="MemoryDB-BatchUpdateCluster-request-ClusterNames"></a>
Nama cluster untuk menerapkan pembaruan.  
Tipe: Array string  
Anggota Array: Jumlah maksimum 20 item.  
Wajib: Ya

 ** [ServiceUpdate](#API_BatchUpdateCluster_RequestSyntax) **   <a name="MemoryDB-BatchUpdateCluster-request-ServiceUpdate"></a>
ID unik pembaruan layanan  
Tipe: Objek [ServiceUpdateRequest](API_ServiceUpdateRequest.md)  
Wajib: Tidak

## Sintaksis Respons
<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"
      }
   ]
}
```

## Elemen Respons
<a name="API_BatchUpdateCluster_ResponseElements"></a>

Jika tindakan berhasil, layanan mengirimkan kembali respons HTTP 200.

Layanan mengembalikan data berikut dalam format JSON.

 ** [ProcessedClusters](#API_BatchUpdateCluster_ResponseSyntax) **   <a name="MemoryDB-BatchUpdateCluster-response-ProcessedClusters"></a>
Daftar cluster yang telah diperbarui.  
Tipe: Array objek [Cluster](API_Cluster.md)

 ** [UnprocessedClusters](#API_BatchUpdateCluster_ResponseSyntax) **   <a name="MemoryDB-BatchUpdateCluster-response-UnprocessedClusters"></a>
Daftar cluster di mana pembaruan belum diterapkan.  
Tipe: Array objek [UnprocessedCluster](API_UnprocessedCluster.md)

## Kesalahan
<a name="API_BatchUpdateCluster_Errors"></a>

Untuk informasi tentang kesalahan yang umum untuk semua tindakan, lihat [Jenis Kesalahan Umum](CommonErrors.md).

 ** InvalidParameterValueException **   
  
Kode Status HTTP: 400

 ** ServiceUpdateNotFoundFault **   
  
Kode Status HTTP: 400

## Lihat Juga
<a name="API_BatchUpdateCluster_SeeAlso"></a>

Untuk informasi selengkapnya tentang penggunaan API ini di salah satu bahasa khusus AWS SDKs, lihat berikut ini:
+  [AWS Antarmuka Baris Perintah 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 untuk V3 JavaScript ](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/memorydb-2021-01-01/BatchUpdateCluster) 
+  [AWS SDK para 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 untuk 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) 