From d4a2f2321e419dd25ba319c87daf1691a1183a7f Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 8 Oct 2024 18:14:03 +0000 Subject: [PATCH] feat(client-memorydb): Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage. --- clients/client-memorydb/README.md | 4 +- clients/client-memorydb/src/MemoryDB.ts | 4 +- clients/client-memorydb/src/MemoryDBClient.ts | 4 +- .../src/commands/BatchUpdateClusterCommand.ts | 1 + .../src/commands/CopySnapshotCommand.ts | 1 + .../src/commands/CreateClusterCommand.ts | 2 + .../src/commands/CreateSnapshotCommand.ts | 1 + .../src/commands/DeleteClusterCommand.ts | 6 +- .../src/commands/DeleteSnapshotCommand.ts | 1 + .../src/commands/DescribeClustersCommand.ts | 1 + .../commands/DescribeEngineVersionsCommand.ts | 4 +- .../commands/DescribeServiceUpdatesCommand.ts | 1 + .../src/commands/DescribeSnapshotsCommand.ts | 1 + .../src/commands/FailoverShardCommand.ts | 1 + .../src/commands/UpdateClusterCommand.ts | 2 + clients/client-memorydb/src/index.ts | 4 +- .../client-memorydb/src/models/models_0.ts | 55 +++++++++++++++-- .../src/protocols/Aws_json1_1.ts | 3 + codegen/sdk-codegen/aws-models/memorydb.json | 60 ++++++++++++++++--- 19 files changed, 127 insertions(+), 29 deletions(-) diff --git a/clients/client-memorydb/README.md b/clients/client-memorydb/README.md index 3c896352731a1..f46450f68108b 100644 --- a/clients/client-memorydb/README.md +++ b/clients/client-memorydb/README.md @@ -6,9 +6,9 @@ AWS SDK for JavaScript MemoryDB Client for Node.js, Browser and React Native. -

MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. +

MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. -MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.

+MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.

## Installing diff --git a/clients/client-memorydb/src/MemoryDB.ts b/clients/client-memorydb/src/MemoryDB.ts index 0a3d7e21e66de..73260db0bccb1 100644 --- a/clients/client-memorydb/src/MemoryDB.ts +++ b/clients/client-memorydb/src/MemoryDB.ts @@ -758,9 +758,9 @@ export interface MemoryDB { } /** - *

MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. + *

MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. * - * MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.

+ * MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.

* @public */ export class MemoryDB extends MemoryDBClient implements MemoryDB {} diff --git a/clients/client-memorydb/src/MemoryDBClient.ts b/clients/client-memorydb/src/MemoryDBClient.ts index deac6df6dca71..e47336f53b532 100644 --- a/clients/client-memorydb/src/MemoryDBClient.ts +++ b/clients/client-memorydb/src/MemoryDBClient.ts @@ -396,9 +396,9 @@ export type MemoryDBClientResolvedConfigType = __SmithyResolvedConfiguration<__H export interface MemoryDBClientResolvedConfig extends MemoryDBClientResolvedConfigType {} /** - *

MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. + *

MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. * - * MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.

+ * MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.

* @public */ export class MemoryDBClient extends __Client< diff --git a/clients/client-memorydb/src/commands/BatchUpdateClusterCommand.ts b/clients/client-memorydb/src/commands/BatchUpdateClusterCommand.ts index 0dcd0122e18fe..25c7161517735 100644 --- a/clients/client-memorydb/src/commands/BatchUpdateClusterCommand.ts +++ b/clients/client-memorydb/src/commands/BatchUpdateClusterCommand.ts @@ -94,6 +94,7 @@ export interface BatchUpdateClusterCommandOutput extends BatchUpdateClusterRespo * // Port: Number("int"), * // }, * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // EnginePatchVersion: "STRING_VALUE", * // ParameterGroupName: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/CopySnapshotCommand.ts b/clients/client-memorydb/src/commands/CopySnapshotCommand.ts index 9a5a779d392d4..b126236f8e95c 100644 --- a/clients/client-memorydb/src/commands/CopySnapshotCommand.ts +++ b/clients/client-memorydb/src/commands/CopySnapshotCommand.ts @@ -60,6 +60,7 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResponse, __Metad * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // MaintenanceWindow: "STRING_VALUE", * // TopicArn: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/CreateClusterCommand.ts b/clients/client-memorydb/src/commands/CreateClusterCommand.ts index fea5bf9ee15fb..228f5476fdce6 100644 --- a/clients/client-memorydb/src/commands/CreateClusterCommand.ts +++ b/clients/client-memorydb/src/commands/CreateClusterCommand.ts @@ -64,6 +64,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * ], * SnapshotWindow: "STRING_VALUE", * ACLName: "STRING_VALUE", // required + * Engine: "STRING_VALUE", * EngineVersion: "STRING_VALUE", * AutoMinorVersionUpgrade: true || false, * DataTiering: true || false, @@ -118,6 +119,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * // Port: Number("int"), * // }, * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // EnginePatchVersion: "STRING_VALUE", * // ParameterGroupName: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/CreateSnapshotCommand.ts b/clients/client-memorydb/src/commands/CreateSnapshotCommand.ts index 0291648190db4..7160c3f28cef1 100644 --- a/clients/client-memorydb/src/commands/CreateSnapshotCommand.ts +++ b/clients/client-memorydb/src/commands/CreateSnapshotCommand.ts @@ -59,6 +59,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // MaintenanceWindow: "STRING_VALUE", * // TopicArn: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/DeleteClusterCommand.ts b/clients/client-memorydb/src/commands/DeleteClusterCommand.ts index 77052ca37c906..ea67343579219 100644 --- a/clients/client-memorydb/src/commands/DeleteClusterCommand.ts +++ b/clients/client-memorydb/src/commands/DeleteClusterCommand.ts @@ -29,11 +29,6 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met /** *

Deletes a cluster. It also deletes all associated nodes and node endpoints

- * - *

- * CreateSnapshot permission is required to create a final snapshot. - * Without this permission, the API call will fail with an Access Denied exception.

- *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -94,6 +89,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met * // Port: Number("int"), * // }, * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // EnginePatchVersion: "STRING_VALUE", * // ParameterGroupName: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/DeleteSnapshotCommand.ts b/clients/client-memorydb/src/commands/DeleteSnapshotCommand.ts index 3bb1566b51f47..a61074999a9bf 100644 --- a/clients/client-memorydb/src/commands/DeleteSnapshotCommand.ts +++ b/clients/client-memorydb/src/commands/DeleteSnapshotCommand.ts @@ -51,6 +51,7 @@ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __M * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // MaintenanceWindow: "STRING_VALUE", * // TopicArn: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/DescribeClustersCommand.ts b/clients/client-memorydb/src/commands/DescribeClustersCommand.ts index b1c1e3595cfab..30bce0c520b57 100644 --- a/clients/client-memorydb/src/commands/DescribeClustersCommand.ts +++ b/clients/client-memorydb/src/commands/DescribeClustersCommand.ts @@ -93,6 +93,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, * // Port: Number("int"), * // }, * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // EnginePatchVersion: "STRING_VALUE", * // ParameterGroupName: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/DescribeEngineVersionsCommand.ts b/clients/client-memorydb/src/commands/DescribeEngineVersionsCommand.ts index b17c0d7f30dc7..188baf7e37e69 100644 --- a/clients/client-memorydb/src/commands/DescribeEngineVersionsCommand.ts +++ b/clients/client-memorydb/src/commands/DescribeEngineVersionsCommand.ts @@ -28,7 +28,7 @@ export interface DescribeEngineVersionsCommandInput extends DescribeEngineVersio export interface DescribeEngineVersionsCommandOutput extends DescribeEngineVersionsResponse, __MetadataBearer {} /** - *

Returns a list of the available Redis OSS engine versions.

+ *

Returns a list of the available engine versions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -36,6 +36,7 @@ export interface DescribeEngineVersionsCommandOutput extends DescribeEngineVersi * // const { MemoryDBClient, DescribeEngineVersionsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import * const client = new MemoryDBClient(config); * const input = { // DescribeEngineVersionsRequest + * Engine: "STRING_VALUE", * EngineVersion: "STRING_VALUE", * ParameterGroupFamily: "STRING_VALUE", * MaxResults: Number("int"), @@ -48,6 +49,7 @@ export interface DescribeEngineVersionsCommandOutput extends DescribeEngineVersi * // NextToken: "STRING_VALUE", * // EngineVersions: [ // EngineVersionInfoList * // { // EngineVersionInfo + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // EnginePatchVersion: "STRING_VALUE", * // ParameterGroupFamily: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/DescribeServiceUpdatesCommand.ts b/clients/client-memorydb/src/commands/DescribeServiceUpdatesCommand.ts index 0cac28c4f4430..646eb4eb9d944 100644 --- a/clients/client-memorydb/src/commands/DescribeServiceUpdatesCommand.ts +++ b/clients/client-memorydb/src/commands/DescribeServiceUpdatesCommand.ts @@ -58,6 +58,7 @@ export interface DescribeServiceUpdatesCommandOutput extends DescribeServiceUpda * // Description: "STRING_VALUE", * // Status: "available" || "in-progress" || "complete" || "scheduled", * // Type: "security-update", + * // Engine: "STRING_VALUE", * // NodesUpdated: "STRING_VALUE", * // AutoUpdateStartDate: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-memorydb/src/commands/DescribeSnapshotsCommand.ts b/clients/client-memorydb/src/commands/DescribeSnapshotsCommand.ts index 4bae9a2c02ee8..a122461925c7b 100644 --- a/clients/client-memorydb/src/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-memorydb/src/commands/DescribeSnapshotsCommand.ts @@ -59,6 +59,7 @@ export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsRespons * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // MaintenanceWindow: "STRING_VALUE", * // TopicArn: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/FailoverShardCommand.ts b/clients/client-memorydb/src/commands/FailoverShardCommand.ts index 1d138a4863212..1a0632e9375e8 100644 --- a/clients/client-memorydb/src/commands/FailoverShardCommand.ts +++ b/clients/client-memorydb/src/commands/FailoverShardCommand.ts @@ -90,6 +90,7 @@ export interface FailoverShardCommandOutput extends FailoverShardResponse, __Met * // Port: Number("int"), * // }, * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // EnginePatchVersion: "STRING_VALUE", * // ParameterGroupName: "STRING_VALUE", diff --git a/clients/client-memorydb/src/commands/UpdateClusterCommand.ts b/clients/client-memorydb/src/commands/UpdateClusterCommand.ts index a77aacd020277..35d09e80f189c 100644 --- a/clients/client-memorydb/src/commands/UpdateClusterCommand.ts +++ b/clients/client-memorydb/src/commands/UpdateClusterCommand.ts @@ -48,6 +48,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met * SnapshotWindow: "STRING_VALUE", * SnapshotRetentionLimit: Number("int"), * NodeType: "STRING_VALUE", + * Engine: "STRING_VALUE", * EngineVersion: "STRING_VALUE", * ReplicaConfiguration: { // ReplicaConfigurationRequest * ReplicaCount: Number("int"), @@ -107,6 +108,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met * // Port: Number("int"), * // }, * // NodeType: "STRING_VALUE", + * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // EnginePatchVersion: "STRING_VALUE", * // ParameterGroupName: "STRING_VALUE", diff --git a/clients/client-memorydb/src/index.ts b/clients/client-memorydb/src/index.ts index 67152408a49a0..7a8ebeb50dc6f 100644 --- a/clients/client-memorydb/src/index.ts +++ b/clients/client-memorydb/src/index.ts @@ -1,9 +1,9 @@ // smithy-typescript generated code /* eslint-disable */ /** - *

MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. + *

MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. * - * MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.

+ * MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.

* * @packageDocumentation */ diff --git a/clients/client-memorydb/src/models/models_0.ts b/clients/client-memorydb/src/models/models_0.ts index 2f3416c6abdb1..596dbe9755a7a 100644 --- a/clients/client-memorydb/src/models/models_0.ts +++ b/clients/client-memorydb/src/models/models_0.ts @@ -450,13 +450,20 @@ export interface Cluster { NodeType?: string; /** - *

The Redis OSS engine version used by the cluster

+ *

+ * The Redis OSS or Valkey engine used by the cluster.

+ * @public + */ + Engine?: string; + + /** + *

The Redis engine version used by the cluster

* @public */ EngineVersion?: string; /** - *

The Redis OSS engine patch version used by the cluster

+ *

The engine patch version used by the cluster

* @public */ EnginePatchVersion?: string; @@ -772,7 +779,13 @@ export interface ClusterConfiguration { NodeType?: string; /** - *

The Redis OSS engine version used by the cluster

+ *

The configuration for the Redis OSS or Valkey engine used by the cluster.

+ * @public + */ + Engine?: string; + + /** + *

The engine version used by the cluster

* @public */ EngineVersion?: string; @@ -1336,7 +1349,13 @@ export interface CreateClusterRequest { ACLName: string | undefined; /** - *

The version number of the Redis OSS engine to be used for the cluster.

+ *

The name of the engine to be used for the nodes in this cluster. The value must be set to either Redis or Valkey.

+ * @public + */ + Engine?: string; + + /** + *

The version number of the engine to be used for the cluster.

* @public */ EngineVersion?: string; @@ -2435,7 +2454,13 @@ export interface DescribeClustersResponse { */ export interface DescribeEngineVersionsRequest { /** - *

The Redis OSS engine version

+ *

The engine version to return. Valid values are either valkey or redis.

+ * @public + */ + Engine?: string; + + /** + *

The engine version.

* @public */ EngineVersion?: string; @@ -2466,10 +2491,16 @@ export interface DescribeEngineVersionsRequest { } /** - *

Provides details of the Redis OSS engine version

+ *

Provides details of the engine version.

* @public */ export interface EngineVersionInfo { + /** + *

The version of the Redis OSS or Valkey engine used by the cluster.

+ * @public + */ + Engine?: string; + /** *

The engine version

* @public @@ -3132,6 +3163,12 @@ export interface ServiceUpdate { */ Type?: ServiceUpdateType; + /** + *

The MemoryDB engine to which the update applies. The values are either Redis or Valkey.

+ * @public + */ + Engine?: string; + /** *

A list of nodes updated by the service update

* @public @@ -3898,6 +3935,12 @@ export interface UpdateClusterRequest { */ NodeType?: string; + /** + *

The name of the engine to be used for the nodes in this cluster. The value must be set to either Redis or Valkey.

+ * @public + */ + Engine?: string; + /** *

The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.

* @public diff --git a/clients/client-memorydb/src/protocols/Aws_json1_1.ts b/clients/client-memorydb/src/protocols/Aws_json1_1.ts index 3c87a55dfec8f..65835bf45d159 100644 --- a/clients/client-memorydb/src/protocols/Aws_json1_1.ts +++ b/clients/client-memorydb/src/protocols/Aws_json1_1.ts @@ -2654,6 +2654,7 @@ const de_Cluster = (output: any, context: __SerdeContext): Cluster => { ClusterEndpoint: _json, DataTiering: __expectString, Description: __expectString, + Engine: __expectString, EnginePatchVersion: __expectString, EngineVersion: __expectString, KmsKeyId: __expectString, @@ -2684,6 +2685,7 @@ const de_Cluster = (output: any, context: __SerdeContext): Cluster => { const de_ClusterConfiguration = (output: any, context: __SerdeContext): ClusterConfiguration => { return take(output, { Description: __expectString, + Engine: __expectString, EngineVersion: __expectString, MaintenanceWindow: __expectString, Name: __expectString, @@ -3113,6 +3115,7 @@ const de_ServiceUpdate = (output: any, context: __SerdeContext): ServiceUpdate = AutoUpdateStartDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), ClusterName: __expectString, Description: __expectString, + Engine: __expectString, NodesUpdated: __expectString, ReleaseDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), ServiceUpdateName: __expectString, diff --git a/codegen/sdk-codegen/aws-models/memorydb.json b/codegen/sdk-codegen/aws-models/memorydb.json index f8d8a1541a3a5..6e70f5a1b1d05 100644 --- a/codegen/sdk-codegen/aws-models/memorydb.json +++ b/codegen/sdk-codegen/aws-models/memorydb.json @@ -362,7 +362,7 @@ "name": "memorydb" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.\n \n MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.

", + "smithy.api#documentation": "

MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.\n \n MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.

", "smithy.api#title": "Amazon MemoryDB", "smithy.api#xmlNamespace": { "uri": "http://memorydb.amazonaws.com/doc/2021-01-01/" @@ -1461,16 +1461,22 @@ "smithy.api#documentation": "

The cluster's node type

" } }, + "Engine": { + "target": "com.amazonaws.memorydb#String", + "traits": { + "smithy.api#documentation": "

\n The Redis OSS or Valkey engine used by the cluster.

" + } + }, "EngineVersion": { "target": "com.amazonaws.memorydb#String", "traits": { - "smithy.api#documentation": "

The Redis OSS engine version used by the cluster

" + "smithy.api#documentation": "

The Redis engine version used by the cluster

" } }, "EnginePatchVersion": { "target": "com.amazonaws.memorydb#String", "traits": { - "smithy.api#documentation": "

The Redis OSS engine patch version used by the cluster

" + "smithy.api#documentation": "

The engine patch version used by the cluster

" } }, "ParameterGroupName": { @@ -1606,10 +1612,16 @@ "smithy.api#documentation": "

The node type used for the cluster

" } }, + "Engine": { + "target": "com.amazonaws.memorydb#String", + "traits": { + "smithy.api#documentation": "

The configuration for the Redis OSS or Valkey engine used by the cluster.

" + } + }, "EngineVersion": { "target": "com.amazonaws.memorydb#String", "traits": { - "smithy.api#documentation": "

The Redis OSS engine version used by the cluster

" + "smithy.api#documentation": "

The engine version used by the cluster

" } }, "MaintenanceWindow": { @@ -2108,10 +2120,16 @@ "smithy.api#required": {} } }, + "Engine": { + "target": "com.amazonaws.memorydb#String", + "traits": { + "smithy.api#documentation": "

The name of the engine to be used for the nodes in this cluster. The value must be set to either Redis or Valkey.

" + } + }, "EngineVersion": { "target": "com.amazonaws.memorydb#String", "traits": { - "smithy.api#documentation": "

The version number of the Redis OSS engine to be used for the cluster.

" + "smithy.api#documentation": "

The version number of the engine to be used for the cluster.

" } }, "AutoMinorVersionUpgrade": { @@ -2593,7 +2611,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a cluster. It also deletes all associated nodes and node endpoints

\n \n

\n CreateSnapshot permission is required to create a final snapshot. \n Without this permission, the API call will fail with an Access Denied exception.

\n
" + "smithy.api#documentation": "

Deletes a cluster. It also deletes all associated nodes and node endpoints

" } }, "com.amazonaws.memorydb#DeleteClusterRequest": { @@ -3027,7 +3045,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of the available Redis OSS engine versions.

", + "smithy.api#documentation": "

Returns a list of the available engine versions.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -3039,10 +3057,16 @@ "com.amazonaws.memorydb#DescribeEngineVersionsRequest": { "type": "structure", "members": { + "Engine": { + "target": "com.amazonaws.memorydb#String", + "traits": { + "smithy.api#documentation": "

The engine version to return. Valid values are either valkey or redis.

" + } + }, "EngineVersion": { "target": "com.amazonaws.memorydb#String", "traits": { - "smithy.api#documentation": "

The Redis OSS engine version

" + "smithy.api#documentation": "

The engine version.

" } }, "ParameterGroupFamily": { @@ -3926,6 +3950,12 @@ "com.amazonaws.memorydb#EngineVersionInfo": { "type": "structure", "members": { + "Engine": { + "target": "com.amazonaws.memorydb#String", + "traits": { + "smithy.api#documentation": "

The version of the Redis OSS or Valkey engine used by the cluster.

" + } + }, "EngineVersion": { "target": "com.amazonaws.memorydb#String", "traits": { @@ -3946,7 +3976,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides details of the Redis OSS engine version

" + "smithy.api#documentation": "

Provides details of the engine version.

" } }, "com.amazonaws.memorydb#EngineVersionInfoList": { @@ -5370,6 +5400,12 @@ "smithy.api#documentation": "

Reflects the nature of the service update

" } }, + "Engine": { + "target": "com.amazonaws.memorydb#String", + "traits": { + "smithy.api#documentation": "

The MemoryDB engine to which the update applies. The values are either Redis or Valkey.

" + } + }, "NodesUpdated": { "target": "com.amazonaws.memorydb#String", "traits": { @@ -6505,6 +6541,12 @@ "smithy.api#documentation": "

A valid node type that you want to scale this cluster up or down to.

" } }, + "Engine": { + "target": "com.amazonaws.memorydb#String", + "traits": { + "smithy.api#documentation": "

The name of the engine to be used for the nodes in this cluster. The value must be set to either Redis or Valkey.

" + } + }, "EngineVersion": { "target": "com.amazonaws.memorydb#String", "traits": {