Skip to content

Commit

Permalink
Update generated code (#1777)
Browse files Browse the repository at this point in the history
update generated code
  • Loading branch information
async-aws-bot authored Oct 9, 2024
1 parent ddad0a0 commit e610c88
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
3 changes: 2 additions & 1 deletion src/Input/DescribeCacheClustersMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ final class DescribeCacheClustersMessage extends Input

/**
* 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.
* that are not members of a replication group. In practice, this means Memcached and single node Valkey or Redis OSS
* clusters.
*
* @var bool|null
*/
Expand Down
28 changes: 15 additions & 13 deletions src/ValueObject/CacheCluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ final class CacheCluster
* **Additional node type info**
*
* - 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.
* - 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.
* - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 instances.
* - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 instances.
* - The configuration variables `appendonly` and `appendfsync` are not supported on Valkey, or on Redis OSS version
* 2.8.22 and later.
*
* [^1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion
* [^2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion
Expand Down Expand Up @@ -148,8 +148,8 @@ final class CacheCluster
/**
* 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.
*
* @var int|null
*/
Expand Down Expand Up @@ -239,8 +239,8 @@ final class CacheCluster
private $cacheNodes;

/**
*  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. .
*
* @var bool|null
*/
Expand Down Expand Up @@ -281,7 +281,7 @@ final class CacheCluster
private $snapshotWindow;

/**
* 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`
*
Expand Down Expand Up @@ -345,8 +345,9 @@ final class CacheCluster
private $logDeliveryConfigurations;

/**
* 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 [^1].
* Must be 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
* [^1].
*
* [^1]: http://aws.amazon.com/ec2/nitro/
*
Expand All @@ -355,8 +356,9 @@ final class CacheCluster
private $networkType;

/**
* 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 [^1].
* The network type associated with the cluster, either `ipv4` | `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 [^1].
*
* [^1]: http://aws.amazon.com/ec2/nitro/
*
Expand Down
10 changes: 5 additions & 5 deletions src/ValueObject/CacheNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* 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.
* protocol-compliant caching software - either 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 cost when compared to their equivalent previous generation counterparts.
Expand Down Expand Up @@ -79,10 +79,10 @@
* **Additional node type info**
*
* - 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.
* - 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.
* - Valkey or Redis OSS append-only files (AOF) are not supported for T1 or T2 instances.
* - Valkey or Redis OSS Multi-AZ with automatic failover is not supported on T1 instances.
* - The configuration variables `appendonly` and `appendfsync` are not supported on Valkey, or on Redis OSS version
* 2.8.22 and later.
*
* [^1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion
* [^2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion
Expand Down
4 changes: 2 additions & 2 deletions src/ValueObject/PendingModifiedValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ final class PendingModifiedValues
/**
* 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.
*
* @var int|null
*/
Expand Down

0 comments on commit e610c88

Please sign in to comment.