@aws-sdk/client-pricing 3.721.0 → 3.726.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
@@ -142,7 +142,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
142
142
  }, "resolveRuntimeExtensions");
143
143
 
144
144
  // src/PricingClient.ts
145
- var _PricingClient = class _PricingClient extends import_smithy_client.Client {
145
+ var PricingClient = class extends import_smithy_client.Client {
146
+ static {
147
+ __name(this, "PricingClient");
148
+ }
149
+ /**
150
+ * The resolved configuration of PricingClient class. This is resolved and normalized from the {@link PricingClientConfig | constructor configuration interface}.
151
+ */
152
+ config;
146
153
  constructor(...[configuration]) {
147
154
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
148
155
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -152,7 +159,7 @@ var _PricingClient = class _PricingClient extends import_smithy_client.Client {
152
159
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
153
160
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
154
161
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
155
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
162
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
156
163
  super(_config_8);
157
164
  this.config = _config_8;
158
165
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -180,8 +187,6 @@ var _PricingClient = class _PricingClient extends import_smithy_client.Client {
180
187
  super.destroy();
181
188
  }
182
189
  };
183
- __name(_PricingClient, "PricingClient");
184
- var PricingClient = _PricingClient;
185
190
 
186
191
  // src/Pricing.ts
187
192
 
@@ -198,7 +203,10 @@ var import_core2 = require("@aws-sdk/core");
198
203
 
199
204
  // src/models/PricingServiceException.ts
200
205
 
201
- var _PricingServiceException = class _PricingServiceException extends import_smithy_client.ServiceException {
206
+ var PricingServiceException = class _PricingServiceException extends import_smithy_client.ServiceException {
207
+ static {
208
+ __name(this, "PricingServiceException");
209
+ }
202
210
  /**
203
211
  * @internal
204
212
  */
@@ -207,11 +215,15 @@ var _PricingServiceException = class _PricingServiceException extends import_smi
207
215
  Object.setPrototypeOf(this, _PricingServiceException.prototype);
208
216
  }
209
217
  };
210
- __name(_PricingServiceException, "PricingServiceException");
211
- var PricingServiceException = _PricingServiceException;
212
218
 
213
219
  // src/models/models_0.ts
214
- var _AccessDeniedException = class _AccessDeniedException extends PricingServiceException {
220
+ var AccessDeniedException = class _AccessDeniedException extends PricingServiceException {
221
+ static {
222
+ __name(this, "AccessDeniedException");
223
+ }
224
+ name = "AccessDeniedException";
225
+ $fault = "client";
226
+ Message;
215
227
  /**
216
228
  * @internal
217
229
  */
@@ -221,15 +233,17 @@ var _AccessDeniedException = class _AccessDeniedException extends PricingService
221
233
  $fault: "client",
222
234
  ...opts
223
235
  });
224
- this.name = "AccessDeniedException";
225
- this.$fault = "client";
226
236
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
227
237
  this.Message = opts.Message;
228
238
  }
229
239
  };
230
- __name(_AccessDeniedException, "AccessDeniedException");
231
- var AccessDeniedException = _AccessDeniedException;
232
- var _ExpiredNextTokenException = class _ExpiredNextTokenException extends PricingServiceException {
240
+ var ExpiredNextTokenException = class _ExpiredNextTokenException extends PricingServiceException {
241
+ static {
242
+ __name(this, "ExpiredNextTokenException");
243
+ }
244
+ name = "ExpiredNextTokenException";
245
+ $fault = "client";
246
+ Message;
233
247
  /**
234
248
  * @internal
235
249
  */
@@ -239,15 +253,18 @@ var _ExpiredNextTokenException = class _ExpiredNextTokenException extends Pricin
239
253
  $fault: "client",
240
254
  ...opts
241
255
  });
242
- this.name = "ExpiredNextTokenException";
243
- this.$fault = "client";
244
256
  Object.setPrototypeOf(this, _ExpiredNextTokenException.prototype);
245
257
  this.Message = opts.Message;
246
258
  }
247
259
  };
248
- __name(_ExpiredNextTokenException, "ExpiredNextTokenException");
249
- var ExpiredNextTokenException = _ExpiredNextTokenException;
250
- var _InternalErrorException = class _InternalErrorException extends PricingServiceException {
260
+ var InternalErrorException = class _InternalErrorException extends PricingServiceException {
261
+ static {
262
+ __name(this, "InternalErrorException");
263
+ }
264
+ name = "InternalErrorException";
265
+ $fault = "server";
266
+ $retryable = {};
267
+ Message;
251
268
  /**
252
269
  * @internal
253
270
  */
@@ -257,16 +274,17 @@ var _InternalErrorException = class _InternalErrorException extends PricingServi
257
274
  $fault: "server",
258
275
  ...opts
259
276
  });
260
- this.name = "InternalErrorException";
261
- this.$fault = "server";
262
- this.$retryable = {};
263
277
  Object.setPrototypeOf(this, _InternalErrorException.prototype);
264
278
  this.Message = opts.Message;
265
279
  }
266
280
  };
267
- __name(_InternalErrorException, "InternalErrorException");
268
- var InternalErrorException = _InternalErrorException;
269
- var _InvalidNextTokenException = class _InvalidNextTokenException extends PricingServiceException {
281
+ var InvalidNextTokenException = class _InvalidNextTokenException extends PricingServiceException {
282
+ static {
283
+ __name(this, "InvalidNextTokenException");
284
+ }
285
+ name = "InvalidNextTokenException";
286
+ $fault = "client";
287
+ Message;
270
288
  /**
271
289
  * @internal
272
290
  */
@@ -276,15 +294,17 @@ var _InvalidNextTokenException = class _InvalidNextTokenException extends Pricin
276
294
  $fault: "client",
277
295
  ...opts
278
296
  });
279
- this.name = "InvalidNextTokenException";
280
- this.$fault = "client";
281
297
  Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
282
298
  this.Message = opts.Message;
283
299
  }
284
300
  };
285
- __name(_InvalidNextTokenException, "InvalidNextTokenException");
286
- var InvalidNextTokenException = _InvalidNextTokenException;
287
- var _InvalidParameterException = class _InvalidParameterException extends PricingServiceException {
301
+ var InvalidParameterException = class _InvalidParameterException extends PricingServiceException {
302
+ static {
303
+ __name(this, "InvalidParameterException");
304
+ }
305
+ name = "InvalidParameterException";
306
+ $fault = "client";
307
+ Message;
288
308
  /**
289
309
  * @internal
290
310
  */
@@ -294,15 +314,17 @@ var _InvalidParameterException = class _InvalidParameterException extends Pricin
294
314
  $fault: "client",
295
315
  ...opts
296
316
  });
297
- this.name = "InvalidParameterException";
298
- this.$fault = "client";
299
317
  Object.setPrototypeOf(this, _InvalidParameterException.prototype);
300
318
  this.Message = opts.Message;
301
319
  }
302
320
  };
303
- __name(_InvalidParameterException, "InvalidParameterException");
304
- var InvalidParameterException = _InvalidParameterException;
305
- var _NotFoundException = class _NotFoundException extends PricingServiceException {
321
+ var NotFoundException = class _NotFoundException extends PricingServiceException {
322
+ static {
323
+ __name(this, "NotFoundException");
324
+ }
325
+ name = "NotFoundException";
326
+ $fault = "client";
327
+ Message;
306
328
  /**
307
329
  * @internal
308
330
  */
@@ -312,15 +334,20 @@ var _NotFoundException = class _NotFoundException extends PricingServiceExceptio
312
334
  $fault: "client",
313
335
  ...opts
314
336
  });
315
- this.name = "NotFoundException";
316
- this.$fault = "client";
317
337
  Object.setPrototypeOf(this, _NotFoundException.prototype);
318
338
  this.Message = opts.Message;
319
339
  }
320
340
  };
321
- __name(_NotFoundException, "NotFoundException");
322
- var NotFoundException = _NotFoundException;
323
- var _ThrottlingException = class _ThrottlingException extends PricingServiceException {
341
+ var ThrottlingException = class _ThrottlingException extends PricingServiceException {
342
+ static {
343
+ __name(this, "ThrottlingException");
344
+ }
345
+ name = "ThrottlingException";
346
+ $fault = "client";
347
+ $retryable = {
348
+ throttling: true
349
+ };
350
+ Message;
324
351
  /**
325
352
  * @internal
326
353
  */
@@ -330,18 +357,17 @@ var _ThrottlingException = class _ThrottlingException extends PricingServiceExce
330
357
  $fault: "client",
331
358
  ...opts
332
359
  });
333
- this.name = "ThrottlingException";
334
- this.$fault = "client";
335
- this.$retryable = {
336
- throttling: true
337
- };
338
360
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
339
361
  this.Message = opts.Message;
340
362
  }
341
363
  };
342
- __name(_ThrottlingException, "ThrottlingException");
343
- var ThrottlingException = _ThrottlingException;
344
- var _ResourceNotFoundException = class _ResourceNotFoundException extends PricingServiceException {
364
+ var ResourceNotFoundException = class _ResourceNotFoundException extends PricingServiceException {
365
+ static {
366
+ __name(this, "ResourceNotFoundException");
367
+ }
368
+ name = "ResourceNotFoundException";
369
+ $fault = "client";
370
+ Message;
345
371
  /**
346
372
  * @internal
347
373
  */
@@ -351,14 +377,10 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Pricin
351
377
  $fault: "client",
352
378
  ...opts
353
379
  });
354
- this.name = "ResourceNotFoundException";
355
- this.$fault = "client";
356
380
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
357
381
  this.Message = opts.Message;
358
382
  }
359
383
  };
360
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
361
- var ResourceNotFoundException = _ResourceNotFoundException;
362
384
  var FilterType = {
363
385
  TERM_MATCH: "TERM_MATCH"
364
386
  };
@@ -628,71 +650,76 @@ function sharedHeaders(operation) {
628
650
  __name(sharedHeaders, "sharedHeaders");
629
651
 
630
652
  // src/commands/DescribeServicesCommand.ts
631
- var _DescribeServicesCommand = class _DescribeServicesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
653
+ var DescribeServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
632
654
  return [
633
655
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
634
656
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
635
657
  ];
636
658
  }).s("AWSPriceListService", "DescribeServices", {}).n("PricingClient", "DescribeServicesCommand").f(void 0, void 0).ser(se_DescribeServicesCommand).de(de_DescribeServicesCommand).build() {
659
+ static {
660
+ __name(this, "DescribeServicesCommand");
661
+ }
637
662
  };
638
- __name(_DescribeServicesCommand, "DescribeServicesCommand");
639
- var DescribeServicesCommand = _DescribeServicesCommand;
640
663
 
641
664
  // src/commands/GetAttributeValuesCommand.ts
642
665
 
643
666
 
644
667
 
645
- var _GetAttributeValuesCommand = class _GetAttributeValuesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
668
+ var GetAttributeValuesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
646
669
  return [
647
670
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
648
671
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
649
672
  ];
650
673
  }).s("AWSPriceListService", "GetAttributeValues", {}).n("PricingClient", "GetAttributeValuesCommand").f(void 0, void 0).ser(se_GetAttributeValuesCommand).de(de_GetAttributeValuesCommand).build() {
674
+ static {
675
+ __name(this, "GetAttributeValuesCommand");
676
+ }
651
677
  };
652
- __name(_GetAttributeValuesCommand, "GetAttributeValuesCommand");
653
- var GetAttributeValuesCommand = _GetAttributeValuesCommand;
654
678
 
655
679
  // src/commands/GetPriceListFileUrlCommand.ts
656
680
 
657
681
 
658
682
 
659
- var _GetPriceListFileUrlCommand = class _GetPriceListFileUrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
683
+ var GetPriceListFileUrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
660
684
  return [
661
685
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
662
686
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
663
687
  ];
664
688
  }).s("AWSPriceListService", "GetPriceListFileUrl", {}).n("PricingClient", "GetPriceListFileUrlCommand").f(void 0, void 0).ser(se_GetPriceListFileUrlCommand).de(de_GetPriceListFileUrlCommand).build() {
689
+ static {
690
+ __name(this, "GetPriceListFileUrlCommand");
691
+ }
665
692
  };
666
- __name(_GetPriceListFileUrlCommand, "GetPriceListFileUrlCommand");
667
- var GetPriceListFileUrlCommand = _GetPriceListFileUrlCommand;
668
693
 
669
694
  // src/commands/GetProductsCommand.ts
670
695
 
671
696
 
672
697
 
673
- var _GetProductsCommand = class _GetProductsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
698
+ var GetProductsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
674
699
  return [
675
700
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
676
701
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
677
702
  ];
678
703
  }).s("AWSPriceListService", "GetProducts", {}).n("PricingClient", "GetProductsCommand").f(void 0, void 0).ser(se_GetProductsCommand).de(de_GetProductsCommand).build() {
704
+ static {
705
+ __name(this, "GetProductsCommand");
706
+ }
679
707
  };
680
- __name(_GetProductsCommand, "GetProductsCommand");
681
- var GetProductsCommand = _GetProductsCommand;
682
708
 
683
709
  // src/commands/ListPriceListsCommand.ts
684
710
 
685
711
 
686
712
 
687
- var _ListPriceListsCommand = class _ListPriceListsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
713
+ var ListPriceListsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
688
714
  return [
689
715
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
690
716
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
691
717
  ];
692
718
  }).s("AWSPriceListService", "ListPriceLists", {}).n("PricingClient", "ListPriceListsCommand").f(void 0, void 0).ser(se_ListPriceListsCommand).de(de_ListPriceListsCommand).build() {
719
+ static {
720
+ __name(this, "ListPriceListsCommand");
721
+ }
693
722
  };
694
- __name(_ListPriceListsCommand, "ListPriceListsCommand");
695
- var ListPriceListsCommand = _ListPriceListsCommand;
696
723
 
697
724
  // src/Pricing.ts
698
725
  var commands = {
@@ -702,10 +729,11 @@ var commands = {
702
729
  GetProductsCommand,
703
730
  ListPriceListsCommand
704
731
  };
705
- var _Pricing = class _Pricing extends PricingClient {
732
+ var Pricing = class extends PricingClient {
733
+ static {
734
+ __name(this, "Pricing");
735
+ }
706
736
  };
707
- __name(_Pricing, "Pricing");
708
- var Pricing = _Pricing;
709
737
  (0, import_smithy_client.createAggregatedClient)(commands, Pricing);
710
738
 
711
739
  // src/pagination/DescribeServicesPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class PricingClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,108 +1,116 @@
1
1
  import { PricingServiceException as __BaseException } from "./PricingServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "AccessDeniedException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
14
15
  }
15
16
  export class ExpiredNextTokenException extends __BaseException {
17
+ name = "ExpiredNextTokenException";
18
+ $fault = "client";
19
+ Message;
16
20
  constructor(opts) {
17
21
  super({
18
22
  name: "ExpiredNextTokenException",
19
23
  $fault: "client",
20
24
  ...opts,
21
25
  });
22
- this.name = "ExpiredNextTokenException";
23
- this.$fault = "client";
24
26
  Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
25
27
  this.Message = opts.Message;
26
28
  }
27
29
  }
28
30
  export class InternalErrorException extends __BaseException {
31
+ name = "InternalErrorException";
32
+ $fault = "server";
33
+ $retryable = {};
34
+ Message;
29
35
  constructor(opts) {
30
36
  super({
31
37
  name: "InternalErrorException",
32
38
  $fault: "server",
33
39
  ...opts,
34
40
  });
35
- this.name = "InternalErrorException";
36
- this.$fault = "server";
37
- this.$retryable = {};
38
41
  Object.setPrototypeOf(this, InternalErrorException.prototype);
39
42
  this.Message = opts.Message;
40
43
  }
41
44
  }
42
45
  export class InvalidNextTokenException extends __BaseException {
46
+ name = "InvalidNextTokenException";
47
+ $fault = "client";
48
+ Message;
43
49
  constructor(opts) {
44
50
  super({
45
51
  name: "InvalidNextTokenException",
46
52
  $fault: "client",
47
53
  ...opts,
48
54
  });
49
- this.name = "InvalidNextTokenException";
50
- this.$fault = "client";
51
55
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
52
56
  this.Message = opts.Message;
53
57
  }
54
58
  }
55
59
  export class InvalidParameterException extends __BaseException {
60
+ name = "InvalidParameterException";
61
+ $fault = "client";
62
+ Message;
56
63
  constructor(opts) {
57
64
  super({
58
65
  name: "InvalidParameterException",
59
66
  $fault: "client",
60
67
  ...opts,
61
68
  });
62
- this.name = "InvalidParameterException";
63
- this.$fault = "client";
64
69
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
65
70
  this.Message = opts.Message;
66
71
  }
67
72
  }
68
73
  export class NotFoundException extends __BaseException {
74
+ name = "NotFoundException";
75
+ $fault = "client";
76
+ Message;
69
77
  constructor(opts) {
70
78
  super({
71
79
  name: "NotFoundException",
72
80
  $fault: "client",
73
81
  ...opts,
74
82
  });
75
- this.name = "NotFoundException";
76
- this.$fault = "client";
77
83
  Object.setPrototypeOf(this, NotFoundException.prototype);
78
84
  this.Message = opts.Message;
79
85
  }
80
86
  }
81
87
  export class ThrottlingException extends __BaseException {
88
+ name = "ThrottlingException";
89
+ $fault = "client";
90
+ $retryable = {
91
+ throttling: true,
92
+ };
93
+ Message;
82
94
  constructor(opts) {
83
95
  super({
84
96
  name: "ThrottlingException",
85
97
  $fault: "client",
86
98
  ...opts,
87
99
  });
88
- this.name = "ThrottlingException";
89
- this.$fault = "client";
90
- this.$retryable = {
91
- throttling: true,
92
- };
93
100
  Object.setPrototypeOf(this, ThrottlingException.prototype);
94
101
  this.Message = opts.Message;
95
102
  }
96
103
  }
97
104
  export class ResourceNotFoundException extends __BaseException {
105
+ name = "ResourceNotFoundException";
106
+ $fault = "client";
107
+ Message;
98
108
  constructor(opts) {
99
109
  super({
100
110
  name: "ResourceNotFoundException",
101
111
  $fault: "client",
102
112
  ...opts,
103
113
  });
104
- this.name = "ResourceNotFoundException";
105
- this.$fault = "client";
106
114
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
107
115
  this.Message = opts.Message;
108
116
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.721.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pricing",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {