@aws-sdk/client-savingsplans 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +489 -475
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SavingsplansClient.js +2 -0
- package/dist-es/commands/CreateSavingsPlanCommand.js +3 -9
- package/dist-es/commands/DeleteQueuedSavingsPlanCommand.js +3 -9
- package/dist-es/commands/DescribeSavingsPlanRatesCommand.js +3 -9
- package/dist-es/commands/DescribeSavingsPlansCommand.js +3 -9
- package/dist-es/commands/DescribeSavingsPlansOfferingRatesCommand.js +3 -9
- package/dist-es/commands/DescribeSavingsPlansOfferingsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ReturnSavingsPlanCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +476 -0
- package/dist-types/SavingsplansClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +80 -0
- package/dist-types/ts3.4/SavingsplansClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -394
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -92
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -125
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class SavingsplansClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class SavingsplansClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class SavingsplansServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let SavingsplansServiceException$1 = class SavingsplansServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, SavingsplansServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class InternalServerException extends SavingsplansServiceException {
|
|
120
|
+
let InternalServerException$1 = class InternalServerException extends SavingsplansServiceException$1 {
|
|
122
121
|
name = "InternalServerException";
|
|
123
122
|
$fault = "server";
|
|
124
123
|
constructor(opts) {
|
|
@@ -129,8 +128,8 @@ class InternalServerException extends SavingsplansServiceException {
|
|
|
129
128
|
});
|
|
130
129
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
131
130
|
}
|
|
132
|
-
}
|
|
133
|
-
class ResourceNotFoundException extends SavingsplansServiceException {
|
|
131
|
+
};
|
|
132
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends SavingsplansServiceException$1 {
|
|
134
133
|
name = "ResourceNotFoundException";
|
|
135
134
|
$fault = "client";
|
|
136
135
|
constructor(opts) {
|
|
@@ -141,8 +140,8 @@ class ResourceNotFoundException extends SavingsplansServiceException {
|
|
|
141
140
|
});
|
|
142
141
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
143
142
|
}
|
|
144
|
-
}
|
|
145
|
-
class ServiceQuotaExceededException extends SavingsplansServiceException {
|
|
143
|
+
};
|
|
144
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends SavingsplansServiceException$1 {
|
|
146
145
|
name = "ServiceQuotaExceededException";
|
|
147
146
|
$fault = "client";
|
|
148
147
|
constructor(opts) {
|
|
@@ -153,8 +152,8 @@ class ServiceQuotaExceededException extends SavingsplansServiceException {
|
|
|
153
152
|
});
|
|
154
153
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
155
154
|
}
|
|
156
|
-
}
|
|
157
|
-
class ValidationException extends SavingsplansServiceException {
|
|
155
|
+
};
|
|
156
|
+
let ValidationException$1 = class ValidationException extends SavingsplansServiceException$1 {
|
|
158
157
|
name = "ValidationException";
|
|
159
158
|
$fault = "client";
|
|
160
159
|
constructor(opts) {
|
|
@@ -165,7 +164,7 @@ class ValidationException extends SavingsplansServiceException {
|
|
|
165
164
|
});
|
|
166
165
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
167
166
|
}
|
|
168
|
-
}
|
|
167
|
+
};
|
|
169
168
|
const SavingsPlanRateFilterName = {
|
|
170
169
|
INSTANCE_TYPE: "instanceType",
|
|
171
170
|
OPERATION: "operation",
|
|
@@ -253,408 +252,468 @@ const SavingsPlanOfferingPropertyKey = {
|
|
|
253
252
|
REGION: "region",
|
|
254
253
|
};
|
|
255
254
|
|
|
256
|
-
const
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
const
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
const
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
const
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
const
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
const
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
255
|
+
const _CSP = "CreateSavingsPlan";
|
|
256
|
+
const _CSPR = "CreateSavingsPlanRequest";
|
|
257
|
+
const _CSPRr = "CreateSavingsPlanResponse";
|
|
258
|
+
const _DQSP = "DeleteQueuedSavingsPlan";
|
|
259
|
+
const _DQSPR = "DeleteQueuedSavingsPlanRequest";
|
|
260
|
+
const _DQSPRe = "DeleteQueuedSavingsPlanResponse";
|
|
261
|
+
const _DSP = "DescribeSavingsPlans";
|
|
262
|
+
const _DSPO = "DescribeSavingsPlansOfferings";
|
|
263
|
+
const _DSPOR = "DescribeSavingsPlansOfferingsRequest";
|
|
264
|
+
const _DSPORR = "DescribeSavingsPlansOfferingRatesRequest";
|
|
265
|
+
const _DSPORRe = "DescribeSavingsPlansOfferingRatesResponse";
|
|
266
|
+
const _DSPORe = "DescribeSavingsPlansOfferingsResponse";
|
|
267
|
+
const _DSPORes = "DescribeSavingsPlansOfferingRates";
|
|
268
|
+
const _DSPR = "DescribeSavingsPlansRequest";
|
|
269
|
+
const _DSPRR = "DescribeSavingsPlanRatesRequest";
|
|
270
|
+
const _DSPRRe = "DescribeSavingsPlanRatesResponse";
|
|
271
|
+
const _DSPRe = "DescribeSavingsPlansResponse";
|
|
272
|
+
const _DSPRes = "DescribeSavingsPlanRates";
|
|
273
|
+
const _ISE = "InternalServerException";
|
|
274
|
+
const _LTFR = "ListTagsForResource";
|
|
275
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
276
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
277
|
+
const _PSPO = "ParentSavingsPlanOffering";
|
|
278
|
+
const _RNFE = "ResourceNotFoundException";
|
|
279
|
+
const _RSP = "ReturnSavingsPlan";
|
|
280
|
+
const _RSPR = "ReturnSavingsPlanRequest";
|
|
281
|
+
const _RSPRe = "ReturnSavingsPlanResponse";
|
|
282
|
+
const _SP = "SavingsPlan";
|
|
283
|
+
const _SPF = "SavingsPlanFilter";
|
|
284
|
+
const _SPFL = "SavingsPlanFilterList";
|
|
285
|
+
const _SPL = "SavingsPlanList";
|
|
286
|
+
const _SPO = "SavingsPlanOffering";
|
|
287
|
+
const _SPOFE = "SavingsPlanOfferingFilterElement";
|
|
288
|
+
const _SPOFL = "SavingsPlanOfferingFiltersList";
|
|
289
|
+
const _SPOL = "SavingsPlanOfferingsList";
|
|
290
|
+
const _SPOP = "SavingsPlanOfferingProperty";
|
|
291
|
+
const _SPOPL = "SavingsPlanOfferingPropertyList";
|
|
292
|
+
const _SPOR = "SavingsPlanOfferingRate";
|
|
293
|
+
const _SPORFE = "SavingsPlanOfferingRateFilterElement";
|
|
294
|
+
const _SPORFL = "SavingsPlanOfferingRateFiltersList";
|
|
295
|
+
const _SPORL = "SavingsPlanOfferingRatesList";
|
|
296
|
+
const _SPORP = "SavingsPlanOfferingRateProperty";
|
|
297
|
+
const _SPORPL = "SavingsPlanOfferingRatePropertyList";
|
|
298
|
+
const _SPR = "SavingsPlanRate";
|
|
299
|
+
const _SPRF = "SavingsPlanRateFilter";
|
|
300
|
+
const _SPRFL = "SavingsPlanRateFilterList";
|
|
301
|
+
const _SPRL = "SavingsPlanRateList";
|
|
302
|
+
const _SPRP = "SavingsPlanRateProperty";
|
|
303
|
+
const _SPRPL = "SavingsPlanRatePropertyList";
|
|
304
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
305
|
+
const _TR = "TagResource";
|
|
306
|
+
const _TRR = "TagResourceRequest";
|
|
307
|
+
const _TRRa = "TagResourceResponse";
|
|
308
|
+
const _UR = "UntagResource";
|
|
309
|
+
const _URR = "UntagResourceRequest";
|
|
310
|
+
const _URRn = "UntagResourceResponse";
|
|
311
|
+
const _VE = "ValidationException";
|
|
312
|
+
const _aQE = "awsQueryError";
|
|
313
|
+
const _c = "commitment";
|
|
314
|
+
const _cT = "clientToken";
|
|
315
|
+
const _cl = "client";
|
|
316
|
+
const _cu = "currencies";
|
|
317
|
+
const _cur = "currency";
|
|
318
|
+
const _d = "durations";
|
|
319
|
+
const _dS = "durationSeconds";
|
|
320
|
+
const _de = "descriptions";
|
|
321
|
+
const _des = "description";
|
|
322
|
+
const _e = "error";
|
|
323
|
+
const _eIF = "ec2InstanceFamily";
|
|
324
|
+
const _en = "end";
|
|
325
|
+
const _f = "filters";
|
|
326
|
+
const _h = "http";
|
|
327
|
+
const _hE = "httpError";
|
|
328
|
+
const _m = "message";
|
|
329
|
+
const _mR = "maxResults";
|
|
330
|
+
const _n = "name";
|
|
331
|
+
const _nT = "nextToken";
|
|
332
|
+
const _o = "operations";
|
|
333
|
+
const _oI = "offeringIds";
|
|
334
|
+
const _oIf = "offeringId";
|
|
335
|
+
const _op = "operation";
|
|
336
|
+
const _p = "products";
|
|
337
|
+
const _pD = "planDescription";
|
|
338
|
+
const _pO = "paymentOptions";
|
|
339
|
+
const _pOa = "paymentOption";
|
|
340
|
+
const _pT = "purchaseTime";
|
|
341
|
+
const _pTl = "planTypes";
|
|
342
|
+
const _pTla = "planType";
|
|
343
|
+
const _pTr = "productType";
|
|
344
|
+
const _pTro = "productTypes";
|
|
345
|
+
const _pr = "properties";
|
|
346
|
+
const _r = "region";
|
|
347
|
+
const _rA = "resourceArn";
|
|
348
|
+
const _rPA = "recurringPaymentAmount";
|
|
349
|
+
const _rU = "returnableUntil";
|
|
350
|
+
const _ra = "rate";
|
|
351
|
+
const _s = "states";
|
|
352
|
+
const _sC = "serviceCodes";
|
|
353
|
+
const _sCe = "serviceCode";
|
|
354
|
+
const _sP = "savingsPlans";
|
|
355
|
+
const _sPA = "savingsPlanArns";
|
|
356
|
+
const _sPAa = "savingsPlanArn";
|
|
357
|
+
const _sPI = "savingsPlanId";
|
|
358
|
+
const _sPIa = "savingsPlanIds";
|
|
359
|
+
const _sPO = "savingsPlanOffering";
|
|
360
|
+
const _sPOI = "savingsPlanOfferingId";
|
|
361
|
+
const _sPOIa = "savingsPlanOfferingIds";
|
|
362
|
+
const _sPPO = "savingsPlanPaymentOptions";
|
|
363
|
+
const _sPT = "savingsPlanTypes";
|
|
364
|
+
const _sPTa = "savingsPlanType";
|
|
365
|
+
const _sR = "searchResults";
|
|
366
|
+
const _se = "server";
|
|
367
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.savingsplans";
|
|
368
|
+
const _st = "start";
|
|
369
|
+
const _sta = "state";
|
|
370
|
+
const _t = "tags";
|
|
371
|
+
const _tDIS = "termDurationInSeconds";
|
|
372
|
+
const _tK = "tagKeys";
|
|
373
|
+
const _u = "unit";
|
|
374
|
+
const _uPA = "upfrontPaymentAmount";
|
|
375
|
+
const _uT = "usageTypes";
|
|
376
|
+
const _uTs = "usageType";
|
|
377
|
+
const _v = "values";
|
|
378
|
+
const _va = "value";
|
|
379
|
+
const n0 = "com.amazonaws.savingsplans";
|
|
380
|
+
var CreateSavingsPlanRequest = [
|
|
381
|
+
3,
|
|
382
|
+
n0,
|
|
383
|
+
_CSPR,
|
|
384
|
+
0,
|
|
385
|
+
[_sPOI, _c, _uPA, _pT, _cT, _t],
|
|
386
|
+
[0, 0, 0, 4, [0, 4], 128 | 0],
|
|
387
|
+
];
|
|
388
|
+
var CreateSavingsPlanResponse = [3, n0, _CSPRr, 0, [_sPI], [0]];
|
|
389
|
+
var DeleteQueuedSavingsPlanRequest = [3, n0, _DQSPR, 0, [_sPI], [0]];
|
|
390
|
+
var DeleteQueuedSavingsPlanResponse = [3, n0, _DQSPRe, 0, [], []];
|
|
391
|
+
var DescribeSavingsPlanRatesRequest = [
|
|
392
|
+
3,
|
|
393
|
+
n0,
|
|
394
|
+
_DSPRR,
|
|
395
|
+
0,
|
|
396
|
+
[_sPI, _f, _nT, _mR],
|
|
397
|
+
[0, () => SavingsPlanRateFilterList, 0, 1],
|
|
398
|
+
];
|
|
399
|
+
var DescribeSavingsPlanRatesResponse = [
|
|
400
|
+
3,
|
|
401
|
+
n0,
|
|
402
|
+
_DSPRRe,
|
|
403
|
+
0,
|
|
404
|
+
[_sPI, _sR, _nT],
|
|
405
|
+
[0, () => SavingsPlanRateList, 0],
|
|
406
|
+
];
|
|
407
|
+
var DescribeSavingsPlansOfferingRatesRequest = [
|
|
408
|
+
3,
|
|
409
|
+
n0,
|
|
410
|
+
_DSPORR,
|
|
411
|
+
0,
|
|
412
|
+
[_sPOIa, _sPPO, _sPT, _p, _sC, _uT, _o, _f, _nT, _mR],
|
|
413
|
+
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => SavingsPlanOfferingRateFiltersList, 0, 1],
|
|
414
|
+
];
|
|
415
|
+
var DescribeSavingsPlansOfferingRatesResponse = [
|
|
416
|
+
3,
|
|
417
|
+
n0,
|
|
418
|
+
_DSPORRe,
|
|
419
|
+
0,
|
|
420
|
+
[_sR, _nT],
|
|
421
|
+
[() => SavingsPlanOfferingRatesList, 0],
|
|
422
|
+
];
|
|
423
|
+
var DescribeSavingsPlansOfferingsRequest = [
|
|
424
|
+
3,
|
|
425
|
+
n0,
|
|
426
|
+
_DSPOR,
|
|
427
|
+
0,
|
|
428
|
+
[_oI, _pO, _pTr, _pTl, _d, _cu, _de, _sC, _uT, _o, _f, _nT, _mR],
|
|
429
|
+
[
|
|
430
|
+
64 | 0,
|
|
431
|
+
64 | 0,
|
|
432
|
+
0,
|
|
433
|
+
64 | 0,
|
|
434
|
+
64 | 1,
|
|
435
|
+
64 | 0,
|
|
436
|
+
64 | 0,
|
|
437
|
+
64 | 0,
|
|
438
|
+
64 | 0,
|
|
439
|
+
64 | 0,
|
|
440
|
+
() => SavingsPlanOfferingFiltersList,
|
|
441
|
+
0,
|
|
442
|
+
1,
|
|
443
|
+
],
|
|
444
|
+
];
|
|
445
|
+
var DescribeSavingsPlansOfferingsResponse = [
|
|
446
|
+
3,
|
|
447
|
+
n0,
|
|
448
|
+
_DSPORe,
|
|
449
|
+
0,
|
|
450
|
+
[_sR, _nT],
|
|
451
|
+
[() => SavingsPlanOfferingsList, 0],
|
|
452
|
+
];
|
|
453
|
+
var DescribeSavingsPlansRequest = [
|
|
454
|
+
3,
|
|
455
|
+
n0,
|
|
456
|
+
_DSPR,
|
|
457
|
+
0,
|
|
458
|
+
[_sPA, _sPIa, _nT, _mR, _s, _f],
|
|
459
|
+
[64 | 0, 64 | 0, 0, 1, 64 | 0, () => SavingsPlanFilterList],
|
|
460
|
+
];
|
|
461
|
+
var DescribeSavingsPlansResponse = [
|
|
462
|
+
3,
|
|
463
|
+
n0,
|
|
464
|
+
_DSPRe,
|
|
465
|
+
0,
|
|
466
|
+
[_sP, _nT],
|
|
467
|
+
[() => SavingsPlanList, 0],
|
|
468
|
+
];
|
|
469
|
+
var InternalServerException = [
|
|
470
|
+
-3,
|
|
471
|
+
n0,
|
|
472
|
+
_ISE,
|
|
473
|
+
{
|
|
474
|
+
[_e]: _se,
|
|
475
|
+
[_hE]: 500,
|
|
476
|
+
[_aQE]: [`InternalServerException`, 500],
|
|
477
|
+
},
|
|
478
|
+
[_m],
|
|
479
|
+
[0],
|
|
480
|
+
];
|
|
481
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
482
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
|
|
483
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
484
|
+
var ParentSavingsPlanOffering = [
|
|
485
|
+
3,
|
|
486
|
+
n0,
|
|
487
|
+
_PSPO,
|
|
488
|
+
0,
|
|
489
|
+
[_oIf, _pOa, _pTla, _dS, _cur, _pD],
|
|
490
|
+
[0, 0, 0, 1, 0, 0],
|
|
491
|
+
];
|
|
492
|
+
var ResourceNotFoundException = [
|
|
493
|
+
-3,
|
|
494
|
+
n0,
|
|
495
|
+
_RNFE,
|
|
496
|
+
{
|
|
497
|
+
[_e]: _cl,
|
|
498
|
+
[_hE]: 404,
|
|
499
|
+
[_aQE]: [`ResourceNotFoundException`, 404],
|
|
500
|
+
},
|
|
501
|
+
[_m],
|
|
502
|
+
[0],
|
|
503
|
+
];
|
|
504
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
505
|
+
var ReturnSavingsPlanRequest = [3, n0, _RSPR, 0, [_sPI, _cT], [0, [0, 4]]];
|
|
506
|
+
var ReturnSavingsPlanResponse = [3, n0, _RSPRe, 0, [_sPI], [0]];
|
|
507
|
+
var SavingsPlan = [
|
|
508
|
+
3,
|
|
509
|
+
n0,
|
|
510
|
+
_SP,
|
|
511
|
+
0,
|
|
512
|
+
[_oIf, _sPI, _sPAa, _des, _st, _en, _sta, _r, _eIF, _sPTa, _pOa, _pTro, _cur, _c, _uPA, _rPA, _tDIS, _t, _rU],
|
|
513
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 1, 128 | 0, 0],
|
|
514
|
+
];
|
|
515
|
+
var SavingsPlanFilter = [3, n0, _SPF, 0, [_n, _v], [0, 64 | 0]];
|
|
516
|
+
var SavingsPlanOffering = [
|
|
517
|
+
3,
|
|
518
|
+
n0,
|
|
519
|
+
_SPO,
|
|
520
|
+
0,
|
|
521
|
+
[_oIf, _pTro, _pTla, _des, _pOa, _dS, _cur, _sCe, _uTs, _op, _pr],
|
|
522
|
+
[0, 64 | 0, 0, 0, 0, 1, 0, 0, 0, 0, () => SavingsPlanOfferingPropertyList],
|
|
523
|
+
];
|
|
524
|
+
var SavingsPlanOfferingFilterElement = [3, n0, _SPOFE, 0, [_n, _v], [0, 64 | 0]];
|
|
525
|
+
var SavingsPlanOfferingProperty = [3, n0, _SPOP, 0, [_n, _va], [0, 0]];
|
|
526
|
+
var SavingsPlanOfferingRate = [
|
|
527
|
+
3,
|
|
528
|
+
n0,
|
|
529
|
+
_SPOR,
|
|
530
|
+
0,
|
|
531
|
+
[_sPO, _ra, _u, _pTr, _sCe, _uTs, _op, _pr],
|
|
532
|
+
[() => ParentSavingsPlanOffering, 0, 0, 0, 0, 0, 0, () => SavingsPlanOfferingRatePropertyList],
|
|
533
|
+
];
|
|
534
|
+
var SavingsPlanOfferingRateFilterElement = [3, n0, _SPORFE, 0, [_n, _v], [0, 64 | 0]];
|
|
535
|
+
var SavingsPlanOfferingRateProperty = [3, n0, _SPORP, 0, [_n, _va], [0, 0]];
|
|
536
|
+
var SavingsPlanRate = [
|
|
537
|
+
3,
|
|
538
|
+
n0,
|
|
539
|
+
_SPR,
|
|
540
|
+
0,
|
|
541
|
+
[_ra, _cur, _u, _pTr, _sCe, _uTs, _op, _pr],
|
|
542
|
+
[0, 0, 0, 0, 0, 0, 0, () => SavingsPlanRatePropertyList],
|
|
543
|
+
];
|
|
544
|
+
var SavingsPlanRateFilter = [3, n0, _SPRF, 0, [_n, _v], [0, 64 | 0]];
|
|
545
|
+
var SavingsPlanRateProperty = [3, n0, _SPRP, 0, [_n, _va], [0, 0]];
|
|
546
|
+
var ServiceQuotaExceededException = [
|
|
547
|
+
-3,
|
|
548
|
+
n0,
|
|
549
|
+
_SQEE,
|
|
550
|
+
{
|
|
551
|
+
[_e]: _cl,
|
|
552
|
+
[_hE]: 402,
|
|
553
|
+
[_aQE]: [`ServiceQuotaExceededException`, 402],
|
|
554
|
+
},
|
|
555
|
+
[_m],
|
|
556
|
+
[0],
|
|
557
|
+
];
|
|
558
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
559
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, 128 | 0]];
|
|
560
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
561
|
+
var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]];
|
|
562
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
563
|
+
var ValidationException = [
|
|
564
|
+
-3,
|
|
565
|
+
n0,
|
|
566
|
+
_VE,
|
|
567
|
+
{
|
|
568
|
+
[_e]: _cl,
|
|
569
|
+
[_hE]: 400,
|
|
570
|
+
[_aQE]: [`ValidationException`, 400],
|
|
571
|
+
},
|
|
572
|
+
[_m],
|
|
573
|
+
[0],
|
|
574
|
+
];
|
|
575
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
576
|
+
var SavingsplansServiceException = [-3, _sm, "SavingsplansServiceException", 0, [], []];
|
|
577
|
+
schema.TypeRegistry.for(_sm).registerError(SavingsplansServiceException, SavingsplansServiceException$1);
|
|
578
|
+
var SavingsPlanFilterList = [1, n0, _SPFL, 0, () => SavingsPlanFilter];
|
|
579
|
+
var SavingsPlanList = [1, n0, _SPL, 0, () => SavingsPlan];
|
|
580
|
+
var SavingsPlanOfferingFiltersList = [
|
|
581
|
+
1,
|
|
582
|
+
n0,
|
|
583
|
+
_SPOFL,
|
|
584
|
+
0,
|
|
585
|
+
() => SavingsPlanOfferingFilterElement,
|
|
586
|
+
];
|
|
587
|
+
var SavingsPlanOfferingPropertyList = [1, n0, _SPOPL, 0, () => SavingsPlanOfferingProperty];
|
|
588
|
+
var SavingsPlanOfferingRateFiltersList = [
|
|
589
|
+
1,
|
|
590
|
+
n0,
|
|
591
|
+
_SPORFL,
|
|
592
|
+
0,
|
|
593
|
+
() => SavingsPlanOfferingRateFilterElement,
|
|
594
|
+
];
|
|
595
|
+
var SavingsPlanOfferingRatePropertyList = [
|
|
596
|
+
1,
|
|
597
|
+
n0,
|
|
598
|
+
_SPORPL,
|
|
599
|
+
0,
|
|
600
|
+
() => SavingsPlanOfferingRateProperty,
|
|
601
|
+
];
|
|
602
|
+
var SavingsPlanOfferingRatesList = [1, n0, _SPORL, 0, () => SavingsPlanOfferingRate];
|
|
603
|
+
var SavingsPlanOfferingsList = [1, n0, _SPOL, 0, () => SavingsPlanOffering];
|
|
604
|
+
var SavingsPlanRateFilterList = [1, n0, _SPRFL, 0, () => SavingsPlanRateFilter];
|
|
605
|
+
var SavingsPlanRateList = [1, n0, _SPRL, 0, () => SavingsPlanRate];
|
|
606
|
+
var SavingsPlanRatePropertyList = [1, n0, _SPRPL, 0, () => SavingsPlanRateProperty];
|
|
607
|
+
var CreateSavingsPlan = [
|
|
608
|
+
9,
|
|
609
|
+
n0,
|
|
610
|
+
_CSP,
|
|
611
|
+
{
|
|
612
|
+
[_h]: ["POST", "/CreateSavingsPlan", 200],
|
|
613
|
+
},
|
|
614
|
+
() => CreateSavingsPlanRequest,
|
|
615
|
+
() => CreateSavingsPlanResponse,
|
|
616
|
+
];
|
|
617
|
+
var DeleteQueuedSavingsPlan = [
|
|
618
|
+
9,
|
|
619
|
+
n0,
|
|
620
|
+
_DQSP,
|
|
621
|
+
{
|
|
622
|
+
[_h]: ["POST", "/DeleteQueuedSavingsPlan", 200],
|
|
623
|
+
},
|
|
624
|
+
() => DeleteQueuedSavingsPlanRequest,
|
|
625
|
+
() => DeleteQueuedSavingsPlanResponse,
|
|
626
|
+
];
|
|
627
|
+
var DescribeSavingsPlanRates = [
|
|
628
|
+
9,
|
|
629
|
+
n0,
|
|
630
|
+
_DSPRes,
|
|
631
|
+
{
|
|
632
|
+
[_h]: ["POST", "/DescribeSavingsPlanRates", 200],
|
|
633
|
+
},
|
|
634
|
+
() => DescribeSavingsPlanRatesRequest,
|
|
635
|
+
() => DescribeSavingsPlanRatesResponse,
|
|
636
|
+
];
|
|
637
|
+
var DescribeSavingsPlans = [
|
|
638
|
+
9,
|
|
639
|
+
n0,
|
|
640
|
+
_DSP,
|
|
641
|
+
{
|
|
642
|
+
[_h]: ["POST", "/DescribeSavingsPlans", 200],
|
|
643
|
+
},
|
|
644
|
+
() => DescribeSavingsPlansRequest,
|
|
645
|
+
() => DescribeSavingsPlansResponse,
|
|
646
|
+
];
|
|
647
|
+
var DescribeSavingsPlansOfferingRates = [
|
|
648
|
+
9,
|
|
649
|
+
n0,
|
|
650
|
+
_DSPORes,
|
|
651
|
+
{
|
|
652
|
+
[_h]: ["POST", "/DescribeSavingsPlansOfferingRates", 200],
|
|
653
|
+
},
|
|
654
|
+
() => DescribeSavingsPlansOfferingRatesRequest,
|
|
655
|
+
() => DescribeSavingsPlansOfferingRatesResponse,
|
|
656
|
+
];
|
|
657
|
+
var DescribeSavingsPlansOfferings = [
|
|
658
|
+
9,
|
|
659
|
+
n0,
|
|
660
|
+
_DSPO,
|
|
661
|
+
{
|
|
662
|
+
[_h]: ["POST", "/DescribeSavingsPlansOfferings", 200],
|
|
663
|
+
},
|
|
664
|
+
() => DescribeSavingsPlansOfferingsRequest,
|
|
665
|
+
() => DescribeSavingsPlansOfferingsResponse,
|
|
666
|
+
];
|
|
667
|
+
var ListTagsForResource = [
|
|
668
|
+
9,
|
|
669
|
+
n0,
|
|
670
|
+
_LTFR,
|
|
671
|
+
{
|
|
672
|
+
[_h]: ["POST", "/ListTagsForResource", 200],
|
|
673
|
+
},
|
|
674
|
+
() => ListTagsForResourceRequest,
|
|
675
|
+
() => ListTagsForResourceResponse,
|
|
676
|
+
];
|
|
677
|
+
var ReturnSavingsPlan = [
|
|
678
|
+
9,
|
|
679
|
+
n0,
|
|
680
|
+
_RSP,
|
|
681
|
+
{
|
|
682
|
+
[_h]: ["POST", "/ReturnSavingsPlan", 200],
|
|
683
|
+
},
|
|
684
|
+
() => ReturnSavingsPlanRequest,
|
|
685
|
+
() => ReturnSavingsPlanResponse,
|
|
686
|
+
];
|
|
687
|
+
var TagResource = [
|
|
688
|
+
9,
|
|
689
|
+
n0,
|
|
690
|
+
_TR,
|
|
691
|
+
{
|
|
692
|
+
[_h]: ["POST", "/TagResource", 200],
|
|
693
|
+
},
|
|
694
|
+
() => TagResourceRequest,
|
|
695
|
+
() => TagResourceResponse,
|
|
696
|
+
];
|
|
697
|
+
var UntagResource = [
|
|
698
|
+
9,
|
|
699
|
+
n0,
|
|
700
|
+
_UR,
|
|
701
|
+
{
|
|
702
|
+
[_h]: ["POST", "/UntagResource", 200],
|
|
703
|
+
},
|
|
704
|
+
() => UntagResourceRequest,
|
|
705
|
+
() => UntagResourceResponse,
|
|
706
|
+
];
|
|
643
707
|
|
|
644
708
|
class CreateSavingsPlanCommand extends smithyClient.Command
|
|
645
709
|
.classBuilder()
|
|
646
710
|
.ep(commonParams)
|
|
647
711
|
.m(function (Command, cs, config, o) {
|
|
648
|
-
return [
|
|
649
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
650
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
651
|
-
];
|
|
712
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
652
713
|
})
|
|
653
714
|
.s("AWSSavingsPlan", "CreateSavingsPlan", {})
|
|
654
715
|
.n("SavingsplansClient", "CreateSavingsPlanCommand")
|
|
655
|
-
.
|
|
656
|
-
.ser(se_CreateSavingsPlanCommand)
|
|
657
|
-
.de(de_CreateSavingsPlanCommand)
|
|
716
|
+
.sc(CreateSavingsPlan)
|
|
658
717
|
.build() {
|
|
659
718
|
}
|
|
660
719
|
|
|
@@ -662,16 +721,11 @@ class DeleteQueuedSavingsPlanCommand extends smithyClient.Command
|
|
|
662
721
|
.classBuilder()
|
|
663
722
|
.ep(commonParams)
|
|
664
723
|
.m(function (Command, cs, config, o) {
|
|
665
|
-
return [
|
|
666
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
667
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
668
|
-
];
|
|
724
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
669
725
|
})
|
|
670
726
|
.s("AWSSavingsPlan", "DeleteQueuedSavingsPlan", {})
|
|
671
727
|
.n("SavingsplansClient", "DeleteQueuedSavingsPlanCommand")
|
|
672
|
-
.
|
|
673
|
-
.ser(se_DeleteQueuedSavingsPlanCommand)
|
|
674
|
-
.de(de_DeleteQueuedSavingsPlanCommand)
|
|
728
|
+
.sc(DeleteQueuedSavingsPlan)
|
|
675
729
|
.build() {
|
|
676
730
|
}
|
|
677
731
|
|
|
@@ -679,16 +733,11 @@ class DescribeSavingsPlanRatesCommand extends smithyClient.Command
|
|
|
679
733
|
.classBuilder()
|
|
680
734
|
.ep(commonParams)
|
|
681
735
|
.m(function (Command, cs, config, o) {
|
|
682
|
-
return [
|
|
683
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
684
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
685
|
-
];
|
|
736
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
686
737
|
})
|
|
687
738
|
.s("AWSSavingsPlan", "DescribeSavingsPlanRates", {})
|
|
688
739
|
.n("SavingsplansClient", "DescribeSavingsPlanRatesCommand")
|
|
689
|
-
.
|
|
690
|
-
.ser(se_DescribeSavingsPlanRatesCommand)
|
|
691
|
-
.de(de_DescribeSavingsPlanRatesCommand)
|
|
740
|
+
.sc(DescribeSavingsPlanRates)
|
|
692
741
|
.build() {
|
|
693
742
|
}
|
|
694
743
|
|
|
@@ -696,16 +745,11 @@ class DescribeSavingsPlansCommand extends smithyClient.Command
|
|
|
696
745
|
.classBuilder()
|
|
697
746
|
.ep(commonParams)
|
|
698
747
|
.m(function (Command, cs, config, o) {
|
|
699
|
-
return [
|
|
700
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
701
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
702
|
-
];
|
|
748
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
703
749
|
})
|
|
704
750
|
.s("AWSSavingsPlan", "DescribeSavingsPlans", {})
|
|
705
751
|
.n("SavingsplansClient", "DescribeSavingsPlansCommand")
|
|
706
|
-
.
|
|
707
|
-
.ser(se_DescribeSavingsPlansCommand)
|
|
708
|
-
.de(de_DescribeSavingsPlansCommand)
|
|
752
|
+
.sc(DescribeSavingsPlans)
|
|
709
753
|
.build() {
|
|
710
754
|
}
|
|
711
755
|
|
|
@@ -713,16 +757,11 @@ class DescribeSavingsPlansOfferingRatesCommand extends smithyClient.Command
|
|
|
713
757
|
.classBuilder()
|
|
714
758
|
.ep(commonParams)
|
|
715
759
|
.m(function (Command, cs, config, o) {
|
|
716
|
-
return [
|
|
717
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
718
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
719
|
-
];
|
|
760
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
720
761
|
})
|
|
721
762
|
.s("AWSSavingsPlan", "DescribeSavingsPlansOfferingRates", {})
|
|
722
763
|
.n("SavingsplansClient", "DescribeSavingsPlansOfferingRatesCommand")
|
|
723
|
-
.
|
|
724
|
-
.ser(se_DescribeSavingsPlansOfferingRatesCommand)
|
|
725
|
-
.de(de_DescribeSavingsPlansOfferingRatesCommand)
|
|
764
|
+
.sc(DescribeSavingsPlansOfferingRates)
|
|
726
765
|
.build() {
|
|
727
766
|
}
|
|
728
767
|
|
|
@@ -730,16 +769,11 @@ class DescribeSavingsPlansOfferingsCommand extends smithyClient.Command
|
|
|
730
769
|
.classBuilder()
|
|
731
770
|
.ep(commonParams)
|
|
732
771
|
.m(function (Command, cs, config, o) {
|
|
733
|
-
return [
|
|
734
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
735
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
736
|
-
];
|
|
772
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
737
773
|
})
|
|
738
774
|
.s("AWSSavingsPlan", "DescribeSavingsPlansOfferings", {})
|
|
739
775
|
.n("SavingsplansClient", "DescribeSavingsPlansOfferingsCommand")
|
|
740
|
-
.
|
|
741
|
-
.ser(se_DescribeSavingsPlansOfferingsCommand)
|
|
742
|
-
.de(de_DescribeSavingsPlansOfferingsCommand)
|
|
776
|
+
.sc(DescribeSavingsPlansOfferings)
|
|
743
777
|
.build() {
|
|
744
778
|
}
|
|
745
779
|
|
|
@@ -747,16 +781,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
747
781
|
.classBuilder()
|
|
748
782
|
.ep(commonParams)
|
|
749
783
|
.m(function (Command, cs, config, o) {
|
|
750
|
-
return [
|
|
751
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
752
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
753
|
-
];
|
|
784
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
754
785
|
})
|
|
755
786
|
.s("AWSSavingsPlan", "ListTagsForResource", {})
|
|
756
787
|
.n("SavingsplansClient", "ListTagsForResourceCommand")
|
|
757
|
-
.
|
|
758
|
-
.ser(se_ListTagsForResourceCommand)
|
|
759
|
-
.de(de_ListTagsForResourceCommand)
|
|
788
|
+
.sc(ListTagsForResource)
|
|
760
789
|
.build() {
|
|
761
790
|
}
|
|
762
791
|
|
|
@@ -764,16 +793,11 @@ class ReturnSavingsPlanCommand extends smithyClient.Command
|
|
|
764
793
|
.classBuilder()
|
|
765
794
|
.ep(commonParams)
|
|
766
795
|
.m(function (Command, cs, config, o) {
|
|
767
|
-
return [
|
|
768
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
769
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
770
|
-
];
|
|
796
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
771
797
|
})
|
|
772
798
|
.s("AWSSavingsPlan", "ReturnSavingsPlan", {})
|
|
773
799
|
.n("SavingsplansClient", "ReturnSavingsPlanCommand")
|
|
774
|
-
.
|
|
775
|
-
.ser(se_ReturnSavingsPlanCommand)
|
|
776
|
-
.de(de_ReturnSavingsPlanCommand)
|
|
800
|
+
.sc(ReturnSavingsPlan)
|
|
777
801
|
.build() {
|
|
778
802
|
}
|
|
779
803
|
|
|
@@ -781,16 +805,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
781
805
|
.classBuilder()
|
|
782
806
|
.ep(commonParams)
|
|
783
807
|
.m(function (Command, cs, config, o) {
|
|
784
|
-
return [
|
|
785
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
786
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
787
|
-
];
|
|
808
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
788
809
|
})
|
|
789
810
|
.s("AWSSavingsPlan", "TagResource", {})
|
|
790
811
|
.n("SavingsplansClient", "TagResourceCommand")
|
|
791
|
-
.
|
|
792
|
-
.ser(se_TagResourceCommand)
|
|
793
|
-
.de(de_TagResourceCommand)
|
|
812
|
+
.sc(TagResource)
|
|
794
813
|
.build() {
|
|
795
814
|
}
|
|
796
815
|
|
|
@@ -798,16 +817,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
798
817
|
.classBuilder()
|
|
799
818
|
.ep(commonParams)
|
|
800
819
|
.m(function (Command, cs, config, o) {
|
|
801
|
-
return [
|
|
802
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
803
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
804
|
-
];
|
|
820
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
805
821
|
})
|
|
806
822
|
.s("AWSSavingsPlan", "UntagResource", {})
|
|
807
823
|
.n("SavingsplansClient", "UntagResourceCommand")
|
|
808
|
-
.
|
|
809
|
-
.ser(se_UntagResourceCommand)
|
|
810
|
-
.de(de_UntagResourceCommand)
|
|
824
|
+
.sc(UntagResource)
|
|
811
825
|
.build() {
|
|
812
826
|
}
|
|
813
827
|
|
|
@@ -842,9 +856,9 @@ exports.DescribeSavingsPlanRatesCommand = DescribeSavingsPlanRatesCommand;
|
|
|
842
856
|
exports.DescribeSavingsPlansCommand = DescribeSavingsPlansCommand;
|
|
843
857
|
exports.DescribeSavingsPlansOfferingRatesCommand = DescribeSavingsPlansOfferingRatesCommand;
|
|
844
858
|
exports.DescribeSavingsPlansOfferingsCommand = DescribeSavingsPlansOfferingsCommand;
|
|
845
|
-
exports.InternalServerException = InternalServerException;
|
|
859
|
+
exports.InternalServerException = InternalServerException$1;
|
|
846
860
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
847
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
861
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
848
862
|
exports.ReturnSavingsPlanCommand = ReturnSavingsPlanCommand;
|
|
849
863
|
exports.SavingsPlanOfferingFilterAttribute = SavingsPlanOfferingFilterAttribute;
|
|
850
864
|
exports.SavingsPlanOfferingPropertyKey = SavingsPlanOfferingPropertyKey;
|
|
@@ -860,8 +874,8 @@ exports.SavingsPlanType = SavingsPlanType;
|
|
|
860
874
|
exports.SavingsPlansFilterName = SavingsPlansFilterName;
|
|
861
875
|
exports.Savingsplans = Savingsplans;
|
|
862
876
|
exports.SavingsplansClient = SavingsplansClient;
|
|
863
|
-
exports.SavingsplansServiceException = SavingsplansServiceException;
|
|
864
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
877
|
+
exports.SavingsplansServiceException = SavingsplansServiceException$1;
|
|
878
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
865
879
|
exports.TagResourceCommand = TagResourceCommand;
|
|
866
880
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
867
|
-
exports.ValidationException = ValidationException;
|
|
881
|
+
exports.ValidationException = ValidationException$1;
|