@aws-sdk/client-elasticache 3.41.0 → 3.46.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/CHANGELOG.md +50 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +11 -6
- package/dist-cjs/protocols/Aws_query.js +83 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_query.js +269 -186
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/ElastiCache.d.ts +6 -5
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserGroupCommand.d.ts +1 -1
- package/dist-types/commands/TestFailoverCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +544 -78
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/package.json +37 -44
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,56 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
6
56
|
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
57
|
|
|
8
58
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -75,6 +75,7 @@ const partitionHash = {
|
|
|
75
75
|
"ap-south-1",
|
|
76
76
|
"ap-southeast-1",
|
|
77
77
|
"ap-southeast-2",
|
|
78
|
+
"ap-southeast-3",
|
|
78
79
|
"ca-central-1",
|
|
79
80
|
"eu-central-1",
|
|
80
81
|
"eu-north-1",
|
|
@@ -176,6 +177,14 @@ const partitionHash = {
|
|
|
176
177
|
hostname: "elasticache.{region}.amazonaws.com",
|
|
177
178
|
tags: ["fips"],
|
|
178
179
|
},
|
|
180
|
+
{
|
|
181
|
+
hostname: "elasticache-fips.{region}.api.aws",
|
|
182
|
+
tags: ["dualstack", "fips"],
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
hostname: "elasticache.{region}.api.aws",
|
|
186
|
+
tags: ["dualstack"],
|
|
187
|
+
},
|
|
179
188
|
],
|
|
180
189
|
},
|
|
181
190
|
};
|
|
@@ -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.TestFailoverResult = exports.TestFailoverNotAvailableFault = exports.TestFailoverMessage = exports.NodeGroupNotFoundFault = exports.APICallRateForCustomerExceededFault = exports.StartMigrationResponse = exports.StartMigrationMessage = exports.CustomerNodeEndpoint = exports.ReplicationGroupAlreadyUnderMigrationFault = exports.RevokeCacheSecurityGroupIngressResult = exports.RevokeCacheSecurityGroupIngressMessage = exports.AuthorizationNotFoundFault = exports.ResetCacheParameterGroupMessage = exports.TagNotFoundFault = void 0;
|
|
3
|
+
exports.SlotMigration = exports.PendingLogDeliveryConfiguration = exports.PendingAutomaticFailoverStatus = exports.NodeGroup = exports.NodeGroupMember = exports.MultiAZStatus = exports.LogDeliveryConfiguration = exports.LogDeliveryConfigurationStatus = exports.LogType = exports.LogFormat = exports.DestinationType = exports.DestinationDetails = exports.KinesisFirehoseDestinationDetails = exports.CloudWatchLogsDestinationDetails = exports.GlobalReplicationGroupInfo = exports.DataTieringStatus = exports.Endpoint = exports.AutomaticFailoverStatus = exports.CompleteMigrationMessage = exports.BatchStopUpdateActionMessage = exports.UpdateActionResultsMessage = exports.UnprocessedUpdateAction = exports.ProcessedUpdateAction = exports.UpdateActionStatus = exports.ServiceUpdateNotFoundFault = exports.BatchApplyUpdateActionMessage = exports.InvalidParameterValueException = exports.InvalidParameterCombinationException = exports.InvalidCacheSecurityGroupStateFault = exports.AuthorizeCacheSecurityGroupIngressResult = exports.CacheSecurityGroup = exports.EC2SecurityGroup = exports.AuthorizeCacheSecurityGroupIngressMessage = exports.AuthorizationAlreadyExistsFault = exports.AllowedNodeTypeModificationsMessage = exports.UserNotFoundFault = exports.UserGroupNotFoundFault = exports.TagQuotaPerResourceExceeded = exports.TagListMessage = exports.SnapshotNotFoundFault = exports.ReservedCacheNodeNotFoundFault = exports.ReplicationGroupNotFoundFault = exports.InvalidReplicationGroupStateFault = exports.InvalidARNFault = exports.CacheSubnetGroupNotFoundFault = exports.CacheSecurityGroupNotFoundFault = exports.CacheParameterGroupNotFoundFault = exports.CacheClusterNotFoundFault = exports.AddTagsToResourceMessage = exports.Tag = void 0;
|
|
4
|
+
exports.CacheSubnetGroup = exports.Subnet = exports.SubnetOutpost = exports.AvailabilityZone = exports.CreateCacheSubnetGroupMessage = exports.CacheSubnetQuotaExceededFault = exports.CacheSubnetGroupQuotaExceededFault = exports.CacheSubnetGroupAlreadyExistsFault = exports.CreateCacheSecurityGroupResult = exports.CreateCacheSecurityGroupMessage = exports.CacheSecurityGroupQuotaExceededFault = exports.CacheSecurityGroupAlreadyExistsFault = exports.InvalidCacheParameterGroupStateFault = exports.CreateCacheParameterGroupResult = exports.CacheParameterGroup = exports.CreateCacheParameterGroupMessage = exports.CacheParameterGroupQuotaExceededFault = exports.CacheParameterGroupAlreadyExistsFault = exports.NodeQuotaForCustomerExceededFault = exports.NodeQuotaForClusterExceededFault = exports.InvalidVPCNetworkStateFault = exports.InsufficientCacheClusterCapacityFault = exports.CreateCacheClusterResult = exports.CacheCluster = exports.SecurityGroupMembership = exports.PendingModifiedValues = exports.NotificationConfiguration = exports.CacheSecurityGroupMembership = exports.CacheParameterGroupStatus = exports.CacheNode = exports.CreateCacheClusterMessage = exports.OutpostMode = exports.LogDeliveryConfigurationRequest = exports.AZMode = exports.ClusterQuotaForCustomerExceededFault = exports.CacheClusterAlreadyExistsFault = exports.SnapshotQuotaExceededFault = exports.SnapshotAlreadyExistsFault = exports.InvalidSnapshotStateFault = exports.CopySnapshotResult = exports.Snapshot = exports.NodeSnapshot = exports.NodeGroupConfiguration = exports.CopySnapshotMessage = exports.ReplicationGroupNotUnderMigrationFault = exports.CompleteMigrationResponse = exports.ReplicationGroup = exports.ReplicationGroupPendingModifiedValues = exports.UserGroupsUpdateStatus = exports.ReshardingStatus = void 0;
|
|
5
|
+
exports.DeleteReplicationGroupResult = exports.DeleteReplicationGroupMessage = exports.DeleteGlobalReplicationGroupResult = exports.DeleteGlobalReplicationGroupMessage = exports.DeleteCacheSubnetGroupMessage = exports.CacheSubnetGroupInUse = exports.DeleteCacheSecurityGroupMessage = exports.DeleteCacheParameterGroupMessage = exports.DeleteCacheClusterResult = exports.DeleteCacheClusterMessage = exports.NoOperationFault = exports.DecreaseReplicaCountResult = exports.DecreaseReplicaCountMessage = exports.ConfigureShard = exports.DecreaseNodeGroupsInGlobalReplicationGroupResult = exports.DecreaseNodeGroupsInGlobalReplicationGroupMessage = exports.UserGroupQuotaExceededFault = exports.UserGroupAlreadyExistsFault = exports.UserGroup = exports.UserGroupPendingChanges = exports.DefaultUserRequired = exports.CreateUserGroupMessage = exports.UserQuotaExceededFault = exports.UserAlreadyExistsFault = exports.User = exports.Authentication = exports.AuthenticationType = exports.DuplicateUserNameFault = exports.CreateUserMessage = exports.SnapshotFeatureNotSupportedFault = exports.CreateSnapshotResult = exports.CreateSnapshotMessage = exports.ReplicationGroupAlreadyExistsFault = exports.NodeGroupsPerReplicationGroupQuotaExceededFault = exports.InvalidUserGroupStateFault = exports.InvalidGlobalReplicationGroupStateFault = exports.InvalidCacheClusterStateFault = exports.GlobalReplicationGroupNotFoundFault = exports.CreateReplicationGroupResult = exports.CreateReplicationGroupMessage = exports.ServiceLinkedRoleNotFoundFault = exports.GlobalReplicationGroupAlreadyExistsFault = exports.CreateGlobalReplicationGroupResult = exports.GlobalReplicationGroup = exports.GlobalReplicationGroupMember = exports.GlobalNodeGroup = exports.CreateGlobalReplicationGroupMessage = exports.SubnetNotAllowedFault = exports.InvalidSubnet = exports.CreateCacheSubnetGroupResult = void 0;
|
|
6
|
+
exports.DescribeUpdateActionsMessage = exports.TimeRangeFilter = exports.DescribeSnapshotsMessage = exports.DescribeSnapshotsListMessage = exports.ServiceUpdatesMessage = exports.ServiceUpdate = exports.ServiceUpdateType = exports.ServiceUpdateSeverity = exports.DescribeServiceUpdatesMessage = exports.ServiceUpdateStatus = exports.ReservedCacheNodesOfferingNotFoundFault = exports.ReservedCacheNodesOfferingMessage = exports.ReservedCacheNodesOffering = exports.DescribeReservedCacheNodesOfferingsMessage = exports.ReservedCacheNodeMessage = exports.ReservedCacheNode = exports.RecurringCharge = exports.DescribeReservedCacheNodesMessage = exports.ReplicationGroupMessage = exports.DescribeReplicationGroupsMessage = exports.DescribeGlobalReplicationGroupsResult = exports.DescribeGlobalReplicationGroupsMessage = exports.EventsMessage = exports.Event = exports.DescribeEventsMessage = exports.DescribeEngineDefaultParametersResult = exports.EngineDefaults = exports.DescribeEngineDefaultParametersMessage = exports.DescribeCacheSubnetGroupsMessage = exports.CacheSubnetGroupMessage = exports.DescribeCacheSecurityGroupsMessage = exports.CacheSecurityGroupMessage = exports.DescribeCacheParametersMessage = exports.CacheParameterGroupDetails = exports.Parameter = exports.CacheNodeTypeSpecificParameter = exports.CacheNodeTypeSpecificValue = exports.DescribeCacheParameterGroupsMessage = exports.CacheParameterGroupsMessage = exports.DescribeCacheEngineVersionsMessage = exports.CacheEngineVersionMessage = exports.CacheEngineVersion = exports.DescribeCacheClustersMessage = exports.CacheClusterMessage = exports.DeleteUserGroupMessage = exports.InvalidUserStateFault = exports.DeleteUserMessage = exports.DefaultUserAssociatedToUserGroupFault = exports.DeleteSnapshotResult = exports.DeleteSnapshotMessage = void 0;
|
|
7
|
+
exports.RebootCacheClusterResult = exports.RebootCacheClusterMessage = exports.RebalanceSlotsInGlobalReplicationGroupResult = exports.RebalanceSlotsInGlobalReplicationGroupMessage = exports.ReservedCacheNodeQuotaExceededFault = exports.ReservedCacheNodeAlreadyExistsFault = exports.PurchaseReservedCacheNodesOfferingResult = exports.PurchaseReservedCacheNodesOfferingMessage = exports.ModifyUserGroupMessage = exports.ModifyUserMessage = exports.ModifyReplicationGroupShardConfigurationResult = exports.ModifyReplicationGroupShardConfigurationMessage = exports.ModifyReplicationGroupResult = exports.ModifyReplicationGroupMessage = exports.ModifyGlobalReplicationGroupResult = exports.ModifyGlobalReplicationGroupMessage = exports.SubnetInUse = exports.ModifyCacheSubnetGroupResult = exports.ModifyCacheSubnetGroupMessage = exports.ModifyCacheParameterGroupMessage = exports.ParameterNameValue = exports.CacheParameterGroupNameMessage = exports.ModifyCacheClusterResult = exports.ModifyCacheClusterMessage = exports.ListTagsForResourceMessage = exports.ListAllowedNodeTypeModificationsMessage = exports.InvalidKMSKeyFault = exports.IncreaseReplicaCountResult = exports.IncreaseReplicaCountMessage = exports.IncreaseNodeGroupsInGlobalReplicationGroupResult = exports.IncreaseNodeGroupsInGlobalReplicationGroupMessage = exports.RegionalConfiguration = exports.ReshardingConfiguration = exports.FailoverGlobalReplicationGroupResult = exports.FailoverGlobalReplicationGroupMessage = exports.DisassociateGlobalReplicationGroupResult = exports.DisassociateGlobalReplicationGroupMessage = exports.DescribeUsersResult = exports.DescribeUsersMessage = exports.Filter = exports.DescribeUserGroupsResult = exports.DescribeUserGroupsMessage = exports.UpdateActionsMessage = exports.UpdateAction = exports.SlaMet = exports.NodeGroupUpdateStatus = exports.NodeGroupMemberUpdateStatus = exports.CacheNodeUpdateStatus = exports.NodeUpdateStatus = exports.NodeUpdateInitiatedBy = void 0;
|
|
8
|
+
exports.TestFailoverResult = exports.TestFailoverNotAvailableFault = exports.TestFailoverMessage = exports.NodeGroupNotFoundFault = exports.APICallRateForCustomerExceededFault = exports.StartMigrationResponse = exports.StartMigrationMessage = exports.CustomerNodeEndpoint = exports.ReplicationGroupAlreadyUnderMigrationFault = exports.RevokeCacheSecurityGroupIngressResult = exports.RevokeCacheSecurityGroupIngressMessage = exports.AuthorizationNotFoundFault = exports.ResetCacheParameterGroupMessage = exports.TagNotFoundFault = exports.RemoveTagsFromResourceMessage = void 0;
|
|
9
9
|
var Tag;
|
|
10
10
|
(function (Tag) {
|
|
11
11
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -217,6 +217,11 @@ var Endpoint;
|
|
|
217
217
|
...obj,
|
|
218
218
|
});
|
|
219
219
|
})(Endpoint = exports.Endpoint || (exports.Endpoint = {}));
|
|
220
|
+
var DataTieringStatus;
|
|
221
|
+
(function (DataTieringStatus) {
|
|
222
|
+
DataTieringStatus["DISABLED"] = "disabled";
|
|
223
|
+
DataTieringStatus["ENABLED"] = "enabled";
|
|
224
|
+
})(DataTieringStatus = exports.DataTieringStatus || (exports.DataTieringStatus = {}));
|
|
220
225
|
var GlobalReplicationGroupInfo;
|
|
221
226
|
(function (GlobalReplicationGroupInfo) {
|
|
222
227
|
GlobalReplicationGroupInfo.filterSensitiveLog = (obj) => ({
|
|
@@ -2174,6 +2174,14 @@ const deserializeAws_queryCreateUserCommandError = async (output, context) => {
|
|
|
2174
2174
|
$metadata: deserializeMetadata(output),
|
|
2175
2175
|
};
|
|
2176
2176
|
break;
|
|
2177
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
2178
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
2179
|
+
response = {
|
|
2180
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
2181
|
+
name: errorCode,
|
|
2182
|
+
$metadata: deserializeMetadata(output),
|
|
2183
|
+
};
|
|
2184
|
+
break;
|
|
2177
2185
|
case "TagQuotaPerResourceExceeded":
|
|
2178
2186
|
case "com.amazonaws.elasticache#TagQuotaPerResourceExceeded":
|
|
2179
2187
|
response = {
|
|
@@ -2261,6 +2269,14 @@ const deserializeAws_queryCreateUserGroupCommandError = async (output, context)
|
|
|
2261
2269
|
$metadata: deserializeMetadata(output),
|
|
2262
2270
|
};
|
|
2263
2271
|
break;
|
|
2272
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
2273
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
2274
|
+
response = {
|
|
2275
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
2276
|
+
name: errorCode,
|
|
2277
|
+
$metadata: deserializeMetadata(output),
|
|
2278
|
+
};
|
|
2279
|
+
break;
|
|
2264
2280
|
case "TagQuotaPerResourceExceeded":
|
|
2265
2281
|
case "com.amazonaws.elasticache#TagQuotaPerResourceExceeded":
|
|
2266
2282
|
response = {
|
|
@@ -3074,6 +3090,14 @@ const deserializeAws_queryDeleteUserCommandError = async (output, context) => {
|
|
|
3074
3090
|
$metadata: deserializeMetadata(output),
|
|
3075
3091
|
};
|
|
3076
3092
|
break;
|
|
3093
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
3094
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
3095
|
+
response = {
|
|
3096
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
3097
|
+
name: errorCode,
|
|
3098
|
+
$metadata: deserializeMetadata(output),
|
|
3099
|
+
};
|
|
3100
|
+
break;
|
|
3077
3101
|
case "UserNotFoundFault":
|
|
3078
3102
|
case "com.amazonaws.elasticache#UserNotFoundFault":
|
|
3079
3103
|
response = {
|
|
@@ -3137,6 +3161,14 @@ const deserializeAws_queryDeleteUserGroupCommandError = async (output, context)
|
|
|
3137
3161
|
$metadata: deserializeMetadata(output),
|
|
3138
3162
|
};
|
|
3139
3163
|
break;
|
|
3164
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
3165
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
3166
|
+
response = {
|
|
3167
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
3168
|
+
name: errorCode,
|
|
3169
|
+
$metadata: deserializeMetadata(output),
|
|
3170
|
+
};
|
|
3171
|
+
break;
|
|
3140
3172
|
case "UserGroupNotFoundFault":
|
|
3141
3173
|
case "com.amazonaws.elasticache#UserGroupNotFoundFault":
|
|
3142
3174
|
response = {
|
|
@@ -4081,6 +4113,14 @@ const deserializeAws_queryDescribeUserGroupsCommandError = async (output, contex
|
|
|
4081
4113
|
$metadata: deserializeMetadata(output),
|
|
4082
4114
|
};
|
|
4083
4115
|
break;
|
|
4116
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
4117
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
4118
|
+
response = {
|
|
4119
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
4120
|
+
name: errorCode,
|
|
4121
|
+
$metadata: deserializeMetadata(output),
|
|
4122
|
+
};
|
|
4123
|
+
break;
|
|
4084
4124
|
case "UserGroupNotFoundFault":
|
|
4085
4125
|
case "com.amazonaws.elasticache#UserGroupNotFoundFault":
|
|
4086
4126
|
response = {
|
|
@@ -4136,6 +4176,14 @@ const deserializeAws_queryDescribeUsersCommandError = async (output, context) =>
|
|
|
4136
4176
|
$metadata: deserializeMetadata(output),
|
|
4137
4177
|
};
|
|
4138
4178
|
break;
|
|
4179
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
4180
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
4181
|
+
response = {
|
|
4182
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
4183
|
+
name: errorCode,
|
|
4184
|
+
$metadata: deserializeMetadata(output),
|
|
4185
|
+
};
|
|
4186
|
+
break;
|
|
4139
4187
|
case "UserNotFoundFault":
|
|
4140
4188
|
case "com.amazonaws.elasticache#UserNotFoundFault":
|
|
4141
4189
|
response = {
|
|
@@ -5379,6 +5427,14 @@ const deserializeAws_queryModifyUserCommandError = async (output, context) => {
|
|
|
5379
5427
|
$metadata: deserializeMetadata(output),
|
|
5380
5428
|
};
|
|
5381
5429
|
break;
|
|
5430
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
5431
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
5432
|
+
response = {
|
|
5433
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
5434
|
+
name: errorCode,
|
|
5435
|
+
$metadata: deserializeMetadata(output),
|
|
5436
|
+
};
|
|
5437
|
+
break;
|
|
5382
5438
|
case "UserNotFoundFault":
|
|
5383
5439
|
case "com.amazonaws.elasticache#UserNotFoundFault":
|
|
5384
5440
|
response = {
|
|
@@ -5466,6 +5522,14 @@ const deserializeAws_queryModifyUserGroupCommandError = async (output, context)
|
|
|
5466
5522
|
$metadata: deserializeMetadata(output),
|
|
5467
5523
|
};
|
|
5468
5524
|
break;
|
|
5525
|
+
case "ServiceLinkedRoleNotFoundFault":
|
|
5526
|
+
case "com.amazonaws.elasticache#ServiceLinkedRoleNotFoundFault":
|
|
5527
|
+
response = {
|
|
5528
|
+
...(await deserializeAws_queryServiceLinkedRoleNotFoundFaultResponse(parsedOutput, context)),
|
|
5529
|
+
name: errorCode,
|
|
5530
|
+
$metadata: deserializeMetadata(output),
|
|
5531
|
+
};
|
|
5532
|
+
break;
|
|
5469
5533
|
case "UserGroupNotFoundFault":
|
|
5470
5534
|
case "com.amazonaws.elasticache#UserGroupNotFoundFault":
|
|
5471
5535
|
response = {
|
|
@@ -7416,6 +7480,9 @@ const serializeAws_queryCreateReplicationGroupMessage = (input, context) => {
|
|
|
7416
7480
|
entries[loc] = value;
|
|
7417
7481
|
});
|
|
7418
7482
|
}
|
|
7483
|
+
if (input.DataTieringEnabled !== undefined && input.DataTieringEnabled !== null) {
|
|
7484
|
+
entries["DataTieringEnabled"] = input.DataTieringEnabled;
|
|
7485
|
+
}
|
|
7419
7486
|
return entries;
|
|
7420
7487
|
};
|
|
7421
7488
|
const serializeAws_queryCreateSnapshotMessage = (input, context) => {
|
|
@@ -11224,6 +11291,7 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
|
|
|
11224
11291
|
UserGroupIds: undefined,
|
|
11225
11292
|
LogDeliveryConfigurations: undefined,
|
|
11226
11293
|
ReplicationGroupCreateTime: undefined,
|
|
11294
|
+
DataTiering: undefined,
|
|
11227
11295
|
};
|
|
11228
11296
|
if (output["ReplicationGroupId"] !== undefined) {
|
|
11229
11297
|
contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
|
|
@@ -11317,6 +11385,9 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
|
|
|
11317
11385
|
if (output["ReplicationGroupCreateTime"] !== undefined) {
|
|
11318
11386
|
contents.ReplicationGroupCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ReplicationGroupCreateTime"]));
|
|
11319
11387
|
}
|
|
11388
|
+
if (output["DataTiering"] !== undefined) {
|
|
11389
|
+
contents.DataTiering = smithy_client_1.expectString(output["DataTiering"]);
|
|
11390
|
+
}
|
|
11320
11391
|
return contents;
|
|
11321
11392
|
};
|
|
11322
11393
|
const deserializeAws_queryReplicationGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -11789,6 +11860,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
11789
11860
|
NodeSnapshots: undefined,
|
|
11790
11861
|
KmsKeyId: undefined,
|
|
11791
11862
|
ARN: undefined,
|
|
11863
|
+
DataTiering: undefined,
|
|
11792
11864
|
};
|
|
11793
11865
|
if (output["SnapshotName"] !== undefined) {
|
|
11794
11866
|
contents.SnapshotName = smithy_client_1.expectString(output["SnapshotName"]);
|
|
@@ -11874,6 +11946,9 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
11874
11946
|
if (output["ARN"] !== undefined) {
|
|
11875
11947
|
contents.ARN = smithy_client_1.expectString(output["ARN"]);
|
|
11876
11948
|
}
|
|
11949
|
+
if (output["DataTiering"] !== undefined) {
|
|
11950
|
+
contents.DataTiering = smithy_client_1.expectString(output["DataTiering"]);
|
|
11951
|
+
}
|
|
11877
11952
|
return contents;
|
|
11878
11953
|
};
|
|
11879
11954
|
const deserializeAws_querySnapshotAlreadyExistsFault = (output, context) => {
|
|
@@ -12235,6 +12310,7 @@ const deserializeAws_queryUser = (output, context) => {
|
|
|
12235
12310
|
UserName: undefined,
|
|
12236
12311
|
Status: undefined,
|
|
12237
12312
|
Engine: undefined,
|
|
12313
|
+
MinimumEngineVersion: undefined,
|
|
12238
12314
|
AccessString: undefined,
|
|
12239
12315
|
UserGroupIds: undefined,
|
|
12240
12316
|
Authentication: undefined,
|
|
@@ -12252,6 +12328,9 @@ const deserializeAws_queryUser = (output, context) => {
|
|
|
12252
12328
|
if (output["Engine"] !== undefined) {
|
|
12253
12329
|
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
12254
12330
|
}
|
|
12331
|
+
if (output["MinimumEngineVersion"] !== undefined) {
|
|
12332
|
+
contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
|
|
12333
|
+
}
|
|
12255
12334
|
if (output["AccessString"] !== undefined) {
|
|
12256
12335
|
contents.AccessString = smithy_client_1.expectString(output["AccessString"]);
|
|
12257
12336
|
}
|
|
@@ -12284,6 +12363,7 @@ const deserializeAws_queryUserGroup = (output, context) => {
|
|
|
12284
12363
|
Status: undefined,
|
|
12285
12364
|
Engine: undefined,
|
|
12286
12365
|
UserIds: undefined,
|
|
12366
|
+
MinimumEngineVersion: undefined,
|
|
12287
12367
|
PendingChanges: undefined,
|
|
12288
12368
|
ReplicationGroups: undefined,
|
|
12289
12369
|
ARN: undefined,
|
|
@@ -12303,6 +12383,9 @@ const deserializeAws_queryUserGroup = (output, context) => {
|
|
|
12303
12383
|
if (output["UserIds"] !== undefined && output["UserIds"]["member"] !== undefined) {
|
|
12304
12384
|
contents.UserIds = deserializeAws_queryUserIdList(smithy_client_1.getArrayIfSingleItem(output["UserIds"]["member"]), context);
|
|
12305
12385
|
}
|
|
12386
|
+
if (output["MinimumEngineVersion"] !== undefined) {
|
|
12387
|
+
contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
|
|
12388
|
+
}
|
|
12306
12389
|
if (output["PendingChanges"] !== undefined) {
|
|
12307
12390
|
contents.PendingChanges = deserializeAws_queryUserGroupPendingChanges(output["PendingChanges"], context);
|
|
12308
12391
|
}
|
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
package/dist-es/endpoints.js
CHANGED
|
@@ -73,6 +73,7 @@ var partitionHash = {
|
|
|
73
73
|
"ap-south-1",
|
|
74
74
|
"ap-southeast-1",
|
|
75
75
|
"ap-southeast-2",
|
|
76
|
+
"ap-southeast-3",
|
|
76
77
|
"ca-central-1",
|
|
77
78
|
"eu-central-1",
|
|
78
79
|
"eu-north-1",
|
|
@@ -174,6 +175,14 @@ var partitionHash = {
|
|
|
174
175
|
hostname: "elasticache.{region}.amazonaws.com",
|
|
175
176
|
tags: ["fips"],
|
|
176
177
|
},
|
|
178
|
+
{
|
|
179
|
+
hostname: "elasticache-fips.{region}.api.aws",
|
|
180
|
+
tags: ["dualstack", "fips"],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
hostname: "elasticache.{region}.api.aws",
|
|
184
|
+
tags: ["dualstack"],
|
|
185
|
+
},
|
|
177
186
|
],
|
|
178
187
|
},
|
|
179
188
|
};
|
|
@@ -146,6 +146,11 @@ export var Endpoint;
|
|
|
146
146
|
(function (Endpoint) {
|
|
147
147
|
Endpoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
148
|
})(Endpoint || (Endpoint = {}));
|
|
149
|
+
export var DataTieringStatus;
|
|
150
|
+
(function (DataTieringStatus) {
|
|
151
|
+
DataTieringStatus["DISABLED"] = "disabled";
|
|
152
|
+
DataTieringStatus["ENABLED"] = "enabled";
|
|
153
|
+
})(DataTieringStatus || (DataTieringStatus = {}));
|
|
149
154
|
export var GlobalReplicationGroupInfo;
|
|
150
155
|
(function (GlobalReplicationGroupInfo) {
|
|
151
156
|
GlobalReplicationGroupInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|