@aws-sdk/client-elasticache 3.53.0 → 3.55.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 +30 -0
- package/dist-cjs/ElastiCacheClient.js +13 -13
- package/dist-cjs/commands/AddTagsToResourceCommand.js +3 -3
- package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +3 -3
- package/dist-cjs/commands/BatchApplyUpdateActionCommand.js +3 -3
- package/dist-cjs/commands/BatchStopUpdateActionCommand.js +3 -3
- package/dist-cjs/commands/CompleteMigrationCommand.js +3 -3
- package/dist-cjs/commands/CopySnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateCacheClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateCacheParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateUserCommand.js +3 -3
- package/dist-cjs/commands/CreateUserGroupCommand.js +3 -3
- package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/DecreaseReplicaCountCommand.js +3 -3
- package/dist-cjs/commands/DeleteCacheClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteSnapshotCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeCacheClustersCommand.js +3 -3
- package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeCacheParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventsCommand.js +3 -3
- package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeReplicationGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/DescribeUpdateActionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeUsersCommand.js +3 -3
- package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/IncreaseReplicaCountCommand.js +3 -3
- package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ModifyCacheClusterCommand.js +3 -3
- package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +3 -3
- package/dist-cjs/commands/ModifyUserCommand.js +3 -3
- package/dist-cjs/commands/ModifyUserGroupCommand.js +3 -3
- package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +3 -3
- package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +3 -3
- package/dist-cjs/commands/RebootCacheClusterCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
- package/dist-cjs/commands/ResetCacheParameterGroupCommand.js +3 -3
- package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +3 -3
- package/dist-cjs/commands/StartMigrationCommand.js +3 -3
- package/dist-cjs/commands/TestFailoverCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +568 -568
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForCacheClusterAvailable.js +3 -3
- package/dist-cjs/waiters/waitForCacheClusterDeleted.js +3 -3
- package/dist-cjs/waiters/waitForReplicationGroupAvailable.js +3 -3
- package/dist-cjs/waiters/waitForReplicationGroupDeleted.js +3 -3
- package/dist-es/ElastiCache.js +65 -65
- package/dist-es/pagination/DescribeCacheClustersPaginator.js +4 -4
- package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeCacheParametersPaginator.js +4 -4
- package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +4 -4
- package/dist-es/pagination/DescribeEventsPaginator.js +4 -4
- package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +4 -4
- package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +4 -4
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +4 -4
- package/dist-es/pagination/DescribeUpdateActionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeUserGroupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeUsersPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +108 -108
- package/dist-es/waiters/waitForCacheClusterAvailable.js +5 -5
- package/dist-es/waiters/waitForCacheClusterDeleted.js +7 -7
- package/dist-es/waiters/waitForReplicationGroupAvailable.js +2 -2
- package/dist-es/waiters/waitForReplicationGroupDeleted.js +2 -2
- package/dist-types/ElastiCacheClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +2 -34
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ElastiCacheClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
package/dist-es/ElastiCache.js
CHANGED
|
@@ -77,7 +77,7 @@ var ElastiCache = (function (_super) {
|
|
|
77
77
|
}
|
|
78
78
|
else if (typeof cb === "function") {
|
|
79
79
|
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error("Expect http options but get "
|
|
80
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
81
|
this.send(command, optionsOrCb || {}, cb);
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
@@ -91,7 +91,7 @@ var ElastiCache = (function (_super) {
|
|
|
91
91
|
}
|
|
92
92
|
else if (typeof cb === "function") {
|
|
93
93
|
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error("Expect http options but get "
|
|
94
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
95
|
this.send(command, optionsOrCb || {}, cb);
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
@@ -105,7 +105,7 @@ var ElastiCache = (function (_super) {
|
|
|
105
105
|
}
|
|
106
106
|
else if (typeof cb === "function") {
|
|
107
107
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error("Expect http options but get "
|
|
108
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
109
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
@@ -119,7 +119,7 @@ var ElastiCache = (function (_super) {
|
|
|
119
119
|
}
|
|
120
120
|
else if (typeof cb === "function") {
|
|
121
121
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error("Expect http options but get "
|
|
122
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
123
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
@@ -133,7 +133,7 @@ var ElastiCache = (function (_super) {
|
|
|
133
133
|
}
|
|
134
134
|
else if (typeof cb === "function") {
|
|
135
135
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error("Expect http options but get "
|
|
136
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
137
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
138
|
}
|
|
139
139
|
else {
|
|
@@ -147,7 +147,7 @@ var ElastiCache = (function (_super) {
|
|
|
147
147
|
}
|
|
148
148
|
else if (typeof cb === "function") {
|
|
149
149
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error("Expect http options but get "
|
|
150
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
151
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
152
|
}
|
|
153
153
|
else {
|
|
@@ -161,7 +161,7 @@ var ElastiCache = (function (_super) {
|
|
|
161
161
|
}
|
|
162
162
|
else if (typeof cb === "function") {
|
|
163
163
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error("Expect http options but get "
|
|
164
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
165
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
166
|
}
|
|
167
167
|
else {
|
|
@@ -175,7 +175,7 @@ var ElastiCache = (function (_super) {
|
|
|
175
175
|
}
|
|
176
176
|
else if (typeof cb === "function") {
|
|
177
177
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error("Expect http options but get "
|
|
178
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
179
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
@@ -189,7 +189,7 @@ var ElastiCache = (function (_super) {
|
|
|
189
189
|
}
|
|
190
190
|
else if (typeof cb === "function") {
|
|
191
191
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error("Expect http options but get "
|
|
192
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
193
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
@@ -203,7 +203,7 @@ var ElastiCache = (function (_super) {
|
|
|
203
203
|
}
|
|
204
204
|
else if (typeof cb === "function") {
|
|
205
205
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error("Expect http options but get "
|
|
206
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
207
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
208
|
}
|
|
209
209
|
else {
|
|
@@ -217,7 +217,7 @@ var ElastiCache = (function (_super) {
|
|
|
217
217
|
}
|
|
218
218
|
else if (typeof cb === "function") {
|
|
219
219
|
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error("Expect http options but get "
|
|
220
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
221
221
|
this.send(command, optionsOrCb || {}, cb);
|
|
222
222
|
}
|
|
223
223
|
else {
|
|
@@ -231,7 +231,7 @@ var ElastiCache = (function (_super) {
|
|
|
231
231
|
}
|
|
232
232
|
else if (typeof cb === "function") {
|
|
233
233
|
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error("Expect http options but get "
|
|
234
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
235
235
|
this.send(command, optionsOrCb || {}, cb);
|
|
236
236
|
}
|
|
237
237
|
else {
|
|
@@ -245,7 +245,7 @@ var ElastiCache = (function (_super) {
|
|
|
245
245
|
}
|
|
246
246
|
else if (typeof cb === "function") {
|
|
247
247
|
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error("Expect http options but get "
|
|
248
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
249
249
|
this.send(command, optionsOrCb || {}, cb);
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
@@ -259,7 +259,7 @@ var ElastiCache = (function (_super) {
|
|
|
259
259
|
}
|
|
260
260
|
else if (typeof cb === "function") {
|
|
261
261
|
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error("Expect http options but get "
|
|
262
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
263
263
|
this.send(command, optionsOrCb || {}, cb);
|
|
264
264
|
}
|
|
265
265
|
else {
|
|
@@ -273,7 +273,7 @@ var ElastiCache = (function (_super) {
|
|
|
273
273
|
}
|
|
274
274
|
else if (typeof cb === "function") {
|
|
275
275
|
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error("Expect http options but get "
|
|
276
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
277
277
|
this.send(command, optionsOrCb || {}, cb);
|
|
278
278
|
}
|
|
279
279
|
else {
|
|
@@ -287,7 +287,7 @@ var ElastiCache = (function (_super) {
|
|
|
287
287
|
}
|
|
288
288
|
else if (typeof cb === "function") {
|
|
289
289
|
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error("Expect http options but get "
|
|
290
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
291
291
|
this.send(command, optionsOrCb || {}, cb);
|
|
292
292
|
}
|
|
293
293
|
else {
|
|
@@ -301,7 +301,7 @@ var ElastiCache = (function (_super) {
|
|
|
301
301
|
}
|
|
302
302
|
else if (typeof cb === "function") {
|
|
303
303
|
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error("Expect http options but get "
|
|
304
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
305
305
|
this.send(command, optionsOrCb || {}, cb);
|
|
306
306
|
}
|
|
307
307
|
else {
|
|
@@ -315,7 +315,7 @@ var ElastiCache = (function (_super) {
|
|
|
315
315
|
}
|
|
316
316
|
else if (typeof cb === "function") {
|
|
317
317
|
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error("Expect http options but get "
|
|
318
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
319
319
|
this.send(command, optionsOrCb || {}, cb);
|
|
320
320
|
}
|
|
321
321
|
else {
|
|
@@ -329,7 +329,7 @@ var ElastiCache = (function (_super) {
|
|
|
329
329
|
}
|
|
330
330
|
else if (typeof cb === "function") {
|
|
331
331
|
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error("Expect http options but get "
|
|
332
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
333
333
|
this.send(command, optionsOrCb || {}, cb);
|
|
334
334
|
}
|
|
335
335
|
else {
|
|
@@ -343,7 +343,7 @@ var ElastiCache = (function (_super) {
|
|
|
343
343
|
}
|
|
344
344
|
else if (typeof cb === "function") {
|
|
345
345
|
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error("Expect http options but get "
|
|
346
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
347
347
|
this.send(command, optionsOrCb || {}, cb);
|
|
348
348
|
}
|
|
349
349
|
else {
|
|
@@ -357,7 +357,7 @@ var ElastiCache = (function (_super) {
|
|
|
357
357
|
}
|
|
358
358
|
else if (typeof cb === "function") {
|
|
359
359
|
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error("Expect http options but get "
|
|
360
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
361
361
|
this.send(command, optionsOrCb || {}, cb);
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
@@ -371,7 +371,7 @@ var ElastiCache = (function (_super) {
|
|
|
371
371
|
}
|
|
372
372
|
else if (typeof cb === "function") {
|
|
373
373
|
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error("Expect http options but get "
|
|
374
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
375
375
|
this.send(command, optionsOrCb || {}, cb);
|
|
376
376
|
}
|
|
377
377
|
else {
|
|
@@ -385,7 +385,7 @@ var ElastiCache = (function (_super) {
|
|
|
385
385
|
}
|
|
386
386
|
else if (typeof cb === "function") {
|
|
387
387
|
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error("Expect http options but get "
|
|
388
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
389
389
|
this.send(command, optionsOrCb || {}, cb);
|
|
390
390
|
}
|
|
391
391
|
else {
|
|
@@ -399,7 +399,7 @@ var ElastiCache = (function (_super) {
|
|
|
399
399
|
}
|
|
400
400
|
else if (typeof cb === "function") {
|
|
401
401
|
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error("Expect http options but get "
|
|
402
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
403
403
|
this.send(command, optionsOrCb || {}, cb);
|
|
404
404
|
}
|
|
405
405
|
else {
|
|
@@ -413,7 +413,7 @@ var ElastiCache = (function (_super) {
|
|
|
413
413
|
}
|
|
414
414
|
else if (typeof cb === "function") {
|
|
415
415
|
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error("Expect http options but get "
|
|
416
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
417
417
|
this.send(command, optionsOrCb || {}, cb);
|
|
418
418
|
}
|
|
419
419
|
else {
|
|
@@ -427,7 +427,7 @@ var ElastiCache = (function (_super) {
|
|
|
427
427
|
}
|
|
428
428
|
else if (typeof cb === "function") {
|
|
429
429
|
if (typeof optionsOrCb !== "object")
|
|
430
|
-
throw new Error("Expect http options but get "
|
|
430
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
431
431
|
this.send(command, optionsOrCb || {}, cb);
|
|
432
432
|
}
|
|
433
433
|
else {
|
|
@@ -441,7 +441,7 @@ var ElastiCache = (function (_super) {
|
|
|
441
441
|
}
|
|
442
442
|
else if (typeof cb === "function") {
|
|
443
443
|
if (typeof optionsOrCb !== "object")
|
|
444
|
-
throw new Error("Expect http options but get "
|
|
444
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
445
445
|
this.send(command, optionsOrCb || {}, cb);
|
|
446
446
|
}
|
|
447
447
|
else {
|
|
@@ -455,7 +455,7 @@ var ElastiCache = (function (_super) {
|
|
|
455
455
|
}
|
|
456
456
|
else if (typeof cb === "function") {
|
|
457
457
|
if (typeof optionsOrCb !== "object")
|
|
458
|
-
throw new Error("Expect http options but get "
|
|
458
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
459
459
|
this.send(command, optionsOrCb || {}, cb);
|
|
460
460
|
}
|
|
461
461
|
else {
|
|
@@ -469,7 +469,7 @@ var ElastiCache = (function (_super) {
|
|
|
469
469
|
}
|
|
470
470
|
else if (typeof cb === "function") {
|
|
471
471
|
if (typeof optionsOrCb !== "object")
|
|
472
|
-
throw new Error("Expect http options but get "
|
|
472
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
473
473
|
this.send(command, optionsOrCb || {}, cb);
|
|
474
474
|
}
|
|
475
475
|
else {
|
|
@@ -483,7 +483,7 @@ var ElastiCache = (function (_super) {
|
|
|
483
483
|
}
|
|
484
484
|
else if (typeof cb === "function") {
|
|
485
485
|
if (typeof optionsOrCb !== "object")
|
|
486
|
-
throw new Error("Expect http options but get "
|
|
486
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
487
487
|
this.send(command, optionsOrCb || {}, cb);
|
|
488
488
|
}
|
|
489
489
|
else {
|
|
@@ -497,7 +497,7 @@ var ElastiCache = (function (_super) {
|
|
|
497
497
|
}
|
|
498
498
|
else if (typeof cb === "function") {
|
|
499
499
|
if (typeof optionsOrCb !== "object")
|
|
500
|
-
throw new Error("Expect http options but get "
|
|
500
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
501
501
|
this.send(command, optionsOrCb || {}, cb);
|
|
502
502
|
}
|
|
503
503
|
else {
|
|
@@ -511,7 +511,7 @@ var ElastiCache = (function (_super) {
|
|
|
511
511
|
}
|
|
512
512
|
else if (typeof cb === "function") {
|
|
513
513
|
if (typeof optionsOrCb !== "object")
|
|
514
|
-
throw new Error("Expect http options but get "
|
|
514
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
515
515
|
this.send(command, optionsOrCb || {}, cb);
|
|
516
516
|
}
|
|
517
517
|
else {
|
|
@@ -525,7 +525,7 @@ var ElastiCache = (function (_super) {
|
|
|
525
525
|
}
|
|
526
526
|
else if (typeof cb === "function") {
|
|
527
527
|
if (typeof optionsOrCb !== "object")
|
|
528
|
-
throw new Error("Expect http options but get "
|
|
528
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
529
529
|
this.send(command, optionsOrCb || {}, cb);
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
@@ -539,7 +539,7 @@ var ElastiCache = (function (_super) {
|
|
|
539
539
|
}
|
|
540
540
|
else if (typeof cb === "function") {
|
|
541
541
|
if (typeof optionsOrCb !== "object")
|
|
542
|
-
throw new Error("Expect http options but get "
|
|
542
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
543
543
|
this.send(command, optionsOrCb || {}, cb);
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
@@ -553,7 +553,7 @@ var ElastiCache = (function (_super) {
|
|
|
553
553
|
}
|
|
554
554
|
else if (typeof cb === "function") {
|
|
555
555
|
if (typeof optionsOrCb !== "object")
|
|
556
|
-
throw new Error("Expect http options but get "
|
|
556
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
557
557
|
this.send(command, optionsOrCb || {}, cb);
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
@@ -567,7 +567,7 @@ var ElastiCache = (function (_super) {
|
|
|
567
567
|
}
|
|
568
568
|
else if (typeof cb === "function") {
|
|
569
569
|
if (typeof optionsOrCb !== "object")
|
|
570
|
-
throw new Error("Expect http options but get "
|
|
570
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
571
571
|
this.send(command, optionsOrCb || {}, cb);
|
|
572
572
|
}
|
|
573
573
|
else {
|
|
@@ -581,7 +581,7 @@ var ElastiCache = (function (_super) {
|
|
|
581
581
|
}
|
|
582
582
|
else if (typeof cb === "function") {
|
|
583
583
|
if (typeof optionsOrCb !== "object")
|
|
584
|
-
throw new Error("Expect http options but get "
|
|
584
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
585
585
|
this.send(command, optionsOrCb || {}, cb);
|
|
586
586
|
}
|
|
587
587
|
else {
|
|
@@ -595,7 +595,7 @@ var ElastiCache = (function (_super) {
|
|
|
595
595
|
}
|
|
596
596
|
else if (typeof cb === "function") {
|
|
597
597
|
if (typeof optionsOrCb !== "object")
|
|
598
|
-
throw new Error("Expect http options but get "
|
|
598
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
599
599
|
this.send(command, optionsOrCb || {}, cb);
|
|
600
600
|
}
|
|
601
601
|
else {
|
|
@@ -609,7 +609,7 @@ var ElastiCache = (function (_super) {
|
|
|
609
609
|
}
|
|
610
610
|
else if (typeof cb === "function") {
|
|
611
611
|
if (typeof optionsOrCb !== "object")
|
|
612
|
-
throw new Error("Expect http options but get "
|
|
612
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
613
613
|
this.send(command, optionsOrCb || {}, cb);
|
|
614
614
|
}
|
|
615
615
|
else {
|
|
@@ -623,7 +623,7 @@ var ElastiCache = (function (_super) {
|
|
|
623
623
|
}
|
|
624
624
|
else if (typeof cb === "function") {
|
|
625
625
|
if (typeof optionsOrCb !== "object")
|
|
626
|
-
throw new Error("Expect http options but get "
|
|
626
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
627
627
|
this.send(command, optionsOrCb || {}, cb);
|
|
628
628
|
}
|
|
629
629
|
else {
|
|
@@ -637,7 +637,7 @@ var ElastiCache = (function (_super) {
|
|
|
637
637
|
}
|
|
638
638
|
else if (typeof cb === "function") {
|
|
639
639
|
if (typeof optionsOrCb !== "object")
|
|
640
|
-
throw new Error("Expect http options but get "
|
|
640
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
641
641
|
this.send(command, optionsOrCb || {}, cb);
|
|
642
642
|
}
|
|
643
643
|
else {
|
|
@@ -651,7 +651,7 @@ var ElastiCache = (function (_super) {
|
|
|
651
651
|
}
|
|
652
652
|
else if (typeof cb === "function") {
|
|
653
653
|
if (typeof optionsOrCb !== "object")
|
|
654
|
-
throw new Error("Expect http options but get "
|
|
654
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
655
655
|
this.send(command, optionsOrCb || {}, cb);
|
|
656
656
|
}
|
|
657
657
|
else {
|
|
@@ -665,7 +665,7 @@ var ElastiCache = (function (_super) {
|
|
|
665
665
|
}
|
|
666
666
|
else if (typeof cb === "function") {
|
|
667
667
|
if (typeof optionsOrCb !== "object")
|
|
668
|
-
throw new Error("Expect http options but get "
|
|
668
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
669
669
|
this.send(command, optionsOrCb || {}, cb);
|
|
670
670
|
}
|
|
671
671
|
else {
|
|
@@ -679,7 +679,7 @@ var ElastiCache = (function (_super) {
|
|
|
679
679
|
}
|
|
680
680
|
else if (typeof cb === "function") {
|
|
681
681
|
if (typeof optionsOrCb !== "object")
|
|
682
|
-
throw new Error("Expect http options but get "
|
|
682
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
683
683
|
this.send(command, optionsOrCb || {}, cb);
|
|
684
684
|
}
|
|
685
685
|
else {
|
|
@@ -693,7 +693,7 @@ var ElastiCache = (function (_super) {
|
|
|
693
693
|
}
|
|
694
694
|
else if (typeof cb === "function") {
|
|
695
695
|
if (typeof optionsOrCb !== "object")
|
|
696
|
-
throw new Error("Expect http options but get "
|
|
696
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
697
697
|
this.send(command, optionsOrCb || {}, cb);
|
|
698
698
|
}
|
|
699
699
|
else {
|
|
@@ -707,7 +707,7 @@ var ElastiCache = (function (_super) {
|
|
|
707
707
|
}
|
|
708
708
|
else if (typeof cb === "function") {
|
|
709
709
|
if (typeof optionsOrCb !== "object")
|
|
710
|
-
throw new Error("Expect http options but get "
|
|
710
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
711
711
|
this.send(command, optionsOrCb || {}, cb);
|
|
712
712
|
}
|
|
713
713
|
else {
|
|
@@ -721,7 +721,7 @@ var ElastiCache = (function (_super) {
|
|
|
721
721
|
}
|
|
722
722
|
else if (typeof cb === "function") {
|
|
723
723
|
if (typeof optionsOrCb !== "object")
|
|
724
|
-
throw new Error("Expect http options but get "
|
|
724
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
725
725
|
this.send(command, optionsOrCb || {}, cb);
|
|
726
726
|
}
|
|
727
727
|
else {
|
|
@@ -735,7 +735,7 @@ var ElastiCache = (function (_super) {
|
|
|
735
735
|
}
|
|
736
736
|
else if (typeof cb === "function") {
|
|
737
737
|
if (typeof optionsOrCb !== "object")
|
|
738
|
-
throw new Error("Expect http options but get "
|
|
738
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
739
739
|
this.send(command, optionsOrCb || {}, cb);
|
|
740
740
|
}
|
|
741
741
|
else {
|
|
@@ -749,7 +749,7 @@ var ElastiCache = (function (_super) {
|
|
|
749
749
|
}
|
|
750
750
|
else if (typeof cb === "function") {
|
|
751
751
|
if (typeof optionsOrCb !== "object")
|
|
752
|
-
throw new Error("Expect http options but get "
|
|
752
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
753
753
|
this.send(command, optionsOrCb || {}, cb);
|
|
754
754
|
}
|
|
755
755
|
else {
|
|
@@ -763,7 +763,7 @@ var ElastiCache = (function (_super) {
|
|
|
763
763
|
}
|
|
764
764
|
else if (typeof cb === "function") {
|
|
765
765
|
if (typeof optionsOrCb !== "object")
|
|
766
|
-
throw new Error("Expect http options but get "
|
|
766
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
767
767
|
this.send(command, optionsOrCb || {}, cb);
|
|
768
768
|
}
|
|
769
769
|
else {
|
|
@@ -777,7 +777,7 @@ var ElastiCache = (function (_super) {
|
|
|
777
777
|
}
|
|
778
778
|
else if (typeof cb === "function") {
|
|
779
779
|
if (typeof optionsOrCb !== "object")
|
|
780
|
-
throw new Error("Expect http options but get "
|
|
780
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
781
781
|
this.send(command, optionsOrCb || {}, cb);
|
|
782
782
|
}
|
|
783
783
|
else {
|
|
@@ -791,7 +791,7 @@ var ElastiCache = (function (_super) {
|
|
|
791
791
|
}
|
|
792
792
|
else if (typeof cb === "function") {
|
|
793
793
|
if (typeof optionsOrCb !== "object")
|
|
794
|
-
throw new Error("Expect http options but get "
|
|
794
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
795
795
|
this.send(command, optionsOrCb || {}, cb);
|
|
796
796
|
}
|
|
797
797
|
else {
|
|
@@ -805,7 +805,7 @@ var ElastiCache = (function (_super) {
|
|
|
805
805
|
}
|
|
806
806
|
else if (typeof cb === "function") {
|
|
807
807
|
if (typeof optionsOrCb !== "object")
|
|
808
|
-
throw new Error("Expect http options but get "
|
|
808
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
809
809
|
this.send(command, optionsOrCb || {}, cb);
|
|
810
810
|
}
|
|
811
811
|
else {
|
|
@@ -819,7 +819,7 @@ var ElastiCache = (function (_super) {
|
|
|
819
819
|
}
|
|
820
820
|
else if (typeof cb === "function") {
|
|
821
821
|
if (typeof optionsOrCb !== "object")
|
|
822
|
-
throw new Error("Expect http options but get "
|
|
822
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
823
823
|
this.send(command, optionsOrCb || {}, cb);
|
|
824
824
|
}
|
|
825
825
|
else {
|
|
@@ -833,7 +833,7 @@ var ElastiCache = (function (_super) {
|
|
|
833
833
|
}
|
|
834
834
|
else if (typeof cb === "function") {
|
|
835
835
|
if (typeof optionsOrCb !== "object")
|
|
836
|
-
throw new Error("Expect http options but get "
|
|
836
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
837
837
|
this.send(command, optionsOrCb || {}, cb);
|
|
838
838
|
}
|
|
839
839
|
else {
|
|
@@ -847,7 +847,7 @@ var ElastiCache = (function (_super) {
|
|
|
847
847
|
}
|
|
848
848
|
else if (typeof cb === "function") {
|
|
849
849
|
if (typeof optionsOrCb !== "object")
|
|
850
|
-
throw new Error("Expect http options but get "
|
|
850
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
851
851
|
this.send(command, optionsOrCb || {}, cb);
|
|
852
852
|
}
|
|
853
853
|
else {
|
|
@@ -861,7 +861,7 @@ var ElastiCache = (function (_super) {
|
|
|
861
861
|
}
|
|
862
862
|
else if (typeof cb === "function") {
|
|
863
863
|
if (typeof optionsOrCb !== "object")
|
|
864
|
-
throw new Error("Expect http options but get "
|
|
864
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
865
865
|
this.send(command, optionsOrCb || {}, cb);
|
|
866
866
|
}
|
|
867
867
|
else {
|
|
@@ -875,7 +875,7 @@ var ElastiCache = (function (_super) {
|
|
|
875
875
|
}
|
|
876
876
|
else if (typeof cb === "function") {
|
|
877
877
|
if (typeof optionsOrCb !== "object")
|
|
878
|
-
throw new Error("Expect http options but get "
|
|
878
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
879
879
|
this.send(command, optionsOrCb || {}, cb);
|
|
880
880
|
}
|
|
881
881
|
else {
|
|
@@ -889,7 +889,7 @@ var ElastiCache = (function (_super) {
|
|
|
889
889
|
}
|
|
890
890
|
else if (typeof cb === "function") {
|
|
891
891
|
if (typeof optionsOrCb !== "object")
|
|
892
|
-
throw new Error("Expect http options but get "
|
|
892
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
893
893
|
this.send(command, optionsOrCb || {}, cb);
|
|
894
894
|
}
|
|
895
895
|
else {
|
|
@@ -903,7 +903,7 @@ var ElastiCache = (function (_super) {
|
|
|
903
903
|
}
|
|
904
904
|
else if (typeof cb === "function") {
|
|
905
905
|
if (typeof optionsOrCb !== "object")
|
|
906
|
-
throw new Error("Expect http options but get "
|
|
906
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
907
907
|
this.send(command, optionsOrCb || {}, cb);
|
|
908
908
|
}
|
|
909
909
|
else {
|
|
@@ -917,7 +917,7 @@ var ElastiCache = (function (_super) {
|
|
|
917
917
|
}
|
|
918
918
|
else if (typeof cb === "function") {
|
|
919
919
|
if (typeof optionsOrCb !== "object")
|
|
920
|
-
throw new Error("Expect http options but get "
|
|
920
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
921
921
|
this.send(command, optionsOrCb || {}, cb);
|
|
922
922
|
}
|
|
923
923
|
else {
|
|
@@ -931,7 +931,7 @@ var ElastiCache = (function (_super) {
|
|
|
931
931
|
}
|
|
932
932
|
else if (typeof cb === "function") {
|
|
933
933
|
if (typeof optionsOrCb !== "object")
|
|
934
|
-
throw new Error("Expect http options but get "
|
|
934
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
935
935
|
this.send(command, optionsOrCb || {}, cb);
|
|
936
936
|
}
|
|
937
937
|
else {
|
|
@@ -945,7 +945,7 @@ var ElastiCache = (function (_super) {
|
|
|
945
945
|
}
|
|
946
946
|
else if (typeof cb === "function") {
|
|
947
947
|
if (typeof optionsOrCb !== "object")
|
|
948
|
-
throw new Error("Expect http options but get "
|
|
948
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
949
949
|
this.send(command, optionsOrCb || {}, cb);
|
|
950
950
|
}
|
|
951
951
|
else {
|
|
@@ -959,7 +959,7 @@ var ElastiCache = (function (_super) {
|
|
|
959
959
|
}
|
|
960
960
|
else if (typeof cb === "function") {
|
|
961
961
|
if (typeof optionsOrCb !== "object")
|
|
962
|
-
throw new Error("Expect http options but get "
|
|
962
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
963
963
|
this.send(command, optionsOrCb || {}, cb);
|
|
964
964
|
}
|
|
965
965
|
else {
|
|
@@ -973,7 +973,7 @@ var ElastiCache = (function (_super) {
|
|
|
973
973
|
}
|
|
974
974
|
else if (typeof cb === "function") {
|
|
975
975
|
if (typeof optionsOrCb !== "object")
|
|
976
|
-
throw new Error("Expect http options but get "
|
|
976
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
977
977
|
this.send(command, optionsOrCb || {}, cb);
|
|
978
978
|
}
|
|
979
979
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCacheClustersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCacheClustersCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeCacheClusters.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeCacheClusters.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeCacheClusters(config, input) {
|
|
|
48
48
|
input.Marker = token;
|
|
49
49
|
input["MaxRecords"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElastiCache)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElastiCacheClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCacheEngineVersionsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCacheEngineVersionsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeCacheEngineVersions.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeCacheEngineVersions.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeCacheEngineVersions(config, input) {
|
|
|
48
48
|
input.Marker = token;
|
|
49
49
|
input["MaxRecords"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElastiCache)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElastiCacheClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCacheParameterGroupsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCacheParameterGroupsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeCacheParameterGroups.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeCacheParameterGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeCacheParameterGroups(config, input) {
|
|
|
48
48
|
input.Marker = token;
|
|
49
49
|
input["MaxRecords"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElastiCache)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElastiCacheClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|