diff --git a/clients/client-elasticache/src/commands/CompleteMigrationCommand.ts b/clients/client-elasticache/src/commands/CompleteMigrationCommand.ts
index 737ab8ff4f9d..e1ed7cf96196 100644
--- a/clients/client-elasticache/src/commands/CompleteMigrationCommand.ts
+++ b/clients/client-elasticache/src/commands/CompleteMigrationCommand.ts
@@ -88,6 +88,7 @@ export interface CompleteMigrationCommandOutput extends CompleteMigrationRespons
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -163,6 +164,7 @@ export interface CompleteMigrationCommandOutput extends CompleteMigrationRespons
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/CreateReplicationGroupCommand.ts b/clients/client-elasticache/src/commands/CreateReplicationGroupCommand.ts
index 96deda7be80e..82f4f9c6132a 100644
--- a/clients/client-elasticache/src/commands/CreateReplicationGroupCommand.ts
+++ b/clients/client-elasticache/src/commands/CreateReplicationGroupCommand.ts
@@ -145,6 +145,7 @@ export interface CreateReplicationGroupCommandOutput extends CreateReplicationGr
* NetworkType: "ipv4" || "ipv6" || "dual_stack",
* IpDiscovery: "ipv4" || "ipv6",
* TransitEncryptionMode: "preferred" || "required",
+ * ClusterMode: "enabled" || "disabled" || "compatible",
* };
* const command = new CreateReplicationGroupCommand(input);
* const response = await client.send(command);
@@ -191,6 +192,7 @@ export interface CreateReplicationGroupCommandOutput extends CreateReplicationGr
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -266,6 +268,7 @@ export interface CreateReplicationGroupCommandOutput extends CreateReplicationGr
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/DecreaseReplicaCountCommand.ts b/clients/client-elasticache/src/commands/DecreaseReplicaCountCommand.ts
index f505b472bd0e..c053e445ed0b 100644
--- a/clients/client-elasticache/src/commands/DecreaseReplicaCountCommand.ts
+++ b/clients/client-elasticache/src/commands/DecreaseReplicaCountCommand.ts
@@ -106,6 +106,7 @@ export interface DecreaseReplicaCountCommandOutput extends DecreaseReplicaCountR
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -181,6 +182,7 @@ export interface DecreaseReplicaCountCommandOutput extends DecreaseReplicaCountR
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts b/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts
index 2efab3d894ed..756d2061c451 100644
--- a/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts
+++ b/clients/client-elasticache/src/commands/DeleteReplicationGroupCommand.ts
@@ -97,6 +97,7 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -172,6 +173,7 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/DescribeReplicationGroupsCommand.ts b/clients/client-elasticache/src/commands/DescribeReplicationGroupsCommand.ts
index f117864f2e74..3f5325620651 100644
--- a/clients/client-elasticache/src/commands/DescribeReplicationGroupsCommand.ts
+++ b/clients/client-elasticache/src/commands/DescribeReplicationGroupsCommand.ts
@@ -96,6 +96,7 @@ export interface DescribeReplicationGroupsCommandOutput extends ReplicationGroup
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -171,6 +172,7 @@ export interface DescribeReplicationGroupsCommandOutput extends ReplicationGroup
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // ],
* // };
diff --git a/clients/client-elasticache/src/commands/IncreaseReplicaCountCommand.ts b/clients/client-elasticache/src/commands/IncreaseReplicaCountCommand.ts
index 00345512bbcf..30e6c408939b 100644
--- a/clients/client-elasticache/src/commands/IncreaseReplicaCountCommand.ts
+++ b/clients/client-elasticache/src/commands/IncreaseReplicaCountCommand.ts
@@ -103,6 +103,7 @@ export interface IncreaseReplicaCountCommandOutput extends IncreaseReplicaCountR
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -178,6 +179,7 @@ export interface IncreaseReplicaCountCommandOutput extends IncreaseReplicaCountR
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/ModifyReplicationGroupCommand.ts b/clients/client-elasticache/src/commands/ModifyReplicationGroupCommand.ts
index 90279a3457f4..9ab9fae3dfdd 100644
--- a/clients/client-elasticache/src/commands/ModifyReplicationGroupCommand.ts
+++ b/clients/client-elasticache/src/commands/ModifyReplicationGroupCommand.ts
@@ -106,6 +106,7 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
* IpDiscovery: "ipv4" || "ipv6",
* TransitEncryptionEnabled: true || false,
* TransitEncryptionMode: "preferred" || "required",
+ * ClusterMode: "enabled" || "disabled" || "compatible",
* };
* const command = new ModifyReplicationGroupCommand(input);
* const response = await client.send(command);
@@ -152,6 +153,7 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -227,6 +229,7 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/ModifyReplicationGroupShardConfigurationCommand.ts b/clients/client-elasticache/src/commands/ModifyReplicationGroupShardConfigurationCommand.ts
index 346964c785b8..f288eb410ebe 100644
--- a/clients/client-elasticache/src/commands/ModifyReplicationGroupShardConfigurationCommand.ts
+++ b/clients/client-elasticache/src/commands/ModifyReplicationGroupShardConfigurationCommand.ts
@@ -113,6 +113,7 @@ export interface ModifyReplicationGroupShardConfigurationCommandOutput
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -188,6 +189,7 @@ export interface ModifyReplicationGroupShardConfigurationCommandOutput
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/StartMigrationCommand.ts b/clients/client-elasticache/src/commands/StartMigrationCommand.ts
index 3521a1f47de3..85e4583368e2 100644
--- a/clients/client-elasticache/src/commands/StartMigrationCommand.ts
+++ b/clients/client-elasticache/src/commands/StartMigrationCommand.ts
@@ -93,6 +93,7 @@ export interface StartMigrationCommandOutput extends StartMigrationResponse, __M
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -168,6 +169,7 @@ export interface StartMigrationCommandOutput extends StartMigrationResponse, __M
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/commands/TestFailoverCommand.ts b/clients/client-elasticache/src/commands/TestFailoverCommand.ts
index 86e2451f0427..c92893da6565 100644
--- a/clients/client-elasticache/src/commands/TestFailoverCommand.ts
+++ b/clients/client-elasticache/src/commands/TestFailoverCommand.ts
@@ -149,6 +149,7 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
* // ],
* // TransitEncryptionEnabled: true || false,
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // MemberClusters: [ // ClusterIdList
* // "STRING_VALUE",
@@ -224,6 +225,7 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
* // IpDiscovery: "ipv4" || "ipv6",
* // TransitEncryptionMode: "preferred" || "required",
+ * // ClusterMode: "enabled" || "disabled" || "compatible",
* // },
* // };
*
diff --git a/clients/client-elasticache/src/endpoint/EndpointParameters.ts b/clients/client-elasticache/src/endpoint/EndpointParameters.ts
index fccf4892b36e..58fa04f0291f 100644
--- a/clients/client-elasticache/src/endpoint/EndpointParameters.ts
+++ b/clients/client-elasticache/src/endpoint/EndpointParameters.ts
@@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = Represents the information required for client programs to connect to a cache node. A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. 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 clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. If you are running Redis 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 Redis 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. Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
*/ TransitEncryptionMode?: TransitEncryptionMode | 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 clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
+ */ + ClusterMode?: ClusterMode | string; } /** @@ -2484,19 +2512,18 @@ export interface CreateCacheClusterMessage { /** *A flag that enables in-transit encryption when set to true.
- *Only available when creating a cache cluster in an Amazon VPC using Memcached version 1.6.12 or later.
*/ TransitEncryptionEnabled?: boolean; /** *Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
The network type associated with the cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
redis3.2
|
* redis4.0
|
* redis5.0
|
- * redis6.x
+ * redis6.x
|
+ * redis7
*
*/
CacheParameterGroupFamily: string | undefined;
@@ -3471,7 +3499,8 @@ export interface CacheParameterGroup {
* redis4.0
|
* redis5.0
|
* redis6.x
|
- *
+ * redis7
+ *
*/
CacheParameterGroupFamily?: string;
@@ -3746,7 +3775,7 @@ export interface Subnet {
/**
* Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis 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 Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
The network type you choose when creating a replication group, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
- *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 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
first, after that you can set TransitEncryptionMode
to required
.
- *
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
+ * 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 TransitEncryptionMode
to required
.
This process will not trigger the replacement of the replication group.
*/ TransitEncryptionMode?: TransitEncryptionMode | 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 clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
+ */ + ClusterMode?: ClusterMode | string; } /** @@ -5711,7 +5752,8 @@ export interface CacheEngineVersion { *redis3.2
|
* redis4.0
|
* redis5.0
|
- * redis6.x
+ * redis6.x
|
+ * redis7
*
*/
CacheParameterGroupFamily?: string;
@@ -6203,7 +6245,8 @@ export interface EngineDefaults {
* redis4.0
|
* redis5.0
|
* redis6.0
|
- * redis6.x
+ * redis6.x
|
+ * redis7
*
*/
CacheParameterGroupFamily?: string;
@@ -8730,7 +8773,7 @@ export interface ModifyCacheClusterMessage {
/**
* The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
- * Nitro system.
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
*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 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
first, after that you can set TransitEncryptionMode
to required
.
+ *
Setting TransitEncryptionMode
to required
is a two-step process that requires you to first set the TransitEncryptionMode
to preferred
, after that you can set TransitEncryptionMode
to required
.
*
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 clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
+ */ + ClusterMode?: ClusterMode | string; } /** diff --git a/clients/client-elasticache/src/protocols/Aws_query.ts b/clients/client-elasticache/src/protocols/Aws_query.ts index d1db0cd0863b..200dcea56660 100644 --- a/clients/client-elasticache/src/protocols/Aws_query.ts +++ b/clients/client-elasticache/src/protocols/Aws_query.ts @@ -7196,6 +7196,9 @@ const se_CreateReplicationGroupMessage = (input: CreateReplicationGroupMessage, if (input.TransitEncryptionMode != null) { entries["TransitEncryptionMode"] = input.TransitEncryptionMode; } + if (input.ClusterMode != null) { + entries["ClusterMode"] = input.ClusterMode; + } return entries; }; @@ -8600,6 +8603,9 @@ const se_ModifyReplicationGroupMessage = (input: ModifyReplicationGroupMessage, if (input.TransitEncryptionMode != null) { entries["TransitEncryptionMode"] = input.TransitEncryptionMode; } + if (input.ClusterMode != null) { + entries["ClusterMode"] = input.ClusterMode; + } return entries; }; @@ -12031,6 +12037,9 @@ const de_ReplicationGroup = (output: any, context: __SerdeContext): ReplicationG if (output["TransitEncryptionMode"] !== undefined) { contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]); } + if (output["ClusterMode"] !== undefined) { + contents.ClusterMode = __expectString(output["ClusterMode"]); + } return contents; }; @@ -12171,6 +12180,9 @@ const de_ReplicationGroupPendingModifiedValues = ( if (output["TransitEncryptionMode"] !== undefined) { contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]); } + if (output["ClusterMode"] !== undefined) { + contents.ClusterMode = __expectString(output["ClusterMode"]); + } return contents; }; diff --git a/codegen/sdk-codegen/aws-models/elasticache.json b/codegen/sdk-codegen/aws-models/elasticache.json index 28f444395204..876d780ab6f7 100644 --- a/codegen/sdk-codegen/aws-models/elasticache.json +++ b/codegen/sdk-codegen/aws-models/elasticache.json @@ -393,7 +393,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -422,13 +422,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -436,14 +435,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -452,67 +457,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -521,1227 +501,294 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] }, - "supportsDualStack" + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ - "aws-us-gov", + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" + "supportsFIPS" ] } ] } ], - "endpoint": { - "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://elasticache.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] }, { "conditions": [], - "endpoint": { - "url": "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-south-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-south-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-south-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ap-south-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ap-south-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-south-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-south-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-south-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-south-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-gov-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false - } - }, - { - "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.me-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.me-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.me-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.me-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-central-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-central-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-central-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-central-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.af-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.af-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.af-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.af-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-northeast-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ap-northeast-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ap-northeast-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.ap-northeast-2.api.aws" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true - } - }, + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-northeast-2.amazonaws.com" + "url": "https://elasticache.af-south-1.amazonaws.com" } }, "params": { + "Region": "af-south-1", "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-northeast-1.api.aws" + "url": "https://elasticache.ap-east-1.amazonaws.com" } }, "params": { + "Region": "ap-east-1", "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "UseDualStack": false } }, { @@ -1752,680 +799,550 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-1", - "UseDualStack": false - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.me-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache.me-south-1.amazonaws.com" - } - }, - "params": { "UseFIPS": false, - "Region": "me-south-1", "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.sa-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.sa-east-1.amazonaws.com" + "url": "https://elasticache.ap-northeast-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "sa-east-1", + "Region": "ap-northeast-2", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.sa-east-1.api.aws" + "url": "https://elasticache.ap-northeast-3.amazonaws.com" } }, "params": { + "Region": "ap-northeast-3", "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.sa-east-1.amazonaws.com" + "url": "https://elasticache.ap-south-1.amazonaws.com" } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "Region": "sa-east-1", "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-east-1.amazonaws.com" + "url": "https://elasticache.ap-southeast-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-east-1", + "Region": "ap-southeast-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-east-1.api.aws" + "url": "https://elasticache.ap-southeast-2.amazonaws.com" } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-east-1.amazonaws.com" + "url": "https://elasticache.ap-southeast-3.amazonaws.com" } }, "params": { + "Region": "ap-southeast-3", "UseFIPS": false, - "Region": "ap-east-1", "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.cn-north-1.amazonaws.com.cn" + "url": "https://elasticache.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "cn-north-1", + "Region": "ca-central-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://elasticache.eu-central-1.amazonaws.com" } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.cn-north-1.amazonaws.com.cn" + "url": "https://elasticache.eu-north-1.amazonaws.com" } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "Region": "cn-north-1", "UseDualStack": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-gov-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-gov-west-1.amazonaws.com" + "url": "https://elasticache.eu-south-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-gov-west-1", + "Region": "eu-south-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-gov-west-1.api.aws" + "url": "https://elasticache.eu-west-1.amazonaws.com" } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-gov-west-1.amazonaws.com" + "url": "https://elasticache.eu-west-2.amazonaws.com" } }, "params": { + "Region": "eu-west-2", "UseFIPS": false, - "Region": "us-gov-west-1", "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.ap-southeast-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-southeast-1.amazonaws.com" + "url": "https://elasticache.eu-west-3.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", + "Region": "eu-west-3", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-1.api.aws" + "url": "https://elasticache.me-south-1.amazonaws.com" } }, "params": { + "Region": "me-south-1", "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-1.amazonaws.com" + "url": "https://elasticache.sa-east-1.amazonaws.com" } }, "params": { + "Region": "sa-east-1", "UseFIPS": false, - "Region": "ap-southeast-1", "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-southeast-2.api.aws" + "url": "https://elasticache.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-southeast-2.amazonaws.com" + "url": "https://elasticache-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "ap-southeast-2", "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-2.api.aws" + "url": "https://elasticache.us-east-2.amazonaws.com" } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-2.amazonaws.com" + "url": "https://elasticache-fips.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-2", + "Region": "us-east-2", + "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://elasticache.us-west-1.amazonaws.com" + } }, "params": { - "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://elasticache-fips.us-west-1.amazonaws.com" } }, "params": { + "Region": "us-west-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://elasticache.us-west-2.amazonaws.com" + } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-iso-east-1.c2s.ic.gov" + "url": "https://elasticache-fips.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "us-iso-east-1", + "Region": "us-west-2", + "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-southeast-3.api.aws" + "url": "https://elasticache-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "ap-southeast-3", "UseDualStack": true } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-southeast-3.amazonaws.com" + "url": "https://elasticache.us-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-3.api.aws" + "url": "https://elasticache.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-3.amazonaws.com" + "url": "https://elasticache.cn-northwest-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-northwest-1", "UseFIPS": false, - "Region": "ap-southeast-3", "UseDualStack": false } }, { - "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-southeast-4.api.aws" + "url": "https://elasticache-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "Region": "ap-southeast-4", "UseDualStack": true } }, { - "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.ap-southeast-4.amazonaws.com" + "url": "https://elasticache-fips.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "Region": "ap-southeast-4", "UseDualStack": false } }, { - "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-4.api.aws" + "url": "https://elasticache.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "Region": "ap-southeast-4", "UseDualStack": true } }, { - "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.ap-southeast-4.amazonaws.com" + "url": "https://elasticache.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "ap-southeast-4", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.us-east-1.api.aws" + "url": "https://elasticache.us-gov-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.us-east-1.amazonaws.com" + "url": "https://elasticache.us-gov-west-1.amazonaws.com" } }, "params": { + "Region": "us-gov-west-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticache.us-east-1.api.aws" + "url": "https://elasticache-fips.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", + "Region": "us-gov-east-1", + "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-east-1.amazonaws.com" + "url": "https://elasticache.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", + "Region": "us-gov-east-1", + "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.us-east-2.api.aws" + "url": "https://elasticache.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "us-east-2", + "Region": "us-gov-east-1", + "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://elasticache-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-east-2.api.aws" + "url": "https://elasticache.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-east-2.amazonaws.com" + "url": "https://elasticache.us-iso-west-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-west-1", "UseFIPS": false, - "Region": "us-east-2", "UseDualStack": false } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://elasticache-fips.cn-northwest-1.api.amazonwebservices.com.cn" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "cn-northwest-1", "UseDualStack": true } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache-fips.cn-northwest-1.amazonaws.com.cn" + "url": "https://elasticache-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "cn-northwest-1", "UseDualStack": false } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://elasticache.cn-northwest-1.api.amazonwebservices.com.cn" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "cn-northwest-1", "UseDualStack": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticache.cn-northwest-1.amazonaws.com.cn" + "url": "https://elasticache.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "cn-northwest-1", "UseDualStack": false } }, @@ -2435,8 +1352,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -2448,8 +1365,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -2459,26 +1376,27 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://elasticache.us-isob-east-1.sc2s.sgov.gov" + "url": "https://example.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "UseDualStack": false, + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -2486,7 +1404,6 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, "Endpoint": "https://example.com" } @@ -2497,8 +1414,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -2509,11 +1426,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -3060,13 +1983,13 @@ "NetworkType": { "target": "com.amazonaws.elasticache#NetworkType", "traits": { - "smithy.api#documentation": "Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type associated with the cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type associated with the cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The name of the cache parameter group family associated with this cache engine.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.x
\n
The name of the cache parameter group family associated with this cache engine.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.x
|\n redis7
\n
The name of the cache parameter group family that this cache parameter group is compatible with.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.x
| \n
The name of the cache parameter group family that this cache parameter group is compatible with.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.x
| \n redis7
\n
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
A flag that enables in-transit encryption when set to true.
\nOnly available when creating a cache cluster in an Amazon VPC using Memcached version 1.6.12 or later.
" + "smithy.api#documentation": "A flag that enables in-transit encryption when set to true.
" } }, "NetworkType": { "target": "com.amazonaws.elasticache#NetworkType", "traits": { - "smithy.api#documentation": "Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The name of the cache parameter group family that the cache parameter group can be used with.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.x
\n
The name of the cache parameter group family that the cache parameter group can be used with.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.x
|\n redis7
\n
Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when creating a replication group, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when creating a replication group, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
\nWhen setting TransitEncryptionEnabled
to true
, you can set your TransitEncryptionMode
to preferred
in the same request, to allow both encrypted and \nunencrypted connections at the same time. Once you migrate all your Redis 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
first, after that you can set TransitEncryptionMode
to required
.\n
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
\nWhen setting TransitEncryptionEnabled
to true
, you can set your\n TransitEncryptionMode
to preferred
in the same request, to allow\n both encrypted and unencrypted connections at the same time. Once you migrate all your Redis\n clients to use encrypted connections you can modify the value to required
to\n allow encrypted connections only.
Setting TransitEncryptionMode
to required
is a two-step\n process that requires you to first set the TransitEncryptionMode
to preferred
, \n after that you can set TransitEncryptionMode
to required
.
This process will not trigger the replacement of the replication group.
" + } + }, + "ClusterMode": { + "target": "com.amazonaws.elasticache#ClusterMode", + "traits": { + "smithy.api#documentation": "Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.\n \n Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
" } } }, @@ -7522,7 +6477,7 @@ "CacheParameterGroupFamily": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "Specifies the name of the cache parameter group family to which the engine default parameters apply.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.0
| \n redis6.x
\n
Specifies the name of the cache parameter group family to which the engine default parameters apply.
\nValid values are: \n memcached1.4
| \n memcached1.5
| \n memcached1.6
| \n redis2.6
| \n redis2.8
|\n redis3.2
|\n redis4.0
|\n redis5.0
| \n redis6.0
| \n redis6.x
| \n redis7
\n
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
\nYou must set TransitEncryptionEnabled
to true
, for your existing cluster, and set TransitEncryptionMode
to preferred
in the same request to allow both encrypted and \nunencrypted connections at the same time. Once you migrate all your Redis 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
first, after that you can set TransitEncryptionMode
to required
.\n
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
\nYou must set TransitEncryptionEnabled
to true
, for your existing cluster, and set TransitEncryptionMode
to preferred
in the same request to allow both encrypted and \nunencrypted connections at the same time. Once you migrate all your Redis 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 TransitEncryptionMode
to required
.\n
Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.\n \n Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
" } } }, @@ -10952,19 +9913,19 @@ "target": "com.amazonaws.elasticache#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "If you are running Redis 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. \n
" + "smithy.api#documentation": "If you are running Redis 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.
" } }, "NetworkType": { "target": "com.amazonaws.elasticache#NetworkType", "traits": { - "smithy.api#documentation": "Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
Must be either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
The network type you choose when modifying a cluster, either ipv4
| ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
" } + }, + "ClusterMode": { + "target": "com.amazonaws.elasticache#ClusterMode", + "traits": { + "smithy.api#documentation": "Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.\n \n Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
" + } } }, "traits": { @@ -11146,6 +10113,12 @@ "traits": { "smithy.api#documentation": "A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
" } + }, + "ClusterMode": { + "target": "com.amazonaws.elasticache#ClusterMode", + "traits": { + "smithy.api#documentation": "Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.\n \n Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
" + } } }, "traits": { @@ -12242,6 +11215,9 @@ "ReplicationGroup": { "target": "com.amazonaws.elasticache#ReplicationGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticache#String": { @@ -12271,7 +11247,7 @@ "SupportedNetworkTypes": { "target": "com.amazonaws.elasticache#NetworkTypeList", "traits": { - "smithy.api#documentation": "Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the \n Nitro system.