@aws-sdk/client-elasticache 3.236.0 → 3.240.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +11 -6
- package/dist-cjs/protocols/Aws_query.js +33 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_query.js +33 -0
- package/dist-types/ElastiCache.d.ts +93 -113
- package/dist-types/ElastiCacheClient.d.ts +3 -3
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +2 -2
- package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +20 -23
- package/dist-types/commands/CreateCacheClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +4 -4
- package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +0 -1
- package/dist-types/commands/CreateReplicationGroupCommand.d.ts +7 -9
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -2
- package/dist-types/commands/DeleteCacheClusterCommand.d.ts +9 -10
- package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +3 -6
- package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -2
- package/dist-types/commands/DescribeCacheClustersCommand.d.ts +5 -5
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -2
- package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +1 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +4 -5
- package/dist-types/commands/RebootCacheClusterCommand.d.ts +4 -6
- package/dist-types/commands/TestFailoverCommand.d.ts +17 -19
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +712 -1204
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +13 -0
- package/package.json +5 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [v]: d }, p = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [o, "supportsDualStack"] }] }, q = { "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: h, [u]: [o, "name"] }] }], endpoint: q, type: g }, { endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.TestFailoverResultFilterSensitiveLog = exports.TestFailoverMessageFilterSensitiveLog = exports.StartMigrationResponseFilterSensitiveLog = exports.StartMigrationMessageFilterSensitiveLog = exports.CustomerNodeEndpointFilterSensitiveLog = exports.RevokeCacheSecurityGroupIngressResultFilterSensitiveLog = exports.RevokeCacheSecurityGroupIngressMessageFilterSensitiveLog = exports.ResetCacheParameterGroupMessageFilterSensitiveLog = exports.RemoveTagsFromResourceMessageFilterSensitiveLog = exports.RebootCacheClusterResultFilterSensitiveLog = exports.RebootCacheClusterMessageFilterSensitiveLog = exports.RebalanceSlotsInGlobalReplicationGroupResultFilterSensitiveLog = exports.RebalanceSlotsInGlobalReplicationGroupMessageFilterSensitiveLog = exports.PurchaseReservedCacheNodesOfferingResultFilterSensitiveLog = exports.PurchaseReservedCacheNodesOfferingMessageFilterSensitiveLog = exports.ModifyUserGroupMessageFilterSensitiveLog = exports.ModifyUserMessageFilterSensitiveLog = exports.ModifyReplicationGroupShardConfigurationResultFilterSensitiveLog = exports.ModifyReplicationGroupShardConfigurationMessageFilterSensitiveLog = exports.ModifyReplicationGroupResultFilterSensitiveLog = exports.ModifyReplicationGroupMessageFilterSensitiveLog = exports.ModifyGlobalReplicationGroupResultFilterSensitiveLog = exports.ModifyGlobalReplicationGroupMessageFilterSensitiveLog = void 0;
|
|
3
|
+
exports.CacheSubnetQuotaExceededFault = exports.CacheSubnetGroupQuotaExceededFault = exports.CacheSubnetGroupAlreadyExistsFault = exports.CacheSecurityGroupQuotaExceededFault = exports.CacheSecurityGroupAlreadyExistsFault = exports.InvalidCacheParameterGroupStateFault = exports.CacheParameterGroupQuotaExceededFault = exports.CacheParameterGroupAlreadyExistsFault = exports.NodeQuotaForCustomerExceededFault = exports.NodeQuotaForClusterExceededFault = exports.InvalidVPCNetworkStateFault = exports.InsufficientCacheClusterCapacityFault = exports.OutpostMode = exports.AZMode = exports.ClusterQuotaForCustomerExceededFault = exports.CacheClusterAlreadyExistsFault = exports.SnapshotQuotaExceededFault = exports.SnapshotAlreadyExistsFault = exports.InvalidSnapshotStateFault = exports.ReplicationGroupNotUnderMigrationFault = exports.TransitEncryptionMode = exports.PendingAutomaticFailoverStatus = exports.AuthTokenUpdateStatus = exports.NetworkType = exports.MultiAZStatus = exports.LogDeliveryConfigurationStatus = exports.LogType = exports.LogFormat = exports.DestinationType = exports.IpDiscovery = exports.DataTieringStatus = exports.AutomaticFailoverStatus = exports.UpdateActionStatus = exports.ServiceUpdateNotFoundFault = exports.InvalidParameterValueException = exports.InvalidParameterCombinationException = exports.InvalidCacheSecurityGroupStateFault = exports.AuthorizationAlreadyExistsFault = exports.UserNotFoundFault = exports.UserGroupNotFoundFault = exports.TagQuotaPerResourceExceeded = exports.SnapshotNotFoundFault = exports.ReservedCacheNodeNotFoundFault = exports.ReplicationGroupNotFoundFault = exports.InvalidReplicationGroupStateFault = exports.InvalidARNFault = exports.CacheSubnetGroupNotFoundFault = exports.CacheSecurityGroupNotFoundFault = exports.CacheParameterGroupNotFoundFault = exports.CacheClusterNotFoundFault = void 0;
|
|
4
|
+
exports.CacheSecurityGroupFilterSensitiveLog = exports.EC2SecurityGroupFilterSensitiveLog = exports.AuthorizeCacheSecurityGroupIngressMessageFilterSensitiveLog = exports.AllowedNodeTypeModificationsMessageFilterSensitiveLog = exports.TagListMessageFilterSensitiveLog = exports.AddTagsToResourceMessageFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.TestFailoverNotAvailableFault = exports.NodeGroupNotFoundFault = exports.APICallRateForCustomerExceededFault = exports.ReplicationGroupAlreadyUnderMigrationFault = exports.AuthorizationNotFoundFault = exports.TagNotFoundFault = exports.ReservedCacheNodeQuotaExceededFault = exports.ReservedCacheNodeAlreadyExistsFault = exports.SubnetInUse = exports.AuthTokenUpdateStrategyType = exports.InvalidKMSKeyFault = exports.SlaMet = exports.NodeUpdateStatus = exports.NodeUpdateInitiatedBy = exports.ServiceUpdateType = exports.ServiceUpdateSeverity = exports.ServiceUpdateStatus = exports.ReservedCacheNodesOfferingNotFoundFault = exports.SourceType = exports.ChangeType = exports.InvalidUserStateFault = exports.DefaultUserAssociatedToUserGroupFault = exports.CacheSubnetGroupInUse = exports.NoOperationFault = exports.UserGroupQuotaExceededFault = exports.UserGroupAlreadyExistsFault = exports.DefaultUserRequired = exports.UserQuotaExceededFault = exports.UserAlreadyExistsFault = exports.AuthenticationType = exports.DuplicateUserNameFault = exports.InputAuthenticationType = exports.SnapshotFeatureNotSupportedFault = exports.ReplicationGroupAlreadyExistsFault = exports.NodeGroupsPerReplicationGroupQuotaExceededFault = exports.InvalidUserGroupStateFault = exports.InvalidGlobalReplicationGroupStateFault = exports.InvalidCacheClusterStateFault = exports.GlobalReplicationGroupNotFoundFault = exports.ServiceLinkedRoleNotFoundFault = exports.GlobalReplicationGroupAlreadyExistsFault = exports.SubnetNotAllowedFault = exports.InvalidSubnet = void 0;
|
|
5
|
+
exports.GlobalNodeGroupFilterSensitiveLog = exports.CreateGlobalReplicationGroupMessageFilterSensitiveLog = exports.CreateCacheSubnetGroupResultFilterSensitiveLog = exports.CacheSubnetGroupFilterSensitiveLog = exports.SubnetFilterSensitiveLog = exports.SubnetOutpostFilterSensitiveLog = exports.AvailabilityZoneFilterSensitiveLog = exports.CreateCacheSubnetGroupMessageFilterSensitiveLog = exports.CreateCacheSecurityGroupResultFilterSensitiveLog = exports.CreateCacheSecurityGroupMessageFilterSensitiveLog = exports.CreateCacheParameterGroupResultFilterSensitiveLog = exports.CacheParameterGroupFilterSensitiveLog = exports.CreateCacheParameterGroupMessageFilterSensitiveLog = exports.CreateCacheClusterResultFilterSensitiveLog = exports.CacheClusterFilterSensitiveLog = exports.SecurityGroupMembershipFilterSensitiveLog = exports.PendingModifiedValuesFilterSensitiveLog = exports.NotificationConfigurationFilterSensitiveLog = exports.CacheSecurityGroupMembershipFilterSensitiveLog = exports.CacheParameterGroupStatusFilterSensitiveLog = exports.CacheNodeFilterSensitiveLog = exports.CreateCacheClusterMessageFilterSensitiveLog = exports.LogDeliveryConfigurationRequestFilterSensitiveLog = exports.CopySnapshotResultFilterSensitiveLog = exports.SnapshotFilterSensitiveLog = exports.NodeSnapshotFilterSensitiveLog = exports.NodeGroupConfigurationFilterSensitiveLog = exports.CopySnapshotMessageFilterSensitiveLog = exports.CompleteMigrationResponseFilterSensitiveLog = exports.ReplicationGroupFilterSensitiveLog = exports.ReplicationGroupPendingModifiedValuesFilterSensitiveLog = exports.UserGroupsUpdateStatusFilterSensitiveLog = exports.ReshardingStatusFilterSensitiveLog = exports.SlotMigrationFilterSensitiveLog = exports.PendingLogDeliveryConfigurationFilterSensitiveLog = exports.NodeGroupFilterSensitiveLog = exports.NodeGroupMemberFilterSensitiveLog = exports.LogDeliveryConfigurationFilterSensitiveLog = exports.DestinationDetailsFilterSensitiveLog = exports.KinesisFirehoseDestinationDetailsFilterSensitiveLog = exports.CloudWatchLogsDestinationDetailsFilterSensitiveLog = exports.GlobalReplicationGroupInfoFilterSensitiveLog = exports.EndpointFilterSensitiveLog = exports.CompleteMigrationMessageFilterSensitiveLog = exports.BatchStopUpdateActionMessageFilterSensitiveLog = exports.UpdateActionResultsMessageFilterSensitiveLog = exports.UnprocessedUpdateActionFilterSensitiveLog = exports.ProcessedUpdateActionFilterSensitiveLog = exports.BatchApplyUpdateActionMessageFilterSensitiveLog = exports.AuthorizeCacheSecurityGroupIngressResultFilterSensitiveLog = void 0;
|
|
6
|
+
exports.EngineDefaultsFilterSensitiveLog = exports.DescribeEngineDefaultParametersMessageFilterSensitiveLog = exports.DescribeCacheSubnetGroupsMessageFilterSensitiveLog = exports.CacheSubnetGroupMessageFilterSensitiveLog = exports.DescribeCacheSecurityGroupsMessageFilterSensitiveLog = exports.CacheSecurityGroupMessageFilterSensitiveLog = exports.DescribeCacheParametersMessageFilterSensitiveLog = exports.CacheParameterGroupDetailsFilterSensitiveLog = exports.ParameterFilterSensitiveLog = exports.CacheNodeTypeSpecificParameterFilterSensitiveLog = exports.CacheNodeTypeSpecificValueFilterSensitiveLog = exports.DescribeCacheParameterGroupsMessageFilterSensitiveLog = exports.CacheParameterGroupsMessageFilterSensitiveLog = exports.DescribeCacheEngineVersionsMessageFilterSensitiveLog = exports.CacheEngineVersionMessageFilterSensitiveLog = exports.CacheEngineVersionFilterSensitiveLog = exports.DescribeCacheClustersMessageFilterSensitiveLog = exports.CacheClusterMessageFilterSensitiveLog = exports.DeleteUserGroupMessageFilterSensitiveLog = exports.DeleteUserMessageFilterSensitiveLog = exports.DeleteSnapshotResultFilterSensitiveLog = exports.DeleteSnapshotMessageFilterSensitiveLog = exports.DeleteReplicationGroupResultFilterSensitiveLog = exports.DeleteReplicationGroupMessageFilterSensitiveLog = exports.DeleteGlobalReplicationGroupResultFilterSensitiveLog = exports.DeleteGlobalReplicationGroupMessageFilterSensitiveLog = exports.DeleteCacheSubnetGroupMessageFilterSensitiveLog = exports.DeleteCacheSecurityGroupMessageFilterSensitiveLog = exports.DeleteCacheParameterGroupMessageFilterSensitiveLog = exports.DeleteCacheClusterResultFilterSensitiveLog = exports.DeleteCacheClusterMessageFilterSensitiveLog = exports.DecreaseReplicaCountResultFilterSensitiveLog = exports.DecreaseReplicaCountMessageFilterSensitiveLog = exports.ConfigureShardFilterSensitiveLog = exports.DecreaseNodeGroupsInGlobalReplicationGroupResultFilterSensitiveLog = exports.DecreaseNodeGroupsInGlobalReplicationGroupMessageFilterSensitiveLog = exports.UserGroupFilterSensitiveLog = exports.UserGroupPendingChangesFilterSensitiveLog = exports.CreateUserGroupMessageFilterSensitiveLog = exports.UserFilterSensitiveLog = exports.AuthenticationFilterSensitiveLog = exports.CreateUserMessageFilterSensitiveLog = exports.AuthenticationModeFilterSensitiveLog = exports.CreateSnapshotResultFilterSensitiveLog = exports.CreateSnapshotMessageFilterSensitiveLog = exports.CreateReplicationGroupResultFilterSensitiveLog = exports.CreateReplicationGroupMessageFilterSensitiveLog = exports.CreateGlobalReplicationGroupResultFilterSensitiveLog = exports.GlobalReplicationGroupFilterSensitiveLog = exports.GlobalReplicationGroupMemberFilterSensitiveLog = void 0;
|
|
7
|
+
exports.ModifyCacheSubnetGroupMessageFilterSensitiveLog = exports.ModifyCacheParameterGroupMessageFilterSensitiveLog = exports.ParameterNameValueFilterSensitiveLog = exports.CacheParameterGroupNameMessageFilterSensitiveLog = exports.ModifyCacheClusterResultFilterSensitiveLog = exports.ModifyCacheClusterMessageFilterSensitiveLog = exports.ListTagsForResourceMessageFilterSensitiveLog = exports.ListAllowedNodeTypeModificationsMessageFilterSensitiveLog = exports.IncreaseReplicaCountResultFilterSensitiveLog = exports.IncreaseReplicaCountMessageFilterSensitiveLog = exports.IncreaseNodeGroupsInGlobalReplicationGroupResultFilterSensitiveLog = exports.IncreaseNodeGroupsInGlobalReplicationGroupMessageFilterSensitiveLog = exports.RegionalConfigurationFilterSensitiveLog = exports.ReshardingConfigurationFilterSensitiveLog = exports.FailoverGlobalReplicationGroupResultFilterSensitiveLog = exports.FailoverGlobalReplicationGroupMessageFilterSensitiveLog = exports.DisassociateGlobalReplicationGroupResultFilterSensitiveLog = exports.DisassociateGlobalReplicationGroupMessageFilterSensitiveLog = exports.DescribeUsersResultFilterSensitiveLog = exports.DescribeUsersMessageFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DescribeUserGroupsResultFilterSensitiveLog = exports.DescribeUserGroupsMessageFilterSensitiveLog = exports.UpdateActionsMessageFilterSensitiveLog = exports.UpdateActionFilterSensitiveLog = exports.NodeGroupUpdateStatusFilterSensitiveLog = exports.NodeGroupMemberUpdateStatusFilterSensitiveLog = exports.CacheNodeUpdateStatusFilterSensitiveLog = exports.DescribeUpdateActionsMessageFilterSensitiveLog = exports.TimeRangeFilterFilterSensitiveLog = exports.DescribeSnapshotsMessageFilterSensitiveLog = exports.DescribeSnapshotsListMessageFilterSensitiveLog = exports.ServiceUpdatesMessageFilterSensitiveLog = exports.ServiceUpdateFilterSensitiveLog = exports.DescribeServiceUpdatesMessageFilterSensitiveLog = exports.ReservedCacheNodesOfferingMessageFilterSensitiveLog = exports.ReservedCacheNodesOfferingFilterSensitiveLog = exports.DescribeReservedCacheNodesOfferingsMessageFilterSensitiveLog = exports.ReservedCacheNodeMessageFilterSensitiveLog = exports.ReservedCacheNodeFilterSensitiveLog = exports.RecurringChargeFilterSensitiveLog = exports.DescribeReservedCacheNodesMessageFilterSensitiveLog = exports.ReplicationGroupMessageFilterSensitiveLog = exports.DescribeReplicationGroupsMessageFilterSensitiveLog = exports.DescribeGlobalReplicationGroupsResultFilterSensitiveLog = exports.DescribeGlobalReplicationGroupsMessageFilterSensitiveLog = exports.EventsMessageFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.DescribeEventsMessageFilterSensitiveLog = exports.DescribeEngineDefaultParametersResultFilterSensitiveLog = void 0;
|
|
8
|
+
exports.TestFailoverResultFilterSensitiveLog = exports.TestFailoverMessageFilterSensitiveLog = exports.StartMigrationResponseFilterSensitiveLog = exports.StartMigrationMessageFilterSensitiveLog = exports.CustomerNodeEndpointFilterSensitiveLog = exports.RevokeCacheSecurityGroupIngressResultFilterSensitiveLog = exports.RevokeCacheSecurityGroupIngressMessageFilterSensitiveLog = exports.ResetCacheParameterGroupMessageFilterSensitiveLog = exports.RemoveTagsFromResourceMessageFilterSensitiveLog = exports.RebootCacheClusterResultFilterSensitiveLog = exports.RebootCacheClusterMessageFilterSensitiveLog = exports.RebalanceSlotsInGlobalReplicationGroupResultFilterSensitiveLog = exports.RebalanceSlotsInGlobalReplicationGroupMessageFilterSensitiveLog = exports.PurchaseReservedCacheNodesOfferingResultFilterSensitiveLog = exports.PurchaseReservedCacheNodesOfferingMessageFilterSensitiveLog = exports.ModifyUserGroupMessageFilterSensitiveLog = exports.ModifyUserMessageFilterSensitiveLog = exports.ModifyReplicationGroupShardConfigurationResultFilterSensitiveLog = exports.ModifyReplicationGroupShardConfigurationMessageFilterSensitiveLog = exports.ModifyReplicationGroupResultFilterSensitiveLog = exports.ModifyReplicationGroupMessageFilterSensitiveLog = exports.ModifyGlobalReplicationGroupResultFilterSensitiveLog = exports.ModifyGlobalReplicationGroupMessageFilterSensitiveLog = exports.ModifyCacheSubnetGroupResultFilterSensitiveLog = void 0;
|
|
9
9
|
const ElastiCacheServiceException_1 = require("./ElastiCacheServiceException");
|
|
10
10
|
class CacheClusterNotFoundFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
|
|
11
11
|
constructor(opts) {
|
|
@@ -301,6 +301,11 @@ var PendingAutomaticFailoverStatus;
|
|
|
301
301
|
PendingAutomaticFailoverStatus["DISABLED"] = "disabled";
|
|
302
302
|
PendingAutomaticFailoverStatus["ENABLED"] = "enabled";
|
|
303
303
|
})(PendingAutomaticFailoverStatus = exports.PendingAutomaticFailoverStatus || (exports.PendingAutomaticFailoverStatus = {}));
|
|
304
|
+
var TransitEncryptionMode;
|
|
305
|
+
(function (TransitEncryptionMode) {
|
|
306
|
+
TransitEncryptionMode["PREFERRED"] = "preferred";
|
|
307
|
+
TransitEncryptionMode["REQUIRED"] = "required";
|
|
308
|
+
})(TransitEncryptionMode = exports.TransitEncryptionMode || (exports.TransitEncryptionMode = {}));
|
|
304
309
|
class ReplicationGroupNotUnderMigrationFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
|
|
305
310
|
constructor(opts) {
|
|
306
311
|
super({
|
|
@@ -5150,6 +5150,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
5150
5150
|
if (input.IpDiscovery != null) {
|
|
5151
5151
|
entries["IpDiscovery"] = input.IpDiscovery;
|
|
5152
5152
|
}
|
|
5153
|
+
if (input.TransitEncryptionMode != null) {
|
|
5154
|
+
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
5155
|
+
}
|
|
5153
5156
|
return entries;
|
|
5154
5157
|
};
|
|
5155
5158
|
const serializeAws_queryCreateSnapshotMessage = (input, context) => {
|
|
@@ -6288,6 +6291,12 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
6288
6291
|
if (input.IpDiscovery != null) {
|
|
6289
6292
|
entries["IpDiscovery"] = input.IpDiscovery;
|
|
6290
6293
|
}
|
|
6294
|
+
if (input.TransitEncryptionEnabled != null) {
|
|
6295
|
+
entries["TransitEncryptionEnabled"] = input.TransitEncryptionEnabled;
|
|
6296
|
+
}
|
|
6297
|
+
if (input.TransitEncryptionMode != null) {
|
|
6298
|
+
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
6299
|
+
}
|
|
6291
6300
|
return entries;
|
|
6292
6301
|
};
|
|
6293
6302
|
const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input, context) => {
|
|
@@ -7027,6 +7036,7 @@ const deserializeAws_queryCacheCluster = (output, context) => {
|
|
|
7027
7036
|
LogDeliveryConfigurations: undefined,
|
|
7028
7037
|
NetworkType: undefined,
|
|
7029
7038
|
IpDiscovery: undefined,
|
|
7039
|
+
TransitEncryptionMode: undefined,
|
|
7030
7040
|
};
|
|
7031
7041
|
if (output["CacheClusterId"] !== undefined) {
|
|
7032
7042
|
contents.CacheClusterId = (0, smithy_client_1.expectString)(output["CacheClusterId"]);
|
|
@@ -7138,6 +7148,9 @@ const deserializeAws_queryCacheCluster = (output, context) => {
|
|
|
7138
7148
|
if (output["IpDiscovery"] !== undefined) {
|
|
7139
7149
|
contents.IpDiscovery = (0, smithy_client_1.expectString)(output["IpDiscovery"]);
|
|
7140
7150
|
}
|
|
7151
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
7152
|
+
contents.TransitEncryptionMode = (0, smithy_client_1.expectString)(output["TransitEncryptionMode"]);
|
|
7153
|
+
}
|
|
7141
7154
|
return contents;
|
|
7142
7155
|
};
|
|
7143
7156
|
const deserializeAws_queryCacheClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -8918,6 +8931,8 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
8918
8931
|
CacheNodeType: undefined,
|
|
8919
8932
|
AuthTokenStatus: undefined,
|
|
8920
8933
|
LogDeliveryConfigurations: undefined,
|
|
8934
|
+
TransitEncryptionEnabled: undefined,
|
|
8935
|
+
TransitEncryptionMode: undefined,
|
|
8921
8936
|
};
|
|
8922
8937
|
if (output["NumCacheNodes"] !== undefined) {
|
|
8923
8938
|
contents.NumCacheNodes = (0, smithy_client_1.strictParseInt32)(output["NumCacheNodes"]);
|
|
@@ -8945,6 +8960,12 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
8945
8960
|
output["LogDeliveryConfigurations"]["member"] !== undefined) {
|
|
8946
8961
|
contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["member"]), context);
|
|
8947
8962
|
}
|
|
8963
|
+
if (output["TransitEncryptionEnabled"] !== undefined) {
|
|
8964
|
+
contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
|
|
8965
|
+
}
|
|
8966
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
8967
|
+
contents.TransitEncryptionMode = (0, smithy_client_1.expectString)(output["TransitEncryptionMode"]);
|
|
8968
|
+
}
|
|
8948
8969
|
return contents;
|
|
8949
8970
|
};
|
|
8950
8971
|
const deserializeAws_queryProcessedUpdateAction = (output, context) => {
|
|
@@ -9053,6 +9074,7 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
|
|
|
9053
9074
|
AutoMinorVersionUpgrade: undefined,
|
|
9054
9075
|
NetworkType: undefined,
|
|
9055
9076
|
IpDiscovery: undefined,
|
|
9077
|
+
TransitEncryptionMode: undefined,
|
|
9056
9078
|
};
|
|
9057
9079
|
if (output["ReplicationGroupId"] !== undefined) {
|
|
9058
9080
|
contents.ReplicationGroupId = (0, smithy_client_1.expectString)(output["ReplicationGroupId"]);
|
|
@@ -9158,6 +9180,9 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
|
|
|
9158
9180
|
if (output["IpDiscovery"] !== undefined) {
|
|
9159
9181
|
contents.IpDiscovery = (0, smithy_client_1.expectString)(output["IpDiscovery"]);
|
|
9160
9182
|
}
|
|
9183
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
9184
|
+
contents.TransitEncryptionMode = (0, smithy_client_1.expectString)(output["TransitEncryptionMode"]);
|
|
9185
|
+
}
|
|
9161
9186
|
return contents;
|
|
9162
9187
|
};
|
|
9163
9188
|
const deserializeAws_queryReplicationGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -9235,6 +9260,8 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
|
|
|
9235
9260
|
AuthTokenStatus: undefined,
|
|
9236
9261
|
UserGroups: undefined,
|
|
9237
9262
|
LogDeliveryConfigurations: undefined,
|
|
9263
|
+
TransitEncryptionEnabled: undefined,
|
|
9264
|
+
TransitEncryptionMode: undefined,
|
|
9238
9265
|
};
|
|
9239
9266
|
if (output["PrimaryClusterId"] !== undefined) {
|
|
9240
9267
|
contents.PrimaryClusterId = (0, smithy_client_1.expectString)(output["PrimaryClusterId"]);
|
|
@@ -9258,6 +9285,12 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
|
|
|
9258
9285
|
output["LogDeliveryConfigurations"]["member"] !== undefined) {
|
|
9259
9286
|
contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["LogDeliveryConfigurations"]["member"]), context);
|
|
9260
9287
|
}
|
|
9288
|
+
if (output["TransitEncryptionEnabled"] !== undefined) {
|
|
9289
|
+
contents.TransitEncryptionEnabled = (0, smithy_client_1.parseBoolean)(output["TransitEncryptionEnabled"]);
|
|
9290
|
+
}
|
|
9291
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
9292
|
+
contents.TransitEncryptionMode = (0, smithy_client_1.expectString)(output["TransitEncryptionMode"]);
|
|
9293
|
+
}
|
|
9261
9294
|
return contents;
|
|
9262
9295
|
};
|
|
9263
9296
|
const deserializeAws_queryReservedCacheNode = (output, context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [v]: d }, p = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [o, "supportsDualStack"] }] }, q = { "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: h, [u]: [o, "name"] }] }], endpoint: q, type: g }, { endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -276,6 +276,11 @@ export var PendingAutomaticFailoverStatus;
|
|
|
276
276
|
PendingAutomaticFailoverStatus["DISABLED"] = "disabled";
|
|
277
277
|
PendingAutomaticFailoverStatus["ENABLED"] = "enabled";
|
|
278
278
|
})(PendingAutomaticFailoverStatus || (PendingAutomaticFailoverStatus = {}));
|
|
279
|
+
export var TransitEncryptionMode;
|
|
280
|
+
(function (TransitEncryptionMode) {
|
|
281
|
+
TransitEncryptionMode["PREFERRED"] = "preferred";
|
|
282
|
+
TransitEncryptionMode["REQUIRED"] = "required";
|
|
283
|
+
})(TransitEncryptionMode || (TransitEncryptionMode = {}));
|
|
279
284
|
export class ReplicationGroupNotUnderMigrationFault extends __BaseException {
|
|
280
285
|
constructor(opts) {
|
|
281
286
|
super({
|
|
@@ -5015,6 +5015,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
5015
5015
|
if (input.IpDiscovery != null) {
|
|
5016
5016
|
entries["IpDiscovery"] = input.IpDiscovery;
|
|
5017
5017
|
}
|
|
5018
|
+
if (input.TransitEncryptionMode != null) {
|
|
5019
|
+
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
5020
|
+
}
|
|
5018
5021
|
return entries;
|
|
5019
5022
|
};
|
|
5020
5023
|
const serializeAws_queryCreateSnapshotMessage = (input, context) => {
|
|
@@ -6153,6 +6156,12 @@ const serializeAws_queryModifyReplicationGroupMessage = (input, context) => {
|
|
|
6153
6156
|
if (input.IpDiscovery != null) {
|
|
6154
6157
|
entries["IpDiscovery"] = input.IpDiscovery;
|
|
6155
6158
|
}
|
|
6159
|
+
if (input.TransitEncryptionEnabled != null) {
|
|
6160
|
+
entries["TransitEncryptionEnabled"] = input.TransitEncryptionEnabled;
|
|
6161
|
+
}
|
|
6162
|
+
if (input.TransitEncryptionMode != null) {
|
|
6163
|
+
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
6164
|
+
}
|
|
6156
6165
|
return entries;
|
|
6157
6166
|
};
|
|
6158
6167
|
const serializeAws_queryModifyReplicationGroupShardConfigurationMessage = (input, context) => {
|
|
@@ -6892,6 +6901,7 @@ const deserializeAws_queryCacheCluster = (output, context) => {
|
|
|
6892
6901
|
LogDeliveryConfigurations: undefined,
|
|
6893
6902
|
NetworkType: undefined,
|
|
6894
6903
|
IpDiscovery: undefined,
|
|
6904
|
+
TransitEncryptionMode: undefined,
|
|
6895
6905
|
};
|
|
6896
6906
|
if (output["CacheClusterId"] !== undefined) {
|
|
6897
6907
|
contents.CacheClusterId = __expectString(output["CacheClusterId"]);
|
|
@@ -7003,6 +7013,9 @@ const deserializeAws_queryCacheCluster = (output, context) => {
|
|
|
7003
7013
|
if (output["IpDiscovery"] !== undefined) {
|
|
7004
7014
|
contents.IpDiscovery = __expectString(output["IpDiscovery"]);
|
|
7005
7015
|
}
|
|
7016
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
7017
|
+
contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]);
|
|
7018
|
+
}
|
|
7006
7019
|
return contents;
|
|
7007
7020
|
};
|
|
7008
7021
|
const deserializeAws_queryCacheClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -8783,6 +8796,8 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
8783
8796
|
CacheNodeType: undefined,
|
|
8784
8797
|
AuthTokenStatus: undefined,
|
|
8785
8798
|
LogDeliveryConfigurations: undefined,
|
|
8799
|
+
TransitEncryptionEnabled: undefined,
|
|
8800
|
+
TransitEncryptionMode: undefined,
|
|
8786
8801
|
};
|
|
8787
8802
|
if (output["NumCacheNodes"] !== undefined) {
|
|
8788
8803
|
contents.NumCacheNodes = __strictParseInt32(output["NumCacheNodes"]);
|
|
@@ -8810,6 +8825,12 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
8810
8825
|
output["LogDeliveryConfigurations"]["member"] !== undefined) {
|
|
8811
8826
|
contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList(__getArrayIfSingleItem(output["LogDeliveryConfigurations"]["member"]), context);
|
|
8812
8827
|
}
|
|
8828
|
+
if (output["TransitEncryptionEnabled"] !== undefined) {
|
|
8829
|
+
contents.TransitEncryptionEnabled = __parseBoolean(output["TransitEncryptionEnabled"]);
|
|
8830
|
+
}
|
|
8831
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
8832
|
+
contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]);
|
|
8833
|
+
}
|
|
8813
8834
|
return contents;
|
|
8814
8835
|
};
|
|
8815
8836
|
const deserializeAws_queryProcessedUpdateAction = (output, context) => {
|
|
@@ -8918,6 +8939,7 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
|
|
|
8918
8939
|
AutoMinorVersionUpgrade: undefined,
|
|
8919
8940
|
NetworkType: undefined,
|
|
8920
8941
|
IpDiscovery: undefined,
|
|
8942
|
+
TransitEncryptionMode: undefined,
|
|
8921
8943
|
};
|
|
8922
8944
|
if (output["ReplicationGroupId"] !== undefined) {
|
|
8923
8945
|
contents.ReplicationGroupId = __expectString(output["ReplicationGroupId"]);
|
|
@@ -9023,6 +9045,9 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
|
|
|
9023
9045
|
if (output["IpDiscovery"] !== undefined) {
|
|
9024
9046
|
contents.IpDiscovery = __expectString(output["IpDiscovery"]);
|
|
9025
9047
|
}
|
|
9048
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
9049
|
+
contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]);
|
|
9050
|
+
}
|
|
9026
9051
|
return contents;
|
|
9027
9052
|
};
|
|
9028
9053
|
const deserializeAws_queryReplicationGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -9100,6 +9125,8 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
|
|
|
9100
9125
|
AuthTokenStatus: undefined,
|
|
9101
9126
|
UserGroups: undefined,
|
|
9102
9127
|
LogDeliveryConfigurations: undefined,
|
|
9128
|
+
TransitEncryptionEnabled: undefined,
|
|
9129
|
+
TransitEncryptionMode: undefined,
|
|
9103
9130
|
};
|
|
9104
9131
|
if (output["PrimaryClusterId"] !== undefined) {
|
|
9105
9132
|
contents.PrimaryClusterId = __expectString(output["PrimaryClusterId"]);
|
|
@@ -9123,6 +9150,12 @@ const deserializeAws_queryReplicationGroupPendingModifiedValues = (output, conte
|
|
|
9123
9150
|
output["LogDeliveryConfigurations"]["member"] !== undefined) {
|
|
9124
9151
|
contents.LogDeliveryConfigurations = deserializeAws_queryPendingLogDeliveryConfigurationList(__getArrayIfSingleItem(output["LogDeliveryConfigurations"]["member"]), context);
|
|
9125
9152
|
}
|
|
9153
|
+
if (output["TransitEncryptionEnabled"] !== undefined) {
|
|
9154
|
+
contents.TransitEncryptionEnabled = __parseBoolean(output["TransitEncryptionEnabled"]);
|
|
9155
|
+
}
|
|
9156
|
+
if (output["TransitEncryptionMode"] !== undefined) {
|
|
9157
|
+
contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]);
|
|
9158
|
+
}
|
|
9126
9159
|
return contents;
|
|
9127
9160
|
};
|
|
9128
9161
|
const deserializeAws_queryReservedCacheNode = (output, context) => {
|