@aws-sdk/client-elasticache 3.39.0 → 3.43.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 +44 -0
- package/dist-cjs/endpoints.js +138 -9
- package/dist-cjs/models/models_0.js +11 -6
- package/dist-cjs/protocols/Aws_query.js +83 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +138 -9
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_query.js +269 -186
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/ElastiCache.d.ts +6 -5
- package/dist-types/ElastiCacheClient.d.ts +8 -0
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +1 -1
- package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +1 -1
- package/dist-types/commands/CompleteMigrationCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateCacheClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/commands/CreateReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserGroupCommand.d.ts +2 -2
- package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCacheClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUserGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCacheClustersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCacheParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUsersCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +1 -1
- package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCacheClusterCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyUserCommand.d.ts +1 -1
- package/dist-types/commands/ModifyUserGroupCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +1 -1
- package/dist-types/commands/RebootCacheClusterCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/StartMigrationCommand.d.ts +1 -1
- package/dist-types/commands/TestFailoverCommand.d.ts +3 -2
- package/dist-types/models/models_0.d.ts +544 -78
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/ElastiCacheClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **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))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
51
|
|
|
8
52
|
**Note:** Version bump only for package @aws-sdk/client-elasticache
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,9 +3,65 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"us-east-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "elasticache.us-east-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "elasticache-fips.us-east-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
"us-east-2": {
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "elasticache.us-east-2.amazonaws.com",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: "elasticache-fips.us-east-2.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
"us-gov-west-1": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "elasticache.us-gov-west-1.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "elasticache.us-gov-west-1.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
"us-west-1": {
|
|
43
|
+
variants: [
|
|
44
|
+
{
|
|
45
|
+
hostname: "elasticache.us-west-1.amazonaws.com",
|
|
46
|
+
tags: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
hostname: "elasticache-fips.us-west-1.amazonaws.com",
|
|
50
|
+
tags: ["fips"],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
"us-west-2": {
|
|
55
|
+
variants: [
|
|
56
|
+
{
|
|
57
|
+
hostname: "elasticache.us-west-2.amazonaws.com",
|
|
58
|
+
tags: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
hostname: "elasticache-fips.us-west-2.amazonaws.com",
|
|
62
|
+
tags: ["fips"],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
9
65
|
},
|
|
10
66
|
};
|
|
11
67
|
const partitionHash = {
|
|
@@ -30,32 +86,105 @@ const partitionHash = {
|
|
|
30
86
|
"me-south-1",
|
|
31
87
|
"sa-east-1",
|
|
32
88
|
"us-east-1",
|
|
89
|
+
"us-east-1-fips",
|
|
33
90
|
"us-east-2",
|
|
91
|
+
"us-east-2-fips",
|
|
34
92
|
"us-west-1",
|
|
93
|
+
"us-west-1-fips",
|
|
35
94
|
"us-west-2",
|
|
95
|
+
"us-west-2-fips",
|
|
36
96
|
],
|
|
37
97
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
38
|
-
|
|
98
|
+
variants: [
|
|
99
|
+
{
|
|
100
|
+
hostname: "elasticache.{region}.amazonaws.com",
|
|
101
|
+
tags: [],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
hostname: "elasticache-fips.{region}.amazonaws.com",
|
|
105
|
+
tags: ["fips"],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
hostname: "elasticache-fips.{region}.api.aws",
|
|
109
|
+
tags: ["dualstack", "fips"],
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
hostname: "elasticache.{region}.api.aws",
|
|
113
|
+
tags: ["dualstack"],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
39
116
|
},
|
|
40
117
|
"aws-cn": {
|
|
41
118
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
42
119
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
43
|
-
|
|
120
|
+
variants: [
|
|
121
|
+
{
|
|
122
|
+
hostname: "elasticache.{region}.amazonaws.com.cn",
|
|
123
|
+
tags: [],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
hostname: "elasticache-fips.{region}.amazonaws.com.cn",
|
|
127
|
+
tags: ["fips"],
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
hostname: "elasticache-fips.{region}.api.amazonwebservices.com.cn",
|
|
131
|
+
tags: ["dualstack", "fips"],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
hostname: "elasticache.{region}.api.amazonwebservices.com.cn",
|
|
135
|
+
tags: ["dualstack"],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
44
138
|
},
|
|
45
139
|
"aws-iso": {
|
|
46
140
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
47
141
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
48
|
-
|
|
142
|
+
variants: [
|
|
143
|
+
{
|
|
144
|
+
hostname: "elasticache.{region}.c2s.ic.gov",
|
|
145
|
+
tags: [],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
hostname: "elasticache-fips.{region}.c2s.ic.gov",
|
|
149
|
+
tags: ["fips"],
|
|
150
|
+
},
|
|
151
|
+
],
|
|
49
152
|
},
|
|
50
153
|
"aws-iso-b": {
|
|
51
154
|
regions: ["us-isob-east-1"],
|
|
52
155
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
53
|
-
|
|
156
|
+
variants: [
|
|
157
|
+
{
|
|
158
|
+
hostname: "elasticache.{region}.sc2s.sgov.gov",
|
|
159
|
+
tags: [],
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
hostname: "elasticache-fips.{region}.sc2s.sgov.gov",
|
|
163
|
+
tags: ["fips"],
|
|
164
|
+
},
|
|
165
|
+
],
|
|
54
166
|
},
|
|
55
167
|
"aws-us-gov": {
|
|
56
|
-
regions: ["fips", "us-gov-east-1", "us-gov-west-1"],
|
|
168
|
+
regions: ["fips", "us-gov-east-1", "us-gov-west-1", "us-gov-west-1-fips"],
|
|
57
169
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
58
|
-
|
|
170
|
+
variants: [
|
|
171
|
+
{
|
|
172
|
+
hostname: "elasticache.{region}.amazonaws.com",
|
|
173
|
+
tags: [],
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
hostname: "elasticache.{region}.amazonaws.com",
|
|
177
|
+
tags: ["fips"],
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
hostname: "elasticache-fips.{region}.api.aws",
|
|
181
|
+
tags: ["dualstack", "fips"],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
hostname: "elasticache.{region}.api.aws",
|
|
185
|
+
tags: ["dualstack"],
|
|
186
|
+
},
|
|
187
|
+
],
|
|
59
188
|
},
|
|
60
189
|
};
|
|
61
190
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
@@ -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
|
}
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|