Skip to content

BatchUpdateCluster

Source: src/AWS/MemoryDB/BatchUpdateCluster.ts

Runtime binding for the BatchUpdateCluster operation (IAM action memorydb:BatchUpdateCluster).

Applies a service update (security patch, engine upgrade) to a list of clusters — pair with DescribeServiceUpdates to build patch automation that applies available updates inside a maintenance window. Clusters that cannot take the update are returned in UnprocessedClusters (with the reason) rather than failing the call. Provide the implementation with Effect.provide(AWS.MemoryDB.BatchUpdateClusterHttp).

const batchUpdateCluster = yield* MemoryDB.BatchUpdateCluster();
const result = yield* batchUpdateCluster({
ClusterNames: [clusterName],
ServiceUpdate: { ServiceUpdateNameToApply: updateName },
});
// result.ProcessedClusters / result.UnprocessedClusters