@aws-sdk/client-savingsplans 3.986.0 → 3.988.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 +29 -493
- package/dist-cjs/models/SavingsplansServiceException.js +12 -0
- package/dist-cjs/models/errors.js +56 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +406 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +41 -35
- package/dist-types/schemas/schemas_0.d.ts +12 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var SavingsplansServiceException = require('./models/SavingsplansServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,437 +113,6 @@ class SavingsplansClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class SavingsplansServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, SavingsplansServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class InternalServerException extends SavingsplansServiceException {
|
|
121
|
-
name = "InternalServerException";
|
|
122
|
-
$fault = "server";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "InternalServerException",
|
|
126
|
-
$fault: "server",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ResourceNotFoundException extends SavingsplansServiceException {
|
|
133
|
-
name = "ResourceNotFoundException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "ResourceNotFoundException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class ServiceQuotaExceededException extends SavingsplansServiceException {
|
|
145
|
-
name = "ServiceQuotaExceededException";
|
|
146
|
-
$fault = "client";
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "ServiceQuotaExceededException",
|
|
150
|
-
$fault: "client",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
class ValidationException extends SavingsplansServiceException {
|
|
157
|
-
name = "ValidationException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
constructor(opts) {
|
|
160
|
-
super({
|
|
161
|
-
name: "ValidationException",
|
|
162
|
-
$fault: "client",
|
|
163
|
-
...opts,
|
|
164
|
-
});
|
|
165
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
const _CSP = "CreateSavingsPlan";
|
|
170
|
-
const _CSPR = "CreateSavingsPlanRequest";
|
|
171
|
-
const _CSPRr = "CreateSavingsPlanResponse";
|
|
172
|
-
const _DQSP = "DeleteQueuedSavingsPlan";
|
|
173
|
-
const _DQSPR = "DeleteQueuedSavingsPlanRequest";
|
|
174
|
-
const _DQSPRe = "DeleteQueuedSavingsPlanResponse";
|
|
175
|
-
const _DSP = "DescribeSavingsPlans";
|
|
176
|
-
const _DSPO = "DescribeSavingsPlansOfferings";
|
|
177
|
-
const _DSPOR = "DescribeSavingsPlansOfferingsRequest";
|
|
178
|
-
const _DSPORR = "DescribeSavingsPlansOfferingRatesRequest";
|
|
179
|
-
const _DSPORRe = "DescribeSavingsPlansOfferingRatesResponse";
|
|
180
|
-
const _DSPORe = "DescribeSavingsPlansOfferingsResponse";
|
|
181
|
-
const _DSPORes = "DescribeSavingsPlansOfferingRates";
|
|
182
|
-
const _DSPR = "DescribeSavingsPlansRequest";
|
|
183
|
-
const _DSPRR = "DescribeSavingsPlanRatesRequest";
|
|
184
|
-
const _DSPRRe = "DescribeSavingsPlanRatesResponse";
|
|
185
|
-
const _DSPRe = "DescribeSavingsPlansResponse";
|
|
186
|
-
const _DSPRes = "DescribeSavingsPlanRates";
|
|
187
|
-
const _ISE = "InternalServerException";
|
|
188
|
-
const _LTFR = "ListTagsForResource";
|
|
189
|
-
const _LTFRR = "ListTagsForResourceRequest";
|
|
190
|
-
const _LTFRRi = "ListTagsForResourceResponse";
|
|
191
|
-
const _PSPO = "ParentSavingsPlanOffering";
|
|
192
|
-
const _RNFE = "ResourceNotFoundException";
|
|
193
|
-
const _RSP = "ReturnSavingsPlan";
|
|
194
|
-
const _RSPR = "ReturnSavingsPlanRequest";
|
|
195
|
-
const _RSPRe = "ReturnSavingsPlanResponse";
|
|
196
|
-
const _SP = "SavingsPlan";
|
|
197
|
-
const _SPF = "SavingsPlanFilter";
|
|
198
|
-
const _SPFL = "SavingsPlanFilterList";
|
|
199
|
-
const _SPL = "SavingsPlanList";
|
|
200
|
-
const _SPO = "SavingsPlanOffering";
|
|
201
|
-
const _SPOFE = "SavingsPlanOfferingFilterElement";
|
|
202
|
-
const _SPOFL = "SavingsPlanOfferingFiltersList";
|
|
203
|
-
const _SPOL = "SavingsPlanOfferingsList";
|
|
204
|
-
const _SPOP = "SavingsPlanOfferingProperty";
|
|
205
|
-
const _SPOPL = "SavingsPlanOfferingPropertyList";
|
|
206
|
-
const _SPOR = "SavingsPlanOfferingRate";
|
|
207
|
-
const _SPORFE = "SavingsPlanOfferingRateFilterElement";
|
|
208
|
-
const _SPORFL = "SavingsPlanOfferingRateFiltersList";
|
|
209
|
-
const _SPORL = "SavingsPlanOfferingRatesList";
|
|
210
|
-
const _SPORP = "SavingsPlanOfferingRateProperty";
|
|
211
|
-
const _SPORPL = "SavingsPlanOfferingRatePropertyList";
|
|
212
|
-
const _SPR = "SavingsPlanRate";
|
|
213
|
-
const _SPRF = "SavingsPlanRateFilter";
|
|
214
|
-
const _SPRFL = "SavingsPlanRateFilterList";
|
|
215
|
-
const _SPRL = "SavingsPlanRateList";
|
|
216
|
-
const _SPRP = "SavingsPlanRateProperty";
|
|
217
|
-
const _SPRPL = "SavingsPlanRatePropertyList";
|
|
218
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
219
|
-
const _TR = "TagResource";
|
|
220
|
-
const _TRR = "TagResourceRequest";
|
|
221
|
-
const _TRRa = "TagResourceResponse";
|
|
222
|
-
const _UR = "UntagResource";
|
|
223
|
-
const _URR = "UntagResourceRequest";
|
|
224
|
-
const _URRn = "UntagResourceResponse";
|
|
225
|
-
const _VE = "ValidationException";
|
|
226
|
-
const _aQE = "awsQueryError";
|
|
227
|
-
const _c = "commitment";
|
|
228
|
-
const _cT = "clientToken";
|
|
229
|
-
const _cl = "client";
|
|
230
|
-
const _cu = "currencies";
|
|
231
|
-
const _cur = "currency";
|
|
232
|
-
const _d = "durations";
|
|
233
|
-
const _dS = "durationSeconds";
|
|
234
|
-
const _de = "descriptions";
|
|
235
|
-
const _des = "description";
|
|
236
|
-
const _e = "error";
|
|
237
|
-
const _eIF = "ec2InstanceFamily";
|
|
238
|
-
const _en = "end";
|
|
239
|
-
const _f = "filters";
|
|
240
|
-
const _h = "http";
|
|
241
|
-
const _hE = "httpError";
|
|
242
|
-
const _m = "message";
|
|
243
|
-
const _mR = "maxResults";
|
|
244
|
-
const _n = "name";
|
|
245
|
-
const _nT = "nextToken";
|
|
246
|
-
const _o = "operations";
|
|
247
|
-
const _oI = "offeringIds";
|
|
248
|
-
const _oIf = "offeringId";
|
|
249
|
-
const _op = "operation";
|
|
250
|
-
const _p = "products";
|
|
251
|
-
const _pD = "planDescription";
|
|
252
|
-
const _pO = "paymentOptions";
|
|
253
|
-
const _pOa = "paymentOption";
|
|
254
|
-
const _pT = "purchaseTime";
|
|
255
|
-
const _pTl = "planTypes";
|
|
256
|
-
const _pTla = "planType";
|
|
257
|
-
const _pTr = "productType";
|
|
258
|
-
const _pTro = "productTypes";
|
|
259
|
-
const _pr = "properties";
|
|
260
|
-
const _r = "region";
|
|
261
|
-
const _rA = "resourceArn";
|
|
262
|
-
const _rPA = "recurringPaymentAmount";
|
|
263
|
-
const _rU = "returnableUntil";
|
|
264
|
-
const _ra = "rate";
|
|
265
|
-
const _s = "states";
|
|
266
|
-
const _sC = "serviceCodes";
|
|
267
|
-
const _sCe = "serviceCode";
|
|
268
|
-
const _sP = "savingsPlans";
|
|
269
|
-
const _sPA = "savingsPlanArns";
|
|
270
|
-
const _sPAa = "savingsPlanArn";
|
|
271
|
-
const _sPI = "savingsPlanId";
|
|
272
|
-
const _sPIa = "savingsPlanIds";
|
|
273
|
-
const _sPO = "savingsPlanOffering";
|
|
274
|
-
const _sPOI = "savingsPlanOfferingId";
|
|
275
|
-
const _sPOIa = "savingsPlanOfferingIds";
|
|
276
|
-
const _sPPO = "savingsPlanPaymentOptions";
|
|
277
|
-
const _sPT = "savingsPlanTypes";
|
|
278
|
-
const _sPTa = "savingsPlanType";
|
|
279
|
-
const _sR = "searchResults";
|
|
280
|
-
const _se = "server";
|
|
281
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.savingsplans";
|
|
282
|
-
const _st = "start";
|
|
283
|
-
const _sta = "state";
|
|
284
|
-
const _t = "tags";
|
|
285
|
-
const _tDIS = "termDurationInSeconds";
|
|
286
|
-
const _tK = "tagKeys";
|
|
287
|
-
const _u = "unit";
|
|
288
|
-
const _uPA = "upfrontPaymentAmount";
|
|
289
|
-
const _uT = "usageTypes";
|
|
290
|
-
const _uTs = "usageType";
|
|
291
|
-
const _v = "values";
|
|
292
|
-
const _va = "value";
|
|
293
|
-
const n0 = "com.amazonaws.savingsplans";
|
|
294
|
-
var CreateSavingsPlanRequest$ = [3, n0, _CSPR,
|
|
295
|
-
0,
|
|
296
|
-
[_sPOI, _c, _uPA, _pT, _cT, _t],
|
|
297
|
-
[0, 0, 0, 4, [0, 4], 128 | 0], 2
|
|
298
|
-
];
|
|
299
|
-
var CreateSavingsPlanResponse$ = [3, n0, _CSPRr,
|
|
300
|
-
0,
|
|
301
|
-
[_sPI],
|
|
302
|
-
[0]
|
|
303
|
-
];
|
|
304
|
-
var DeleteQueuedSavingsPlanRequest$ = [3, n0, _DQSPR,
|
|
305
|
-
0,
|
|
306
|
-
[_sPI],
|
|
307
|
-
[0], 1
|
|
308
|
-
];
|
|
309
|
-
var DeleteQueuedSavingsPlanResponse$ = [3, n0, _DQSPRe,
|
|
310
|
-
0,
|
|
311
|
-
[],
|
|
312
|
-
[]
|
|
313
|
-
];
|
|
314
|
-
var DescribeSavingsPlanRatesRequest$ = [3, n0, _DSPRR,
|
|
315
|
-
0,
|
|
316
|
-
[_sPI, _f, _nT, _mR],
|
|
317
|
-
[0, () => SavingsPlanRateFilterList, 0, 1], 1
|
|
318
|
-
];
|
|
319
|
-
var DescribeSavingsPlanRatesResponse$ = [3, n0, _DSPRRe,
|
|
320
|
-
0,
|
|
321
|
-
[_sPI, _sR, _nT],
|
|
322
|
-
[0, () => SavingsPlanRateList, 0]
|
|
323
|
-
];
|
|
324
|
-
var DescribeSavingsPlansOfferingRatesRequest$ = [3, n0, _DSPORR,
|
|
325
|
-
0,
|
|
326
|
-
[_sPOIa, _sPPO, _sPT, _p, _sC, _uT, _o, _f, _nT, _mR],
|
|
327
|
-
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => SavingsPlanOfferingRateFiltersList, 0, 1]
|
|
328
|
-
];
|
|
329
|
-
var DescribeSavingsPlansOfferingRatesResponse$ = [3, n0, _DSPORRe,
|
|
330
|
-
0,
|
|
331
|
-
[_sR, _nT],
|
|
332
|
-
[() => SavingsPlanOfferingRatesList, 0]
|
|
333
|
-
];
|
|
334
|
-
var DescribeSavingsPlansOfferingsRequest$ = [3, n0, _DSPOR,
|
|
335
|
-
0,
|
|
336
|
-
[_oI, _pO, _pTr, _pTl, _d, _cu, _de, _sC, _uT, _o, _f, _nT, _mR],
|
|
337
|
-
[64 | 0, 64 | 0, 0, 64 | 0, 64 | 1, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => SavingsPlanOfferingFiltersList, 0, 1]
|
|
338
|
-
];
|
|
339
|
-
var DescribeSavingsPlansOfferingsResponse$ = [3, n0, _DSPORe,
|
|
340
|
-
0,
|
|
341
|
-
[_sR, _nT],
|
|
342
|
-
[() => SavingsPlanOfferingsList, 0]
|
|
343
|
-
];
|
|
344
|
-
var DescribeSavingsPlansRequest$ = [3, n0, _DSPR,
|
|
345
|
-
0,
|
|
346
|
-
[_sPA, _sPIa, _nT, _mR, _s, _f],
|
|
347
|
-
[64 | 0, 64 | 0, 0, 1, 64 | 0, () => SavingsPlanFilterList]
|
|
348
|
-
];
|
|
349
|
-
var DescribeSavingsPlansResponse$ = [3, n0, _DSPRe,
|
|
350
|
-
0,
|
|
351
|
-
[_sP, _nT],
|
|
352
|
-
[() => SavingsPlanList, 0]
|
|
353
|
-
];
|
|
354
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
355
|
-
{ [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
|
|
356
|
-
[_m],
|
|
357
|
-
[0], 1
|
|
358
|
-
];
|
|
359
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
360
|
-
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
361
|
-
0,
|
|
362
|
-
[_rA],
|
|
363
|
-
[0], 1
|
|
364
|
-
];
|
|
365
|
-
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
366
|
-
0,
|
|
367
|
-
[_t],
|
|
368
|
-
[128 | 0]
|
|
369
|
-
];
|
|
370
|
-
var ParentSavingsPlanOffering$ = [3, n0, _PSPO,
|
|
371
|
-
0,
|
|
372
|
-
[_oIf, _pOa, _pTla, _dS, _cur, _pD],
|
|
373
|
-
[0, 0, 0, 1, 0, 0]
|
|
374
|
-
];
|
|
375
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
376
|
-
{ [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _cl, [_hE]: 404 },
|
|
377
|
-
[_m],
|
|
378
|
-
[0], 1
|
|
379
|
-
];
|
|
380
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
381
|
-
var ReturnSavingsPlanRequest$ = [3, n0, _RSPR,
|
|
382
|
-
0,
|
|
383
|
-
[_sPI, _cT],
|
|
384
|
-
[0, [0, 4]], 1
|
|
385
|
-
];
|
|
386
|
-
var ReturnSavingsPlanResponse$ = [3, n0, _RSPRe,
|
|
387
|
-
0,
|
|
388
|
-
[_sPI],
|
|
389
|
-
[0]
|
|
390
|
-
];
|
|
391
|
-
var SavingsPlan$ = [3, n0, _SP,
|
|
392
|
-
0,
|
|
393
|
-
[_oIf, _sPI, _sPAa, _des, _st, _en, _sta, _r, _eIF, _sPTa, _pOa, _pTro, _cur, _c, _uPA, _rPA, _tDIS, _t, _rU],
|
|
394
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 1, 128 | 0, 0]
|
|
395
|
-
];
|
|
396
|
-
var SavingsPlanFilter$ = [3, n0, _SPF,
|
|
397
|
-
0,
|
|
398
|
-
[_n, _v],
|
|
399
|
-
[0, 64 | 0]
|
|
400
|
-
];
|
|
401
|
-
var SavingsPlanOffering$ = [3, n0, _SPO,
|
|
402
|
-
0,
|
|
403
|
-
[_oIf, _pTro, _pTla, _des, _pOa, _dS, _cur, _sCe, _uTs, _op, _pr],
|
|
404
|
-
[0, 64 | 0, 0, 0, 0, 1, 0, 0, 0, 0, () => SavingsPlanOfferingPropertyList]
|
|
405
|
-
];
|
|
406
|
-
var SavingsPlanOfferingFilterElement$ = [3, n0, _SPOFE,
|
|
407
|
-
0,
|
|
408
|
-
[_n, _v],
|
|
409
|
-
[0, 64 | 0]
|
|
410
|
-
];
|
|
411
|
-
var SavingsPlanOfferingProperty$ = [3, n0, _SPOP,
|
|
412
|
-
0,
|
|
413
|
-
[_n, _va],
|
|
414
|
-
[0, 0]
|
|
415
|
-
];
|
|
416
|
-
var SavingsPlanOfferingRate$ = [3, n0, _SPOR,
|
|
417
|
-
0,
|
|
418
|
-
[_sPO, _ra, _u, _pTr, _sCe, _uTs, _op, _pr],
|
|
419
|
-
[() => ParentSavingsPlanOffering$, 0, 0, 0, 0, 0, 0, () => SavingsPlanOfferingRatePropertyList]
|
|
420
|
-
];
|
|
421
|
-
var SavingsPlanOfferingRateFilterElement$ = [3, n0, _SPORFE,
|
|
422
|
-
0,
|
|
423
|
-
[_n, _v],
|
|
424
|
-
[0, 64 | 0]
|
|
425
|
-
];
|
|
426
|
-
var SavingsPlanOfferingRateProperty$ = [3, n0, _SPORP,
|
|
427
|
-
0,
|
|
428
|
-
[_n, _va],
|
|
429
|
-
[0, 0]
|
|
430
|
-
];
|
|
431
|
-
var SavingsPlanRate$ = [3, n0, _SPR,
|
|
432
|
-
0,
|
|
433
|
-
[_ra, _cur, _u, _pTr, _sCe, _uTs, _op, _pr],
|
|
434
|
-
[0, 0, 0, 0, 0, 0, 0, () => SavingsPlanRatePropertyList]
|
|
435
|
-
];
|
|
436
|
-
var SavingsPlanRateFilter$ = [3, n0, _SPRF,
|
|
437
|
-
0,
|
|
438
|
-
[_n, _v],
|
|
439
|
-
[0, 64 | 0]
|
|
440
|
-
];
|
|
441
|
-
var SavingsPlanRateProperty$ = [3, n0, _SPRP,
|
|
442
|
-
0,
|
|
443
|
-
[_n, _va],
|
|
444
|
-
[0, 0]
|
|
445
|
-
];
|
|
446
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
447
|
-
{ [_aQE]: [`ServiceQuotaExceededException`, 402], [_e]: _cl, [_hE]: 402 },
|
|
448
|
-
[_m],
|
|
449
|
-
[0], 1
|
|
450
|
-
];
|
|
451
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
452
|
-
var TagResourceRequest$ = [3, n0, _TRR,
|
|
453
|
-
0,
|
|
454
|
-
[_rA, _t],
|
|
455
|
-
[0, 128 | 0], 2
|
|
456
|
-
];
|
|
457
|
-
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
458
|
-
0,
|
|
459
|
-
[],
|
|
460
|
-
[]
|
|
461
|
-
];
|
|
462
|
-
var UntagResourceRequest$ = [3, n0, _URR,
|
|
463
|
-
0,
|
|
464
|
-
[_rA, _tK],
|
|
465
|
-
[0, 64 | 0], 2
|
|
466
|
-
];
|
|
467
|
-
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
468
|
-
0,
|
|
469
|
-
[],
|
|
470
|
-
[]
|
|
471
|
-
];
|
|
472
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
473
|
-
{ [_aQE]: [`ValidationException`, 400], [_e]: _cl, [_hE]: 400 },
|
|
474
|
-
[_m],
|
|
475
|
-
[0], 1
|
|
476
|
-
];
|
|
477
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
478
|
-
var SavingsplansServiceException$ = [-3, _sm, "SavingsplansServiceException", 0, [], []];
|
|
479
|
-
schema.TypeRegistry.for(_sm).registerError(SavingsplansServiceException$, SavingsplansServiceException);
|
|
480
|
-
var SavingsPlanFilterList = [1, n0, _SPFL,
|
|
481
|
-
0, () => SavingsPlanFilter$
|
|
482
|
-
];
|
|
483
|
-
var SavingsPlanList = [1, n0, _SPL,
|
|
484
|
-
0, () => SavingsPlan$
|
|
485
|
-
];
|
|
486
|
-
var SavingsPlanOfferingFiltersList = [1, n0, _SPOFL,
|
|
487
|
-
0, () => SavingsPlanOfferingFilterElement$
|
|
488
|
-
];
|
|
489
|
-
var SavingsPlanOfferingPropertyList = [1, n0, _SPOPL,
|
|
490
|
-
0, () => SavingsPlanOfferingProperty$
|
|
491
|
-
];
|
|
492
|
-
var SavingsPlanOfferingRateFiltersList = [1, n0, _SPORFL,
|
|
493
|
-
0, () => SavingsPlanOfferingRateFilterElement$
|
|
494
|
-
];
|
|
495
|
-
var SavingsPlanOfferingRatePropertyList = [1, n0, _SPORPL,
|
|
496
|
-
0, () => SavingsPlanOfferingRateProperty$
|
|
497
|
-
];
|
|
498
|
-
var SavingsPlanOfferingRatesList = [1, n0, _SPORL,
|
|
499
|
-
0, () => SavingsPlanOfferingRate$
|
|
500
|
-
];
|
|
501
|
-
var SavingsPlanOfferingsList = [1, n0, _SPOL,
|
|
502
|
-
0, () => SavingsPlanOffering$
|
|
503
|
-
];
|
|
504
|
-
var SavingsPlanRateFilterList = [1, n0, _SPRFL,
|
|
505
|
-
0, () => SavingsPlanRateFilter$
|
|
506
|
-
];
|
|
507
|
-
var SavingsPlanRateList = [1, n0, _SPRL,
|
|
508
|
-
0, () => SavingsPlanRate$
|
|
509
|
-
];
|
|
510
|
-
var SavingsPlanRatePropertyList = [1, n0, _SPRPL,
|
|
511
|
-
0, () => SavingsPlanRateProperty$
|
|
512
|
-
];
|
|
513
|
-
var CreateSavingsPlan$ = [9, n0, _CSP,
|
|
514
|
-
{ [_h]: ["POST", "/CreateSavingsPlan", 200] }, () => CreateSavingsPlanRequest$, () => CreateSavingsPlanResponse$
|
|
515
|
-
];
|
|
516
|
-
var DeleteQueuedSavingsPlan$ = [9, n0, _DQSP,
|
|
517
|
-
{ [_h]: ["POST", "/DeleteQueuedSavingsPlan", 200] }, () => DeleteQueuedSavingsPlanRequest$, () => DeleteQueuedSavingsPlanResponse$
|
|
518
|
-
];
|
|
519
|
-
var DescribeSavingsPlanRates$ = [9, n0, _DSPRes,
|
|
520
|
-
{ [_h]: ["POST", "/DescribeSavingsPlanRates", 200] }, () => DescribeSavingsPlanRatesRequest$, () => DescribeSavingsPlanRatesResponse$
|
|
521
|
-
];
|
|
522
|
-
var DescribeSavingsPlans$ = [9, n0, _DSP,
|
|
523
|
-
{ [_h]: ["POST", "/DescribeSavingsPlans", 200] }, () => DescribeSavingsPlansRequest$, () => DescribeSavingsPlansResponse$
|
|
524
|
-
];
|
|
525
|
-
var DescribeSavingsPlansOfferingRates$ = [9, n0, _DSPORes,
|
|
526
|
-
{ [_h]: ["POST", "/DescribeSavingsPlansOfferingRates", 200] }, () => DescribeSavingsPlansOfferingRatesRequest$, () => DescribeSavingsPlansOfferingRatesResponse$
|
|
527
|
-
];
|
|
528
|
-
var DescribeSavingsPlansOfferings$ = [9, n0, _DSPO,
|
|
529
|
-
{ [_h]: ["POST", "/DescribeSavingsPlansOfferings", 200] }, () => DescribeSavingsPlansOfferingsRequest$, () => DescribeSavingsPlansOfferingsResponse$
|
|
530
|
-
];
|
|
531
|
-
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
532
|
-
{ [_h]: ["POST", "/ListTagsForResource", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
533
|
-
];
|
|
534
|
-
var ReturnSavingsPlan$ = [9, n0, _RSP,
|
|
535
|
-
{ [_h]: ["POST", "/ReturnSavingsPlan", 200] }, () => ReturnSavingsPlanRequest$, () => ReturnSavingsPlanResponse$
|
|
536
|
-
];
|
|
537
|
-
var TagResource$ = [9, n0, _TR,
|
|
538
|
-
{ [_h]: ["POST", "/TagResource", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
539
|
-
];
|
|
540
|
-
var UntagResource$ = [9, n0, _UR,
|
|
541
|
-
{ [_h]: ["POST", "/UntagResource", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
542
|
-
];
|
|
543
|
-
|
|
544
116
|
class CreateSavingsPlanCommand extends smithyClient.Command
|
|
545
117
|
.classBuilder()
|
|
546
118
|
.ep(commonParams)
|
|
@@ -549,7 +121,7 @@ class CreateSavingsPlanCommand extends smithyClient.Command
|
|
|
549
121
|
})
|
|
550
122
|
.s("AWSSavingsPlan", "CreateSavingsPlan", {})
|
|
551
123
|
.n("SavingsplansClient", "CreateSavingsPlanCommand")
|
|
552
|
-
.sc(CreateSavingsPlan$)
|
|
124
|
+
.sc(schemas_0.CreateSavingsPlan$)
|
|
553
125
|
.build() {
|
|
554
126
|
}
|
|
555
127
|
|
|
@@ -561,7 +133,7 @@ class DeleteQueuedSavingsPlanCommand extends smithyClient.Command
|
|
|
561
133
|
})
|
|
562
134
|
.s("AWSSavingsPlan", "DeleteQueuedSavingsPlan", {})
|
|
563
135
|
.n("SavingsplansClient", "DeleteQueuedSavingsPlanCommand")
|
|
564
|
-
.sc(DeleteQueuedSavingsPlan$)
|
|
136
|
+
.sc(schemas_0.DeleteQueuedSavingsPlan$)
|
|
565
137
|
.build() {
|
|
566
138
|
}
|
|
567
139
|
|
|
@@ -573,7 +145,7 @@ class DescribeSavingsPlanRatesCommand extends smithyClient.Command
|
|
|
573
145
|
})
|
|
574
146
|
.s("AWSSavingsPlan", "DescribeSavingsPlanRates", {})
|
|
575
147
|
.n("SavingsplansClient", "DescribeSavingsPlanRatesCommand")
|
|
576
|
-
.sc(DescribeSavingsPlanRates$)
|
|
148
|
+
.sc(schemas_0.DescribeSavingsPlanRates$)
|
|
577
149
|
.build() {
|
|
578
150
|
}
|
|
579
151
|
|
|
@@ -585,7 +157,7 @@ class DescribeSavingsPlansCommand extends smithyClient.Command
|
|
|
585
157
|
})
|
|
586
158
|
.s("AWSSavingsPlan", "DescribeSavingsPlans", {})
|
|
587
159
|
.n("SavingsplansClient", "DescribeSavingsPlansCommand")
|
|
588
|
-
.sc(DescribeSavingsPlans$)
|
|
160
|
+
.sc(schemas_0.DescribeSavingsPlans$)
|
|
589
161
|
.build() {
|
|
590
162
|
}
|
|
591
163
|
|
|
@@ -597,7 +169,7 @@ class DescribeSavingsPlansOfferingRatesCommand extends smithyClient.Command
|
|
|
597
169
|
})
|
|
598
170
|
.s("AWSSavingsPlan", "DescribeSavingsPlansOfferingRates", {})
|
|
599
171
|
.n("SavingsplansClient", "DescribeSavingsPlansOfferingRatesCommand")
|
|
600
|
-
.sc(DescribeSavingsPlansOfferingRates$)
|
|
172
|
+
.sc(schemas_0.DescribeSavingsPlansOfferingRates$)
|
|
601
173
|
.build() {
|
|
602
174
|
}
|
|
603
175
|
|
|
@@ -609,7 +181,7 @@ class DescribeSavingsPlansOfferingsCommand extends smithyClient.Command
|
|
|
609
181
|
})
|
|
610
182
|
.s("AWSSavingsPlan", "DescribeSavingsPlansOfferings", {})
|
|
611
183
|
.n("SavingsplansClient", "DescribeSavingsPlansOfferingsCommand")
|
|
612
|
-
.sc(DescribeSavingsPlansOfferings$)
|
|
184
|
+
.sc(schemas_0.DescribeSavingsPlansOfferings$)
|
|
613
185
|
.build() {
|
|
614
186
|
}
|
|
615
187
|
|
|
@@ -621,7 +193,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
621
193
|
})
|
|
622
194
|
.s("AWSSavingsPlan", "ListTagsForResource", {})
|
|
623
195
|
.n("SavingsplansClient", "ListTagsForResourceCommand")
|
|
624
|
-
.sc(ListTagsForResource$)
|
|
196
|
+
.sc(schemas_0.ListTagsForResource$)
|
|
625
197
|
.build() {
|
|
626
198
|
}
|
|
627
199
|
|
|
@@ -633,7 +205,7 @@ class ReturnSavingsPlanCommand extends smithyClient.Command
|
|
|
633
205
|
})
|
|
634
206
|
.s("AWSSavingsPlan", "ReturnSavingsPlan", {})
|
|
635
207
|
.n("SavingsplansClient", "ReturnSavingsPlanCommand")
|
|
636
|
-
.sc(ReturnSavingsPlan$)
|
|
208
|
+
.sc(schemas_0.ReturnSavingsPlan$)
|
|
637
209
|
.build() {
|
|
638
210
|
}
|
|
639
211
|
|
|
@@ -645,7 +217,7 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
645
217
|
})
|
|
646
218
|
.s("AWSSavingsPlan", "TagResource", {})
|
|
647
219
|
.n("SavingsplansClient", "TagResourceCommand")
|
|
648
|
-
.sc(TagResource$)
|
|
220
|
+
.sc(schemas_0.TagResource$)
|
|
649
221
|
.build() {
|
|
650
222
|
}
|
|
651
223
|
|
|
@@ -657,7 +229,7 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
657
229
|
})
|
|
658
230
|
.s("AWSSavingsPlan", "UntagResource", {})
|
|
659
231
|
.n("SavingsplansClient", "UntagResourceCommand")
|
|
660
|
-
.sc(UntagResource$)
|
|
232
|
+
.sc(schemas_0.UntagResource$)
|
|
661
233
|
.build() {
|
|
662
234
|
}
|
|
663
235
|
|
|
@@ -805,61 +377,25 @@ Object.defineProperty(exports, "__Client", {
|
|
|
805
377
|
enumerable: true,
|
|
806
378
|
get: function () { return smithyClient.Client; }
|
|
807
379
|
});
|
|
808
|
-
exports
|
|
380
|
+
Object.defineProperty(exports, "SavingsplansServiceException", {
|
|
381
|
+
enumerable: true,
|
|
382
|
+
get: function () { return SavingsplansServiceException.SavingsplansServiceException; }
|
|
383
|
+
});
|
|
809
384
|
exports.CreateSavingsPlanCommand = CreateSavingsPlanCommand;
|
|
810
|
-
exports.CreateSavingsPlanRequest$ = CreateSavingsPlanRequest$;
|
|
811
|
-
exports.CreateSavingsPlanResponse$ = CreateSavingsPlanResponse$;
|
|
812
385
|
exports.CurrencyCode = CurrencyCode;
|
|
813
|
-
exports.DeleteQueuedSavingsPlan$ = DeleteQueuedSavingsPlan$;
|
|
814
386
|
exports.DeleteQueuedSavingsPlanCommand = DeleteQueuedSavingsPlanCommand;
|
|
815
|
-
exports.DeleteQueuedSavingsPlanRequest$ = DeleteQueuedSavingsPlanRequest$;
|
|
816
|
-
exports.DeleteQueuedSavingsPlanResponse$ = DeleteQueuedSavingsPlanResponse$;
|
|
817
|
-
exports.DescribeSavingsPlanRates$ = DescribeSavingsPlanRates$;
|
|
818
387
|
exports.DescribeSavingsPlanRatesCommand = DescribeSavingsPlanRatesCommand;
|
|
819
|
-
exports.DescribeSavingsPlanRatesRequest$ = DescribeSavingsPlanRatesRequest$;
|
|
820
|
-
exports.DescribeSavingsPlanRatesResponse$ = DescribeSavingsPlanRatesResponse$;
|
|
821
|
-
exports.DescribeSavingsPlans$ = DescribeSavingsPlans$;
|
|
822
388
|
exports.DescribeSavingsPlansCommand = DescribeSavingsPlansCommand;
|
|
823
|
-
exports.DescribeSavingsPlansOfferingRates$ = DescribeSavingsPlansOfferingRates$;
|
|
824
389
|
exports.DescribeSavingsPlansOfferingRatesCommand = DescribeSavingsPlansOfferingRatesCommand;
|
|
825
|
-
exports.DescribeSavingsPlansOfferingRatesRequest$ = DescribeSavingsPlansOfferingRatesRequest$;
|
|
826
|
-
exports.DescribeSavingsPlansOfferingRatesResponse$ = DescribeSavingsPlansOfferingRatesResponse$;
|
|
827
|
-
exports.DescribeSavingsPlansOfferings$ = DescribeSavingsPlansOfferings$;
|
|
828
390
|
exports.DescribeSavingsPlansOfferingsCommand = DescribeSavingsPlansOfferingsCommand;
|
|
829
|
-
exports.DescribeSavingsPlansOfferingsRequest$ = DescribeSavingsPlansOfferingsRequest$;
|
|
830
|
-
exports.DescribeSavingsPlansOfferingsResponse$ = DescribeSavingsPlansOfferingsResponse$;
|
|
831
|
-
exports.DescribeSavingsPlansRequest$ = DescribeSavingsPlansRequest$;
|
|
832
|
-
exports.DescribeSavingsPlansResponse$ = DescribeSavingsPlansResponse$;
|
|
833
|
-
exports.InternalServerException = InternalServerException;
|
|
834
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
835
|
-
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
836
391
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
837
|
-
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
838
|
-
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
839
|
-
exports.ParentSavingsPlanOffering$ = ParentSavingsPlanOffering$;
|
|
840
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
841
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
842
|
-
exports.ReturnSavingsPlan$ = ReturnSavingsPlan$;
|
|
843
392
|
exports.ReturnSavingsPlanCommand = ReturnSavingsPlanCommand;
|
|
844
|
-
exports.ReturnSavingsPlanRequest$ = ReturnSavingsPlanRequest$;
|
|
845
|
-
exports.ReturnSavingsPlanResponse$ = ReturnSavingsPlanResponse$;
|
|
846
|
-
exports.SavingsPlan$ = SavingsPlan$;
|
|
847
|
-
exports.SavingsPlanFilter$ = SavingsPlanFilter$;
|
|
848
|
-
exports.SavingsPlanOffering$ = SavingsPlanOffering$;
|
|
849
393
|
exports.SavingsPlanOfferingFilterAttribute = SavingsPlanOfferingFilterAttribute;
|
|
850
|
-
exports.SavingsPlanOfferingFilterElement$ = SavingsPlanOfferingFilterElement$;
|
|
851
|
-
exports.SavingsPlanOfferingProperty$ = SavingsPlanOfferingProperty$;
|
|
852
394
|
exports.SavingsPlanOfferingPropertyKey = SavingsPlanOfferingPropertyKey;
|
|
853
|
-
exports.SavingsPlanOfferingRate$ = SavingsPlanOfferingRate$;
|
|
854
|
-
exports.SavingsPlanOfferingRateFilterElement$ = SavingsPlanOfferingRateFilterElement$;
|
|
855
|
-
exports.SavingsPlanOfferingRateProperty$ = SavingsPlanOfferingRateProperty$;
|
|
856
395
|
exports.SavingsPlanPaymentOption = SavingsPlanPaymentOption;
|
|
857
396
|
exports.SavingsPlanProductType = SavingsPlanProductType;
|
|
858
|
-
exports.SavingsPlanRate$ = SavingsPlanRate$;
|
|
859
|
-
exports.SavingsPlanRateFilter$ = SavingsPlanRateFilter$;
|
|
860
397
|
exports.SavingsPlanRateFilterAttribute = SavingsPlanRateFilterAttribute;
|
|
861
398
|
exports.SavingsPlanRateFilterName = SavingsPlanRateFilterName;
|
|
862
|
-
exports.SavingsPlanRateProperty$ = SavingsPlanRateProperty$;
|
|
863
399
|
exports.SavingsPlanRatePropertyKey = SavingsPlanRatePropertyKey;
|
|
864
400
|
exports.SavingsPlanRateServiceCode = SavingsPlanRateServiceCode;
|
|
865
401
|
exports.SavingsPlanRateUnit = SavingsPlanRateUnit;
|
|
@@ -868,17 +404,17 @@ exports.SavingsPlanType = SavingsPlanType;
|
|
|
868
404
|
exports.SavingsPlansFilterName = SavingsPlansFilterName;
|
|
869
405
|
exports.Savingsplans = Savingsplans;
|
|
870
406
|
exports.SavingsplansClient = SavingsplansClient;
|
|
871
|
-
exports.SavingsplansServiceException = SavingsplansServiceException;
|
|
872
|
-
exports.SavingsplansServiceException$ = SavingsplansServiceException$;
|
|
873
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
874
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
875
|
-
exports.TagResource$ = TagResource$;
|
|
876
407
|
exports.TagResourceCommand = TagResourceCommand;
|
|
877
|
-
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
878
|
-
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
879
|
-
exports.UntagResource$ = UntagResource$;
|
|
880
408
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
881
|
-
|
|
882
|
-
exports.
|
|
883
|
-
|
|
884
|
-
|
|
409
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
410
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
411
|
+
enumerable: true,
|
|
412
|
+
get: function () { return schemas_0[k]; }
|
|
413
|
+
});
|
|
414
|
+
});
|
|
415
|
+
Object.keys(errors).forEach(function (k) {
|
|
416
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
417
|
+
enumerable: true,
|
|
418
|
+
get: function () { return errors[k]; }
|
|
419
|
+
});
|
|
420
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SavingsplansServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SavingsplansServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SavingsplansServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SavingsplansServiceException = SavingsplansServiceException;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = void 0;
|
|
4
|
+
const SavingsplansServiceException_1 = require("./SavingsplansServiceException");
|
|
5
|
+
class InternalServerException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
6
|
+
name = "InternalServerException";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "InternalServerException",
|
|
11
|
+
$fault: "server",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.InternalServerException = InternalServerException;
|
|
18
|
+
class ResourceNotFoundException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
19
|
+
name = "ResourceNotFoundException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ResourceNotFoundException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
31
|
+
class ServiceQuotaExceededException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
32
|
+
name = "ServiceQuotaExceededException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ServiceQuotaExceededException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
44
|
+
class ValidationException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
45
|
+
name = "ValidationException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ValidationException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ValidationException = ValidationException;
|