Skip to content

ListAllowedNodeTypeUpdates

Source: src/AWS/MemoryDB/ListAllowedNodeTypeUpdates.ts

Runtime binding for the ListAllowedNodeTypeUpdates operation (IAM action memorydb:ListAllowedNodeTypeUpdates), scoped to one Cluster.

Lists the node types the bound cluster can scale up or down to — e.g. right-sizing automation that checks the legal targets before calling UpdateCluster. Provide the implementation with Effect.provide(AWS.MemoryDB.ListAllowedNodeTypeUpdatesHttp).

const listAllowedNodeTypeUpdates =
yield* MemoryDB.ListAllowedNodeTypeUpdates(cluster);
const result = yield* listAllowedNodeTypeUpdates();
// result.ScaleUpNodeTypes / result.ScaleDownNodeTypes