From 54c1dd6c74185b0c7df78159ec4d5b2c27e9e280 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Tue, 8 Oct 2024 18:24:19 +0000 Subject: [PATCH] Regenerated Clients --- .../1b8acea4afb24313bbda387c24b5b72a.json | 8 + .../7c759fd576464014b861e5b5248f5a3e.json | 8 + .../attributevalue/go_module_metadata.go | 2 +- .../elasticache/api_op_CompleteMigration.go | 3 +- .../api_op_CopyServerlessCacheSnapshot.go | 18 +- service/elasticache/api_op_CopySnapshot.go | 6 +- .../elasticache/api_op_CreateCacheCluster.go | 46 +-- .../api_op_CreateGlobalReplicationGroup.go | 9 +- .../api_op_CreateReplicationGroup.go | 136 +++++---- .../api_op_CreateServerlessCache.go | 11 +- .../api_op_CreateServerlessCacheSnapshot.go | 16 +- service/elasticache/api_op_CreateSnapshot.go | 6 +- service/elasticache/api_op_CreateUser.go | 4 +- service/elasticache/api_op_CreateUserGroup.go | 8 +- ...reaseNodeGroupsInGlobalReplicationGroup.go | 4 +- .../api_op_DecreaseReplicaCount.go | 30 +- .../elasticache/api_op_DeleteCacheCluster.go | 7 +- .../api_op_DeleteReplicationGroup.go | 3 +- .../api_op_DeleteServerlessCache.go | 4 +- .../api_op_DeleteServerlessCacheSnapshot.go | 10 +- service/elasticache/api_op_DeleteSnapshot.go | 6 +- service/elasticache/api_op_DeleteUser.go | 6 +- service/elasticache/api_op_DeleteUserGroup.go | 8 +- .../api_op_DescribeCacheClusters.go | 2 +- .../api_op_DescribeCacheEngineVersions.go | 3 +- .../api_op_DescribeReplicationGroups.go | 2 +- .../api_op_DescribeReservedCacheNodes.go | 10 +- ..._op_DescribeReservedCacheNodesOfferings.go | 10 +- ...api_op_DescribeServerlessCacheSnapshots.go | 28 +- .../elasticache/api_op_DescribeSnapshots.go | 2 +- .../api_op_DescribeUpdateActions.go | 2 +- service/elasticache/api_op_DescribeUsers.go | 2 +- .../api_op_ExportServerlessCacheSnapshot.go | 9 +- .../api_op_IncreaseReplicaCount.go | 24 +- ...api_op_ListAllowedNodeTypeModifications.go | 11 +- .../elasticache/api_op_ModifyCacheCluster.go | 21 +- .../api_op_ModifyGlobalReplicationGroup.go | 4 + .../api_op_ModifyReplicationGroup.go | 49 +-- ...odifyReplicationGroupShardConfiguration.go | 15 +- .../api_op_ModifyServerlessCache.go | 28 +- service/elasticache/api_op_ModifyUserGroup.go | 2 +- ...i_op_PurchaseReservedCacheNodesOffering.go | 5 +- .../elasticache/api_op_RebootCacheCluster.go | 12 +- service/elasticache/api_op_StartMigration.go | 7 +- service/elasticache/api_op_TestFailover.go | 7 +- service/elasticache/api_op_TestMigration.go | 3 +- service/elasticache/deserializers.go | 13 + service/elasticache/serializers.go | 25 ++ service/elasticache/types/errors.go | 16 +- service/elasticache/types/types.go | 278 ++++++++++-------- service/internal/integrationtest/go.mod | 2 - service/memorydb/api_op_CreateCluster.go | 6 +- service/memorydb/api_op_DeleteCluster.go | 3 - .../memorydb/api_op_DescribeEngineVersions.go | 7 +- service/memorydb/api_op_UpdateCluster.go | 4 + service/memorydb/deserializers.go | 36 +++ service/memorydb/doc.go | 12 +- service/memorydb/serializers.go | 15 + service/memorydb/types/types.go | 21 +- .../internal/endpoints/endpoints.go | 3 + 60 files changed, 630 insertions(+), 428 deletions(-) create mode 100644 .changelog/1b8acea4afb24313bbda387c24b5b72a.json create mode 100644 .changelog/7c759fd576464014b861e5b5248f5a3e.json diff --git a/.changelog/1b8acea4afb24313bbda387c24b5b72a.json b/.changelog/1b8acea4afb24313bbda387c24b5b72a.json new file mode 100644 index 00000000000..93d42fa797d --- /dev/null +++ b/.changelog/1b8acea4afb24313bbda387c24b5b72a.json @@ -0,0 +1,8 @@ +{ + "id": "1b8acea4-afb2-4313-bbda-387c24b5b72a", + "type": "feature", + "description": "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.", + "modules": [ + "service/memorydb" + ] +} \ No newline at end of file diff --git a/.changelog/7c759fd576464014b861e5b5248f5a3e.json b/.changelog/7c759fd576464014b861e5b5248f5a3e.json new file mode 100644 index 00000000000..d88a905b4c3 --- /dev/null +++ b/.changelog/7c759fd576464014b861e5b5248f5a3e.json @@ -0,0 +1,8 @@ +{ + "id": "7c759fd5-7646-4014-b861-e5b5248f5a3e", + "type": "feature", + "description": "AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage.", + "modules": [ + "service/elasticache" + ] +} \ No newline at end of file diff --git a/feature/dynamodbstreams/attributevalue/go_module_metadata.go b/feature/dynamodbstreams/attributevalue/go_module_metadata.go index 19f7fb9ba4b..391ca05154d 100644 --- a/feature/dynamodbstreams/attributevalue/go_module_metadata.go +++ b/feature/dynamodbstreams/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.29" +const goModuleVersion = "1.15.11" diff --git a/service/elasticache/api_op_CompleteMigration.go b/service/elasticache/api_op_CompleteMigration.go index c8ac38099ef..6dd5413a7b1 100644 --- a/service/elasticache/api_op_CompleteMigration.go +++ b/service/elasticache/api_op_CompleteMigration.go @@ -44,7 +44,8 @@ type CompleteMigrationInput struct { type CompleteMigrationOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_CopyServerlessCacheSnapshot.go b/service/elasticache/api_op_CopyServerlessCacheSnapshot.go index 4b20147db12..b3e3dbd99ce 100644 --- a/service/elasticache/api_op_CopyServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_CopyServerlessCacheSnapshot.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a copy of an existing serverless cache’s snapshot. Available for Redis -// OSS and Serverless Memcached only. +// Creates a copy of an existing serverless cache’s snapshot. Available for +// Valkey, Redis OSS and Serverless Memcached only. func (c *Client) CopyServerlessCacheSnapshot(ctx context.Context, params *CopyServerlessCacheSnapshotInput, optFns ...func(*Options)) (*CopyServerlessCacheSnapshotOutput, error) { if params == nil { params = &CopyServerlessCacheSnapshotInput{} @@ -31,24 +31,24 @@ func (c *Client) CopyServerlessCacheSnapshot(ctx context.Context, params *CopySe type CopyServerlessCacheSnapshotInput struct { // The identifier of the existing serverless cache’s snapshot to be copied. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. // // This member is required. SourceServerlessCacheSnapshotName *string - // The identifier for the snapshot to be created. Available for Redis OSS and - // Serverless Memcached only. + // The identifier for the snapshot to be created. Available for Valkey, Redis OSS + // and Serverless Memcached only. // // This member is required. TargetServerlessCacheSnapshotName *string // The identifier of the KMS key used to encrypt the target snapshot. Available - // for Redis OSS and Serverless Memcached only. + // for Valkey, Redis OSS and Serverless Memcached only. KmsKeyId *string // A list of tags to be added to the target snapshot resource. A tag is a - // key-value pair. Available for Redis OSS and Serverless Memcached only. Default: - // NULL + // key-value pair. Available for Valkey, Redis OSS and Serverless Memcached only. + // Default: NULL Tags []types.Tag noSmithyDocumentSerde @@ -57,7 +57,7 @@ type CopyServerlessCacheSnapshotInput struct { type CopyServerlessCacheSnapshotOutput struct { // The response for the attempt to copy the serverless cache snapshot. Available - // for Redis OSS and Serverless Memcached only. + // for Valkey, Redis OSS and Serverless Memcached only. ServerlessCacheSnapshot *types.ServerlessCacheSnapshot // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_CopySnapshot.go b/service/elasticache/api_op_CopySnapshot.go index 99ce5a4ac96..1002665dc7b 100644 --- a/service/elasticache/api_op_CopySnapshot.go +++ b/service/elasticache/api_op_CopySnapshot.go @@ -13,7 +13,7 @@ import ( // Makes a copy of an existing snapshot. // -// This operation is valid for Redis OSS only. +// This operation is valid for Valkey or Redis OSS only. // // Users or groups that have permissions to use the CopySnapshot operation can // create their own Amazon S3 buckets and copy snapshots to it. To control access @@ -136,8 +136,8 @@ type CopySnapshotInput struct { type CopySnapshotOutput struct { - // Represents a copy of an entire Redis OSS cluster as of the time when the - // snapshot was taken. + // Represents a copy of an entire Valkey or Redis OSS cluster as of the time when + // the snapshot was taken. Snapshot *types.Snapshot // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_CreateCacheCluster.go b/service/elasticache/api_op_CreateCacheCluster.go index 4ceb63accaa..eece1a7d7c3 100644 --- a/service/elasticache/api_op_CreateCacheCluster.go +++ b/service/elasticache/api_op_CreateCacheCluster.go @@ -12,9 +12,10 @@ import ( ) // Creates a cluster. All nodes in the cluster run the same protocol-compliant -// cache engine software, either Memcached or Redis OSS. +// cache engine software, either Memcached, Valkey or Redis OSS. // -// This operation is not supported for Redis OSS (cluster mode enabled) clusters. +// This operation is not supported for Valkey or Redis OSS (cluster mode enabled) +// clusters. func (c *Client) CreateCacheCluster(ctx context.Context, params *CreateCacheClusterInput, optFns ...func(*Options)) (*CreateCacheClusterOutput, error) { if params == nil { params = &CreateCacheClusterInput{} @@ -73,9 +74,9 @@ type CreateCacheClusterInput struct { // [AUTH password]: http://redis.io/commands/AUTH AuthToken *string - // If you are running Redis OSS engine version 6.0 or later, set this parameter - // to yes if you want to opt-in to the next auto minor version upgrade campaign. - // This parameter is disabled for previous versions. + // If you are running Valkey 7.2 and above or Redis OSS engine version 6.0 and + // above, set this parameter to yes to opt-in to the next auto minor version + // upgrade campaign. This parameter is disabled for previous versions. AutoMinorVersionUpgrade *bool // The compute and memory capacity of the nodes in the node group (shard). @@ -166,12 +167,14 @@ type CreateCacheClusterInput struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string @@ -216,8 +219,9 @@ type CreateCacheClusterInput struct { EngineVersion *string // The network type you choose when modifying a cluster, either ipv4 | ipv6 . IPv6 - // is supported for workloads using Redis OSS engine version 6.2 onward or - // Memcached engine version 1.6.6 on all instances built on the [Nitro system]. + // is supported for workloads using Valkey 7.2 and above, Redis OSS engine version + // 6.2 and above or Memcached engine version 1.6.6 and above on all instances built + // on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ IpDiscovery types.IpDiscovery @@ -226,8 +230,8 @@ type CreateCacheClusterInput struct { LogDeliveryConfigurations []types.LogDeliveryConfigurationRequest // Must be either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using - // Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all - // instances built on the [Nitro system]. + // Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine + // version 1.6.6 and above on all instances built on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ NetworkType types.NetworkType @@ -240,8 +244,8 @@ type CreateCacheClusterInput struct { // The initial number of cache nodes that the cluster has. // - // For clusters running Redis OSS, this value must be 1. For clusters running - // Memcached, this value must be between 1 and 40. + // For clusters running Valkey or Redis OSS, this value must be 1. For clusters + // running Memcached, this value must be between 1 and 40. // // If you need more than 40 nodes for your Memcached cluster, please fill out the // ElastiCache Limit Increase Request form at [http://aws.amazon.com/contact-us/elasticache-node-limit-request/]. @@ -313,18 +317,18 @@ type CreateCacheClusterInput struct { SecurityGroupIds []string // A single-element string list containing an Amazon Resource Name (ARN) that - // uniquely identifies a Redis OSS RDB snapshot file stored in Amazon S3. The - // snapshot file is used to populate the node group (shard). The Amazon S3 object - // name in the ARN cannot contain any commas. + // uniquely identifies a Valkey or Redis OSS RDB snapshot file stored in Amazon S3. + // The snapshot file is used to populate the node group (shard). The Amazon S3 + // object name in the ARN cannot contain any commas. // // This parameter is only valid if the Engine parameter is redis . // // Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb SnapshotArns []string - // The name of a Redis OSS snapshot from which to restore data into the new node - // group (shard). The snapshot status changes to restoring while the new node - // group (shard) is being created. + // The name of a Valkey or Redis OSS snapshot from which to restore data into the + // new node group (shard). The snapshot status changes to restoring while the new + // node group (shard) is being created. // // This parameter is only valid if the Engine parameter is redis . SnapshotName *string diff --git a/service/elasticache/api_op_CreateGlobalReplicationGroup.go b/service/elasticache/api_op_CreateGlobalReplicationGroup.go index 53ed5ab11a1..d315a2f9cb1 100644 --- a/service/elasticache/api_op_CreateGlobalReplicationGroup.go +++ b/service/elasticache/api_op_CreateGlobalReplicationGroup.go @@ -11,11 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Global Datastore for Redis OSS offers fully managed, fast, reliable and secure -// cross-region replication. Using Global Datastore for Redis OSS, you can create -// cross-region read replica clusters for ElastiCache (Redis OSS) to enable -// low-latency reads and disaster recovery across regions. For more information, -// see [Replication Across Regions Using Global Datastore]. +// Global Datastore offers fully managed, fast, reliable and secure cross-region +// replication. Using Global Datastore with Valkey or Redis OSS, you can create +// cross-region read replica clusters for ElastiCache to enable low-latency reads +// and disaster recovery across regions. For more information, see [Replication Across Regions Using Global Datastore]. // // - The GlobalReplicationGroupIdSuffix is the name of the Global datastore. // diff --git a/service/elasticache/api_op_CreateReplicationGroup.go b/service/elasticache/api_op_CreateReplicationGroup.go index c2c5dfa1ad2..9d8b4e00389 100644 --- a/service/elasticache/api_op_CreateReplicationGroup.go +++ b/service/elasticache/api_op_CreateReplicationGroup.go @@ -11,42 +11,44 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a Redis OSS (cluster mode disabled) or a Redis OSS (cluster mode -// enabled) replication group. +// Creates a Valkey or Redis OSS (cluster mode disabled) or a Valkey or Redis OSS +// (cluster mode enabled) replication group. // // This API can be used to create a standalone regional replication group or a // secondary replication group associated with a Global datastore. // -// A Redis OSS (cluster mode disabled) replication group is a collection of nodes, -// where one of the nodes is a read/write primary and the others are read-only -// replicas. Writes to the primary are asynchronously propagated to the replicas. +// A Valkey or Redis OSS (cluster mode disabled) replication group is a collection +// of nodes, where one of the nodes is a read/write primary and the others are +// read-only replicas. Writes to the primary are asynchronously propagated to the +// replicas. // -// A Redis OSS cluster-mode enabled cluster is comprised of from 1 to 90 shards -// (API/CLI: node groups). Each shard has a primary node and up to 5 read-only -// replica nodes. The configuration can range from 90 shards and 0 replicas to 15 -// shards and 5 replicas, which is the maximum number or replicas allowed. +// A Valkey or Redis OSS cluster-mode enabled cluster is comprised of from 1 to 90 +// shards (API/CLI: node groups). Each shard has a primary node and up to 5 +// read-only replica nodes. The configuration can range from 90 shards and 0 +// replicas to 15 shards and 5 replicas, which is the maximum number or replicas +// allowed. // // The node or shard limit can be increased to a maximum of 500 per cluster if the -// Redis OSS engine version is 5.0.6 or higher. For example, you can choose to -// configure a 500 node cluster that ranges between 83 shards (one primary and 5 -// replicas per shard) and 500 shards (single primary and no replicas). Make sure -// there are enough available IP addresses to accommodate the increase. Common -// pitfalls include the subnets in the subnet group have too small a CIDR range or -// the subnets are shared and heavily used by other clusters. For more information, -// see [Creating a Subnet Group]. For versions below 5.0.6, the limit is 250 per cluster. +// Valkey or Redis OSS engine version is 5.0.6 or higher. For example, you can +// choose to configure a 500 node cluster that ranges between 83 shards (one +// primary and 5 replicas per shard) and 500 shards (single primary and no +// replicas). Make sure there are enough available IP addresses to accommodate the +// increase. Common pitfalls include the subnets in the subnet group have too small +// a CIDR range or the subnets are shared and heavily used by other clusters. For +// more information, see [Creating a Subnet Group]. For versions below 5.0.6, the limit is 250 per cluster. // // To request a limit increase, see [Amazon Service Limits] and choose the limit type Nodes per cluster // per instance type. // -// When a Redis OSS (cluster mode disabled) replication group has been +// When a Valkey or Redis OSS (cluster mode disabled) replication group has been // successfully created, you can add one or more read replicas to it, up to a total // of 5 read replicas. If you need to increase or decrease the number of node -// groups (console: shards), you can use ElastiCache (Redis OSS) scaling. For more -// information, see [Scaling ElastiCache (Redis OSS) Clusters]in the ElastiCache User Guide. +// groups (console: shards), you can use scaling. For more information, see [Scaling self-designed clusters]in the +// ElastiCache User Guide. // -// This operation is valid for Redis OSS only. +// This operation is valid for Valkey and Redis OSS only. // -// [Scaling ElastiCache (Redis OSS) Clusters]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Scaling.html +// [Scaling self-designed clusters]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Scaling.html // [Creating a Subnet Group]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SubnetGroups.Creating.html // [Amazon Service Limits]: https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html func (c *Client) CreateReplicationGroup(ctx context.Context, params *CreateReplicationGroupInput, optFns ...func(*Options)) (*CreateReplicationGroupOutput, error) { @@ -120,16 +122,16 @@ type CreateReplicationGroupInput struct { // [AUTH password]: http://redis.io/commands/AUTH AuthToken *string - // If you are running Redis OSS engine version 6.0 or later, set this parameter - // to yes if you want to opt-in to the next auto minor version upgrade campaign. - // This parameter is disabled for previous versions. + // If you are running Valkey 7.2 and above or Redis OSS engine version 6.0 and + // above, set this parameter to yes to opt-in to the next auto minor version + // upgrade campaign. This parameter is disabled for previous versions. AutoMinorVersionUpgrade *bool // Specifies whether a read-only replica is automatically promoted to read/write // primary if the existing primary fails. // - // AutomaticFailoverEnabled must be enabled for Redis OSS (cluster mode enabled) - // replication groups. + // AutomaticFailoverEnabled must be enabled for Valkey or Redis OSS (cluster mode + // enabled) replication groups. // // Default: false AutomaticFailoverEnabled *bool @@ -222,12 +224,14 @@ type CreateReplicationGroupInput struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string @@ -236,15 +240,15 @@ type CreateReplicationGroupInput struct { // this argument is omitted, the default cache parameter group for the specified // engine is used. // - // If you are running Redis OSS version 3.2.4 or later, only one node group - // (shard), and want to use a default parameter group, we recommend that you + // If you are running Valkey or Redis OSS version 3.2.4 or later, only one node + // group (shard), and want to use a default parameter group, we recommend that you // specify the parameter group by name. // - // - To create a Redis OSS (cluster mode disabled) replication group, use - // CacheParameterGroupName=default.redis3.2 . + // - To create a Valkey or Redis OSS (cluster mode disabled) replication group, + // use CacheParameterGroupName=default.redis3.2 . // - // - To create a Redis OSS (cluster mode enabled) replication group, use - // CacheParameterGroupName=default.redis3.2.cluster.on . + // - To create a Valkey or Redis OSS (cluster mode enabled) replication group, + // use CacheParameterGroupName=default.redis3.2.cluster.on . CacheParameterGroupName *string // A list of cache security group names to associate with this replication group. @@ -259,10 +263,11 @@ type CreateReplicationGroupInput struct { CacheSubnetGroupName *string // Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must - // first set the cluster mode to Compatible. Compatible mode allows your Redis OSS - // clients to connect using both cluster mode enabled and cluster mode disabled. - // After you migrate all Redis OSS clients to use cluster mode enabled, you can - // then complete cluster mode configuration and set the cluster mode to Enabled. + // first set the cluster mode to Compatible. Compatible mode allows your Valkey or + // Redis OSS clients to connect using both cluster mode enabled and cluster mode + // disabled. After you migrate all Valkey or Redis OSS clients to use cluster mode + // enabled, you can then complete cluster mode configuration and set the cluster + // mode to Enabled. ClusterMode types.ClusterMode // Enables data tiering. Data tiering is only supported for replication groups @@ -292,8 +297,9 @@ type CreateReplicationGroupInput struct { GlobalReplicationGroupId *string // The network type you choose when creating a replication group, either ipv4 | - // ipv6 . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward - // or Memcached engine version 1.6.6 on all instances built on the [Nitro system]. + // ipv6 . IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS + // engine version 6.2 and above or Memcached engine version 1.6.6 and above on all + // instances built on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ IpDiscovery types.IpDiscovery @@ -311,8 +317,8 @@ type CreateReplicationGroupInput struct { MultiAZEnabled *bool // Must be either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using - // Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all - // instances built on the [Nitro system]. + // Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine + // version 1.6.6 and above on all instances built on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ NetworkType types.NetworkType @@ -321,12 +327,13 @@ type CreateReplicationGroupInput struct { // configuration has the following members: PrimaryAvailabilityZone , // ReplicaAvailabilityZones , ReplicaCount , and Slots . // - // If you're creating a Redis OSS (cluster mode disabled) or a Redis OSS (cluster - // mode enabled) replication group, you can use this parameter to individually - // configure each node group (shard), or you can omit this parameter. However, it - // is required when seeding a Redis OSS (cluster mode enabled) cluster from a S3 - // rdb file. You must configure each node group (shard) using this parameter - // because you must specify the slots for each node group. + // If you're creating a Valkey or Redis OSS (cluster mode disabled) or a Valkey or + // Redis OSS (cluster mode enabled) replication group, you can use this parameter + // to individually configure each node group (shard), or you can omit this + // parameter. However, it is required when seeding a Valkey or Redis OSS (cluster + // mode enabled) cluster from a S3 rdb file. You must configure each node group + // (shard) using this parameter because you must specify the slots for each node + // group. NodeGroupConfiguration []types.NodeGroupConfiguration // The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) @@ -349,8 +356,8 @@ type CreateReplicationGroupInput struct { NumCacheClusters *int32 // An optional parameter that specifies the number of node groups (shards) for - // this Redis OSS (cluster mode enabled) replication group. For Redis OSS (cluster - // mode disabled) either omit this parameter or set it to 1. + // this Valkey or Redis OSS (cluster mode enabled) replication group. For Valkey or + // Redis OSS (cluster mode disabled) either omit this parameter or set it to 1. // // Default: 1 NumNodeGroups *int32 @@ -418,16 +425,16 @@ type CreateReplicationGroupInput struct { SecurityGroupIds []string // The name of the snapshot used to create a replication group. Available for - // Redis OSS only. + // Valkey, Redis OSS only. ServerlessCacheSnapshotName *string - // A list of Amazon Resource Names (ARN) that uniquely identify the Redis OSS RDB - // snapshot files stored in Amazon S3. The snapshot files are used to populate the - // new replication group. The Amazon S3 object name in the ARN cannot contain any - // commas. The new replication group will have the number of node groups (console: - // shards) specified by the parameter NumNodeGroups or the number of node groups - // configured by NodeGroupConfiguration regardless of the number of ARNs specified - // here. + // A list of Amazon Resource Names (ARN) that uniquely identify the Valkey or + // Redis OSS RDB snapshot files stored in Amazon S3. The snapshot files are used to + // populate the new replication group. The Amazon S3 object name in the ARN cannot + // contain any commas. The new replication group will have the number of node + // groups (console: shards) specified by the parameter NumNodeGroups or the number + // of node groups configured by NodeGroupConfiguration regardless of the number of + // ARNs specified here. // // Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb SnapshotArns []string @@ -482,9 +489,9 @@ type CreateReplicationGroupInput struct { // // When setting TransitEncryptionEnabled to true , you can set your // TransitEncryptionMode to preferred in the same request, to allow both encrypted - // and unencrypted connections at the same time. Once you migrate all your Redis - // OSS clients to use encrypted connections you can modify the value to required - // to allow encrypted connections only. + // and unencrypted connections at the same time. Once you migrate all your Valkey + // or Redis OSS clients to use encrypted connections you can modify the value to + // required to allow encrypted connections only. // // Setting TransitEncryptionMode to required is a two-step process that requires // you to first set the TransitEncryptionMode to preferred , after that you can set @@ -501,7 +508,8 @@ type CreateReplicationGroupInput struct { type CreateReplicationGroupOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_CreateServerlessCache.go b/service/elasticache/api_op_CreateServerlessCache.go index e08bd5b76a3..d748e42190f 100644 --- a/service/elasticache/api_op_CreateServerlessCache.go +++ b/service/elasticache/api_op_CreateServerlessCache.go @@ -46,7 +46,8 @@ type CreateServerlessCacheInput struct { // The daily time that snapshots will be created from the new serverless cache. By // default this number is populated with 0, i.e. no snapshots will be created on an - // automatic daily basis. Available for Redis OSS and Serverless Memcached only. + // automatic daily basis. Available for Valkey, Redis OSS and Serverless Memcached + // only. DailySnapshotTime *string // User-provided description for the serverless cache. The default is NULL, i.e. @@ -69,13 +70,13 @@ type CreateServerlessCacheInput struct { SecurityGroupIds []string // The ARN(s) of the snapshot that the new serverless cache will be created from. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. SnapshotArnsToRestore []string // The number of snapshots that will be retained for the serverless cache that is // being created. As new snapshots beyond this limit are added, the oldest - // snapshots will be deleted on a rolling basis. Available for Redis OSS and - // Serverless Memcached only. + // snapshots will be deleted on a rolling basis. Available for Valkey, Redis OSS + // and Serverless Memcached only. SnapshotRetentionLimit *int32 // A list of the identifiers of the subnets where the VPC endpoint for the @@ -88,7 +89,7 @@ type CreateServerlessCacheInput struct { Tags []types.Tag // The identifier of the UserGroup to be associated with the serverless cache. - // Available for Redis OSS only. Default is NULL. + // Available for Valkey and Redis OSS only. Default is NULL. UserGroupId *string noSmithyDocumentSerde diff --git a/service/elasticache/api_op_CreateServerlessCacheSnapshot.go b/service/elasticache/api_op_CreateServerlessCacheSnapshot.go index d6007b62798..edbe45825e3 100644 --- a/service/elasticache/api_op_CreateServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_CreateServerlessCacheSnapshot.go @@ -12,7 +12,7 @@ import ( ) // This API creates a copy of an entire ServerlessCache at a specific moment in -// time. Available for Redis OSS and Serverless Memcached only. +// time. Available for Valkey, Redis OSS and Serverless Memcached only. func (c *Client) CreateServerlessCacheSnapshot(ctx context.Context, params *CreateServerlessCacheSnapshotInput, optFns ...func(*Options)) (*CreateServerlessCacheSnapshotOutput, error) { if params == nil { params = &CreateServerlessCacheSnapshotInput{} @@ -31,24 +31,24 @@ func (c *Client) CreateServerlessCacheSnapshot(ctx context.Context, params *Crea type CreateServerlessCacheSnapshotInput struct { // The name of an existing serverless cache. The snapshot is created from this - // cache. Available for Redis OSS and Serverless Memcached only. + // cache. Available for Valkey, Redis OSS and Serverless Memcached only. // // This member is required. ServerlessCacheName *string // The name for the snapshot being created. Must be unique for the customer - // account. Available for Redis OSS and Serverless Memcached only. Must be between - // 1 and 255 characters. + // account. Available for Valkey, Redis OSS and Serverless Memcached only. Must be + // between 1 and 255 characters. // // This member is required. ServerlessCacheSnapshotName *string - // The ID of the KMS key used to encrypt the snapshot. Available for Redis OSS and - // Serverless Memcached only. Default: NULL + // The ID of the KMS key used to encrypt the snapshot. Available for Valkey, Redis + // OSS and Serverless Memcached only. Default: NULL KmsKeyId *string // A list of tags to be added to the snapshot resource. A tag is a key-value pair. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. Tags []types.Tag noSmithyDocumentSerde @@ -57,7 +57,7 @@ type CreateServerlessCacheSnapshotInput struct { type CreateServerlessCacheSnapshotOutput struct { // The state of a serverless cache snapshot at a specific point in time, to the - // millisecond. Available for Redis OSS and Serverless Memcached only. + // millisecond. Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCacheSnapshot *types.ServerlessCacheSnapshot // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_CreateSnapshot.go b/service/elasticache/api_op_CreateSnapshot.go index cc712d2054b..a65d82e100d 100644 --- a/service/elasticache/api_op_CreateSnapshot.go +++ b/service/elasticache/api_op_CreateSnapshot.go @@ -14,7 +14,7 @@ import ( // Creates a copy of an entire cluster or replication group at a specific moment // in time. // -// This operation is valid for Redis OSS only. +// This operation is valid for Valkey or Redis OSS only. func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotInput, optFns ...func(*Options)) (*CreateSnapshotOutput, error) { if params == nil { params = &CreateSnapshotInput{} @@ -58,8 +58,8 @@ type CreateSnapshotInput struct { type CreateSnapshotOutput struct { - // Represents a copy of an entire Redis OSS cluster as of the time when the - // snapshot was taken. + // Represents a copy of an entire Valkey or Redis OSS cluster as of the time when + // the snapshot was taken. Snapshot *types.Snapshot // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_CreateUser.go b/service/elasticache/api_op_CreateUser.go index d78648f3848..5d0d62360d8 100644 --- a/service/elasticache/api_op_CreateUser.go +++ b/service/elasticache/api_op_CreateUser.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// For Redis OSS engine version 6.0 onwards: Creates a Redis OSS user. For more -// information, see [Using Role Based Access Control (RBAC)]. +// For Valkey engine version 7.2 onwards and Redis OSS 6.0 and onwards: Creates a +// user. For more information, see [Using Role Based Access Control (RBAC)]. // // [Using Role Based Access Control (RBAC)]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error) { diff --git a/service/elasticache/api_op_CreateUserGroup.go b/service/elasticache/api_op_CreateUserGroup.go index 0ac6d60c2f1..b53abdd0b6b 100644 --- a/service/elasticache/api_op_CreateUserGroup.go +++ b/service/elasticache/api_op_CreateUserGroup.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// For Redis OSS engine version 6.0 onwards: Creates a Redis OSS user group. For -// more information, see [Using Role Based Access Control (RBAC)] +// For Valkey engine version 7.2 onwards and Redis OSS 6.0 onwards: Creates a user +// group. For more information, see [Using Role Based Access Control (RBAC)] // // [Using Role Based Access Control (RBAC)]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html func (c *Client) CreateUserGroup(ctx context.Context, params *CreateUserGroupInput, optFns ...func(*Options)) (*CreateUserGroupOutput, error) { @@ -44,7 +44,7 @@ type CreateUserGroupInput struct { // A list of tags to be added to this resource. A tag is a key-value pair. A tag // key must be accompanied by a tag value, although null is accepted. Available for - // Redis OSS only. + // Valkey and Redis OSS only. Tags []types.Tag // The list of user IDs that belong to the user group. @@ -71,7 +71,7 @@ type CreateUserGroupOutput struct { ReplicationGroups []string // Indicates which serverless caches the specified user group is associated with. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCaches []string // Indicates user group status. Can be "creating", "active", "modifying", diff --git a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go index d3dbc84d4b6..0d89cb23729 100644 --- a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go @@ -49,14 +49,14 @@ type DecreaseNodeGroupsInGlobalReplicationGroupInput struct { // If the value of NodeGroupCount is less than the current number of node groups // (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. // GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. - // ElastiCache (Redis OSS) will attempt to remove all node groups listed by + // ElastiCache will attempt to remove all node groups listed by // GlobalNodeGroupsToRemove from the cluster. GlobalNodeGroupsToRemove []string // If the value of NodeGroupCount is less than the current number of node groups // (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. // GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. - // ElastiCache (Redis OSS) will attempt to retain all node groups listed by + // ElastiCache will attempt to retain all node groups listed by // GlobalNodeGroupsToRetain from the cluster. GlobalNodeGroupsToRetain []string diff --git a/service/elasticache/api_op_DecreaseReplicaCount.go b/service/elasticache/api_op_DecreaseReplicaCount.go index a88f91d6684..a2403e862d1 100644 --- a/service/elasticache/api_op_DecreaseReplicaCount.go +++ b/service/elasticache/api_op_DecreaseReplicaCount.go @@ -11,10 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Dynamically decreases the number of replicas in a Redis OSS (cluster mode -// disabled) replication group or the number of replica nodes in one or more node -// groups (shards) of a Redis OSS (cluster mode enabled) replication group. This -// operation is performed with no cluster down time. +// Dynamically decreases the number of replicas in a Valkey or Redis OSS (cluster +// mode disabled) replication group or the number of replica nodes in one or more +// node groups (shards) of a Valkey or Redis OSS (cluster mode enabled) replication +// group. This operation is performed with no cluster down time. func (c *Client) DecreaseReplicaCount(ctx context.Context, params *DecreaseReplicaCountInput, optFns ...func(*Options)) (*DecreaseReplicaCountOutput, error) { if params == nil { params = &DecreaseReplicaCountInput{} @@ -44,26 +44,27 @@ type DecreaseReplicaCountInput struct { ReplicationGroupId *string // The number of read replica nodes you want at the completion of this operation. - // For Redis OSS (cluster mode disabled) replication groups, this is the number of - // replica nodes in the replication group. For Redis OSS (cluster mode enabled) - // replication groups, this is the number of replica nodes in each of the - // replication group's node groups. + // For Valkey or Redis OSS (cluster mode disabled) replication groups, this is the + // number of replica nodes in the replication group. For Valkey or Redis OSS + // (cluster mode enabled) replication groups, this is the number of replica nodes + // in each of the replication group's node groups. // // The minimum number of replicas in a shard or replication group is: // - // - Redis OSS (cluster mode disabled) + // - Valkey or Redis OSS (cluster mode disabled) // // - If Multi-AZ is enabled: 1 // // - If Multi-AZ is not enabled: 0 // - // - Redis OSS (cluster mode enabled): 0 (though you will not be able to - // failover to a replica if your primary node fails) + // - Valkey or Redis OSS (cluster mode enabled): 0 (though you will not be able + // to failover to a replica if your primary node fails) NewReplicaCount *int32 // A list of ConfigureShard objects that can be used to configure each shard in a - // Redis OSS (cluster mode enabled) replication group. The ConfigureShard has - // three members: NewReplicaCount , NodeGroupId , and PreferredAvailabilityZones . + // Valkey or Redis OSS (cluster mode enabled) replication group. The ConfigureShard + // has three members: NewReplicaCount , NodeGroupId , and + // PreferredAvailabilityZones . ReplicaConfiguration []types.ConfigureShard // A list of the node ids to remove from the replication group or node group @@ -75,7 +76,8 @@ type DecreaseReplicaCountInput struct { type DecreaseReplicaCountOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_DeleteCacheCluster.go b/service/elasticache/api_op_DeleteCacheCluster.go index 73f558362c6..38d01bacc57 100644 --- a/service/elasticache/api_op_DeleteCacheCluster.go +++ b/service/elasticache/api_op_DeleteCacheCluster.go @@ -18,9 +18,9 @@ import ( // // This operation is not valid for: // -// - Redis OSS (cluster mode enabled) clusters +// - Valkey or Redis OSS (cluster mode enabled) clusters // -// - Redis OSS (cluster mode disabled) clusters +// - Valkey or Redis OSS (cluster mode disabled) clusters // // - A cluster that is the last read replica of a replication group // @@ -28,7 +28,8 @@ import ( // // - A node group (shard) that has Multi-AZ mode enabled // -// - A cluster from a Redis OSS (cluster mode enabled) replication group +// - A cluster from a Valkey or Redis OSS (cluster mode enabled) replication +// group // // - A cluster that is not in the available state func (c *Client) DeleteCacheCluster(ctx context.Context, params *DeleteCacheClusterInput, optFns ...func(*Options)) (*DeleteCacheClusterOutput, error) { diff --git a/service/elasticache/api_op_DeleteReplicationGroup.go b/service/elasticache/api_op_DeleteReplicationGroup.go index 78a9ccc92e2..2858f9a8cd6 100644 --- a/service/elasticache/api_op_DeleteReplicationGroup.go +++ b/service/elasticache/api_op_DeleteReplicationGroup.go @@ -64,7 +64,8 @@ type DeleteReplicationGroupInput struct { type DeleteReplicationGroupOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_DeleteServerlessCache.go b/service/elasticache/api_op_DeleteServerlessCache.go index 8d91cbde71d..b195b84dcdf 100644 --- a/service/elasticache/api_op_DeleteServerlessCache.go +++ b/service/elasticache/api_op_DeleteServerlessCache.go @@ -39,8 +39,8 @@ type DeleteServerlessCacheInput struct { ServerlessCacheName *string // Name of the final snapshot to be taken before the serverless cache is deleted. - // Available for Redis OSS and Serverless Memcached only. Default: NULL, i.e. a - // final snapshot is not taken. + // Available for Valkey, Redis OSS and Serverless Memcached only. Default: NULL, + // i.e. a final snapshot is not taken. FinalSnapshotName *string noSmithyDocumentSerde diff --git a/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go b/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go index 7de428bf620..c701a7789b4 100644 --- a/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes an existing serverless cache snapshot. Available for Redis OSS and -// Serverless Memcached only. +// Deletes an existing serverless cache snapshot. Available for Valkey, Redis OSS +// and Serverless Memcached only. func (c *Client) DeleteServerlessCacheSnapshot(ctx context.Context, params *DeleteServerlessCacheSnapshotInput, optFns ...func(*Options)) (*DeleteServerlessCacheSnapshotOutput, error) { if params == nil { params = &DeleteServerlessCacheSnapshotInput{} @@ -30,7 +30,7 @@ func (c *Client) DeleteServerlessCacheSnapshot(ctx context.Context, params *Dele type DeleteServerlessCacheSnapshotInput struct { - // Idenfitier of the snapshot to be deleted. Available for Redis OSS and + // Idenfitier of the snapshot to be deleted. Available for Valkey, Redis OSS and // Serverless Memcached only. // // This member is required. @@ -41,8 +41,8 @@ type DeleteServerlessCacheSnapshotInput struct { type DeleteServerlessCacheSnapshotOutput struct { - // The snapshot to be deleted. Available for Redis OSS and Serverless Memcached - // only. + // The snapshot to be deleted. Available for Valkey, Redis OSS and Serverless + // Memcached only. ServerlessCacheSnapshot *types.ServerlessCacheSnapshot // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_DeleteSnapshot.go b/service/elasticache/api_op_DeleteSnapshot.go index 97e7e0dc90e..25036422117 100644 --- a/service/elasticache/api_op_DeleteSnapshot.go +++ b/service/elasticache/api_op_DeleteSnapshot.go @@ -15,7 +15,7 @@ import ( // operation, ElastiCache immediately begins deleting the snapshot; you cannot // cancel or revert this operation. // -// This operation is valid for Redis OSS only. +// This operation is valid for Valkey or Redis OSS only. func (c *Client) DeleteSnapshot(ctx context.Context, params *DeleteSnapshotInput, optFns ...func(*Options)) (*DeleteSnapshotOutput, error) { if params == nil { params = &DeleteSnapshotInput{} @@ -44,8 +44,8 @@ type DeleteSnapshotInput struct { type DeleteSnapshotOutput struct { - // Represents a copy of an entire Redis OSS cluster as of the time when the - // snapshot was taken. + // Represents a copy of an entire Valkey or Redis OSS cluster as of the time when + // the snapshot was taken. Snapshot *types.Snapshot // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_DeleteUser.go b/service/elasticache/api_op_DeleteUser.go index 02a4011d6e2..abc1c8d1c32 100644 --- a/service/elasticache/api_op_DeleteUser.go +++ b/service/elasticache/api_op_DeleteUser.go @@ -11,9 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// For Redis OSS engine version 6.0 onwards: Deletes a user. The user will be -// removed from all user groups and in turn removed from all replication groups. -// For more information, see [Using Role Based Access Control (RBAC)]. +// For Valkey engine version 7.2 onwards and Redis OSS 6.0 onwards: Deletes a +// user. The user will be removed from all user groups and in turn removed from all +// replication groups. For more information, see [Using Role Based Access Control (RBAC)]. // // [Using Role Based Access Control (RBAC)]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns ...func(*Options)) (*DeleteUserOutput, error) { diff --git a/service/elasticache/api_op_DeleteUserGroup.go b/service/elasticache/api_op_DeleteUserGroup.go index 421a4e13cca..6ec21bb8e9b 100644 --- a/service/elasticache/api_op_DeleteUserGroup.go +++ b/service/elasticache/api_op_DeleteUserGroup.go @@ -11,9 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// For Redis OSS engine version 6.0 onwards: Deletes a user group. The user group -// must first be disassociated from the replication group before it can be deleted. -// For more information, see [Using Role Based Access Control (RBAC)]. +// For Valkey engine version 7.2 onwards and Redis OSS 6.0 onwards: Deletes a user +// group. The user group must first be disassociated from the replication group +// before it can be deleted. For more information, see [Using Role Based Access Control (RBAC)]. // // [Using Role Based Access Control (RBAC)]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html func (c *Client) DeleteUserGroup(ctx context.Context, params *DeleteUserGroupInput, optFns ...func(*Options)) (*DeleteUserGroupOutput, error) { @@ -59,7 +59,7 @@ type DeleteUserGroupOutput struct { ReplicationGroups []string // Indicates which serverless caches the specified user group is associated with. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCaches []string // Indicates user group status. Can be "creating", "active", "modifying", diff --git a/service/elasticache/api_op_DescribeCacheClusters.go b/service/elasticache/api_op_DescribeCacheClusters.go index bcae8b4ddbc..b495fbf3723 100644 --- a/service/elasticache/api_op_DescribeCacheClusters.go +++ b/service/elasticache/api_op_DescribeCacheClusters.go @@ -79,7 +79,7 @@ type DescribeCacheClustersInput struct { // An optional flag that can be included in the DescribeCacheCluster request to // show only nodes (API/CLI: clusters) that are not members of a replication group. - // In practice, this mean Memcached and single node Redis OSS clusters. + // In practice, this means Memcached and single node Valkey or Redis OSS clusters. ShowCacheClustersNotInReplicationGroups *bool // An optional flag that can be included in the DescribeCacheCluster request to diff --git a/service/elasticache/api_op_DescribeCacheEngineVersions.go b/service/elasticache/api_op_DescribeCacheEngineVersions.go index 2e9a9c0fc6f..c39babb2601 100644 --- a/service/elasticache/api_op_DescribeCacheEngineVersions.go +++ b/service/elasticache/api_op_DescribeCacheEngineVersions.go @@ -33,7 +33,8 @@ type DescribeCacheEngineVersionsInput struct { // The name of a specific cache parameter group family to return details for. // // Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | - // redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis6.2 | redis7 + // redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis6.2 | redis7 | + // valkey7 // // Constraints: // diff --git a/service/elasticache/api_op_DescribeReplicationGroups.go b/service/elasticache/api_op_DescribeReplicationGroups.go index 18534298cf2..242bc1f7579 100644 --- a/service/elasticache/api_op_DescribeReplicationGroups.go +++ b/service/elasticache/api_op_DescribeReplicationGroups.go @@ -20,7 +20,7 @@ import ( // specified, DescribeReplicationGroups returns information about all replication // groups. // -// This operation is valid for Redis OSS only. +// This operation is valid for Valkey or Redis OSS only. func (c *Client) DescribeReplicationGroups(ctx context.Context, params *DescribeReplicationGroupsInput, optFns ...func(*Options)) (*DescribeReplicationGroupsOutput, error) { if params == nil { params = &DescribeReplicationGroupsInput{} diff --git a/service/elasticache/api_op_DescribeReservedCacheNodes.go b/service/elasticache/api_op_DescribeReservedCacheNodes.go index 8853800c275..bb5cc2c7e33 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodes.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodes.go @@ -120,12 +120,14 @@ type DescribeReservedCacheNodesInput struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string diff --git a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go index d12f50421f3..920f9047085 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go @@ -119,12 +119,14 @@ type DescribeReservedCacheNodesOfferingsInput struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string diff --git a/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go b/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go index 8917ea1a8a5..da21879edcb 100644 --- a/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go +++ b/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go @@ -14,7 +14,7 @@ import ( // Returns information about serverless cache snapshots. By default, this API // lists all of the customer’s serverless cache snapshots. It can also describe a // single serverless cache snapshot, or the snapshots associated with a particular -// serverless cache. Available for Redis OSS and Serverless Memcached only. +// serverless cache. Available for Valkey, Redis OSS and Serverless Memcached only. func (c *Client) DescribeServerlessCacheSnapshots(ctx context.Context, params *DescribeServerlessCacheSnapshotsInput, optFns ...func(*Options)) (*DescribeServerlessCacheSnapshotsOutput, error) { if params == nil { params = &DescribeServerlessCacheSnapshotsInput{} @@ -34,29 +34,29 @@ type DescribeServerlessCacheSnapshotsInput struct { // The maximum number of records to include in the response. If more records exist // than the specified max-results value, a market is included in the response so - // that remaining results can be retrieved. Available for Redis OSS and Serverless - // Memcached only.The default is 50. The Validation Constraints are a maximum of - // 50. + // that remaining results can be retrieved. Available for Valkey, Redis OSS and + // Serverless Memcached only.The default is 50. The Validation Constraints are a + // maximum of 50. MaxResults *int32 // An optional marker returned from a prior request to support pagination of // results from this operation. If this parameter is specified, the response // includes only records beyond the marker, up to the value specified by - // max-results. Available for Redis OSS and Serverless Memcached only. + // max-results. Available for Valkey, Redis OSS and Serverless Memcached only. NextToken *string // The identifier of serverless cache. If this parameter is specified, only // snapshots associated with that specific serverless cache are described. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCacheName *string // The identifier of the serverless cache’s snapshot. If this parameter is - // specified, only this snapshot is described. Available for Redis OSS and + // specified, only this snapshot is described. Available for Valkey, Redis OSS and // Serverless Memcached only. ServerlessCacheSnapshotName *string - // The type of snapshot that is being described. Available for Redis OSS and - // Serverless Memcached only. + // The type of snapshot that is being described. Available for Valkey, Redis OSS + // and Serverless Memcached only. SnapshotType *string noSmithyDocumentSerde @@ -67,11 +67,11 @@ type DescribeServerlessCacheSnapshotsOutput struct { // An optional marker returned from a prior request to support pagination of // results from this operation. If this parameter is specified, the response // includes only records beyond the marker, up to the value specified by - // max-results. Available for Redis OSS and Serverless Memcached only. + // max-results. Available for Valkey, Redis OSS and Serverless Memcached only. NextToken *string // The serverless caches snapshots associated with a given description request. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCacheSnapshots []types.ServerlessCacheSnapshot // Metadata pertaining to the operation's result. @@ -182,9 +182,9 @@ func (c *Client) addOperationDescribeServerlessCacheSnapshotsMiddlewares(stack * type DescribeServerlessCacheSnapshotsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified max-results value, a market is included in the response so - // that remaining results can be retrieved. Available for Redis OSS and Serverless - // Memcached only.The default is 50. The Validation Constraints are a maximum of - // 50. + // that remaining results can be retrieved. Available for Valkey, Redis OSS and + // Serverless Memcached only.The default is 50. The Validation Constraints are a + // maximum of 50. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/elasticache/api_op_DescribeSnapshots.go b/service/elasticache/api_op_DescribeSnapshots.go index e69b10e5d22..c61cc43ed87 100644 --- a/service/elasticache/api_op_DescribeSnapshots.go +++ b/service/elasticache/api_op_DescribeSnapshots.go @@ -16,7 +16,7 @@ import ( // single snapshot, or just the snapshots associated with a particular cache // cluster. // -// This operation is valid for Redis OSS only. +// This operation is valid for Valkey or Redis OSS only. func (c *Client) DescribeSnapshots(ctx context.Context, params *DescribeSnapshotsInput, optFns ...func(*Options)) (*DescribeSnapshotsOutput, error) { if params == nil { params = &DescribeSnapshotsInput{} diff --git a/service/elasticache/api_op_DescribeUpdateActions.go b/service/elasticache/api_op_DescribeUpdateActions.go index e3338d90edc..2fc94e993c0 100644 --- a/service/elasticache/api_op_DescribeUpdateActions.go +++ b/service/elasticache/api_op_DescribeUpdateActions.go @@ -32,7 +32,7 @@ type DescribeUpdateActionsInput struct { // The cache cluster IDs CacheClusterIds []string - // The Elasticache engine to which the update applies. Either Redis OSS or + // The Elasticache engine to which the update applies. Either Valkey, Redis OSS or // Memcached. Engine *string diff --git a/service/elasticache/api_op_DescribeUsers.go b/service/elasticache/api_op_DescribeUsers.go index f2599b163c6..b218ca5d5d3 100644 --- a/service/elasticache/api_op_DescribeUsers.go +++ b/service/elasticache/api_op_DescribeUsers.go @@ -29,7 +29,7 @@ func (c *Client) DescribeUsers(ctx context.Context, params *DescribeUsersInput, type DescribeUsersInput struct { - // The Redis OSS engine. + // The engine. Engine *string // Filter to determine the list of User IDs to return. diff --git a/service/elasticache/api_op_ExportServerlessCacheSnapshot.go b/service/elasticache/api_op_ExportServerlessCacheSnapshot.go index ec08ff8aa43..d8c2e6bf3e0 100644 --- a/service/elasticache/api_op_ExportServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_ExportServerlessCacheSnapshot.go @@ -12,7 +12,7 @@ import ( ) // Provides the functionality to export the serverless cache snapshot data to -// Amazon S3. Available for Redis OSS only. +// Amazon S3. Available for Valkey and Redis OSS only. func (c *Client) ExportServerlessCacheSnapshot(ctx context.Context, params *ExportServerlessCacheSnapshotInput, optFns ...func(*Options)) (*ExportServerlessCacheSnapshotOutput, error) { if params == nil { params = &ExportServerlessCacheSnapshotInput{} @@ -31,13 +31,14 @@ func (c *Client) ExportServerlessCacheSnapshot(ctx context.Context, params *Expo type ExportServerlessCacheSnapshotInput struct { // Name of the Amazon S3 bucket to export the snapshot to. The Amazon S3 bucket - // must also be in same region as the snapshot. Available for Redis OSS only. + // must also be in same region as the snapshot. Available for Valkey and Redis OSS + // only. // // This member is required. S3BucketName *string // The identifier of the serverless cache snapshot to be exported to S3. Available - // for Redis OSS only. + // for Valkey and Redis OSS only. // // This member is required. ServerlessCacheSnapshotName *string @@ -48,7 +49,7 @@ type ExportServerlessCacheSnapshotInput struct { type ExportServerlessCacheSnapshotOutput struct { // The state of a serverless cache at a specific point in time, to the - // millisecond. Available for Redis OSS and Serverless Memcached only. + // millisecond. Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCacheSnapshot *types.ServerlessCacheSnapshot // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_IncreaseReplicaCount.go b/service/elasticache/api_op_IncreaseReplicaCount.go index e532c12db3d..2a0dc35ab5a 100644 --- a/service/elasticache/api_op_IncreaseReplicaCount.go +++ b/service/elasticache/api_op_IncreaseReplicaCount.go @@ -11,10 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Dynamically increases the number of replicas in a Redis OSS (cluster mode -// disabled) replication group or the number of replica nodes in one or more node -// groups (shards) of a Redis OSS (cluster mode enabled) replication group. This -// operation is performed with no cluster down time. +// Dynamically increases the number of replicas in a Valkey or Redis OSS (cluster +// mode disabled) replication group or the number of replica nodes in one or more +// node groups (shards) of a Valkey or Redis OSS (cluster mode enabled) replication +// group. This operation is performed with no cluster down time. func (c *Client) IncreaseReplicaCount(ctx context.Context, params *IncreaseReplicaCountInput, optFns ...func(*Options)) (*IncreaseReplicaCountOutput, error) { if params == nil { params = &IncreaseReplicaCountInput{} @@ -44,15 +44,16 @@ type IncreaseReplicaCountInput struct { ReplicationGroupId *string // The number of read replica nodes you want at the completion of this operation. - // For Redis OSS (cluster mode disabled) replication groups, this is the number of - // replica nodes in the replication group. For Redis OSS (cluster mode enabled) - // replication groups, this is the number of replica nodes in each of the - // replication group's node groups. + // For Valkey or Redis OSS (cluster mode disabled) replication groups, this is the + // number of replica nodes in the replication group. For Valkey or Redis OSS + // (cluster mode enabled) replication groups, this is the number of replica nodes + // in each of the replication group's node groups. NewReplicaCount *int32 // A list of ConfigureShard objects that can be used to configure each shard in a - // Redis OSS (cluster mode enabled) replication group. The ConfigureShard has - // three members: NewReplicaCount , NodeGroupId , and PreferredAvailabilityZones . + // Valkey or Redis OSS (cluster mode enabled) replication group. The ConfigureShard + // has three members: NewReplicaCount , NodeGroupId , and + // PreferredAvailabilityZones . ReplicaConfiguration []types.ConfigureShard noSmithyDocumentSerde @@ -60,7 +61,8 @@ type IncreaseReplicaCountInput struct { type IncreaseReplicaCountOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go index 691938adfd9..cc201c7d2d2 100644 --- a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go +++ b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists all available node types that you can scale your Redis OSS cluster's or +// Lists all available node types that you can scale with your cluster's // replication group's current node type. // // When you use the ModifyCacheCluster or ModifyReplicationGroup operations to @@ -59,15 +59,16 @@ type ListAllowedNodeTypeModificationsInput struct { type ListAllowedNodeTypeModificationsOutput struct { // A string list, each element of which specifies a cache node type which you can - // use to scale your cluster or replication group. When scaling down a Redis OSS - // cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, - // use a value from this list for the CacheNodeType parameter. + // use to scale your cluster or replication group. When scaling down a Valkey or + // Redis OSS cluster or replication group using ModifyCacheCluster or + // ModifyReplicationGroup, use a value from this list for the CacheNodeType + // parameter. ScaleDownModifications []string // A string list, each element of which specifies a cache node type which you can // use to scale your cluster or replication group. // - // When scaling up a Redis OSS cluster or replication group using + // When scaling up a Valkey or Redis OSS cluster or replication group using // ModifyCacheCluster or ModifyReplicationGroup , use a value from this list for // the CacheNodeType parameter. ScaleUpModifications []string diff --git a/service/elasticache/api_op_ModifyCacheCluster.go b/service/elasticache/api_op_ModifyCacheCluster.go index 89d54b649c9..9fb0671c286 100644 --- a/service/elasticache/api_op_ModifyCacheCluster.go +++ b/service/elasticache/api_op_ModifyCacheCluster.go @@ -90,13 +90,13 @@ type ModifyCacheClusterInput struct { // // - DELETE - allowed only when transitioning to RBAC // - // For more information, see [Authenticating Users with Redis OSS AUTH] + // For more information, see [Authenticating Users with AUTH] // - // [Authenticating Users with Redis OSS AUTH]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html + // [Authenticating Users with AUTH]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html AuthTokenUpdateStrategy types.AuthTokenUpdateStrategyType - // If you are running Redis OSS engine version 6.0 or later, set this parameter - // to yes if you want to opt-in to the next auto minor version upgrade campaign. + // If you are running Valkey 7.2 or Redis OSS engine version 6.0 or later, set + // this parameter to yes to opt-in to the next auto minor version upgrade campaign. // This parameter is disabled for previous versions. AutoMinorVersionUpgrade *bool @@ -130,6 +130,10 @@ type ModifyCacheClusterInput struct { // "Default". CacheSecurityGroupNames []string + // Modifies the engine listed in a cluster message. The options are redis, + // memcached or valkey. + Engine *string + // The upgraded version of the cache engine to be run on the cache nodes. // // Important: You can upgrade to a newer engine version (see [Selecting a Cache Engine and Version]), but you cannot @@ -141,8 +145,9 @@ type ModifyCacheClusterInput struct { EngineVersion *string // The network type you choose when modifying a cluster, either ipv4 | ipv6 . IPv6 - // is supported for workloads using Redis OSS engine version 6.2 onward or - // Memcached engine version 1.6.6 on all instances built on the [Nitro system]. + // is supported for workloads using Valkey 7.2 and above, Redis OSS engine version + // 6.2 and above or Memcached engine version 1.6.6 and above on all instances built + // on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ IpDiscovery types.IpDiscovery @@ -245,8 +250,8 @@ type ModifyCacheClusterInput struct { // If you are removing cache nodes, you must use the CacheNodeIdsToRemove // parameter to provide the IDs of the specific cache nodes to remove. // - // For clusters running Redis OSS, this value must be 1. For clusters running - // Memcached, this value must be between 1 and 40. + // For clusters running Valkey or Redis OSS, this value must be 1. For clusters + // running Memcached, this value must be between 1 and 40. // // Adding or removing Memcached cache nodes can be applied immediately or as a // pending operation (see ApplyImmediately ). diff --git a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go index 69a4ca8ac4f..0c3a672bdce 100644 --- a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go +++ b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go @@ -53,6 +53,10 @@ type ModifyGlobalReplicationGroupInput struct { // be compatible with the major engine version used by the Global datastore. CacheParameterGroupName *string + // Modifies the engine listed in a global replication group message. The options + // are redis, memcached or valkey. + Engine *string + // The upgraded version of the cache engine to be run on the clusters in the // Global datastore. EngineVersion *string diff --git a/service/elasticache/api_op_ModifyReplicationGroup.go b/service/elasticache/api_op_ModifyReplicationGroup.go index e59dff85af6..a57fbced93c 100644 --- a/service/elasticache/api_op_ModifyReplicationGroup.go +++ b/service/elasticache/api_op_ModifyReplicationGroup.go @@ -11,19 +11,19 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Modifies the settings for a replication group. This is limited to Redis OSS 7 -// and newer. +// Modifies the settings for a replication group. This is limited to Valkey and +// Redis OSS 7 and above. // -// [Scaling for Amazon ElastiCache (Redis OSS) (cluster mode enabled)] +// [Scaling for Valkey or Redis OSS (cluster mode enabled)] // - in the ElastiCache User Guide // // [ModifyReplicationGroupShardConfiguration] // - in the ElastiCache API Reference // -// This operation is valid for Redis OSS only. +// This operation is valid for Valkey or Redis OSS only. // // [ModifyReplicationGroupShardConfiguration]: https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyReplicationGroupShardConfiguration.html -// [Scaling for Amazon ElastiCache (Redis OSS) (cluster mode enabled)]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/scaling-redis-cluster-mode-enabled.html +// [Scaling for Valkey or Redis OSS (cluster mode enabled)]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/scaling-redis-cluster-mode-enabled.html func (c *Client) ModifyReplicationGroup(ctx context.Context, params *ModifyReplicationGroupInput, optFns ...func(*Options)) (*ModifyReplicationGroupOutput, error) { if params == nil { params = &ModifyReplicationGroupInput{} @@ -83,14 +83,14 @@ type ModifyReplicationGroupInput struct { // // - DELETE - allowed only when transitioning to RBAC // - // For more information, see [Authenticating Users with Redis OSS AUTH] + // For more information, see [Authenticating Users with AUTH] // - // [Authenticating Users with Redis OSS AUTH]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html + // [Authenticating Users with AUTH]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html AuthTokenUpdateStrategy types.AuthTokenUpdateStrategyType - // If you are running Redis OSS engine version 6.0 or later, set this parameter - // to yes if you want to opt-in to the next auto minor version upgrade campaign. - // This parameter is disabled for previous versions. + // If you are running Valkey or Redis OSS engine version 6.0 or later, set this + // parameter to yes if you want to opt-in to the next auto minor version upgrade + // campaign. This parameter is disabled for previous versions. AutoMinorVersionUpgrade *bool // Determines whether a read replica is automatically promoted to read/write @@ -119,12 +119,17 @@ type ModifyReplicationGroupInput struct { CacheSecurityGroupNames []string // Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must - // first set the cluster mode to Compatible. Compatible mode allows your Redis OSS - // clients to connect using both cluster mode enabled and cluster mode disabled. - // After you migrate all Redis OSS clients to use cluster mode enabled, you can - // then complete cluster mode configuration and set the cluster mode to Enabled. + // first set the cluster mode to Compatible. Compatible mode allows your Valkey or + // Redis OSS clients to connect using both cluster mode enabled and cluster mode + // disabled. After you migrate all Valkey or Redis OSS clients to use cluster mode + // enabled, you can then complete cluster mode configuration and set the cluster + // mode to Enabled. ClusterMode types.ClusterMode + // Modifies the engine listed in a replication group message. The options are + // redis, memcached or valkey. + Engine *string + // The upgraded version of the cache engine to be run on the clusters in the // replication group. // @@ -137,8 +142,9 @@ type ModifyReplicationGroupInput struct { EngineVersion *string // The network type you choose when modifying a cluster, either ipv4 | ipv6 . IPv6 - // is supported for workloads using Redis OSS engine version 6.2 onward or - // Memcached engine version 1.6.6 on all instances built on the [Nitro system]. + // is supported for workloads using Valkey 7.2 and above, Redis OSS engine version + // 6.2 and above or Memcached engine version 1.6.6 and above on all instances built + // on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ IpDiscovery types.IpDiscovery @@ -227,8 +233,8 @@ type ModifyReplicationGroupInput struct { SnapshotWindow *string // The cluster ID that is used as the daily snapshot source for the replication - // group. This parameter cannot be set for Redis OSS (cluster mode enabled) - // replication groups. + // group. This parameter cannot be set for Valkey or Redis OSS (cluster mode + // enabled) replication groups. SnapshottingClusterId *string // A flag that enables in-transit encryption when set to true. If you are enabling @@ -242,8 +248,8 @@ type ModifyReplicationGroupInput struct { // You must set TransitEncryptionEnabled to true , for your existing cluster, and // set TransitEncryptionMode to preferred in the same request to allow both // encrypted and unencrypted connections at the same time. Once you migrate all - // your Redis OSS clients to use encrypted connections you can set the value to - // required to allow encrypted connections only. + // your Valkey or Redis OSS clients to use encrypted connections you can set the + // value to required to allow encrypted connections only. // // Setting TransitEncryptionMode to required is a two-step process that requires // you to first set the TransitEncryptionMode to preferred , after that you can set @@ -262,7 +268,8 @@ type ModifyReplicationGroupInput struct { type ModifyReplicationGroupOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go index ebf41ce3ec8..92dbcd224c5 100644 --- a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go +++ b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go @@ -45,8 +45,8 @@ type ModifyReplicationGroupShardConfigurationInput struct { // This member is required. NodeGroupCount *int32 - // The name of the Redis OSS (cluster mode enabled) cluster (replication group) on - // which the shards are to be configured. + // The name of the Valkey or Redis OSS (cluster mode enabled) cluster (replication + // group) on which the shards are to be configured. // // This member is required. ReplicationGroupId *string @@ -55,16 +55,16 @@ type ModifyReplicationGroupShardConfigurationInput struct { // (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. // NodeGroupsToRemove is a list of NodeGroupId s to remove from the cluster. // - // ElastiCache (Redis OSS) will attempt to remove all node groups listed by - // NodeGroupsToRemove from the cluster. + // ElastiCache will attempt to remove all node groups listed by NodeGroupsToRemove + // from the cluster. NodeGroupsToRemove []string // If the value of NodeGroupCount is less than the current number of node groups // (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. // NodeGroupsToRetain is a list of NodeGroupId s to retain in the cluster. // - // ElastiCache (Redis OSS) will attempt to remove all node groups except those - // listed by NodeGroupsToRetain from the cluster. + // ElastiCache will attempt to remove all node groups except those listed by + // NodeGroupsToRetain from the cluster. NodeGroupsToRetain []string // Specifies the preferred availability zones for each node group in the cluster. @@ -82,7 +82,8 @@ type ModifyReplicationGroupShardConfigurationInput struct { type ModifyReplicationGroupShardConfigurationOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_ModifyServerlessCache.go b/service/elasticache/api_op_ModifyServerlessCache.go index cac7c82a4c0..5aec93f698d 100644 --- a/service/elasticache/api_op_ModifyServerlessCache.go +++ b/service/elasticache/api_op_ModifyServerlessCache.go @@ -38,9 +38,9 @@ type ModifyServerlessCacheInput struct { CacheUsageLimits *types.CacheUsageLimits // The daily time during which Elasticache begins taking a daily snapshot of the - // serverless cache. Available for Redis OSS and Serverless Memcached only. The - // default is NULL, i.e. the existing snapshot time configured for the cluster is - // not removed. + // serverless cache. Available for Valkey, Redis OSS and Serverless Memcached only. + // The default is NULL, i.e. the existing snapshot time configured for the cluster + // is not removed. DailySnapshotTime *string // User provided description for the serverless cache. Default = NULL, i.e. the @@ -48,8 +48,16 @@ type ModifyServerlessCacheInput struct { // length of 255 characters. Description *string - // The identifier of the UserGroup to be removed from association with the Redis - // OSS serverless cache. Available for Redis OSS only. Default is NULL. + // Modifies the engine listed in a serverless cache request. The options are + // redis, memcached or valkey. + Engine *string + + // Modifies the engine vesion listed in a serverless cache request. + MajorEngineVersion *string + + // The identifier of the UserGroup to be removed from association with the Valkey + // and Redis OSS serverless cache. Available for Valkey and Redis OSS only. Default + // is NULL. RemoveUserGroup *bool // The new list of VPC security groups to be associated with the serverless cache. @@ -60,14 +68,14 @@ type ModifyServerlessCacheInput struct { SecurityGroupIds []string // The number of days for which Elasticache retains automatic snapshots before - // deleting them. Available for Redis OSS and Serverless Memcached only. Default = - // NULL, i.e. the existing snapshot-retention-limit will not be removed or - // modified. The maximum value allowed is 35 days. + // deleting them. Available for Valkey, Redis OSS and Serverless Memcached only. + // Default = NULL, i.e. the existing snapshot-retention-limit will not be removed + // or modified. The maximum value allowed is 35 days. SnapshotRetentionLimit *int32 // The identifier of the UserGroup to be associated with the serverless cache. - // Available for Redis OSS only. Default is NULL - the existing UserGroup is not - // removed. + // Available for Valkey and Redis OSS only. Default is NULL - the existing + // UserGroup is not removed. UserGroupId *string noSmithyDocumentSerde diff --git a/service/elasticache/api_op_ModifyUserGroup.go b/service/elasticache/api_op_ModifyUserGroup.go index cfa8830f97f..bc12ac9d94a 100644 --- a/service/elasticache/api_op_ModifyUserGroup.go +++ b/service/elasticache/api_op_ModifyUserGroup.go @@ -61,7 +61,7 @@ type ModifyUserGroupOutput struct { ReplicationGroups []string // Indicates which serverless caches the specified user group is associated with. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCaches []string // Indicates user group status. Can be "creating", "active", "modifying", diff --git a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go index 69cf779dcd0..720963d0f3c 100644 --- a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go +++ b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go @@ -12,10 +12,9 @@ import ( ) // Allows you to purchase a reserved cache node offering. Reserved nodes are not -// eligible for cancellation and are non-refundable. For more information, see [Managing Costs with Reserved Nodes]for -// Redis OSS or [Managing Costs with Reserved Nodes]for Memcached. +// eligible for cancellation and are non-refundable. For more information, see [Managing Costs with Reserved Nodes]. // -// [Managing Costs with Reserved Nodes]: https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/reserved-nodes.html +// [Managing Costs with Reserved Nodes]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/reserved-nodes.html func (c *Client) PurchaseReservedCacheNodesOffering(ctx context.Context, params *PurchaseReservedCacheNodesOfferingInput, optFns ...func(*Options)) (*PurchaseReservedCacheNodesOfferingOutput, error) { if params == nil { params = &PurchaseReservedCacheNodesOfferingInput{} diff --git a/service/elasticache/api_op_RebootCacheCluster.go b/service/elasticache/api_op_RebootCacheCluster.go index c7b61fc2354..7726f96a53d 100644 --- a/service/elasticache/api_op_RebootCacheCluster.go +++ b/service/elasticache/api_op_RebootCacheCluster.go @@ -21,13 +21,13 @@ import ( // // When the reboot is complete, a cluster event is created. // -// Rebooting a cluster is currently supported on Memcached and Redis OSS (cluster -// mode disabled) clusters. Rebooting is not supported on Redis OSS (cluster mode -// enabled) clusters. +// Rebooting a cluster is currently supported on Memcached, Valkey and Redis OSS +// (cluster mode disabled) clusters. Rebooting is not supported on Valkey or Redis +// OSS (cluster mode enabled) clusters. // -// If you make changes to parameters that require a Redis OSS (cluster mode -// enabled) cluster reboot for the changes to be applied, see [Rebooting a Cluster]for an alternate -// process. +// If you make changes to parameters that require a Valkey or Redis OSS (cluster +// mode enabled) cluster reboot for the changes to be applied, see [Rebooting a Cluster]for an +// alternate process. // // [Rebooting a Cluster]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes.rebooting.html func (c *Client) RebootCacheCluster(ctx context.Context, params *RebootCacheClusterInput, optFns ...func(*Options)) (*RebootCacheClusterOutput, error) { diff --git a/service/elasticache/api_op_StartMigration.go b/service/elasticache/api_op_StartMigration.go index cc8878afd6b..505a044ccdc 100644 --- a/service/elasticache/api_op_StartMigration.go +++ b/service/elasticache/api_op_StartMigration.go @@ -29,8 +29,8 @@ func (c *Client) StartMigration(ctx context.Context, params *StartMigrationInput type StartMigrationInput struct { - // List of endpoints from which data should be migrated. For Redis OSS (cluster - // mode disabled), list should have only one element. + // List of endpoints from which data should be migrated. For Valkey or Redis OSS + // (cluster mode disabled), the list should have only one element. // // This member is required. CustomerNodeEndpointList []types.CustomerNodeEndpoint @@ -45,7 +45,8 @@ type StartMigrationInput struct { type StartMigrationOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_TestFailover.go b/service/elasticache/api_op_TestFailover.go index 9bfab0c112e..fce2c23c291 100644 --- a/service/elasticache/api_op_TestFailover.go +++ b/service/elasticache/api_op_TestFailover.go @@ -31,8 +31,8 @@ import ( // replication groups in the API and CLI), the calls can be made concurrently. // // - If calling this operation multiple times on different shards in the same -// Redis OSS (cluster mode enabled) replication group, the first node replacement -// must complete before a subsequent call can be made. +// Valkey or Redis OSS (cluster mode enabled) replication group, the first node +// replacement must complete before a subsequent call can be made. // // - To determine whether the node replacement is complete you can check Events // using the Amazon ElastiCache console, the Amazon CLI, or the ElastiCache API. @@ -98,7 +98,8 @@ type TestFailoverInput struct { type TestFailoverOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/api_op_TestMigration.go b/service/elasticache/api_op_TestMigration.go index fb9cb5ba272..5f046ee3e95 100644 --- a/service/elasticache/api_op_TestMigration.go +++ b/service/elasticache/api_op_TestMigration.go @@ -45,7 +45,8 @@ type TestMigrationInput struct { type TestMigrationOutput struct { - // Contains all of the attributes of a specific Redis OSS replication group. + // Contains all of the attributes of a specific Valkey or Redis OSS replication + // group. ReplicationGroup *types.ReplicationGroup // Metadata pertaining to the operation's result. diff --git a/service/elasticache/deserializers.go b/service/elasticache/deserializers.go index 01a0ddb51c2..3c13242d0a5 100644 --- a/service/elasticache/deserializers.go +++ b/service/elasticache/deserializers.go @@ -21352,6 +21352,19 @@ func awsAwsquery_deserializeDocumentReplicationGroup(v **types.ReplicationGroup, sv.Description = ptr.String(xtv) } + case strings.EqualFold("Engine", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Engine = ptr.String(xtv) + } + case strings.EqualFold("GlobalReplicationGroupInfo", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsAwsquery_deserializeDocumentGlobalReplicationGroupInfo(&sv.GlobalReplicationGroupInfo, nodeDecoder); err != nil { diff --git a/service/elasticache/serializers.go b/service/elasticache/serializers.go index 3948189cd7e..3d15c1b742b 100644 --- a/service/elasticache/serializers.go +++ b/service/elasticache/serializers.go @@ -7923,6 +7923,11 @@ func awsAwsquery_serializeOpDocumentModifyCacheClusterInput(v *ModifyCacheCluste } } + if v.Engine != nil { + objectKey := object.Key("Engine") + objectKey.String(*v.Engine) + } + if v.EngineVersion != nil { objectKey := object.Key("EngineVersion") objectKey.String(*v.EngineVersion) @@ -8054,6 +8059,11 @@ func awsAwsquery_serializeOpDocumentModifyGlobalReplicationGroupInput(v *ModifyG objectKey.String(*v.CacheParameterGroupName) } + if v.Engine != nil { + objectKey := object.Key("Engine") + objectKey.String(*v.Engine) + } + if v.EngineVersion != nil { objectKey := object.Key("EngineVersion") objectKey.String(*v.EngineVersion) @@ -8123,6 +8133,11 @@ func awsAwsquery_serializeOpDocumentModifyReplicationGroupInput(v *ModifyReplica objectKey.String(string(v.ClusterMode)) } + if v.Engine != nil { + objectKey := object.Key("Engine") + objectKey.String(*v.Engine) + } + if v.EngineVersion != nil { objectKey := object.Key("EngineVersion") objectKey.String(*v.EngineVersion) @@ -8298,6 +8313,16 @@ func awsAwsquery_serializeOpDocumentModifyServerlessCacheInput(v *ModifyServerle objectKey.String(*v.Description) } + if v.Engine != nil { + objectKey := object.Key("Engine") + objectKey.String(*v.Engine) + } + + if v.MajorEngineVersion != nil { + objectKey := object.Key("MajorEngineVersion") + objectKey.String(*v.MajorEngineVersion) + } + if v.RemoveUserGroup != nil { objectKey := object.Key("RemoveUserGroup") objectKey.Boolean(*v.RemoveUserGroup) diff --git a/service/elasticache/types/errors.go b/service/elasticache/types/errors.go index 3c0f05a0a68..26d6cccf622 100644 --- a/service/elasticache/types/errors.go +++ b/service/elasticache/types/errors.go @@ -913,7 +913,7 @@ func (e *InvalidReplicationGroupStateFault) ErrorCode() string { func (e *InvalidReplicationGroupStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The state of the serverless cache snapshot was not received. Available for -// Redis OSS and Serverless Memcached only. +// Valkey, Redis OSS and Serverless Memcached only. type InvalidServerlessCacheSnapshotStateFault struct { Message *string @@ -1537,8 +1537,8 @@ func (e *ServerlessCacheQuotaForCustomerExceededFault) ErrorFault() smithy.Error return smithy.FaultClient } -// A serverless cache snapshot with this name already exists. Available for Redis -// OSS and Serverless Memcached only. +// A serverless cache snapshot with this name already exists. Available for +// Valkey, Redis OSS and Serverless Memcached only. type ServerlessCacheSnapshotAlreadyExistsFault struct { Message *string @@ -1567,7 +1567,7 @@ func (e *ServerlessCacheSnapshotAlreadyExistsFault) ErrorFault() smithy.ErrorFau } // This serverless cache snapshot could not be found or does not exist. Available -// for Redis OSS and Serverless Memcached only. +// for Valkey, Redis OSS and Serverless Memcached only. type ServerlessCacheSnapshotNotFoundFault struct { Message *string @@ -1596,7 +1596,7 @@ func (e *ServerlessCacheSnapshotNotFoundFault) ErrorFault() smithy.ErrorFault { } // The number of serverless cache snapshots exceeds the customer snapshot quota. -// Available for Redis OSS and Serverless Memcached only. +// Available for Valkey, Redis OSS and Serverless Memcached only. type ServerlessCacheSnapshotQuotaExceededFault struct { Message *string @@ -1704,11 +1704,11 @@ func (e *SnapshotAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smi // You attempted one of the following operations: // -// - Creating a snapshot of a Redis OSS cluster running on a cache.t1.micro cache -// node. +// - Creating a snapshot of a Valkey or Redis OSS cluster running on a +// cache.t1.micro cache node. // // - Creating a snapshot of a cluster that is running Memcached rather than -// Redis OSS. +// Valkey or Redis OSS. // // Neither of these are supported by ElastiCache. type SnapshotFeatureNotSupportedFault struct { diff --git a/service/elasticache/types/types.go b/service/elasticache/types/types.go index 40168d6f123..3fe3f410722 100644 --- a/service/elasticache/types/types.go +++ b/service/elasticache/types/types.go @@ -59,8 +59,8 @@ type CacheCluster struct { // Default: false AtRestEncryptionEnabled *bool - // A flag that enables using an AuthToken (password) when issuing Redis OSS - // commands. + // A flag that enables using an AuthToken (password) when issuing Valkey or Redis + // OSS commands. // // Default: false AuthTokenEnabled *bool @@ -68,9 +68,9 @@ type CacheCluster struct { // The date the auth token was last modified AuthTokenLastModifiedDate *time.Time - // If you are running Redis OSS engine version 6.0 or later, set this parameter - // to yes if you want to opt-in to the next auto minor version upgrade campaign. - // This parameter is disabled for previous versions. + // If you are running Valkey or Redis OSS engine version 6.0 or later, set this + // parameter to yes if you want to opt-in to the next auto minor version upgrade + // campaign. This parameter is disabled for previous versions. AutoMinorVersionUpgrade *bool // The date and time when the cluster was created. @@ -173,12 +173,14 @@ type CacheCluster struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string @@ -214,8 +216,9 @@ type CacheCluster struct { EngineVersion *string // The network type associated with the cluster, either ipv4 | ipv6 . IPv6 is - // supported for workloads using Redis OSS engine version 6.2 onward or Memcached - // engine version 1.6.6 on all instances built on the [Nitro system]. + // supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 + // and above or Memcached engine version 1.6.6 and above on all instances built on + // the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ IpDiscovery IpDiscovery @@ -224,8 +227,8 @@ type CacheCluster struct { LogDeliveryConfigurations []LogDeliveryConfiguration // Must be either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using - // Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all - // instances built on the [Nitro system]. + // Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine + // version 1.6.6 and above on all instances built on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ NetworkType NetworkType @@ -237,8 +240,8 @@ type CacheCluster struct { // The number of cache nodes in the cluster. // - // For clusters running Redis OSS, this value must be 1. For clusters running - // Memcached, this value must be between 1 and 40. + // For clusters running Valkey or Redis OSS, this value must be 1. For clusters + // running Memcached, this value must be between 1 and 40. NumCacheNodes *int32 // A group of settings that are applied to the cluster in the future, or that are @@ -341,7 +344,7 @@ type CacheEngineVersion struct { // Represents an individual cache node within a cluster. Each cache node runs its // own instance of the cluster's protocol-compliant caching software - either -// Memcached or Redis OSS. +// Memcached, Valkey or Redis OSS. // // The following node types are supported by ElastiCache. Generally speaking, the // current generation types provide more memory and computational power at lower @@ -441,12 +444,14 @@ type CacheEngineVersion struct { // // - All current generation instance types are created in Amazon VPC by default. // -// - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. +// - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 +// instances. // -// - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. +// - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 +// instances. // -// - Redis OSS configuration variables appendonly and appendfsync are not -// supported on Redis OSS version 2.8.22 and later. +// - The configuration variables appendonly and appendfsync are not supported on +// Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion type CacheNode struct { @@ -483,8 +488,8 @@ type CacheNode struct { } // A parameter that has a different value for each cache node type it is applied -// to. For example, in a Redis OSS cluster, a cache.m1.large cache node type would -// have a larger maxmemory value than a cache.m1.small type. +// to. For example, in a Valkey or Redis OSS cluster, a cache.m1.large cache node +// type would have a larger maxmemory value than a cache.m1.small type. type CacheNodeTypeSpecificParameter struct { // The valid range of values for the parameter. @@ -668,9 +673,9 @@ type CacheSubnetGroup struct { // A list of subnets associated with the cache subnet group. Subnets []Subnet - // Either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using Redis - // OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances - // built on the [Nitro system]. + // Either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using Valkey + // 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine + // version 1.6.6 and above on all instances built on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ SupportedNetworkTypes []NetworkType @@ -710,25 +715,27 @@ type ConfigureShard struct { // The number of replicas you want in this node group at the end of this // operation. The maximum value for NewReplicaCount is 5. The minimum value - // depends upon the type of Redis OSS replication group you are working with. + // depends upon the type of Valkey or Redis OSS replication group you are working + // with. // // The minimum number of replicas in a shard or replication group is: // - // - Redis OSS (cluster mode disabled) + // - Valkey or Redis OSS (cluster mode disabled) // // - If Multi-AZ: 1 // // - If Multi-AZ: 0 // - // - Redis OSS (cluster mode enabled): 0 (though you will not be able to - // failover to a replica if your primary node fails) + // - Valkey or Redis OSS (cluster mode enabled): 0 (though you will not be able + // to failover to a replica if your primary node fails) // // This member is required. NewReplicaCount *int32 - // The 4-digit id for the node group you are configuring. For Redis OSS (cluster - // mode disabled) replication groups, the node group id is always 0001. To find a - // Redis OSS (cluster mode enabled)'s node group's (shard's) id, see [Finding a Shard's Id]. + // The 4-digit id for the node group you are configuring. For Valkey or Redis OSS + // (cluster mode disabled) replication groups, the node group id is always 0001. To + // find a Valkey or Redis OSS (cluster mode enabled)'s node group's (shard's) id, + // see [Finding a Shard's Id]. // // [Finding a Shard's Id]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/shard-find-id.html // @@ -739,8 +746,7 @@ type ConfigureShard struct { // zones the replication group's nodes are to be in. The nummber of // PreferredAvailabilityZone values must equal the value of NewReplicaCount plus 1 // to account for the primary node. If this member of ReplicaConfiguration is - // omitted, ElastiCache (Redis OSS) selects the availability zone for each of the - // replicas. + // omitted, ElastiCache selects the availability zone for each of the replicas. PreferredAvailabilityZones []string // The outpost ARNs in which the cache cluster is created. @@ -929,8 +935,8 @@ type GlobalReplicationGroup struct { // using Redis OSS version 3.2.6 , 4.x or later. AtRestEncryptionEnabled *bool - // A flag that enables using an AuthToken (password) when issuing Redis OSS - // commands. + // A flag that enables using an AuthToken (password) when issuing Valkey or Redis + // OSS commands. // // Default: false AuthTokenEnabled *bool @@ -941,10 +947,10 @@ type GlobalReplicationGroup struct { // A flag that indicates whether the Global datastore is cluster enabled. ClusterEnabled *bool - // The Elasticache engine. For Redis OSS only. + // The ElastiCache engine. For Valkey or Redis OSS only. Engine *string - // The Elasticache (Redis OSS) engine version. + // The ElastiCache engine version. EngineVersion *string // Indicates the slot configuration and global identifier for each slice group. @@ -1073,11 +1079,11 @@ type LogDeliveryConfigurationRequest struct { // Replica nodes. type NodeGroup struct { - // The identifier for the node group (shard). A Redis OSS (cluster mode disabled) - // replication group contains only 1 node group; therefore, the node group ID is - // 0001. A Redis OSS (cluster mode enabled) replication group contains 1 to 90 node - // groups numbered 0001 to 0090. Optionally, the user can provide the id for a node - // group. + // The identifier for the node group (shard). A Valkey or Redis OSS (cluster mode + // disabled) replication group contains only 1 node group; therefore, the node + // group ID is 0001. A Valkey or Redis OSS (cluster mode enabled) replication group + // contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can + // provide the id for a node group. NodeGroupId *string // A list containing information about individual nodes within the node group @@ -1106,8 +1112,8 @@ type NodeGroup struct { // ReplicaCount . type NodeGroupConfiguration struct { - // Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id - // for the node group these configuration values apply to. + // Either the ElastiCache supplied 4-digit id or a user supplied id for the node + // group these configuration values apply to. NodeGroupId *string // The Availability Zone where the primary node of this node group (shard) is @@ -1148,8 +1154,8 @@ type NodeGroupMember struct { CacheNodeId *string // The role that is currently assigned to the node - primary or replica . This - // member is only applicable for Redis OSS (cluster mode disabled) replication - // groups. + // member is only applicable for Valkey or Redis OSS (cluster mode disabled) + // replication groups. CurrentRole *string // The name of the Availability Zone in which the node is located. @@ -1159,8 +1165,8 @@ type NodeGroupMember struct { PreferredOutpostArn *string // The information required for client programs to connect to a node for read - // operations. The read endpoint is only applicable on Redis OSS (cluster mode - // disabled) clusters. + // operations. The read endpoint is only applicable on Valkey or Redis OSS (cluster + // mode disabled) clusters. ReadEndpoint *Endpoint noSmithyDocumentSerde @@ -1349,8 +1355,8 @@ type PendingModifiedValues struct { // The new number of cache nodes for the cluster. // - // For clusters running Redis OSS, this value must be 1. For clusters running - // Memcached, this value must be between 1 and 40. + // For clusters running Valkey or Redis OSS, this value must be 1. For clusters + // running Memcached, this value must be between 1 and 40. NumCacheNodes *int32 // A flag that enables in-transit encryption when set to true. @@ -1375,7 +1381,7 @@ type ProcessedUpdateAction struct { // The unique ID of the service update ServiceUpdateName *string - // The status of the update action on the Redis OSS cluster + // The status of the update action on the Valkey or Redis OSS cluster UpdateActionStatus UpdateActionStatus noSmithyDocumentSerde @@ -1416,7 +1422,8 @@ type RegionalConfiguration struct { noSmithyDocumentSerde } -// Contains all of the attributes of a specific Redis OSS replication group. +// Contains all of the attributes of a specific Valkey or Redis OSS replication +// group. type ReplicationGroup struct { // The ARN (Amazon Resource Name) of the replication group. @@ -1434,8 +1441,8 @@ type ReplicationGroup struct { // Default: false AtRestEncryptionEnabled *bool - // A flag that enables using an AuthToken (password) when issuing Redis OSS - // commands. + // A flag that enables using an AuthToken (password) when issuing Valkey or Redis + // OSS commands. // // Default: false AuthTokenEnabled *bool @@ -1443,12 +1450,13 @@ type ReplicationGroup struct { // The date the auth token was last modified AuthTokenLastModifiedDate *time.Time - // If you are running Redis OSS engine version 6.0 or later, set this parameter to - // yes if you want to opt-in to the next auto minor version upgrade campaign. This - // parameter is disabled for previous versions. + // If you are running Valkey 7.2 and above, or Redis OSS engine version 6.0 and + // above, set this parameter to yes if you want to opt-in to the next auto minor + // version upgrade campaign. This parameter is disabled for previous versions. AutoMinorVersionUpgrade *bool - // Indicates the status of automatic failover for this Redis OSS replication group. + // Indicates the status of automatic failover for this Valkey or Redis OSS + // replication group. AutomaticFailover AutomaticFailoverStatus // The name of the compute and memory capacity node type for each node in the @@ -1463,10 +1471,11 @@ type ReplicationGroup struct { ClusterEnabled *bool // Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must - // first set the cluster mode to Compatible. Compatible mode allows your Redis OSS - // clients to connect using both cluster mode enabled and cluster mode disabled. - // After you migrate all Redis OSS clients to use cluster mode enabled, you can - // then complete cluster mode configuration and set the cluster mode to Enabled. + // first set the cluster mode to Compatible. Compatible mode allows your Valkey or + // Redis OSS clients to connect using both cluster mode enabled and cluster mode + // disabled. After you migrate all Valkey or Redis OSS clients to use cluster mode + // enabled, you can then complete cluster mode configuration and set the cluster + // mode to Enabled. ClusterMode ClusterMode // The configuration endpoint for this replication group. Use the configuration @@ -1483,13 +1492,18 @@ type ReplicationGroup struct { // The user supplied description of the replication group. Description *string + // The engine used in a replication group. The options are redis, memcached or + // valkey. + Engine *string + // The name of the Global datastore and role of this replication group in the // Global datastore. GlobalReplicationGroupInfo *GlobalReplicationGroupInfo // The network type you choose when modifying a cluster, either ipv4 | ipv6 . IPv6 - // is supported for workloads using Redis OSS engine version 6.2 onward or - // Memcached engine version 1.6.6 on all instances built on the [Nitro system]. + // is supported for workloads using Valkey 7.2 and above, Redis OSS engine version + // 6.2 and above or Memcached engine version 1.6.6 and above on all instances built + // on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ IpDiscovery IpDiscovery @@ -1513,16 +1527,16 @@ type ReplicationGroup struct { MultiAZ MultiAZStatus // Must be either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using - // Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all - // instances built on the [Nitro system]. + // Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine + // version 1.6.6 and above on all instances built on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ NetworkType NetworkType - // A list of node groups in this replication group. For Redis OSS (cluster mode - // disabled) replication groups, this is a single-element list. For Redis OSS - // (cluster mode enabled) replication groups, the list contains an entry for each - // node group (shard). + // A list of node groups in this replication group. For Valkey or Redis OSS + // (cluster mode disabled) replication groups, this is a single-element list. For + // Valkey or Redis OSS (cluster mode enabled) replication groups, the list contains + // an entry for each node group (shard). NodeGroups []NodeGroup // A group of settings to be applied to the replication group, either immediately @@ -1580,21 +1594,23 @@ type ReplicationGroup struct { noSmithyDocumentSerde } -// The settings to be applied to the Redis OSS replication group, either +// The settings to be applied to the Valkey or Redis OSS replication group, either // immediately or during the next maintenance window. type ReplicationGroupPendingModifiedValues struct { // The auth token status AuthTokenStatus AuthTokenUpdateStatus - // Indicates the status of automatic failover for this Redis OSS replication group. + // Indicates the status of automatic failover for this Valkey or Redis OSS + // replication group. AutomaticFailoverStatus PendingAutomaticFailoverStatus // Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must - // first set the cluster mode to Compatible. Compatible mode allows your Redis OSS - // clients to connect using both cluster mode enabled and cluster mode disabled. - // After you migrate all Redis OSS clients to use cluster mode enabled, you can - // then complete cluster mode configuration and set the cluster mode to Enabled. + // first set the cluster mode to Compatible. Compatible mode allows your Valkey or + // Redis OSS clients to connect using both cluster mode enabled and cluster mode + // disabled. After you migrate all Valkey or Redis OSS clients to use cluster mode + // enabled, you can then complete cluster mode configuration and set the cluster + // mode to Enabled. ClusterMode ClusterMode // The log delivery configurations being modified @@ -1714,12 +1730,14 @@ type ReservedCacheNode struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string @@ -1854,12 +1872,14 @@ type ReservedCacheNodesOffering struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string @@ -1892,8 +1912,8 @@ type ReservedCacheNodesOffering struct { // of a node group in the resharded cluster. type ReshardingConfiguration struct { - // Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id - // for the node group these configuration values apply to. + // Either the ElastiCache supplied 4-digit id or a user supplied id for the node + // group these configuration values apply to. NodeGroupId *string // A list of preferred availability zones for the nodes in this cluster. @@ -1939,7 +1959,7 @@ type ServerlessCache struct { // The daily time that a cache snapshot will be created. Default is NULL, i.e. // snapshots will not be created at a specific time on a daily basis. Available for - // Redis OSS and Serverless Memcached only. + // Valkey, Redis OSS and Serverless Memcached only. DailySnapshotTime *string // A description of the serverless cache. @@ -1974,7 +1994,7 @@ type ServerlessCache struct { ServerlessCacheName *string // The current setting for the number of serverless cache snapshots the system - // will retain. Available for Redis OSS and Serverless Memcached only. + // will retain. Available for Valkey, Redis OSS and Serverless Memcached only. SnapshotRetentionLimit *int32 // The current status of the serverless cache. The allowed values are CREATING, @@ -1988,7 +2008,7 @@ type ServerlessCache struct { SubnetIds []string // The identifier of the user group associated with the serverless cache. - // Available for Redis OSS only. Default is NULL. + // Available for Valkey and Redis OSS only. Default is NULL. UserGroupId *string noSmithyDocumentSerde @@ -2009,64 +2029,64 @@ type ServerlessCacheConfiguration struct { noSmithyDocumentSerde } -// The resource representing a serverless cache snapshot. Available for Redis OSS -// and Serverless Memcached only. +// The resource representing a serverless cache snapshot. Available for Valkey, +// Redis OSS and Serverless Memcached only. type ServerlessCacheSnapshot struct { // The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for - // Redis OSS and Serverless Memcached only. + // Valkey, Redis OSS and Serverless Memcached only. ARN *string - // The total size of a serverless cache snapshot, in bytes. Available for Redis - // OSS and Serverless Memcached only. + // The total size of a serverless cache snapshot, in bytes. Available for Valkey, + // Redis OSS and Serverless Memcached only. BytesUsedForCache *string // The date and time that the source serverless cache's metadata and cache data - // set was obtained for the snapshot. Available for Redis OSS and Serverless - // Memcached only. + // set was obtained for the snapshot. Available for Valkey, Redis OSS and + // Serverless Memcached only. CreateTime *time.Time - // The time that the serverless cache snapshot will expire. Available for Redis - // OSS and Serverless Memcached only. + // The time that the serverless cache snapshot will expire. Available for Valkey, + // Redis OSS and Serverless Memcached only. ExpiryTime *time.Time // The ID of the Amazon Web Services Key Management Service (KMS) key of a - // serverless cache snapshot. Available for Redis OSS and Serverless Memcached - // only. + // serverless cache snapshot. Available for Valkey, Redis OSS and Serverless + // Memcached only. KmsKeyId *string // The configuration of the serverless cache, at the time the snapshot was taken. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCacheConfiguration *ServerlessCacheConfiguration - // The identifier of a serverless cache snapshot. Available for Redis OSS and - // Serverless Memcached only. + // The identifier of a serverless cache snapshot. Available for Valkey, Redis OSS + // and Serverless Memcached only. ServerlessCacheSnapshotName *string - // The type of snapshot of serverless cache. Available for Redis OSS and + // The type of snapshot of serverless cache. Available for Valkey, Redis OSS and // Serverless Memcached only. SnapshotType *string - // The current status of the serverless cache. Available for Redis OSS and + // The current status of the serverless cache. Available for Valkey, Redis OSS and // Serverless Memcached only. Status *string noSmithyDocumentSerde } -// An update that you can apply to your Redis OSS clusters. +// An update that you can apply to your Valkey or Redis OSS clusters. type ServiceUpdate struct { // Indicates whether the service update will be automatically applied once the // recommended apply-by date has expired. AutoUpdateAfterRecommendedApplyByDate *bool - // The Elasticache engine to which the update applies. Either Redis OSS or + // The Elasticache engine to which the update applies. Either Valkey, Redis OSS or // Memcached. Engine *string - // The Elasticache engine version to which the update applies. Either Redis OSS or - // Memcached engine version. + // The Elasticache engine version to which the update applies. Either Valkey, + // Redis OSS or Memcached engine version. EngineVersion *string // The estimated length of time the service update will take @@ -2111,20 +2131,20 @@ type SlotMigration struct { noSmithyDocumentSerde } -// Represents a copy of an entire Redis OSS cluster as of the time when the -// snapshot was taken. +// Represents a copy of an entire Valkey or Redis OSS cluster as of the time when +// the snapshot was taken. type Snapshot struct { // The ARN (Amazon Resource Name) of the snapshot. ARN *string - // If you are running Redis OSS engine version 6.0 or later, set this parameter - // to yes if you want to opt-in to the next auto minor version upgrade campaign. - // This parameter is disabled for previous versions. + // If you are running Valkey 7.2 and above or Redis OSS engine version 6.0 and + // above, set this parameter to yes if you want to opt-in to the next auto minor + // version upgrade campaign. This parameter is disabled for previous versions. AutoMinorVersionUpgrade *bool - // Indicates the status of automatic failover for the source Redis OSS replication - // group. + // Indicates the status of automatic failover for the source Valkey or Redis OSS + // replication group. AutomaticFailover AutomaticFailoverStatus // The date and time when the source cluster was created. @@ -2221,12 +2241,14 @@ type Snapshot struct { // // - All current generation instance types are created in Amazon VPC by default. // - // - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. + // - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 + // instances. // - // - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. + // - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 + // instances. // - // - Redis OSS configuration variables appendonly and appendfsync are not - // supported on Redis OSS version 2.8.22 and later. + // - The configuration variables appendonly and appendfsync are not supported on + // Valkey, or on Redis OSS version 2.8.22 and later. // // [Supported Node Types]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion CacheNodeType *string @@ -2258,8 +2280,8 @@ type Snapshot struct { // The number of cache nodes in the source cluster. // - // For clusters running Redis OSS, this value must be 1. For clusters running - // Memcached, this value must be between 1 and 40. + // For clusters running Valkey or Redis OSS, this value must be 1. For clusters + // running Memcached, this value must be between 1 and 40. NumCacheNodes *int32 // The number of node groups (shards) in this snapshot. When restoring from a @@ -2358,9 +2380,9 @@ type Subnet struct { // The outpost ARN of the subnet. SubnetOutpost *SubnetOutpost - // Either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using Redis - // OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances - // built on the [Nitro system]. + // Either ipv4 | ipv6 | dual_stack . IPv6 is supported for workloads using Valkey + // 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine + // version 1.6.6 and above on all instances built on the [Nitro system]. // // [Nitro system]: http://aws.amazon.com/ec2/nitro/ SupportedNetworkTypes []NetworkType @@ -2437,7 +2459,7 @@ type UpdateAction struct { // The status of the service update on the cache node CacheNodeUpdateStatus []CacheNodeUpdateStatus - // The Elasticache engine to which the update applies. Either Redis OSS or + // The Elasticache engine to which the update applies. Either Valkey, Redis OSS or // Memcached. Engine *string @@ -2542,7 +2564,7 @@ type UserGroup struct { ReplicationGroups []string // Indicates which serverless caches the specified user group is associated with. - // Available for Redis OSS and Serverless Memcached only. + // Available for Valkey, Redis OSS and Serverless Memcached only. ServerlessCaches []string // Indicates user group status. Can be "creating", "active", "modifying", diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index cd3c276a8a5..251febfb7af 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -139,8 +139,6 @@ replace github.com/aws/aws-sdk-go-v2/service/appstream => ../../../service/appst replace github.com/aws/aws-sdk-go-v2/service/athena => ../../../service/athena/ -replace github.com/aws/aws-sdk-go-v2/service/autoscaling => ../../../service/autoscaling/ - replace github.com/aws/aws-sdk-go-v2/service/batch => ../../../service/batch/ replace github.com/aws/aws-sdk-go-v2/service/cloudformation => ../../../service/cloudformation/ diff --git a/service/memorydb/api_op_CreateCluster.go b/service/memorydb/api_op_CreateCluster.go index 0aa4bc638f2..7bf69fbfcb8 100644 --- a/service/memorydb/api_op_CreateCluster.go +++ b/service/memorydb/api_op_CreateCluster.go @@ -60,7 +60,11 @@ type CreateClusterInput struct { // An optional description of the cluster. Description *string - // 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. + Engine *string + + // The version number of the engine to be used for the cluster. EngineVersion *string // The ID of the KMS key used to encrypt the cluster. diff --git a/service/memorydb/api_op_DeleteCluster.go b/service/memorydb/api_op_DeleteCluster.go index 8c832825049..921bccb9593 100644 --- a/service/memorydb/api_op_DeleteCluster.go +++ b/service/memorydb/api_op_DeleteCluster.go @@ -12,9 +12,6 @@ import ( ) // 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. func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error) { if params == nil { params = &DeleteClusterInput{} diff --git a/service/memorydb/api_op_DescribeEngineVersions.go b/service/memorydb/api_op_DescribeEngineVersions.go index 7dd6e456d91..ab72b3fb333 100644 --- a/service/memorydb/api_op_DescribeEngineVersions.go +++ b/service/memorydb/api_op_DescribeEngineVersions.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns a list of the available Redis OSS engine versions. +// Returns a list of the available engine versions. func (c *Client) DescribeEngineVersions(ctx context.Context, params *DescribeEngineVersionsInput, optFns ...func(*Options)) (*DescribeEngineVersionsOutput, error) { if params == nil { params = &DescribeEngineVersionsInput{} @@ -33,7 +33,10 @@ type DescribeEngineVersionsInput struct { // engine and major version combination is to be returned. DefaultOnly bool - // The Redis OSS engine version + // The engine version to return. Valid values are either valkey or redis. + Engine *string + + // The engine version. EngineVersion *string // The maximum number of records to include in the response. If more records exist diff --git a/service/memorydb/api_op_UpdateCluster.go b/service/memorydb/api_op_UpdateCluster.go index faafb692b58..f4b63963466 100644 --- a/service/memorydb/api_op_UpdateCluster.go +++ b/service/memorydb/api_op_UpdateCluster.go @@ -42,6 +42,10 @@ type UpdateClusterInput struct { // The description of the cluster to update Description *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. + 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 diff --git a/service/memorydb/deserializers.go b/service/memorydb/deserializers.go index 8b27296a6e3..dee6ee0392f 100644 --- a/service/memorydb/deserializers.go +++ b/service/memorydb/deserializers.go @@ -7237,6 +7237,15 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ sv.Description = ptr.String(jtv) } + case "Engine": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Engine = ptr.String(jtv) + } + case "EnginePatchVersion": if value != nil { jtv, ok := value.(string) @@ -7484,6 +7493,15 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi sv.Description = ptr.String(jtv) } + case "Engine": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Engine = ptr.String(jtv) + } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -7933,6 +7951,15 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn for key, value := range shape { switch key { + case "Engine": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Engine = ptr.String(jtv) + } + case "EnginePatchVersion": if value != nil { jtv, ok := value.(string) @@ -10190,6 +10217,15 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu sv.Description = ptr.String(jtv) } + case "Engine": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Engine = ptr.String(jtv) + } + case "NodesUpdated": if value != nil { jtv, ok := value.(string) diff --git a/service/memorydb/doc.go b/service/memorydb/doc.go index 03957de7196..9bd05179b5c 100644 --- a/service/memorydb/doc.go +++ b/service/memorydb/doc.go @@ -3,12 +3,12 @@ // Package memorydb provides the API client, operations, and parameter types for // Amazon 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. +// 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. package memorydb diff --git a/service/memorydb/serializers.go b/service/memorydb/serializers.go index c724a0de066..49814804ba9 100644 --- a/service/memorydb/serializers.go +++ b/service/memorydb/serializers.go @@ -2701,6 +2701,11 @@ func awsAwsjson11_serializeOpDocumentCreateClusterInput(v *CreateClusterInput, v ok.String(*v.Description) } + if v.Engine != nil { + ok := object.Key("Engine") + ok.String(*v.Engine) + } + if v.EngineVersion != nil { ok := object.Key("EngineVersion") ok.String(*v.EngineVersion) @@ -3050,6 +3055,11 @@ func awsAwsjson11_serializeOpDocumentDescribeEngineVersionsInput(v *DescribeEngi ok.Boolean(v.DefaultOnly) } + if v.Engine != nil { + ok := object.Key("Engine") + ok.String(*v.Engine) + } + if v.EngineVersion != nil { ok := object.Key("EngineVersion") ok.String(*v.EngineVersion) @@ -3539,6 +3549,11 @@ func awsAwsjson11_serializeOpDocumentUpdateClusterInput(v *UpdateClusterInput, v ok.String(*v.Description) } + if v.Engine != nil { + ok := object.Key("Engine") + ok.String(*v.Engine) + } + if v.EngineVersion != nil { ok := object.Key("EngineVersion") ok.String(*v.EngineVersion) diff --git a/service/memorydb/types/types.go b/service/memorydb/types/types.go index 0992079498f..efeea7a0a2f 100644 --- a/service/memorydb/types/types.go +++ b/service/memorydb/types/types.go @@ -125,10 +125,13 @@ type Cluster struct { // A description of the cluster Description *string - // The Redis OSS engine patch version used by the cluster + // The Redis OSS or Valkey engine used by the cluster. + Engine *string + + // The engine patch version used by the cluster EnginePatchVersion *string - // The Redis OSS engine version used by the cluster + // The Redis engine version used by the cluster EngineVersion *string // The ID of the KMS key used to encrypt the cluster @@ -203,7 +206,10 @@ type ClusterConfiguration struct { // The description of the cluster configuration Description *string - // The Redis OSS engine version used by the cluster + // The configuration for the Redis OSS or Valkey engine used by the cluster. + Engine *string + + // The engine version used by the cluster EngineVersion *string // The specified maintenance window for the cluster @@ -273,9 +279,12 @@ type Endpoint struct { noSmithyDocumentSerde } -// Provides details of the Redis OSS engine version +// Provides details of the engine version. type EngineVersionInfo struct { + // The version of the Redis OSS or Valkey engine used by the cluster. + Engine *string + // The patched engine version EnginePatchVersion *string @@ -541,6 +550,10 @@ type ServiceUpdate struct { // Provides details of the service update Description *string + // The MemoryDB engine to which the update applies. The values are either Redis or + // Valkey. + Engine *string + // A list of nodes updated by the service update NodesUpdated *string diff --git a/service/vpclattice/internal/endpoints/endpoints.go b/service/vpclattice/internal/endpoints/endpoints.go index 83cb86bb1d3..4a2bf45d300 100644 --- a/service/vpclattice/internal/endpoints/endpoints.go +++ b/service/vpclattice/internal/endpoints/endpoints.go @@ -151,6 +151,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-northeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{},