@aws-sdk/client-savingsplans 3.927.0 → 3.929.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.
Files changed (31) hide show
  1. package/dist-cjs/index.js +489 -475
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SavingsplansClient.js +2 -0
  4. package/dist-es/commands/CreateSavingsPlanCommand.js +3 -9
  5. package/dist-es/commands/DeleteQueuedSavingsPlanCommand.js +3 -9
  6. package/dist-es/commands/DescribeSavingsPlanRatesCommand.js +3 -9
  7. package/dist-es/commands/DescribeSavingsPlansCommand.js +3 -9
  8. package/dist-es/commands/DescribeSavingsPlansOfferingRatesCommand.js +3 -9
  9. package/dist-es/commands/DescribeSavingsPlansOfferingsCommand.js +3 -9
  10. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  11. package/dist-es/commands/ReturnSavingsPlanCommand.js +3 -9
  12. package/dist-es/commands/TagResourceCommand.js +3 -9
  13. package/dist-es/commands/UntagResourceCommand.js +3 -9
  14. package/dist-es/runtimeConfig.shared.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +476 -0
  16. package/dist-types/SavingsplansClient.d.ts +10 -1
  17. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  18. package/dist-types/runtimeConfig.d.ts +1 -0
  19. package/dist-types/runtimeConfig.native.d.ts +1 -0
  20. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +80 -0
  22. package/dist-types/ts3.4/SavingsplansClient.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -0
  28. package/package.json +5 -6
  29. package/dist-es/protocols/Aws_restJson1.js +0 -394
  30. package/dist-types/protocols/Aws_restJson1.d.ts +0 -92
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -125
@@ -0,0 +1,476 @@
1
+ const _CSP = "CreateSavingsPlan";
2
+ const _CSPR = "CreateSavingsPlanRequest";
3
+ const _CSPRr = "CreateSavingsPlanResponse";
4
+ const _DQSP = "DeleteQueuedSavingsPlan";
5
+ const _DQSPR = "DeleteQueuedSavingsPlanRequest";
6
+ const _DQSPRe = "DeleteQueuedSavingsPlanResponse";
7
+ const _DSP = "DescribeSavingsPlans";
8
+ const _DSPO = "DescribeSavingsPlansOfferings";
9
+ const _DSPOR = "DescribeSavingsPlansOfferingsRequest";
10
+ const _DSPORR = "DescribeSavingsPlansOfferingRatesRequest";
11
+ const _DSPORRe = "DescribeSavingsPlansOfferingRatesResponse";
12
+ const _DSPORe = "DescribeSavingsPlansOfferingsResponse";
13
+ const _DSPORes = "DescribeSavingsPlansOfferingRates";
14
+ const _DSPR = "DescribeSavingsPlansRequest";
15
+ const _DSPRR = "DescribeSavingsPlanRatesRequest";
16
+ const _DSPRRe = "DescribeSavingsPlanRatesResponse";
17
+ const _DSPRe = "DescribeSavingsPlansResponse";
18
+ const _DSPRes = "DescribeSavingsPlanRates";
19
+ const _ISE = "InternalServerException";
20
+ const _LTFR = "ListTagsForResource";
21
+ const _LTFRR = "ListTagsForResourceRequest";
22
+ const _LTFRRi = "ListTagsForResourceResponse";
23
+ const _PSPO = "ParentSavingsPlanOffering";
24
+ const _RNFE = "ResourceNotFoundException";
25
+ const _RSP = "ReturnSavingsPlan";
26
+ const _RSPR = "ReturnSavingsPlanRequest";
27
+ const _RSPRe = "ReturnSavingsPlanResponse";
28
+ const _SP = "SavingsPlan";
29
+ const _SPF = "SavingsPlanFilter";
30
+ const _SPFL = "SavingsPlanFilterList";
31
+ const _SPL = "SavingsPlanList";
32
+ const _SPO = "SavingsPlanOffering";
33
+ const _SPOFE = "SavingsPlanOfferingFilterElement";
34
+ const _SPOFL = "SavingsPlanOfferingFiltersList";
35
+ const _SPOL = "SavingsPlanOfferingsList";
36
+ const _SPOP = "SavingsPlanOfferingProperty";
37
+ const _SPOPL = "SavingsPlanOfferingPropertyList";
38
+ const _SPOR = "SavingsPlanOfferingRate";
39
+ const _SPORFE = "SavingsPlanOfferingRateFilterElement";
40
+ const _SPORFL = "SavingsPlanOfferingRateFiltersList";
41
+ const _SPORL = "SavingsPlanOfferingRatesList";
42
+ const _SPORP = "SavingsPlanOfferingRateProperty";
43
+ const _SPORPL = "SavingsPlanOfferingRatePropertyList";
44
+ const _SPR = "SavingsPlanRate";
45
+ const _SPRF = "SavingsPlanRateFilter";
46
+ const _SPRFL = "SavingsPlanRateFilterList";
47
+ const _SPRL = "SavingsPlanRateList";
48
+ const _SPRP = "SavingsPlanRateProperty";
49
+ const _SPRPL = "SavingsPlanRatePropertyList";
50
+ const _SQEE = "ServiceQuotaExceededException";
51
+ const _TR = "TagResource";
52
+ const _TRR = "TagResourceRequest";
53
+ const _TRRa = "TagResourceResponse";
54
+ const _UR = "UntagResource";
55
+ const _URR = "UntagResourceRequest";
56
+ const _URRn = "UntagResourceResponse";
57
+ const _VE = "ValidationException";
58
+ const _aQE = "awsQueryError";
59
+ const _c = "commitment";
60
+ const _cT = "clientToken";
61
+ const _cl = "client";
62
+ const _cu = "currencies";
63
+ const _cur = "currency";
64
+ const _d = "durations";
65
+ const _dS = "durationSeconds";
66
+ const _de = "descriptions";
67
+ const _des = "description";
68
+ const _e = "error";
69
+ const _eIF = "ec2InstanceFamily";
70
+ const _en = "end";
71
+ const _f = "filters";
72
+ const _h = "http";
73
+ const _hE = "httpError";
74
+ const _m = "message";
75
+ const _mR = "maxResults";
76
+ const _n = "name";
77
+ const _nT = "nextToken";
78
+ const _o = "operations";
79
+ const _oI = "offeringIds";
80
+ const _oIf = "offeringId";
81
+ const _op = "operation";
82
+ const _p = "products";
83
+ const _pD = "planDescription";
84
+ const _pO = "paymentOptions";
85
+ const _pOa = "paymentOption";
86
+ const _pT = "purchaseTime";
87
+ const _pTl = "planTypes";
88
+ const _pTla = "planType";
89
+ const _pTr = "productType";
90
+ const _pTro = "productTypes";
91
+ const _pr = "properties";
92
+ const _r = "region";
93
+ const _rA = "resourceArn";
94
+ const _rPA = "recurringPaymentAmount";
95
+ const _rU = "returnableUntil";
96
+ const _ra = "rate";
97
+ const _s = "states";
98
+ const _sC = "serviceCodes";
99
+ const _sCe = "serviceCode";
100
+ const _sP = "savingsPlans";
101
+ const _sPA = "savingsPlanArns";
102
+ const _sPAa = "savingsPlanArn";
103
+ const _sPI = "savingsPlanId";
104
+ const _sPIa = "savingsPlanIds";
105
+ const _sPO = "savingsPlanOffering";
106
+ const _sPOI = "savingsPlanOfferingId";
107
+ const _sPOIa = "savingsPlanOfferingIds";
108
+ const _sPPO = "savingsPlanPaymentOptions";
109
+ const _sPT = "savingsPlanTypes";
110
+ const _sPTa = "savingsPlanType";
111
+ const _sR = "searchResults";
112
+ const _se = "server";
113
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.savingsplans";
114
+ const _st = "start";
115
+ const _sta = "state";
116
+ const _t = "tags";
117
+ const _tDIS = "termDurationInSeconds";
118
+ const _tK = "tagKeys";
119
+ const _u = "unit";
120
+ const _uPA = "upfrontPaymentAmount";
121
+ const _uT = "usageTypes";
122
+ const _uTs = "usageType";
123
+ const _v = "values";
124
+ const _va = "value";
125
+ const n0 = "com.amazonaws.savingsplans";
126
+ import { TypeRegistry } from "@smithy/core/schema";
127
+ import { InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
128
+ import { SavingsplansServiceException as __SavingsplansServiceException } from "../models/SavingsplansServiceException";
129
+ export var CreateSavingsPlanRequest = [
130
+ 3,
131
+ n0,
132
+ _CSPR,
133
+ 0,
134
+ [_sPOI, _c, _uPA, _pT, _cT, _t],
135
+ [0, 0, 0, 4, [0, 4], 128 | 0],
136
+ ];
137
+ export var CreateSavingsPlanResponse = [3, n0, _CSPRr, 0, [_sPI], [0]];
138
+ export var DeleteQueuedSavingsPlanRequest = [3, n0, _DQSPR, 0, [_sPI], [0]];
139
+ export var DeleteQueuedSavingsPlanResponse = [3, n0, _DQSPRe, 0, [], []];
140
+ export var DescribeSavingsPlanRatesRequest = [
141
+ 3,
142
+ n0,
143
+ _DSPRR,
144
+ 0,
145
+ [_sPI, _f, _nT, _mR],
146
+ [0, () => SavingsPlanRateFilterList, 0, 1],
147
+ ];
148
+ export var DescribeSavingsPlanRatesResponse = [
149
+ 3,
150
+ n0,
151
+ _DSPRRe,
152
+ 0,
153
+ [_sPI, _sR, _nT],
154
+ [0, () => SavingsPlanRateList, 0],
155
+ ];
156
+ export var DescribeSavingsPlansOfferingRatesRequest = [
157
+ 3,
158
+ n0,
159
+ _DSPORR,
160
+ 0,
161
+ [_sPOIa, _sPPO, _sPT, _p, _sC, _uT, _o, _f, _nT, _mR],
162
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => SavingsPlanOfferingRateFiltersList, 0, 1],
163
+ ];
164
+ export var DescribeSavingsPlansOfferingRatesResponse = [
165
+ 3,
166
+ n0,
167
+ _DSPORRe,
168
+ 0,
169
+ [_sR, _nT],
170
+ [() => SavingsPlanOfferingRatesList, 0],
171
+ ];
172
+ export var DescribeSavingsPlansOfferingsRequest = [
173
+ 3,
174
+ n0,
175
+ _DSPOR,
176
+ 0,
177
+ [_oI, _pO, _pTr, _pTl, _d, _cu, _de, _sC, _uT, _o, _f, _nT, _mR],
178
+ [
179
+ 64 | 0,
180
+ 64 | 0,
181
+ 0,
182
+ 64 | 0,
183
+ 64 | 1,
184
+ 64 | 0,
185
+ 64 | 0,
186
+ 64 | 0,
187
+ 64 | 0,
188
+ 64 | 0,
189
+ () => SavingsPlanOfferingFiltersList,
190
+ 0,
191
+ 1,
192
+ ],
193
+ ];
194
+ export var DescribeSavingsPlansOfferingsResponse = [
195
+ 3,
196
+ n0,
197
+ _DSPORe,
198
+ 0,
199
+ [_sR, _nT],
200
+ [() => SavingsPlanOfferingsList, 0],
201
+ ];
202
+ export var DescribeSavingsPlansRequest = [
203
+ 3,
204
+ n0,
205
+ _DSPR,
206
+ 0,
207
+ [_sPA, _sPIa, _nT, _mR, _s, _f],
208
+ [64 | 0, 64 | 0, 0, 1, 64 | 0, () => SavingsPlanFilterList],
209
+ ];
210
+ export var DescribeSavingsPlansResponse = [
211
+ 3,
212
+ n0,
213
+ _DSPRe,
214
+ 0,
215
+ [_sP, _nT],
216
+ [() => SavingsPlanList, 0],
217
+ ];
218
+ export var InternalServerException = [
219
+ -3,
220
+ n0,
221
+ _ISE,
222
+ {
223
+ [_e]: _se,
224
+ [_hE]: 500,
225
+ [_aQE]: [`InternalServerException`, 500],
226
+ },
227
+ [_m],
228
+ [0],
229
+ ];
230
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
231
+ export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
232
+ export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
233
+ export var ParentSavingsPlanOffering = [
234
+ 3,
235
+ n0,
236
+ _PSPO,
237
+ 0,
238
+ [_oIf, _pOa, _pTla, _dS, _cur, _pD],
239
+ [0, 0, 0, 1, 0, 0],
240
+ ];
241
+ export var ResourceNotFoundException = [
242
+ -3,
243
+ n0,
244
+ _RNFE,
245
+ {
246
+ [_e]: _cl,
247
+ [_hE]: 404,
248
+ [_aQE]: [`ResourceNotFoundException`, 404],
249
+ },
250
+ [_m],
251
+ [0],
252
+ ];
253
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
254
+ export var ReturnSavingsPlanRequest = [3, n0, _RSPR, 0, [_sPI, _cT], [0, [0, 4]]];
255
+ export var ReturnSavingsPlanResponse = [3, n0, _RSPRe, 0, [_sPI], [0]];
256
+ export var SavingsPlan = [
257
+ 3,
258
+ n0,
259
+ _SP,
260
+ 0,
261
+ [_oIf, _sPI, _sPAa, _des, _st, _en, _sta, _r, _eIF, _sPTa, _pOa, _pTro, _cur, _c, _uPA, _rPA, _tDIS, _t, _rU],
262
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 1, 128 | 0, 0],
263
+ ];
264
+ export var SavingsPlanFilter = [3, n0, _SPF, 0, [_n, _v], [0, 64 | 0]];
265
+ export var SavingsPlanOffering = [
266
+ 3,
267
+ n0,
268
+ _SPO,
269
+ 0,
270
+ [_oIf, _pTro, _pTla, _des, _pOa, _dS, _cur, _sCe, _uTs, _op, _pr],
271
+ [0, 64 | 0, 0, 0, 0, 1, 0, 0, 0, 0, () => SavingsPlanOfferingPropertyList],
272
+ ];
273
+ export var SavingsPlanOfferingFilterElement = [3, n0, _SPOFE, 0, [_n, _v], [0, 64 | 0]];
274
+ export var SavingsPlanOfferingProperty = [3, n0, _SPOP, 0, [_n, _va], [0, 0]];
275
+ export var SavingsPlanOfferingRate = [
276
+ 3,
277
+ n0,
278
+ _SPOR,
279
+ 0,
280
+ [_sPO, _ra, _u, _pTr, _sCe, _uTs, _op, _pr],
281
+ [() => ParentSavingsPlanOffering, 0, 0, 0, 0, 0, 0, () => SavingsPlanOfferingRatePropertyList],
282
+ ];
283
+ export var SavingsPlanOfferingRateFilterElement = [3, n0, _SPORFE, 0, [_n, _v], [0, 64 | 0]];
284
+ export var SavingsPlanOfferingRateProperty = [3, n0, _SPORP, 0, [_n, _va], [0, 0]];
285
+ export var SavingsPlanRate = [
286
+ 3,
287
+ n0,
288
+ _SPR,
289
+ 0,
290
+ [_ra, _cur, _u, _pTr, _sCe, _uTs, _op, _pr],
291
+ [0, 0, 0, 0, 0, 0, 0, () => SavingsPlanRatePropertyList],
292
+ ];
293
+ export var SavingsPlanRateFilter = [3, n0, _SPRF, 0, [_n, _v], [0, 64 | 0]];
294
+ export var SavingsPlanRateProperty = [3, n0, _SPRP, 0, [_n, _va], [0, 0]];
295
+ export var ServiceQuotaExceededException = [
296
+ -3,
297
+ n0,
298
+ _SQEE,
299
+ {
300
+ [_e]: _cl,
301
+ [_hE]: 402,
302
+ [_aQE]: [`ServiceQuotaExceededException`, 402],
303
+ },
304
+ [_m],
305
+ [0],
306
+ ];
307
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
308
+ export var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, 128 | 0]];
309
+ export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
310
+ export var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]];
311
+ export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
312
+ export var ValidationException = [
313
+ -3,
314
+ n0,
315
+ _VE,
316
+ {
317
+ [_e]: _cl,
318
+ [_hE]: 400,
319
+ [_aQE]: [`ValidationException`, 400],
320
+ },
321
+ [_m],
322
+ [0],
323
+ ];
324
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
325
+ export var __Unit = "unit";
326
+ export var SavingsplansServiceException = [-3, _sm, "SavingsplansServiceException", 0, [], []];
327
+ TypeRegistry.for(_sm).registerError(SavingsplansServiceException, __SavingsplansServiceException);
328
+ export var CurrencyList = 64 | 0;
329
+ export var DurationsList = 64 | 1;
330
+ export var FilterValuesList = 64 | 0;
331
+ export var ListOfStrings = 64 | 0;
332
+ export var SavingsPlanArnList = 64 | 0;
333
+ export var SavingsPlanDescriptionsList = 64 | 0;
334
+ export var SavingsPlanFilterList = [1, n0, _SPFL, 0, () => SavingsPlanFilter];
335
+ export var SavingsPlanIdList = 64 | 0;
336
+ export var SavingsPlanList = [1, n0, _SPL, 0, () => SavingsPlan];
337
+ export var SavingsPlanOfferingFiltersList = [
338
+ 1,
339
+ n0,
340
+ _SPOFL,
341
+ 0,
342
+ () => SavingsPlanOfferingFilterElement,
343
+ ];
344
+ export var SavingsPlanOfferingPropertyList = [1, n0, _SPOPL, 0, () => SavingsPlanOfferingProperty];
345
+ export var SavingsPlanOfferingRateFiltersList = [
346
+ 1,
347
+ n0,
348
+ _SPORFL,
349
+ 0,
350
+ () => SavingsPlanOfferingRateFilterElement,
351
+ ];
352
+ export var SavingsPlanOfferingRatePropertyList = [
353
+ 1,
354
+ n0,
355
+ _SPORPL,
356
+ 0,
357
+ () => SavingsPlanOfferingRateProperty,
358
+ ];
359
+ export var SavingsPlanOfferingRatesList = [1, n0, _SPORL, 0, () => SavingsPlanOfferingRate];
360
+ export var SavingsPlanOfferingsList = [1, n0, _SPOL, 0, () => SavingsPlanOffering];
361
+ export var SavingsPlanOperationList = 64 | 0;
362
+ export var SavingsPlanPaymentOptionList = 64 | 0;
363
+ export var SavingsPlanProductTypeList = 64 | 0;
364
+ export var SavingsPlanRateFilterList = [1, n0, _SPRFL, 0, () => SavingsPlanRateFilter];
365
+ export var SavingsPlanRateList = [1, n0, _SPRL, 0, () => SavingsPlanRate];
366
+ export var SavingsPlanRateOperationList = 64 | 0;
367
+ export var SavingsPlanRatePropertyList = [1, n0, _SPRPL, 0, () => SavingsPlanRateProperty];
368
+ export var SavingsPlanRateServiceCodeList = 64 | 0;
369
+ export var SavingsPlanRateUsageTypeList = 64 | 0;
370
+ export var SavingsPlanServiceCodeList = 64 | 0;
371
+ export var SavingsPlanStateList = 64 | 0;
372
+ export var SavingsPlanTypeList = 64 | 0;
373
+ export var SavingsPlanUsageTypeList = 64 | 0;
374
+ export var TagKeyList = 64 | 0;
375
+ export var UUIDs = 64 | 0;
376
+ export var TagMap = 128 | 0;
377
+ export var CreateSavingsPlan = [
378
+ 9,
379
+ n0,
380
+ _CSP,
381
+ {
382
+ [_h]: ["POST", "/CreateSavingsPlan", 200],
383
+ },
384
+ () => CreateSavingsPlanRequest,
385
+ () => CreateSavingsPlanResponse,
386
+ ];
387
+ export var DeleteQueuedSavingsPlan = [
388
+ 9,
389
+ n0,
390
+ _DQSP,
391
+ {
392
+ [_h]: ["POST", "/DeleteQueuedSavingsPlan", 200],
393
+ },
394
+ () => DeleteQueuedSavingsPlanRequest,
395
+ () => DeleteQueuedSavingsPlanResponse,
396
+ ];
397
+ export var DescribeSavingsPlanRates = [
398
+ 9,
399
+ n0,
400
+ _DSPRes,
401
+ {
402
+ [_h]: ["POST", "/DescribeSavingsPlanRates", 200],
403
+ },
404
+ () => DescribeSavingsPlanRatesRequest,
405
+ () => DescribeSavingsPlanRatesResponse,
406
+ ];
407
+ export var DescribeSavingsPlans = [
408
+ 9,
409
+ n0,
410
+ _DSP,
411
+ {
412
+ [_h]: ["POST", "/DescribeSavingsPlans", 200],
413
+ },
414
+ () => DescribeSavingsPlansRequest,
415
+ () => DescribeSavingsPlansResponse,
416
+ ];
417
+ export var DescribeSavingsPlansOfferingRates = [
418
+ 9,
419
+ n0,
420
+ _DSPORes,
421
+ {
422
+ [_h]: ["POST", "/DescribeSavingsPlansOfferingRates", 200],
423
+ },
424
+ () => DescribeSavingsPlansOfferingRatesRequest,
425
+ () => DescribeSavingsPlansOfferingRatesResponse,
426
+ ];
427
+ export var DescribeSavingsPlansOfferings = [
428
+ 9,
429
+ n0,
430
+ _DSPO,
431
+ {
432
+ [_h]: ["POST", "/DescribeSavingsPlansOfferings", 200],
433
+ },
434
+ () => DescribeSavingsPlansOfferingsRequest,
435
+ () => DescribeSavingsPlansOfferingsResponse,
436
+ ];
437
+ export var ListTagsForResource = [
438
+ 9,
439
+ n0,
440
+ _LTFR,
441
+ {
442
+ [_h]: ["POST", "/ListTagsForResource", 200],
443
+ },
444
+ () => ListTagsForResourceRequest,
445
+ () => ListTagsForResourceResponse,
446
+ ];
447
+ export var ReturnSavingsPlan = [
448
+ 9,
449
+ n0,
450
+ _RSP,
451
+ {
452
+ [_h]: ["POST", "/ReturnSavingsPlan", 200],
453
+ },
454
+ () => ReturnSavingsPlanRequest,
455
+ () => ReturnSavingsPlanResponse,
456
+ ];
457
+ export var TagResource = [
458
+ 9,
459
+ n0,
460
+ _TR,
461
+ {
462
+ [_h]: ["POST", "/TagResource", 200],
463
+ },
464
+ () => TagResourceRequest,
465
+ () => TagResourceResponse,
466
+ ];
467
+ export var UntagResource = [
468
+ 9,
469
+ n0,
470
+ _UR,
471
+ {
472
+ [_h]: ["POST", "/UntagResource", 200],
473
+ },
474
+ () => UntagResourceRequest,
475
+ () => UntagResourceResponse,
476
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput } from "./commands/CreateSavingsPlanCommand";
11
11
  import { DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput } from "./commands/DeleteQueuedSavingsPlanCommand";
@@ -151,6 +151,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
151
151
  * Optional extensions
152
152
  */
153
153
  extensions?: RuntimeExtension[];
154
+ /**
155
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
156
+ * may be overridden. A default will always be set by the client.
157
+ * Available options depend on the service's supported protocols and will not be validated by
158
+ * the client.
159
+ * @alpha
160
+ *
161
+ */
162
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
154
163
  /**
155
164
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
165
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SavingsplansHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,80 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var CreateSavingsPlanRequest: StaticStructureSchema;
3
+ export declare var CreateSavingsPlanResponse: StaticStructureSchema;
4
+ export declare var DeleteQueuedSavingsPlanRequest: StaticStructureSchema;
5
+ export declare var DeleteQueuedSavingsPlanResponse: StaticStructureSchema;
6
+ export declare var DescribeSavingsPlanRatesRequest: StaticStructureSchema;
7
+ export declare var DescribeSavingsPlanRatesResponse: StaticStructureSchema;
8
+ export declare var DescribeSavingsPlansOfferingRatesRequest: StaticStructureSchema;
9
+ export declare var DescribeSavingsPlansOfferingRatesResponse: StaticStructureSchema;
10
+ export declare var DescribeSavingsPlansOfferingsRequest: StaticStructureSchema;
11
+ export declare var DescribeSavingsPlansOfferingsResponse: StaticStructureSchema;
12
+ export declare var DescribeSavingsPlansRequest: StaticStructureSchema;
13
+ export declare var DescribeSavingsPlansResponse: StaticStructureSchema;
14
+ export declare var InternalServerException: StaticErrorSchema;
15
+ export declare var ListTagsForResourceRequest: StaticStructureSchema;
16
+ export declare var ListTagsForResourceResponse: StaticStructureSchema;
17
+ export declare var ParentSavingsPlanOffering: StaticStructureSchema;
18
+ export declare var ResourceNotFoundException: StaticErrorSchema;
19
+ export declare var ReturnSavingsPlanRequest: StaticStructureSchema;
20
+ export declare var ReturnSavingsPlanResponse: StaticStructureSchema;
21
+ export declare var SavingsPlan: StaticStructureSchema;
22
+ export declare var SavingsPlanFilter: StaticStructureSchema;
23
+ export declare var SavingsPlanOffering: StaticStructureSchema;
24
+ export declare var SavingsPlanOfferingFilterElement: StaticStructureSchema;
25
+ export declare var SavingsPlanOfferingProperty: StaticStructureSchema;
26
+ export declare var SavingsPlanOfferingRate: StaticStructureSchema;
27
+ export declare var SavingsPlanOfferingRateFilterElement: StaticStructureSchema;
28
+ export declare var SavingsPlanOfferingRateProperty: StaticStructureSchema;
29
+ export declare var SavingsPlanRate: StaticStructureSchema;
30
+ export declare var SavingsPlanRateFilter: StaticStructureSchema;
31
+ export declare var SavingsPlanRateProperty: StaticStructureSchema;
32
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
33
+ export declare var TagResourceRequest: StaticStructureSchema;
34
+ export declare var TagResourceResponse: StaticStructureSchema;
35
+ export declare var UntagResourceRequest: StaticStructureSchema;
36
+ export declare var UntagResourceResponse: StaticStructureSchema;
37
+ export declare var ValidationException: StaticErrorSchema;
38
+ export declare var __Unit: "unit";
39
+ export declare var SavingsplansServiceException: StaticErrorSchema;
40
+ export declare var CurrencyList: number;
41
+ export declare var DurationsList: number;
42
+ export declare var FilterValuesList: number;
43
+ export declare var ListOfStrings: number;
44
+ export declare var SavingsPlanArnList: number;
45
+ export declare var SavingsPlanDescriptionsList: number;
46
+ export declare var SavingsPlanFilterList: StaticListSchema;
47
+ export declare var SavingsPlanIdList: number;
48
+ export declare var SavingsPlanList: StaticListSchema;
49
+ export declare var SavingsPlanOfferingFiltersList: StaticListSchema;
50
+ export declare var SavingsPlanOfferingPropertyList: StaticListSchema;
51
+ export declare var SavingsPlanOfferingRateFiltersList: StaticListSchema;
52
+ export declare var SavingsPlanOfferingRatePropertyList: StaticListSchema;
53
+ export declare var SavingsPlanOfferingRatesList: StaticListSchema;
54
+ export declare var SavingsPlanOfferingsList: StaticListSchema;
55
+ export declare var SavingsPlanOperationList: number;
56
+ export declare var SavingsPlanPaymentOptionList: number;
57
+ export declare var SavingsPlanProductTypeList: number;
58
+ export declare var SavingsPlanRateFilterList: StaticListSchema;
59
+ export declare var SavingsPlanRateList: StaticListSchema;
60
+ export declare var SavingsPlanRateOperationList: number;
61
+ export declare var SavingsPlanRatePropertyList: StaticListSchema;
62
+ export declare var SavingsPlanRateServiceCodeList: number;
63
+ export declare var SavingsPlanRateUsageTypeList: number;
64
+ export declare var SavingsPlanServiceCodeList: number;
65
+ export declare var SavingsPlanStateList: number;
66
+ export declare var SavingsPlanTypeList: number;
67
+ export declare var SavingsPlanUsageTypeList: number;
68
+ export declare var TagKeyList: number;
69
+ export declare var UUIDs: number;
70
+ export declare var TagMap: number;
71
+ export declare var CreateSavingsPlan: StaticOperationSchema;
72
+ export declare var DeleteQueuedSavingsPlan: StaticOperationSchema;
73
+ export declare var DescribeSavingsPlanRates: StaticOperationSchema;
74
+ export declare var DescribeSavingsPlans: StaticOperationSchema;
75
+ export declare var DescribeSavingsPlansOfferingRates: StaticOperationSchema;
76
+ export declare var DescribeSavingsPlansOfferings: StaticOperationSchema;
77
+ export declare var ListTagsForResource: StaticOperationSchema;
78
+ export declare var ReturnSavingsPlan: StaticOperationSchema;
79
+ export declare var TagResource: StaticOperationSchema;
80
+ export declare var UntagResource: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -138,6 +141,7 @@ export interface ClientDefaults
138
141
  retryMode?: string | __Provider<string>;
139
142
  logger?: __Logger;
140
143
  extensions?: RuntimeExtension[];
144
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
141
145
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
142
146
  }
143
147
  export type SavingsplansClientConfigType = Partial<
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  userAgentAppId?:
43
47
  | string
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  retryStrategy?:
43
47
  | import("@smithy/types").RetryStrategy
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<