@aws-sdk/client-pricing 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.
- package/dist-cjs/index.js +293 -324
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/PricingClient.js +2 -0
- package/dist-es/commands/DescribeServicesCommand.js +3 -9
- package/dist-es/commands/GetAttributeValuesCommand.js +3 -9
- package/dist-es/commands/GetPriceListFileUrlCommand.js +3 -9
- package/dist-es/commands/GetProductsCommand.js +3 -9
- package/dist-es/commands/ListPriceListsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +260 -0
- package/dist-types/PricingClient.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 +38 -0
- package/dist-types/ts3.4/PricingClient.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 +44 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -269
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -65
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,8 +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
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class PricingClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class PricingClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class PricingServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let PricingServiceException$1 = class PricingServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, PricingServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class AccessDeniedException extends PricingServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends PricingServiceException$1 {
|
|
121
121
|
name = "AccessDeniedException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
Message;
|
|
@@ -130,8 +130,8 @@ class AccessDeniedException extends PricingServiceException {
|
|
|
130
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
134
|
-
class ExpiredNextTokenException extends PricingServiceException {
|
|
133
|
+
};
|
|
134
|
+
let ExpiredNextTokenException$1 = class ExpiredNextTokenException extends PricingServiceException$1 {
|
|
135
135
|
name = "ExpiredNextTokenException";
|
|
136
136
|
$fault = "client";
|
|
137
137
|
Message;
|
|
@@ -144,8 +144,8 @@ class ExpiredNextTokenException extends PricingServiceException {
|
|
|
144
144
|
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
145
145
|
this.Message = opts.Message;
|
|
146
146
|
}
|
|
147
|
-
}
|
|
148
|
-
class InternalErrorException extends PricingServiceException {
|
|
147
|
+
};
|
|
148
|
+
let InternalErrorException$1 = class InternalErrorException extends PricingServiceException$1 {
|
|
149
149
|
name = "InternalErrorException";
|
|
150
150
|
$fault = "server";
|
|
151
151
|
$retryable = {};
|
|
@@ -159,8 +159,8 @@ class InternalErrorException extends PricingServiceException {
|
|
|
159
159
|
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
160
160
|
this.Message = opts.Message;
|
|
161
161
|
}
|
|
162
|
-
}
|
|
163
|
-
class InvalidNextTokenException extends PricingServiceException {
|
|
162
|
+
};
|
|
163
|
+
let InvalidNextTokenException$1 = class InvalidNextTokenException extends PricingServiceException$1 {
|
|
164
164
|
name = "InvalidNextTokenException";
|
|
165
165
|
$fault = "client";
|
|
166
166
|
Message;
|
|
@@ -173,8 +173,8 @@ class InvalidNextTokenException extends PricingServiceException {
|
|
|
173
173
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
174
174
|
this.Message = opts.Message;
|
|
175
175
|
}
|
|
176
|
-
}
|
|
177
|
-
class InvalidParameterException extends PricingServiceException {
|
|
176
|
+
};
|
|
177
|
+
let InvalidParameterException$1 = class InvalidParameterException extends PricingServiceException$1 {
|
|
178
178
|
name = "InvalidParameterException";
|
|
179
179
|
$fault = "client";
|
|
180
180
|
Message;
|
|
@@ -187,8 +187,8 @@ class InvalidParameterException extends PricingServiceException {
|
|
|
187
187
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
188
188
|
this.Message = opts.Message;
|
|
189
189
|
}
|
|
190
|
-
}
|
|
191
|
-
class NotFoundException extends PricingServiceException {
|
|
190
|
+
};
|
|
191
|
+
let NotFoundException$1 = class NotFoundException extends PricingServiceException$1 {
|
|
192
192
|
name = "NotFoundException";
|
|
193
193
|
$fault = "client";
|
|
194
194
|
Message;
|
|
@@ -201,8 +201,8 @@ class NotFoundException extends PricingServiceException {
|
|
|
201
201
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
202
202
|
this.Message = opts.Message;
|
|
203
203
|
}
|
|
204
|
-
}
|
|
205
|
-
class ThrottlingException extends PricingServiceException {
|
|
204
|
+
};
|
|
205
|
+
let ThrottlingException$1 = class ThrottlingException extends PricingServiceException$1 {
|
|
206
206
|
name = "ThrottlingException";
|
|
207
207
|
$fault = "client";
|
|
208
208
|
$retryable = {
|
|
@@ -218,8 +218,8 @@ class ThrottlingException extends PricingServiceException {
|
|
|
218
218
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
219
219
|
this.Message = opts.Message;
|
|
220
220
|
}
|
|
221
|
-
}
|
|
222
|
-
class ResourceNotFoundException extends PricingServiceException {
|
|
221
|
+
};
|
|
222
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends PricingServiceException$1 {
|
|
223
223
|
name = "ResourceNotFoundException";
|
|
224
224
|
$fault = "client";
|
|
225
225
|
Message;
|
|
@@ -232,7 +232,7 @@ class ResourceNotFoundException extends PricingServiceException {
|
|
|
232
232
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
233
233
|
this.Message = opts.Message;
|
|
234
234
|
}
|
|
235
|
-
}
|
|
235
|
+
};
|
|
236
236
|
const FilterType = {
|
|
237
237
|
ANY_OF: "ANY_OF",
|
|
238
238
|
CONTAINS: "CONTAINS",
|
|
@@ -241,281 +241,270 @@ const FilterType = {
|
|
|
241
241
|
TERM_MATCH: "TERM_MATCH",
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
const
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
const
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
const
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
const
|
|
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
|
-
const
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
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
|
-
|
|
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
|
-
function sharedHeaders(operation) {
|
|
499
|
-
return {
|
|
500
|
-
"content-type": "application/x-amz-json-1.1",
|
|
501
|
-
"x-amz-target": `AWSPriceListService.${operation}`,
|
|
502
|
-
};
|
|
503
|
-
}
|
|
244
|
+
const _ADE = "AccessDeniedException";
|
|
245
|
+
const _AN = "AttributeName";
|
|
246
|
+
const _ANt = "AttributeNames";
|
|
247
|
+
const _AV = "AttributeValue";
|
|
248
|
+
const _AVL = "AttributeValueList";
|
|
249
|
+
const _AVt = "AttributeValues";
|
|
250
|
+
const _CC = "CurrencyCode";
|
|
251
|
+
const _DS = "DescribeServices";
|
|
252
|
+
const _DSR = "DescribeServicesRequest";
|
|
253
|
+
const _DSRe = "DescribeServicesResponse";
|
|
254
|
+
const _ED = "EffectiveDate";
|
|
255
|
+
const _ENTE = "ExpiredNextTokenException";
|
|
256
|
+
const _F = "Filter";
|
|
257
|
+
const _FF = "FileFormat";
|
|
258
|
+
const _FFi = "FileFormats";
|
|
259
|
+
const _FV = "FormatVersion";
|
|
260
|
+
const _Fi = "Field";
|
|
261
|
+
const _Fil = "Filters";
|
|
262
|
+
const _GAV = "GetAttributeValues";
|
|
263
|
+
const _GAVR = "GetAttributeValuesRequest";
|
|
264
|
+
const _GAVRe = "GetAttributeValuesResponse";
|
|
265
|
+
const _GP = "GetProducts";
|
|
266
|
+
const _GPLFU = "GetPriceListFileUrl";
|
|
267
|
+
const _GPLFUR = "GetPriceListFileUrlRequest";
|
|
268
|
+
const _GPLFURe = "GetPriceListFileUrlResponse";
|
|
269
|
+
const _GPR = "GetProductsRequest";
|
|
270
|
+
const _GPRe = "GetProductsResponse";
|
|
271
|
+
const _IEE = "InternalErrorException";
|
|
272
|
+
const _INTE = "InvalidNextTokenException";
|
|
273
|
+
const _IPE = "InvalidParameterException";
|
|
274
|
+
const _LPL = "ListPriceLists";
|
|
275
|
+
const _LPLR = "ListPriceListsRequest";
|
|
276
|
+
const _LPLRi = "ListPriceListsResponse";
|
|
277
|
+
const _M = "Message";
|
|
278
|
+
const _MR = "MaxResults";
|
|
279
|
+
const _NFE = "NotFoundException";
|
|
280
|
+
const _NT = "NextToken";
|
|
281
|
+
const _PL = "PriceList";
|
|
282
|
+
const _PLA = "PriceListArn";
|
|
283
|
+
const _PLJI = "PriceListJsonItems";
|
|
284
|
+
const _PLr = "PriceLists";
|
|
285
|
+
const _RC = "RegionCode";
|
|
286
|
+
const _RNFE = "ResourceNotFoundException";
|
|
287
|
+
const _S = "Services";
|
|
288
|
+
const _SC = "ServiceCode";
|
|
289
|
+
const _SJPLJI = "SynthesizedJsonPriceListJsonItem";
|
|
290
|
+
const _SL = "ServiceList";
|
|
291
|
+
const _Se = "Service";
|
|
292
|
+
const _T = "Type";
|
|
293
|
+
const _TE = "ThrottlingException";
|
|
294
|
+
const _U = "Url";
|
|
295
|
+
const _V = "Value";
|
|
296
|
+
const _a = "application/json";
|
|
297
|
+
const _c = "client";
|
|
298
|
+
const _e = "error";
|
|
299
|
+
const _hE = "httpError";
|
|
300
|
+
const _mT = "mediaType";
|
|
301
|
+
const _s = "server";
|
|
302
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pricing";
|
|
303
|
+
const n0 = "com.amazonaws.pricing";
|
|
304
|
+
var SynthesizedJsonPriceListJsonItem = [
|
|
305
|
+
0,
|
|
306
|
+
n0,
|
|
307
|
+
_SJPLJI,
|
|
308
|
+
{
|
|
309
|
+
[_mT]: _a,
|
|
310
|
+
},
|
|
311
|
+
0,
|
|
312
|
+
];
|
|
313
|
+
var AccessDeniedException = [
|
|
314
|
+
-3,
|
|
315
|
+
n0,
|
|
316
|
+
_ADE,
|
|
317
|
+
{
|
|
318
|
+
[_e]: _c,
|
|
319
|
+
[_hE]: 401,
|
|
320
|
+
},
|
|
321
|
+
[_M],
|
|
322
|
+
[0],
|
|
323
|
+
];
|
|
324
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
325
|
+
var AttributeValue = [3, n0, _AV, 0, [_V], [0]];
|
|
326
|
+
var DescribeServicesRequest = [3, n0, _DSR, 0, [_SC, _FV, _NT, _MR], [0, 0, 0, 1]];
|
|
327
|
+
var DescribeServicesResponse = [
|
|
328
|
+
3,
|
|
329
|
+
n0,
|
|
330
|
+
_DSRe,
|
|
331
|
+
0,
|
|
332
|
+
[_S, _FV, _NT],
|
|
333
|
+
[() => ServiceList, 0, 0],
|
|
334
|
+
];
|
|
335
|
+
var ExpiredNextTokenException = [
|
|
336
|
+
-3,
|
|
337
|
+
n0,
|
|
338
|
+
_ENTE,
|
|
339
|
+
{
|
|
340
|
+
[_e]: _c,
|
|
341
|
+
[_hE]: 400,
|
|
342
|
+
},
|
|
343
|
+
[_M],
|
|
344
|
+
[0],
|
|
345
|
+
];
|
|
346
|
+
schema.TypeRegistry.for(n0).registerError(ExpiredNextTokenException, ExpiredNextTokenException$1);
|
|
347
|
+
var Filter = [3, n0, _F, 0, [_T, _Fi, _V], [0, 0, 0]];
|
|
348
|
+
var GetAttributeValuesRequest = [3, n0, _GAVR, 0, [_SC, _AN, _NT, _MR], [0, 0, 0, 1]];
|
|
349
|
+
var GetAttributeValuesResponse = [
|
|
350
|
+
3,
|
|
351
|
+
n0,
|
|
352
|
+
_GAVRe,
|
|
353
|
+
0,
|
|
354
|
+
[_AVt, _NT],
|
|
355
|
+
[() => AttributeValueList, 0],
|
|
356
|
+
];
|
|
357
|
+
var GetPriceListFileUrlRequest = [3, n0, _GPLFUR, 0, [_PLA, _FF], [0, 0]];
|
|
358
|
+
var GetPriceListFileUrlResponse = [3, n0, _GPLFURe, 0, [_U], [0]];
|
|
359
|
+
var GetProductsRequest = [
|
|
360
|
+
3,
|
|
361
|
+
n0,
|
|
362
|
+
_GPR,
|
|
363
|
+
0,
|
|
364
|
+
[_SC, _Fil, _FV, _NT, _MR],
|
|
365
|
+
[0, () => Filters, 0, 0, 1],
|
|
366
|
+
];
|
|
367
|
+
var GetProductsResponse = [
|
|
368
|
+
3,
|
|
369
|
+
n0,
|
|
370
|
+
_GPRe,
|
|
371
|
+
0,
|
|
372
|
+
[_FV, _PL, _NT],
|
|
373
|
+
[0, [() => PriceListJsonItems, 0], 0],
|
|
374
|
+
];
|
|
375
|
+
var InternalErrorException = [
|
|
376
|
+
-3,
|
|
377
|
+
n0,
|
|
378
|
+
_IEE,
|
|
379
|
+
{
|
|
380
|
+
[_e]: _s,
|
|
381
|
+
[_hE]: 500,
|
|
382
|
+
},
|
|
383
|
+
[_M],
|
|
384
|
+
[0],
|
|
385
|
+
];
|
|
386
|
+
schema.TypeRegistry.for(n0).registerError(InternalErrorException, InternalErrorException$1);
|
|
387
|
+
var InvalidNextTokenException = [
|
|
388
|
+
-3,
|
|
389
|
+
n0,
|
|
390
|
+
_INTE,
|
|
391
|
+
{
|
|
392
|
+
[_e]: _c,
|
|
393
|
+
[_hE]: 400,
|
|
394
|
+
},
|
|
395
|
+
[_M],
|
|
396
|
+
[0],
|
|
397
|
+
];
|
|
398
|
+
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
|
|
399
|
+
var InvalidParameterException = [
|
|
400
|
+
-3,
|
|
401
|
+
n0,
|
|
402
|
+
_IPE,
|
|
403
|
+
{
|
|
404
|
+
[_e]: _c,
|
|
405
|
+
[_hE]: 400,
|
|
406
|
+
},
|
|
407
|
+
[_M],
|
|
408
|
+
[0],
|
|
409
|
+
];
|
|
410
|
+
schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
|
|
411
|
+
var ListPriceListsRequest = [
|
|
412
|
+
3,
|
|
413
|
+
n0,
|
|
414
|
+
_LPLR,
|
|
415
|
+
0,
|
|
416
|
+
[_SC, _ED, _RC, _CC, _NT, _MR],
|
|
417
|
+
[0, 4, 0, 0, 0, 1],
|
|
418
|
+
];
|
|
419
|
+
var ListPriceListsResponse = [3, n0, _LPLRi, 0, [_PLr, _NT], [() => PriceLists, 0]];
|
|
420
|
+
var NotFoundException = [
|
|
421
|
+
-3,
|
|
422
|
+
n0,
|
|
423
|
+
_NFE,
|
|
424
|
+
{
|
|
425
|
+
[_e]: _c,
|
|
426
|
+
[_hE]: 400,
|
|
427
|
+
},
|
|
428
|
+
[_M],
|
|
429
|
+
[0],
|
|
430
|
+
];
|
|
431
|
+
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
432
|
+
var PriceList = [3, n0, _PL, 0, [_PLA, _RC, _CC, _FFi], [0, 0, 0, 64 | 0]];
|
|
433
|
+
var ResourceNotFoundException = [
|
|
434
|
+
-3,
|
|
435
|
+
n0,
|
|
436
|
+
_RNFE,
|
|
437
|
+
{
|
|
438
|
+
[_e]: _c,
|
|
439
|
+
[_hE]: 404,
|
|
440
|
+
},
|
|
441
|
+
[_M],
|
|
442
|
+
[0],
|
|
443
|
+
];
|
|
444
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
445
|
+
var Service = [3, n0, _Se, 0, [_SC, _ANt], [0, 64 | 0]];
|
|
446
|
+
var ThrottlingException = [
|
|
447
|
+
-3,
|
|
448
|
+
n0,
|
|
449
|
+
_TE,
|
|
450
|
+
{
|
|
451
|
+
[_e]: _c,
|
|
452
|
+
[_hE]: 429,
|
|
453
|
+
},
|
|
454
|
+
[_M],
|
|
455
|
+
[0],
|
|
456
|
+
];
|
|
457
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
458
|
+
var PricingServiceException = [-3, _sm, "PricingServiceException", 0, [], []];
|
|
459
|
+
schema.TypeRegistry.for(_sm).registerError(PricingServiceException, PricingServiceException$1);
|
|
460
|
+
var AttributeValueList = [1, n0, _AVL, 0, () => AttributeValue];
|
|
461
|
+
var Filters = [1, n0, _Fil, 0, () => Filter];
|
|
462
|
+
var PriceListJsonItems = [1, n0, _PLJI, 0, [() => SynthesizedJsonPriceListJsonItem, 0]];
|
|
463
|
+
var PriceLists = [1, n0, _PLr, 0, () => PriceList];
|
|
464
|
+
var ServiceList = [1, n0, _SL, 0, () => Service];
|
|
465
|
+
var DescribeServices = [
|
|
466
|
+
9,
|
|
467
|
+
n0,
|
|
468
|
+
_DS,
|
|
469
|
+
0,
|
|
470
|
+
() => DescribeServicesRequest,
|
|
471
|
+
() => DescribeServicesResponse,
|
|
472
|
+
];
|
|
473
|
+
var GetAttributeValues = [
|
|
474
|
+
9,
|
|
475
|
+
n0,
|
|
476
|
+
_GAV,
|
|
477
|
+
0,
|
|
478
|
+
() => GetAttributeValuesRequest,
|
|
479
|
+
() => GetAttributeValuesResponse,
|
|
480
|
+
];
|
|
481
|
+
var GetPriceListFileUrl = [
|
|
482
|
+
9,
|
|
483
|
+
n0,
|
|
484
|
+
_GPLFU,
|
|
485
|
+
0,
|
|
486
|
+
() => GetPriceListFileUrlRequest,
|
|
487
|
+
() => GetPriceListFileUrlResponse,
|
|
488
|
+
];
|
|
489
|
+
var GetProducts = [9, n0, _GP, 0, () => GetProductsRequest, () => GetProductsResponse];
|
|
490
|
+
var ListPriceLists = [
|
|
491
|
+
9,
|
|
492
|
+
n0,
|
|
493
|
+
_LPL,
|
|
494
|
+
0,
|
|
495
|
+
() => ListPriceListsRequest,
|
|
496
|
+
() => ListPriceListsResponse,
|
|
497
|
+
];
|
|
504
498
|
|
|
505
499
|
class DescribeServicesCommand extends smithyClient.Command
|
|
506
500
|
.classBuilder()
|
|
507
501
|
.ep(commonParams)
|
|
508
502
|
.m(function (Command, cs, config, o) {
|
|
509
|
-
return [
|
|
510
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
511
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
512
|
-
];
|
|
503
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
513
504
|
})
|
|
514
505
|
.s("AWSPriceListService", "DescribeServices", {})
|
|
515
506
|
.n("PricingClient", "DescribeServicesCommand")
|
|
516
|
-
.
|
|
517
|
-
.ser(se_DescribeServicesCommand)
|
|
518
|
-
.de(de_DescribeServicesCommand)
|
|
507
|
+
.sc(DescribeServices)
|
|
519
508
|
.build() {
|
|
520
509
|
}
|
|
521
510
|
|
|
@@ -523,16 +512,11 @@ class GetAttributeValuesCommand extends smithyClient.Command
|
|
|
523
512
|
.classBuilder()
|
|
524
513
|
.ep(commonParams)
|
|
525
514
|
.m(function (Command, cs, config, o) {
|
|
526
|
-
return [
|
|
527
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
528
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
529
|
-
];
|
|
515
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
530
516
|
})
|
|
531
517
|
.s("AWSPriceListService", "GetAttributeValues", {})
|
|
532
518
|
.n("PricingClient", "GetAttributeValuesCommand")
|
|
533
|
-
.
|
|
534
|
-
.ser(se_GetAttributeValuesCommand)
|
|
535
|
-
.de(de_GetAttributeValuesCommand)
|
|
519
|
+
.sc(GetAttributeValues)
|
|
536
520
|
.build() {
|
|
537
521
|
}
|
|
538
522
|
|
|
@@ -540,16 +524,11 @@ class GetPriceListFileUrlCommand extends smithyClient.Command
|
|
|
540
524
|
.classBuilder()
|
|
541
525
|
.ep(commonParams)
|
|
542
526
|
.m(function (Command, cs, config, o) {
|
|
543
|
-
return [
|
|
544
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
545
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
546
|
-
];
|
|
527
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
547
528
|
})
|
|
548
529
|
.s("AWSPriceListService", "GetPriceListFileUrl", {})
|
|
549
530
|
.n("PricingClient", "GetPriceListFileUrlCommand")
|
|
550
|
-
.
|
|
551
|
-
.ser(se_GetPriceListFileUrlCommand)
|
|
552
|
-
.de(de_GetPriceListFileUrlCommand)
|
|
531
|
+
.sc(GetPriceListFileUrl)
|
|
553
532
|
.build() {
|
|
554
533
|
}
|
|
555
534
|
|
|
@@ -557,16 +536,11 @@ class GetProductsCommand extends smithyClient.Command
|
|
|
557
536
|
.classBuilder()
|
|
558
537
|
.ep(commonParams)
|
|
559
538
|
.m(function (Command, cs, config, o) {
|
|
560
|
-
return [
|
|
561
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
562
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
563
|
-
];
|
|
539
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
564
540
|
})
|
|
565
541
|
.s("AWSPriceListService", "GetProducts", {})
|
|
566
542
|
.n("PricingClient", "GetProductsCommand")
|
|
567
|
-
.
|
|
568
|
-
.ser(se_GetProductsCommand)
|
|
569
|
-
.de(de_GetProductsCommand)
|
|
543
|
+
.sc(GetProducts)
|
|
570
544
|
.build() {
|
|
571
545
|
}
|
|
572
546
|
|
|
@@ -574,16 +548,11 @@ class ListPriceListsCommand extends smithyClient.Command
|
|
|
574
548
|
.classBuilder()
|
|
575
549
|
.ep(commonParams)
|
|
576
550
|
.m(function (Command, cs, config, o) {
|
|
577
|
-
return [
|
|
578
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
579
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
580
|
-
];
|
|
551
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
581
552
|
})
|
|
582
553
|
.s("AWSPriceListService", "ListPriceLists", {})
|
|
583
554
|
.n("PricingClient", "ListPriceListsCommand")
|
|
584
|
-
.
|
|
585
|
-
.ser(se_ListPriceListsCommand)
|
|
586
|
-
.de(de_ListPriceListsCommand)
|
|
555
|
+
.sc(ListPriceLists)
|
|
587
556
|
.build() {
|
|
588
557
|
}
|
|
589
558
|
|
|
@@ -614,23 +583,23 @@ Object.defineProperty(exports, "__Client", {
|
|
|
614
583
|
enumerable: true,
|
|
615
584
|
get: function () { return smithyClient.Client; }
|
|
616
585
|
});
|
|
617
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
586
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
618
587
|
exports.DescribeServicesCommand = DescribeServicesCommand;
|
|
619
|
-
exports.ExpiredNextTokenException = ExpiredNextTokenException;
|
|
588
|
+
exports.ExpiredNextTokenException = ExpiredNextTokenException$1;
|
|
620
589
|
exports.FilterType = FilterType;
|
|
621
590
|
exports.GetAttributeValuesCommand = GetAttributeValuesCommand;
|
|
622
591
|
exports.GetPriceListFileUrlCommand = GetPriceListFileUrlCommand;
|
|
623
592
|
exports.GetProductsCommand = GetProductsCommand;
|
|
624
|
-
exports.InternalErrorException = InternalErrorException;
|
|
625
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
626
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
593
|
+
exports.InternalErrorException = InternalErrorException$1;
|
|
594
|
+
exports.InvalidNextTokenException = InvalidNextTokenException$1;
|
|
595
|
+
exports.InvalidParameterException = InvalidParameterException$1;
|
|
627
596
|
exports.ListPriceListsCommand = ListPriceListsCommand;
|
|
628
|
-
exports.NotFoundException = NotFoundException;
|
|
597
|
+
exports.NotFoundException = NotFoundException$1;
|
|
629
598
|
exports.Pricing = Pricing;
|
|
630
599
|
exports.PricingClient = PricingClient;
|
|
631
|
-
exports.PricingServiceException = PricingServiceException;
|
|
632
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
633
|
-
exports.ThrottlingException = ThrottlingException;
|
|
600
|
+
exports.PricingServiceException = PricingServiceException$1;
|
|
601
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
602
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
634
603
|
exports.paginateDescribeServices = paginateDescribeServices;
|
|
635
604
|
exports.paginateGetAttributeValues = paginateGetAttributeValues;
|
|
636
605
|
exports.paginateGetProducts = paginateGetProducts;
|