Skip to content

Commit

Permalink
AWS ElastiCache SDK now supports using APIs with newly launched Valke…
Browse files Browse the repository at this point in the history
…y engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage.

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.
  • Loading branch information
aws-sdk-cpp-automation committed Oct 8, 2024
1 parent cca7d92 commit 7c44fbe
Show file tree
Hide file tree
Showing 82 changed files with 1,064 additions and 651 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.421
1.11.422

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ namespace Model
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Additional
* node type info</b> </p> <ul> <li> <p>All current generation instance types are
* created in Amazon VPC by default.</p> </li> <li> <p>Redis OSS append-only files
* (AOF) are not supported for T1 or T2 instances.</p> </li> <li> <p>Redis OSS
* Multi-AZ with automatic failover is not supported on T1 instances.</p> </li>
* <li> <p>Redis OSS configuration variables <code>appendonly</code> and
* <code>appendfsync</code> are not supported on Redis OSS version 2.8.22 and
* later.</p> </li> </ul>
* created in Amazon VPC by default.</p> </li> <li> <p>Valkey or Redis OSS
* append-only files (AOF) are not supported for T1 or T2 instances.</p> </li> <li>
* <p>Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1
* instances.</p> </li> <li> <p>The configuration variables <code>appendonly</code>
* and <code>appendfsync</code> are not supported on Valkey, or on Redis OSS
* version 2.8.22 and later.</p> </li> </ul>
*/
inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
Expand Down Expand Up @@ -233,9 +233,9 @@ namespace Model

///@{
/**
* <p>The number of cache nodes in the cluster.</p> <p>For clusters running Redis
* OSS, this value must be 1. For clusters running Memcached, this value must be
* between 1 and 40.</p>
* <p>The number of cache nodes in the cluster.</p> <p>For clusters running Valkey
* or Redis OSS, this value must be 1. For clusters running Memcached, this value
* must be between 1 and 40.</p>
*/
inline int GetNumCacheNodes() const{ return m_numCacheNodes; }
inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
Expand Down Expand Up @@ -386,9 +386,9 @@ namespace Model

///@{
/**
* <p> 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.  </p>
* <p> 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.  </p>
*/
inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
Expand Down Expand Up @@ -458,7 +458,7 @@ namespace Model
///@{
/**
* <p>A flag that enables using an <code>AuthToken</code> (password) when issuing
* Redis OSS commands.</p> <p>Default: <code>false</code> </p>
* Valkey or Redis OSS commands.</p> <p>Default: <code>false</code> </p>
*/
inline bool GetAuthTokenEnabled() const{ return m_authTokenEnabled; }
inline bool AuthTokenEnabledHasBeenSet() const { return m_authTokenEnabledHasBeenSet; }
Expand Down Expand Up @@ -549,9 +549,10 @@ namespace Model
///@{
/**
* <p>Must be either <code>ipv4</code> | <code>ipv6</code> |
* <code>dual_stack</code>. 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 <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
* <code>dual_stack</code>. 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 <a
* href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
*/
inline const NetworkType& GetNetworkType() const{ return m_networkType; }
inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
Expand All @@ -564,9 +565,10 @@ namespace Model
///@{
/**
* <p>The network type associated with the cluster, either <code>ipv4</code> |
* <code>ipv6</code>. 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 <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
* <code>ipv6</code>. 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 <a
* href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
*/
inline const IpDiscovery& GetIpDiscovery() const{ return m_ipDiscovery; }
inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Model
/**
* <p>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.</p> <p>The following node types are supported by
* Memcached, Valkey or Redis OSS.</p> <p>The following node types are supported by
* ElastiCache. Generally speaking, the current generation types provide more
* memory and computational power at lower cost when compared to their equivalent
* previous generation counterparts.</p> <ul> <li> <p>General purpose:</p> <ul>
Expand Down Expand Up @@ -94,12 +94,12 @@ namespace Model
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Additional
* node type info</b> </p> <ul> <li> <p>All current generation instance types are
* created in Amazon VPC by default.</p> </li> <li> <p>Redis OSS append-only files
* (AOF) are not supported for T1 or T2 instances.</p> </li> <li> <p>Redis OSS
* Multi-AZ with automatic failover is not supported on T1 instances.</p> </li>
* <li> <p>Redis OSS configuration variables <code>appendonly</code> and
* <code>appendfsync</code> are not supported on Redis OSS version 2.8.22 and
* later.</p> </li> </ul><p><h3>See Also:</h3> <a
* created in Amazon VPC by default.</p> </li> <li> <p>Valkey or Redis OSS
* append-only files (AOF) are not supported for T1 or T2 instances.</p> </li> <li>
* <p>Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1
* instances.</p> </li> <li> <p>The configuration variables <code>appendonly</code>
* and <code>appendfsync</code> are not supported on Valkey, or on Redis OSS
* version 2.8.22 and later.</p> </li> </ul><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNode">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ namespace Model

/**
* <p>A parameter that has a different value for each cache node type it is applied
* to. For example, in a Redis OSS cluster, a <code>cache.m1.large</code> cache
* node type would have a larger <code>maxmemory</code> value than a
* to. For example, in a Valkey or Redis OSS cluster, a <code>cache.m1.large</code>
* cache node type would have a larger <code>maxmemory</code> value than a
* <code>cache.m1.small</code> type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNodeTypeSpecificParameter">AWS
* API Reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ namespace Model
///@{
/**
* <p>Either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>. 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 <a
* href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
* 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 <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
*/
inline const Aws::Vector<NetworkType>& GetSupportedNetworkTypes() const{ return m_supportedNetworkTypes; }
inline bool SupportedNetworkTypesHasBeenSet() const { return m_supportedNetworkTypesHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ namespace Model

///@{
/**
* <p>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 <a
* <p>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 <a
* href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/shard-find-id.html">Finding
* a Shard's Id</a>.</p>
*/
Expand All @@ -64,12 +65,12 @@ namespace Model
/**
* <p>The number of replicas you want in this node group at the end of this
* operation. The maximum value for <code>NewReplicaCount</code> is 5. The minimum
* value depends upon the type of Redis OSS replication group you are working
* with.</p> <p>The minimum number of replicas in a shard or replication group
* is:</p> <ul> <li> <p>Redis OSS (cluster mode disabled)</p> <ul> <li> <p>If
* Multi-AZ: 1</p> </li> <li> <p>If Multi-AZ: 0</p> </li> </ul> </li> <li> <p>Redis
* OSS (cluster mode enabled): 0 (though you will not be able to failover to a
* replica if your primary node fails)</p> </li> </ul>
* value depends upon the type of Valkey or Redis OSS replication group you are
* working with.</p> <p>The minimum number of replicas in a shard or replication
* group is:</p> <ul> <li> <p>Valkey or Redis OSS (cluster mode disabled)</p> <ul>
* <li> <p>If Multi-AZ: 1</p> </li> <li> <p>If Multi-AZ: 0</p> </li> </ul> </li>
* <li> <p>Valkey or Redis OSS (cluster mode enabled): 0 (though you will not be
* able to failover to a replica if your primary node fails)</p> </li> </ul>
*/
inline int GetNewReplicaCount() const{ return m_newReplicaCount; }
inline bool NewReplicaCountHasBeenSet() const { return m_newReplicaCountHasBeenSet; }
Expand All @@ -83,8 +84,8 @@ namespace Model
* availability zones the replication group's nodes are to be in. The nummber of
* <code>PreferredAvailabilityZone</code> values must equal the value of
* <code>NewReplicaCount</code> plus 1 to account for the primary node. If this
* member of <code>ReplicaConfiguration</code> is omitted, ElastiCache (Redis OSS)
* selects the availability zone for each of the replicas.</p>
* member of <code>ReplicaConfiguration</code> is omitted, ElastiCache selects the
* availability zone for each of the replicas.</p>
*/
inline const Aws::Vector<Aws::String>& GetPreferredAvailabilityZones() const{ return m_preferredAvailabilityZones; }
inline bool PreferredAvailabilityZonesHasBeenSet() const { return m_preferredAvailabilityZonesHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Model
///@{
/**
* <p>The identifier of the existing serverless cache’s snapshot to be copied.
* Available for Redis OSS and Serverless Memcached only.</p>
* Available for Valkey, Redis OSS and Serverless Memcached only.</p>
*/
inline const Aws::String& GetSourceServerlessCacheSnapshotName() const{ return m_sourceServerlessCacheSnapshotName; }
inline bool SourceServerlessCacheSnapshotNameHasBeenSet() const { return m_sourceServerlessCacheSnapshotNameHasBeenSet; }
Expand All @@ -55,8 +55,8 @@ namespace Model

///@{
/**
* <p>The identifier for the snapshot to be created. Available for Redis OSS and
* Serverless Memcached only.</p>
* <p>The identifier for the snapshot to be created. Available for Valkey, Redis
* OSS and Serverless Memcached only.</p>
*/
inline const Aws::String& GetTargetServerlessCacheSnapshotName() const{ return m_targetServerlessCacheSnapshotName; }
inline bool TargetServerlessCacheSnapshotNameHasBeenSet() const { return m_targetServerlessCacheSnapshotNameHasBeenSet; }
Expand All @@ -71,7 +71,7 @@ namespace Model
///@{
/**
* <p>The identifier of the KMS key used to encrypt the target snapshot. Available
* for Redis OSS and Serverless Memcached only.</p>
* for Valkey, Redis OSS and Serverless Memcached only.</p>
*/
inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
Expand All @@ -86,8 +86,8 @@ namespace Model
///@{
/**
* <p>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</p>
* key-value pair. Available for Valkey, Redis OSS and Serverless Memcached only.
* Default: NULL</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Model
///@{
/**
* <p>The response for the attempt to copy the serverless cache snapshot. Available
* for Redis OSS and Serverless Memcached only.</p>
* for Valkey, Redis OSS and Serverless Memcached only.</p>
*/
inline const ServerlessCacheSnapshot& GetServerlessCacheSnapshot() const{ return m_serverlessCacheSnapshot; }
inline void SetServerlessCacheSnapshot(const ServerlessCacheSnapshot& value) { m_serverlessCacheSnapshot = value; }
Expand Down
Loading

0 comments on commit 7c44fbe

Please sign in to comment.