@aws-sdk/client-pricing 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 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 PricingServiceException = require('./models/PricingServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,343 +113,6 @@ class PricingClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class PricingServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, PricingServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends PricingServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "AccessDeniedException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
- class ExpiredNextTokenException extends PricingServiceException {
135
- name = "ExpiredNextTokenException";
136
- $fault = "client";
137
- Message;
138
- constructor(opts) {
139
- super({
140
- name: "ExpiredNextTokenException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
145
- this.Message = opts.Message;
146
- }
147
- }
148
- class InternalErrorException extends PricingServiceException {
149
- name = "InternalErrorException";
150
- $fault = "server";
151
- $retryable = {};
152
- Message;
153
- constructor(opts) {
154
- super({
155
- name: "InternalErrorException",
156
- $fault: "server",
157
- ...opts,
158
- });
159
- Object.setPrototypeOf(this, InternalErrorException.prototype);
160
- this.Message = opts.Message;
161
- }
162
- }
163
- class InvalidNextTokenException extends PricingServiceException {
164
- name = "InvalidNextTokenException";
165
- $fault = "client";
166
- Message;
167
- constructor(opts) {
168
- super({
169
- name: "InvalidNextTokenException",
170
- $fault: "client",
171
- ...opts,
172
- });
173
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
174
- this.Message = opts.Message;
175
- }
176
- }
177
- class InvalidParameterException extends PricingServiceException {
178
- name = "InvalidParameterException";
179
- $fault = "client";
180
- Message;
181
- constructor(opts) {
182
- super({
183
- name: "InvalidParameterException",
184
- $fault: "client",
185
- ...opts,
186
- });
187
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
188
- this.Message = opts.Message;
189
- }
190
- }
191
- class NotFoundException extends PricingServiceException {
192
- name = "NotFoundException";
193
- $fault = "client";
194
- Message;
195
- constructor(opts) {
196
- super({
197
- name: "NotFoundException",
198
- $fault: "client",
199
- ...opts,
200
- });
201
- Object.setPrototypeOf(this, NotFoundException.prototype);
202
- this.Message = opts.Message;
203
- }
204
- }
205
- class ThrottlingException extends PricingServiceException {
206
- name = "ThrottlingException";
207
- $fault = "client";
208
- $retryable = {
209
- throttling: true,
210
- };
211
- Message;
212
- constructor(opts) {
213
- super({
214
- name: "ThrottlingException",
215
- $fault: "client",
216
- ...opts,
217
- });
218
- Object.setPrototypeOf(this, ThrottlingException.prototype);
219
- this.Message = opts.Message;
220
- }
221
- }
222
- class ResourceNotFoundException extends PricingServiceException {
223
- name = "ResourceNotFoundException";
224
- $fault = "client";
225
- Message;
226
- constructor(opts) {
227
- super({
228
- name: "ResourceNotFoundException",
229
- $fault: "client",
230
- ...opts,
231
- });
232
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
233
- this.Message = opts.Message;
234
- }
235
- }
236
-
237
- const _ADE = "AccessDeniedException";
238
- const _AN = "AttributeName";
239
- const _ANt = "AttributeNames";
240
- const _AV = "AttributeValue";
241
- const _AVL = "AttributeValueList";
242
- const _AVt = "AttributeValues";
243
- const _CC = "CurrencyCode";
244
- const _DS = "DescribeServices";
245
- const _DSR = "DescribeServicesRequest";
246
- const _DSRe = "DescribeServicesResponse";
247
- const _ED = "EffectiveDate";
248
- const _ENTE = "ExpiredNextTokenException";
249
- const _F = "Filter";
250
- const _FF = "FileFormat";
251
- const _FFi = "FileFormats";
252
- const _FV = "FormatVersion";
253
- const _Fi = "Field";
254
- const _Fil = "Filters";
255
- const _GAV = "GetAttributeValues";
256
- const _GAVR = "GetAttributeValuesRequest";
257
- const _GAVRe = "GetAttributeValuesResponse";
258
- const _GP = "GetProducts";
259
- const _GPLFU = "GetPriceListFileUrl";
260
- const _GPLFUR = "GetPriceListFileUrlRequest";
261
- const _GPLFURe = "GetPriceListFileUrlResponse";
262
- const _GPR = "GetProductsRequest";
263
- const _GPRe = "GetProductsResponse";
264
- const _IEE = "InternalErrorException";
265
- const _INTE = "InvalidNextTokenException";
266
- const _IPE = "InvalidParameterException";
267
- const _LPL = "ListPriceLists";
268
- const _LPLR = "ListPriceListsRequest";
269
- const _LPLRi = "ListPriceListsResponse";
270
- const _M = "Message";
271
- const _MR = "MaxResults";
272
- const _NFE = "NotFoundException";
273
- const _NT = "NextToken";
274
- const _PL = "PriceList";
275
- const _PLA = "PriceListArn";
276
- const _PLJI = "PriceListJsonItems";
277
- const _PLr = "PriceLists";
278
- const _RC = "RegionCode";
279
- const _RNFE = "ResourceNotFoundException";
280
- const _S = "Services";
281
- const _SC = "ServiceCode";
282
- const _SJPLJI = "SynthesizedJsonPriceListJsonItem";
283
- const _SL = "ServiceList";
284
- const _Se = "Service";
285
- const _T = "Type";
286
- const _TE = "ThrottlingException";
287
- const _U = "Url";
288
- const _V = "Value";
289
- const _a = "application/json";
290
- const _c = "client";
291
- const _e = "error";
292
- const _hE = "httpError";
293
- const _mT = "mediaType";
294
- const _s = "server";
295
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pricing";
296
- const n0 = "com.amazonaws.pricing";
297
- var SynthesizedJsonPriceListJsonItem = [0, n0, _SJPLJI, { [_mT]: _a }, 0];
298
- var AccessDeniedException$ = [-3, n0, _ADE,
299
- { [_e]: _c, [_hE]: 401 },
300
- [_M],
301
- [0]
302
- ];
303
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
304
- var AttributeValue$ = [3, n0, _AV,
305
- 0,
306
- [_V],
307
- [0]
308
- ];
309
- var DescribeServicesRequest$ = [3, n0, _DSR,
310
- 0,
311
- [_SC, _FV, _NT, _MR],
312
- [0, 0, 0, 1]
313
- ];
314
- var DescribeServicesResponse$ = [3, n0, _DSRe,
315
- 0,
316
- [_S, _FV, _NT],
317
- [() => ServiceList, 0, 0]
318
- ];
319
- var ExpiredNextTokenException$ = [-3, n0, _ENTE,
320
- { [_e]: _c, [_hE]: 400 },
321
- [_M],
322
- [0]
323
- ];
324
- schema.TypeRegistry.for(n0).registerError(ExpiredNextTokenException$, ExpiredNextTokenException);
325
- var Filter$ = [3, n0, _F,
326
- 0,
327
- [_T, _Fi, _V],
328
- [0, 0, 0], 3
329
- ];
330
- var GetAttributeValuesRequest$ = [3, n0, _GAVR,
331
- 0,
332
- [_SC, _AN, _NT, _MR],
333
- [0, 0, 0, 1], 2
334
- ];
335
- var GetAttributeValuesResponse$ = [3, n0, _GAVRe,
336
- 0,
337
- [_AVt, _NT],
338
- [() => AttributeValueList, 0]
339
- ];
340
- var GetPriceListFileUrlRequest$ = [3, n0, _GPLFUR,
341
- 0,
342
- [_PLA, _FF],
343
- [0, 0], 2
344
- ];
345
- var GetPriceListFileUrlResponse$ = [3, n0, _GPLFURe,
346
- 0,
347
- [_U],
348
- [0]
349
- ];
350
- var GetProductsRequest$ = [3, n0, _GPR,
351
- 0,
352
- [_SC, _Fil, _FV, _NT, _MR],
353
- [0, () => Filters, 0, 0, 1], 1
354
- ];
355
- var GetProductsResponse$ = [3, n0, _GPRe,
356
- 0,
357
- [_FV, _PL, _NT],
358
- [0, [() => PriceListJsonItems, 0], 0]
359
- ];
360
- var InternalErrorException$ = [-3, n0, _IEE,
361
- { [_e]: _s, [_hE]: 500 },
362
- [_M],
363
- [0]
364
- ];
365
- schema.TypeRegistry.for(n0).registerError(InternalErrorException$, InternalErrorException);
366
- var InvalidNextTokenException$ = [-3, n0, _INTE,
367
- { [_e]: _c, [_hE]: 400 },
368
- [_M],
369
- [0]
370
- ];
371
- schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
372
- var InvalidParameterException$ = [-3, n0, _IPE,
373
- { [_e]: _c, [_hE]: 400 },
374
- [_M],
375
- [0]
376
- ];
377
- schema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
378
- var ListPriceListsRequest$ = [3, n0, _LPLR,
379
- 0,
380
- [_SC, _ED, _CC, _RC, _NT, _MR],
381
- [0, 4, 0, 0, 0, 1], 3
382
- ];
383
- var ListPriceListsResponse$ = [3, n0, _LPLRi,
384
- 0,
385
- [_PLr, _NT],
386
- [() => PriceLists, 0]
387
- ];
388
- var NotFoundException$ = [-3, n0, _NFE,
389
- { [_e]: _c, [_hE]: 400 },
390
- [_M],
391
- [0]
392
- ];
393
- schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
394
- var PriceList$ = [3, n0, _PL,
395
- 0,
396
- [_PLA, _RC, _CC, _FFi],
397
- [0, 0, 0, 64 | 0]
398
- ];
399
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
400
- { [_e]: _c, [_hE]: 404 },
401
- [_M],
402
- [0]
403
- ];
404
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
405
- var Service$ = [3, n0, _Se,
406
- 0,
407
- [_SC, _ANt],
408
- [0, 64 | 0], 1
409
- ];
410
- var ThrottlingException$ = [-3, n0, _TE,
411
- { [_e]: _c, [_hE]: 429 },
412
- [_M],
413
- [0]
414
- ];
415
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
416
- var PricingServiceException$ = [-3, _sm, "PricingServiceException", 0, [], []];
417
- schema.TypeRegistry.for(_sm).registerError(PricingServiceException$, PricingServiceException);
418
- var AttributeValueList = [1, n0, _AVL,
419
- 0, () => AttributeValue$
420
- ];
421
- var Filters = [1, n0, _Fil,
422
- 0, () => Filter$
423
- ];
424
- var PriceListJsonItems = [1, n0, _PLJI,
425
- 0, [() => SynthesizedJsonPriceListJsonItem,
426
- 0]
427
- ];
428
- var PriceLists = [1, n0, _PLr,
429
- 0, () => PriceList$
430
- ];
431
- var ServiceList = [1, n0, _SL,
432
- 0, () => Service$
433
- ];
434
- var DescribeServices$ = [9, n0, _DS,
435
- 0, () => DescribeServicesRequest$, () => DescribeServicesResponse$
436
- ];
437
- var GetAttributeValues$ = [9, n0, _GAV,
438
- 0, () => GetAttributeValuesRequest$, () => GetAttributeValuesResponse$
439
- ];
440
- var GetPriceListFileUrl$ = [9, n0, _GPLFU,
441
- 0, () => GetPriceListFileUrlRequest$, () => GetPriceListFileUrlResponse$
442
- ];
443
- var GetProducts$ = [9, n0, _GP,
444
- 0, () => GetProductsRequest$, () => GetProductsResponse$
445
- ];
446
- var ListPriceLists$ = [9, n0, _LPL,
447
- 0, () => ListPriceListsRequest$, () => ListPriceListsResponse$
448
- ];
449
-
450
116
  class DescribeServicesCommand extends smithyClient.Command
451
117
  .classBuilder()
452
118
  .ep(commonParams)
@@ -455,7 +121,7 @@ class DescribeServicesCommand extends smithyClient.Command
455
121
  })
456
122
  .s("AWSPriceListService", "DescribeServices", {})
457
123
  .n("PricingClient", "DescribeServicesCommand")
458
- .sc(DescribeServices$)
124
+ .sc(schemas_0.DescribeServices$)
459
125
  .build() {
460
126
  }
461
127
 
@@ -467,7 +133,7 @@ class GetAttributeValuesCommand extends smithyClient.Command
467
133
  })
468
134
  .s("AWSPriceListService", "GetAttributeValues", {})
469
135
  .n("PricingClient", "GetAttributeValuesCommand")
470
- .sc(GetAttributeValues$)
136
+ .sc(schemas_0.GetAttributeValues$)
471
137
  .build() {
472
138
  }
473
139
 
@@ -479,7 +145,7 @@ class GetPriceListFileUrlCommand extends smithyClient.Command
479
145
  })
480
146
  .s("AWSPriceListService", "GetPriceListFileUrl", {})
481
147
  .n("PricingClient", "GetPriceListFileUrlCommand")
482
- .sc(GetPriceListFileUrl$)
148
+ .sc(schemas_0.GetPriceListFileUrl$)
483
149
  .build() {
484
150
  }
485
151
 
@@ -491,7 +157,7 @@ class GetProductsCommand extends smithyClient.Command
491
157
  })
492
158
  .s("AWSPriceListService", "GetProducts", {})
493
159
  .n("PricingClient", "GetProductsCommand")
494
- .sc(GetProducts$)
160
+ .sc(schemas_0.GetProducts$)
495
161
  .build() {
496
162
  }
497
163
 
@@ -503,7 +169,7 @@ class ListPriceListsCommand extends smithyClient.Command
503
169
  })
504
170
  .s("AWSPriceListService", "ListPriceLists", {})
505
171
  .n("PricingClient", "ListPriceListsCommand")
506
- .sc(ListPriceLists$)
172
+ .sc(schemas_0.ListPriceLists$)
507
173
  .build() {
508
174
  }
509
175
 
@@ -548,52 +214,31 @@ Object.defineProperty(exports, "__Client", {
548
214
  enumerable: true,
549
215
  get: function () { return smithyClient.Client; }
550
216
  });
551
- exports.AccessDeniedException = AccessDeniedException;
552
- exports.AccessDeniedException$ = AccessDeniedException$;
553
- exports.AttributeValue$ = AttributeValue$;
554
- exports.DescribeServices$ = DescribeServices$;
217
+ Object.defineProperty(exports, "PricingServiceException", {
218
+ enumerable: true,
219
+ get: function () { return PricingServiceException.PricingServiceException; }
220
+ });
555
221
  exports.DescribeServicesCommand = DescribeServicesCommand;
556
- exports.DescribeServicesRequest$ = DescribeServicesRequest$;
557
- exports.DescribeServicesResponse$ = DescribeServicesResponse$;
558
- exports.ExpiredNextTokenException = ExpiredNextTokenException;
559
- exports.ExpiredNextTokenException$ = ExpiredNextTokenException$;
560
- exports.Filter$ = Filter$;
561
222
  exports.FilterType = FilterType;
562
- exports.GetAttributeValues$ = GetAttributeValues$;
563
223
  exports.GetAttributeValuesCommand = GetAttributeValuesCommand;
564
- exports.GetAttributeValuesRequest$ = GetAttributeValuesRequest$;
565
- exports.GetAttributeValuesResponse$ = GetAttributeValuesResponse$;
566
- exports.GetPriceListFileUrl$ = GetPriceListFileUrl$;
567
224
  exports.GetPriceListFileUrlCommand = GetPriceListFileUrlCommand;
568
- exports.GetPriceListFileUrlRequest$ = GetPriceListFileUrlRequest$;
569
- exports.GetPriceListFileUrlResponse$ = GetPriceListFileUrlResponse$;
570
- exports.GetProducts$ = GetProducts$;
571
225
  exports.GetProductsCommand = GetProductsCommand;
572
- exports.GetProductsRequest$ = GetProductsRequest$;
573
- exports.GetProductsResponse$ = GetProductsResponse$;
574
- exports.InternalErrorException = InternalErrorException;
575
- exports.InternalErrorException$ = InternalErrorException$;
576
- exports.InvalidNextTokenException = InvalidNextTokenException;
577
- exports.InvalidNextTokenException$ = InvalidNextTokenException$;
578
- exports.InvalidParameterException = InvalidParameterException;
579
- exports.InvalidParameterException$ = InvalidParameterException$;
580
- exports.ListPriceLists$ = ListPriceLists$;
581
226
  exports.ListPriceListsCommand = ListPriceListsCommand;
582
- exports.ListPriceListsRequest$ = ListPriceListsRequest$;
583
- exports.ListPriceListsResponse$ = ListPriceListsResponse$;
584
- exports.NotFoundException = NotFoundException;
585
- exports.NotFoundException$ = NotFoundException$;
586
- exports.PriceList$ = PriceList$;
587
227
  exports.Pricing = Pricing;
588
228
  exports.PricingClient = PricingClient;
589
- exports.PricingServiceException = PricingServiceException;
590
- exports.PricingServiceException$ = PricingServiceException$;
591
- exports.ResourceNotFoundException = ResourceNotFoundException;
592
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
593
- exports.Service$ = Service$;
594
- exports.ThrottlingException = ThrottlingException;
595
- exports.ThrottlingException$ = ThrottlingException$;
596
229
  exports.paginateDescribeServices = paginateDescribeServices;
597
230
  exports.paginateGetAttributeValues = paginateGetAttributeValues;
598
231
  exports.paginateGetProducts = paginateGetProducts;
599
232
  exports.paginateListPriceLists = paginateListPriceLists;
233
+ Object.keys(schemas_0).forEach(function (k) {
234
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
235
+ enumerable: true,
236
+ get: function () { return schemas_0[k]; }
237
+ });
238
+ });
239
+ Object.keys(errors).forEach(function (k) {
240
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
241
+ enumerable: true,
242
+ get: function () { return errors[k]; }
243
+ });
244
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PricingServiceException = 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 PricingServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, PricingServiceException.prototype);
10
+ }
11
+ }
12
+ exports.PricingServiceException = PricingServiceException;
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceNotFoundException = exports.ThrottlingException = exports.NotFoundException = exports.InvalidParameterException = exports.InvalidNextTokenException = exports.InternalErrorException = exports.ExpiredNextTokenException = exports.AccessDeniedException = void 0;
4
+ const PricingServiceException_1 = require("./PricingServiceException");
5
+ class AccessDeniedException extends PricingServiceException_1.PricingServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class ExpiredNextTokenException extends PricingServiceException_1.PricingServiceException {
21
+ name = "ExpiredNextTokenException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "ExpiredNextTokenException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.ExpiredNextTokenException = ExpiredNextTokenException;
35
+ class InternalErrorException extends PricingServiceException_1.PricingServiceException {
36
+ name = "InternalErrorException";
37
+ $fault = "server";
38
+ $retryable = {};
39
+ Message;
40
+ constructor(opts) {
41
+ super({
42
+ name: "InternalErrorException",
43
+ $fault: "server",
44
+ ...opts,
45
+ });
46
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
47
+ this.Message = opts.Message;
48
+ }
49
+ }
50
+ exports.InternalErrorException = InternalErrorException;
51
+ class InvalidNextTokenException extends PricingServiceException_1.PricingServiceException {
52
+ name = "InvalidNextTokenException";
53
+ $fault = "client";
54
+ Message;
55
+ constructor(opts) {
56
+ super({
57
+ name: "InvalidNextTokenException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
62
+ this.Message = opts.Message;
63
+ }
64
+ }
65
+ exports.InvalidNextTokenException = InvalidNextTokenException;
66
+ class InvalidParameterException extends PricingServiceException_1.PricingServiceException {
67
+ name = "InvalidParameterException";
68
+ $fault = "client";
69
+ Message;
70
+ constructor(opts) {
71
+ super({
72
+ name: "InvalidParameterException",
73
+ $fault: "client",
74
+ ...opts,
75
+ });
76
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
77
+ this.Message = opts.Message;
78
+ }
79
+ }
80
+ exports.InvalidParameterException = InvalidParameterException;
81
+ class NotFoundException extends PricingServiceException_1.PricingServiceException {
82
+ name = "NotFoundException";
83
+ $fault = "client";
84
+ Message;
85
+ constructor(opts) {
86
+ super({
87
+ name: "NotFoundException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ Object.setPrototypeOf(this, NotFoundException.prototype);
92
+ this.Message = opts.Message;
93
+ }
94
+ }
95
+ exports.NotFoundException = NotFoundException;
96
+ class ThrottlingException extends PricingServiceException_1.PricingServiceException {
97
+ name = "ThrottlingException";
98
+ $fault = "client";
99
+ $retryable = {
100
+ throttling: true,
101
+ };
102
+ Message;
103
+ constructor(opts) {
104
+ super({
105
+ name: "ThrottlingException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
110
+ this.Message = opts.Message;
111
+ }
112
+ }
113
+ exports.ThrottlingException = ThrottlingException;
114
+ class ResourceNotFoundException extends PricingServiceException_1.PricingServiceException {
115
+ name = "ResourceNotFoundException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "ResourceNotFoundException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2017-10-15",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.pricing",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2017-10-15",
33
35
  serviceTarget: "AWSPriceListService",
34
36
  },
@@ -0,0 +1,226 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListPriceLists$ = exports.GetProducts$ = exports.GetPriceListFileUrl$ = exports.GetAttributeValues$ = exports.DescribeServices$ = exports.Service$ = exports.PriceList$ = exports.ListPriceListsResponse$ = exports.ListPriceListsRequest$ = exports.GetProductsResponse$ = exports.GetProductsRequest$ = exports.GetPriceListFileUrlResponse$ = exports.GetPriceListFileUrlRequest$ = exports.GetAttributeValuesResponse$ = exports.GetAttributeValuesRequest$ = exports.Filter$ = exports.DescribeServicesResponse$ = exports.DescribeServicesRequest$ = exports.AttributeValue$ = exports.errorTypeRegistries = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.NotFoundException$ = exports.InvalidParameterException$ = exports.InvalidNextTokenException$ = exports.InternalErrorException$ = exports.ExpiredNextTokenException$ = exports.AccessDeniedException$ = exports.PricingServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _AN = "AttributeName";
6
+ const _ANt = "AttributeNames";
7
+ const _AV = "AttributeValue";
8
+ const _AVL = "AttributeValueList";
9
+ const _AVt = "AttributeValues";
10
+ const _CC = "CurrencyCode";
11
+ const _DS = "DescribeServices";
12
+ const _DSR = "DescribeServicesRequest";
13
+ const _DSRe = "DescribeServicesResponse";
14
+ const _ED = "EffectiveDate";
15
+ const _ENTE = "ExpiredNextTokenException";
16
+ const _F = "Filter";
17
+ const _FF = "FileFormat";
18
+ const _FFi = "FileFormats";
19
+ const _FV = "FormatVersion";
20
+ const _Fi = "Field";
21
+ const _Fil = "Filters";
22
+ const _GAV = "GetAttributeValues";
23
+ const _GAVR = "GetAttributeValuesRequest";
24
+ const _GAVRe = "GetAttributeValuesResponse";
25
+ const _GP = "GetProducts";
26
+ const _GPLFU = "GetPriceListFileUrl";
27
+ const _GPLFUR = "GetPriceListFileUrlRequest";
28
+ const _GPLFURe = "GetPriceListFileUrlResponse";
29
+ const _GPR = "GetProductsRequest";
30
+ const _GPRe = "GetProductsResponse";
31
+ const _IEE = "InternalErrorException";
32
+ const _INTE = "InvalidNextTokenException";
33
+ const _IPE = "InvalidParameterException";
34
+ const _LPL = "ListPriceLists";
35
+ const _LPLR = "ListPriceListsRequest";
36
+ const _LPLRi = "ListPriceListsResponse";
37
+ const _M = "Message";
38
+ const _MR = "MaxResults";
39
+ const _NFE = "NotFoundException";
40
+ const _NT = "NextToken";
41
+ const _PL = "PriceList";
42
+ const _PLA = "PriceListArn";
43
+ const _PLJI = "PriceListJsonItems";
44
+ const _PLr = "PriceLists";
45
+ const _RC = "RegionCode";
46
+ const _RNFE = "ResourceNotFoundException";
47
+ const _S = "Services";
48
+ const _SC = "ServiceCode";
49
+ const _SJPLJI = "SynthesizedJsonPriceListJsonItem";
50
+ const _SL = "ServiceList";
51
+ const _Se = "Service";
52
+ const _T = "Type";
53
+ const _TE = "ThrottlingException";
54
+ const _U = "Url";
55
+ const _V = "Value";
56
+ const _a = "application/json";
57
+ const _c = "client";
58
+ const _e = "error";
59
+ const _hE = "httpError";
60
+ const _mT = "mediaType";
61
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pricing";
62
+ const _se = "server";
63
+ const n0 = "com.amazonaws.pricing";
64
+ const schema_1 = require("@smithy/core/schema");
65
+ const errors_1 = require("../models/errors");
66
+ const PricingServiceException_1 = require("../models/PricingServiceException");
67
+ const _s_registry = schema_1.TypeRegistry.for(_s);
68
+ exports.PricingServiceException$ = [-3, _s, "PricingServiceException", 0, [], []];
69
+ _s_registry.registerError(exports.PricingServiceException$, PricingServiceException_1.PricingServiceException);
70
+ const n0_registry = schema_1.TypeRegistry.for(n0);
71
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
72
+ { [_e]: _c, [_hE]: 401 },
73
+ [_M],
74
+ [0]
75
+ ];
76
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
77
+ exports.ExpiredNextTokenException$ = [-3, n0, _ENTE,
78
+ { [_e]: _c, [_hE]: 400 },
79
+ [_M],
80
+ [0]
81
+ ];
82
+ n0_registry.registerError(exports.ExpiredNextTokenException$, errors_1.ExpiredNextTokenException);
83
+ exports.InternalErrorException$ = [-3, n0, _IEE,
84
+ { [_e]: _se, [_hE]: 500 },
85
+ [_M],
86
+ [0]
87
+ ];
88
+ n0_registry.registerError(exports.InternalErrorException$, errors_1.InternalErrorException);
89
+ exports.InvalidNextTokenException$ = [-3, n0, _INTE,
90
+ { [_e]: _c, [_hE]: 400 },
91
+ [_M],
92
+ [0]
93
+ ];
94
+ n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
95
+ exports.InvalidParameterException$ = [-3, n0, _IPE,
96
+ { [_e]: _c, [_hE]: 400 },
97
+ [_M],
98
+ [0]
99
+ ];
100
+ n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
101
+ exports.NotFoundException$ = [-3, n0, _NFE,
102
+ { [_e]: _c, [_hE]: 400 },
103
+ [_M],
104
+ [0]
105
+ ];
106
+ n0_registry.registerError(exports.NotFoundException$, errors_1.NotFoundException);
107
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
108
+ { [_e]: _c, [_hE]: 404 },
109
+ [_M],
110
+ [0]
111
+ ];
112
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
113
+ exports.ThrottlingException$ = [-3, n0, _TE,
114
+ { [_e]: _c, [_hE]: 429 },
115
+ [_M],
116
+ [0]
117
+ ];
118
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
119
+ exports.errorTypeRegistries = [
120
+ _s_registry,
121
+ n0_registry,
122
+ ];
123
+ var SynthesizedJsonPriceListJsonItem = [0, n0, _SJPLJI, { [_mT]: _a }, 0];
124
+ exports.AttributeValue$ = [3, n0, _AV,
125
+ 0,
126
+ [_V],
127
+ [0]
128
+ ];
129
+ exports.DescribeServicesRequest$ = [3, n0, _DSR,
130
+ 0,
131
+ [_SC, _FV, _NT, _MR],
132
+ [0, 0, 0, 1]
133
+ ];
134
+ exports.DescribeServicesResponse$ = [3, n0, _DSRe,
135
+ 0,
136
+ [_S, _FV, _NT],
137
+ [() => ServiceList, 0, 0]
138
+ ];
139
+ exports.Filter$ = [3, n0, _F,
140
+ 0,
141
+ [_T, _Fi, _V],
142
+ [0, 0, 0], 3
143
+ ];
144
+ exports.GetAttributeValuesRequest$ = [3, n0, _GAVR,
145
+ 0,
146
+ [_SC, _AN, _NT, _MR],
147
+ [0, 0, 0, 1], 2
148
+ ];
149
+ exports.GetAttributeValuesResponse$ = [3, n0, _GAVRe,
150
+ 0,
151
+ [_AVt, _NT],
152
+ [() => AttributeValueList, 0]
153
+ ];
154
+ exports.GetPriceListFileUrlRequest$ = [3, n0, _GPLFUR,
155
+ 0,
156
+ [_PLA, _FF],
157
+ [0, 0], 2
158
+ ];
159
+ exports.GetPriceListFileUrlResponse$ = [3, n0, _GPLFURe,
160
+ 0,
161
+ [_U],
162
+ [0]
163
+ ];
164
+ exports.GetProductsRequest$ = [3, n0, _GPR,
165
+ 0,
166
+ [_SC, _Fil, _FV, _NT, _MR],
167
+ [0, () => Filters, 0, 0, 1], 1
168
+ ];
169
+ exports.GetProductsResponse$ = [3, n0, _GPRe,
170
+ 0,
171
+ [_FV, _PL, _NT],
172
+ [0, [() => PriceListJsonItems, 0], 0]
173
+ ];
174
+ exports.ListPriceListsRequest$ = [3, n0, _LPLR,
175
+ 0,
176
+ [_SC, _ED, _CC, _RC, _NT, _MR],
177
+ [0, 4, 0, 0, 0, 1], 3
178
+ ];
179
+ exports.ListPriceListsResponse$ = [3, n0, _LPLRi,
180
+ 0,
181
+ [_PLr, _NT],
182
+ [() => PriceLists, 0]
183
+ ];
184
+ exports.PriceList$ = [3, n0, _PL,
185
+ 0,
186
+ [_PLA, _RC, _CC, _FFi],
187
+ [0, 0, 0, 64 | 0]
188
+ ];
189
+ exports.Service$ = [3, n0, _Se,
190
+ 0,
191
+ [_SC, _ANt],
192
+ [0, 64 | 0], 1
193
+ ];
194
+ var AttributeNameList = 64 | 0;
195
+ var AttributeValueList = [1, n0, _AVL,
196
+ 0, () => exports.AttributeValue$
197
+ ];
198
+ var FileFormats = 64 | 0;
199
+ var Filters = [1, n0, _Fil,
200
+ 0, () => exports.Filter$
201
+ ];
202
+ var PriceListJsonItems = [1, n0, _PLJI,
203
+ 0, [() => SynthesizedJsonPriceListJsonItem,
204
+ 0]
205
+ ];
206
+ var PriceLists = [1, n0, _PLr,
207
+ 0, () => exports.PriceList$
208
+ ];
209
+ var ServiceList = [1, n0, _SL,
210
+ 0, () => exports.Service$
211
+ ];
212
+ exports.DescribeServices$ = [9, n0, _DS,
213
+ 0, () => exports.DescribeServicesRequest$, () => exports.DescribeServicesResponse$
214
+ ];
215
+ exports.GetAttributeValues$ = [9, n0, _GAV,
216
+ 0, () => exports.GetAttributeValuesRequest$, () => exports.GetAttributeValuesResponse$
217
+ ];
218
+ exports.GetPriceListFileUrl$ = [9, n0, _GPLFU,
219
+ 0, () => exports.GetPriceListFileUrlRequest$, () => exports.GetPriceListFileUrlResponse$
220
+ ];
221
+ exports.GetProducts$ = [9, n0, _GP,
222
+ 0, () => exports.GetProductsRequest$, () => exports.GetProductsResponse$
223
+ ];
224
+ exports.ListPriceLists$ = [9, n0, _LPL,
225
+ 0, () => exports.ListPriceListsRequest$, () => exports.ListPriceListsResponse$
226
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultPricingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2017-10-15",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.pricing",
30
+ errorTypeRegistries,
29
31
  version: "2017-10-15",
30
32
  serviceTarget: "AWSPriceListService",
31
33
  },
@@ -55,19 +55,69 @@ const _c = "client";
55
55
  const _e = "error";
56
56
  const _hE = "httpError";
57
57
  const _mT = "mediaType";
58
- const _s = "server";
59
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pricing";
58
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pricing";
59
+ const _se = "server";
60
60
  const n0 = "com.amazonaws.pricing";
61
61
  import { TypeRegistry } from "@smithy/core/schema";
62
62
  import { AccessDeniedException, ExpiredNextTokenException, InternalErrorException, InvalidNextTokenException, InvalidParameterException, NotFoundException, ResourceNotFoundException, ThrottlingException, } from "../models/errors";
63
63
  import { PricingServiceException } from "../models/PricingServiceException";
64
- var SynthesizedJsonPriceListJsonItem = [0, n0, _SJPLJI, { [_mT]: _a }, 0];
64
+ const _s_registry = TypeRegistry.for(_s);
65
+ export var PricingServiceException$ = [-3, _s, "PricingServiceException", 0, [], []];
66
+ _s_registry.registerError(PricingServiceException$, PricingServiceException);
67
+ const n0_registry = TypeRegistry.for(n0);
65
68
  export var AccessDeniedException$ = [-3, n0, _ADE,
66
69
  { [_e]: _c, [_hE]: 401 },
67
70
  [_M],
68
71
  [0]
69
72
  ];
70
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
73
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
74
+ export var ExpiredNextTokenException$ = [-3, n0, _ENTE,
75
+ { [_e]: _c, [_hE]: 400 },
76
+ [_M],
77
+ [0]
78
+ ];
79
+ n0_registry.registerError(ExpiredNextTokenException$, ExpiredNextTokenException);
80
+ export var InternalErrorException$ = [-3, n0, _IEE,
81
+ { [_e]: _se, [_hE]: 500 },
82
+ [_M],
83
+ [0]
84
+ ];
85
+ n0_registry.registerError(InternalErrorException$, InternalErrorException);
86
+ export var InvalidNextTokenException$ = [-3, n0, _INTE,
87
+ { [_e]: _c, [_hE]: 400 },
88
+ [_M],
89
+ [0]
90
+ ];
91
+ n0_registry.registerError(InvalidNextTokenException$, InvalidNextTokenException);
92
+ export var InvalidParameterException$ = [-3, n0, _IPE,
93
+ { [_e]: _c, [_hE]: 400 },
94
+ [_M],
95
+ [0]
96
+ ];
97
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
98
+ export var NotFoundException$ = [-3, n0, _NFE,
99
+ { [_e]: _c, [_hE]: 400 },
100
+ [_M],
101
+ [0]
102
+ ];
103
+ n0_registry.registerError(NotFoundException$, NotFoundException);
104
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
105
+ { [_e]: _c, [_hE]: 404 },
106
+ [_M],
107
+ [0]
108
+ ];
109
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
110
+ export var ThrottlingException$ = [-3, n0, _TE,
111
+ { [_e]: _c, [_hE]: 429 },
112
+ [_M],
113
+ [0]
114
+ ];
115
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
116
+ export const errorTypeRegistries = [
117
+ _s_registry,
118
+ n0_registry,
119
+ ];
120
+ var SynthesizedJsonPriceListJsonItem = [0, n0, _SJPLJI, { [_mT]: _a }, 0];
71
121
  export var AttributeValue$ = [3, n0, _AV,
72
122
  0,
73
123
  [_V],
@@ -83,12 +133,6 @@ export var DescribeServicesResponse$ = [3, n0, _DSRe,
83
133
  [_S, _FV, _NT],
84
134
  [() => ServiceList, 0, 0]
85
135
  ];
86
- export var ExpiredNextTokenException$ = [-3, n0, _ENTE,
87
- { [_e]: _c, [_hE]: 400 },
88
- [_M],
89
- [0]
90
- ];
91
- TypeRegistry.for(n0).registerError(ExpiredNextTokenException$, ExpiredNextTokenException);
92
136
  export var Filter$ = [3, n0, _F,
93
137
  0,
94
138
  [_T, _Fi, _V],
@@ -124,24 +168,6 @@ export var GetProductsResponse$ = [3, n0, _GPRe,
124
168
  [_FV, _PL, _NT],
125
169
  [0, [() => PriceListJsonItems, 0], 0]
126
170
  ];
127
- export var InternalErrorException$ = [-3, n0, _IEE,
128
- { [_e]: _s, [_hE]: 500 },
129
- [_M],
130
- [0]
131
- ];
132
- TypeRegistry.for(n0).registerError(InternalErrorException$, InternalErrorException);
133
- export var InvalidNextTokenException$ = [-3, n0, _INTE,
134
- { [_e]: _c, [_hE]: 400 },
135
- [_M],
136
- [0]
137
- ];
138
- TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
139
- export var InvalidParameterException$ = [-3, n0, _IPE,
140
- { [_e]: _c, [_hE]: 400 },
141
- [_M],
142
- [0]
143
- ];
144
- TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
145
171
  export var ListPriceListsRequest$ = [3, n0, _LPLR,
146
172
  0,
147
173
  [_SC, _ED, _CC, _RC, _NT, _MR],
@@ -152,36 +178,16 @@ export var ListPriceListsResponse$ = [3, n0, _LPLRi,
152
178
  [_PLr, _NT],
153
179
  [() => PriceLists, 0]
154
180
  ];
155
- export var NotFoundException$ = [-3, n0, _NFE,
156
- { [_e]: _c, [_hE]: 400 },
157
- [_M],
158
- [0]
159
- ];
160
- TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
161
181
  export var PriceList$ = [3, n0, _PL,
162
182
  0,
163
183
  [_PLA, _RC, _CC, _FFi],
164
184
  [0, 0, 0, 64 | 0]
165
185
  ];
166
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
167
- { [_e]: _c, [_hE]: 404 },
168
- [_M],
169
- [0]
170
- ];
171
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
172
186
  export var Service$ = [3, n0, _Se,
173
187
  0,
174
188
  [_SC, _ANt],
175
189
  [0, 64 | 0], 1
176
190
  ];
177
- export var ThrottlingException$ = [-3, n0, _TE,
178
- { [_e]: _c, [_hE]: 429 },
179
- [_M],
180
- [0]
181
- ];
182
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
183
- export var PricingServiceException$ = [-3, _sm, "PricingServiceException", 0, [], []];
184
- TypeRegistry.for(_sm).registerError(PricingServiceException$, PricingServiceException);
185
191
  var AttributeNameList = 64 | 0;
186
192
  var AttributeValueList = [1, n0, _AVL,
187
193
  0, () => AttributeValue$
@@ -1,9 +1,23 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var PricingServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ExpiredNextTokenException$: StaticErrorSchema;
6
+ export declare var InternalErrorException$: StaticErrorSchema;
7
+ export declare var InvalidNextTokenException$: StaticErrorSchema;
8
+ export declare var InvalidParameterException$: StaticErrorSchema;
9
+ export declare var NotFoundException$: StaticErrorSchema;
10
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var ThrottlingException$: StaticErrorSchema;
12
+ /**
13
+ * TypeRegistry instances containing modeled errors.
14
+ * @internal
15
+ *
16
+ */
17
+ export declare const errorTypeRegistries: TypeRegistry[];
3
18
  export declare var AttributeValue$: StaticStructureSchema;
4
19
  export declare var DescribeServicesRequest$: StaticStructureSchema;
5
20
  export declare var DescribeServicesResponse$: StaticStructureSchema;
6
- export declare var ExpiredNextTokenException$: StaticErrorSchema;
7
21
  export declare var Filter$: StaticStructureSchema;
8
22
  export declare var GetAttributeValuesRequest$: StaticStructureSchema;
9
23
  export declare var GetAttributeValuesResponse$: StaticStructureSchema;
@@ -11,17 +25,10 @@ export declare var GetPriceListFileUrlRequest$: StaticStructureSchema;
11
25
  export declare var GetPriceListFileUrlResponse$: StaticStructureSchema;
12
26
  export declare var GetProductsRequest$: StaticStructureSchema;
13
27
  export declare var GetProductsResponse$: StaticStructureSchema;
14
- export declare var InternalErrorException$: StaticErrorSchema;
15
- export declare var InvalidNextTokenException$: StaticErrorSchema;
16
- export declare var InvalidParameterException$: StaticErrorSchema;
17
28
  export declare var ListPriceListsRequest$: StaticStructureSchema;
18
29
  export declare var ListPriceListsResponse$: StaticStructureSchema;
19
- export declare var NotFoundException$: StaticErrorSchema;
20
30
  export declare var PriceList$: StaticStructureSchema;
21
- export declare var ResourceNotFoundException$: StaticErrorSchema;
22
31
  export declare var Service$: StaticStructureSchema;
23
- export declare var ThrottlingException$: StaticErrorSchema;
24
- export declare var PricingServiceException$: StaticErrorSchema;
25
32
  export declare var DescribeServices$: StaticOperationSchema;
26
33
  export declare var GetAttributeValues$: StaticOperationSchema;
27
34
  export declare var GetPriceListFileUrl$: StaticOperationSchema;
@@ -1,13 +1,22 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var PricingServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var ExpiredNextTokenException$: StaticErrorSchema;
10
+ export declare var InternalErrorException$: StaticErrorSchema;
11
+ export declare var InvalidNextTokenException$: StaticErrorSchema;
12
+ export declare var InvalidParameterException$: StaticErrorSchema;
13
+ export declare var NotFoundException$: StaticErrorSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var ThrottlingException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
7
17
  export declare var AttributeValue$: StaticStructureSchema;
8
18
  export declare var DescribeServicesRequest$: StaticStructureSchema;
9
19
  export declare var DescribeServicesResponse$: StaticStructureSchema;
10
- export declare var ExpiredNextTokenException$: StaticErrorSchema;
11
20
  export declare var Filter$: StaticStructureSchema;
12
21
  export declare var GetAttributeValuesRequest$: StaticStructureSchema;
13
22
  export declare var GetAttributeValuesResponse$: StaticStructureSchema;
@@ -15,17 +24,10 @@ export declare var GetPriceListFileUrlRequest$: StaticStructureSchema;
15
24
  export declare var GetPriceListFileUrlResponse$: StaticStructureSchema;
16
25
  export declare var GetProductsRequest$: StaticStructureSchema;
17
26
  export declare var GetProductsResponse$: StaticStructureSchema;
18
- export declare var InternalErrorException$: StaticErrorSchema;
19
- export declare var InvalidNextTokenException$: StaticErrorSchema;
20
- export declare var InvalidParameterException$: StaticErrorSchema;
21
27
  export declare var ListPriceListsRequest$: StaticStructureSchema;
22
28
  export declare var ListPriceListsResponse$: StaticStructureSchema;
23
- export declare var NotFoundException$: StaticErrorSchema;
24
29
  export declare var PriceList$: StaticStructureSchema;
25
- export declare var ResourceNotFoundException$: StaticErrorSchema;
26
30
  export declare var Service$: StaticStructureSchema;
27
- export declare var ThrottlingException$: StaticErrorSchema;
28
- export declare var PricingServiceException$: StaticErrorSchema;
29
31
  export declare var DescribeServices$: StaticOperationSchema;
30
32
  export declare var GetAttributeValues$: StaticOperationSchema;
31
33
  export declare var GetPriceListFileUrl$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pricing",
3
3
  "description": "AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native",
4
- "version": "3.986.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pricing",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",