@aws-sdk/client-savingsplans 3.758.0 → 3.772.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +32 -32
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  CreateSavingsPlanCommand: () => CreateSavingsPlanCommand,
25
25
  CurrencyCode: () => CurrencyCode,
26
26
  DeleteQueuedSavingsPlanCommand: () => DeleteQueuedSavingsPlanCommand,
@@ -53,7 +53,7 @@ __export(src_exports, {
53
53
  ValidationException: () => ValidationException,
54
54
  __Client: () => import_smithy_client.Client
55
55
  });
56
- module.exports = __toCommonJS(src_exports);
56
+ module.exports = __toCommonJS(index_exports);
57
57
 
58
58
  // src/SavingsplansClient.ts
59
59
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -180,9 +180,9 @@ var SavingsplansClient = class extends import_smithy_client.Client {
180
180
  this.middlewareStack.use(
181
181
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
182
182
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSavingsplansHttpAuthSchemeParametersProvider,
183
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
183
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
184
184
  "aws.auth#sigv4": config.credentials
185
- })
185
+ }), "identityProviderConfigProvider")
186
186
  })
187
187
  );
188
188
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -398,9 +398,9 @@ var se_CreateSavingsPlanCommand = /* @__PURE__ */ __name(async (input, context)
398
398
  (0, import_smithy_client.take)(input, {
399
399
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
400
400
  commitment: [],
401
- purchaseTime: (_) => _.getTime() / 1e3,
401
+ purchaseTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "purchaseTime"),
402
402
  savingsPlanOfferingId: [],
403
- tags: (_) => (0, import_smithy_client._json)(_),
403
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
404
404
  upfrontPaymentAmount: []
405
405
  })
406
406
  );
@@ -431,7 +431,7 @@ var se_DescribeSavingsPlanRatesCommand = /* @__PURE__ */ __name(async (input, co
431
431
  let body;
432
432
  body = JSON.stringify(
433
433
  (0, import_smithy_client.take)(input, {
434
- filters: (_) => (0, import_smithy_client._json)(_),
434
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
435
435
  maxResults: [],
436
436
  nextToken: [],
437
437
  savingsPlanId: []
@@ -449,12 +449,12 @@ var se_DescribeSavingsPlansCommand = /* @__PURE__ */ __name(async (input, contex
449
449
  let body;
450
450
  body = JSON.stringify(
451
451
  (0, import_smithy_client.take)(input, {
452
- filters: (_) => (0, import_smithy_client._json)(_),
452
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
453
453
  maxResults: [],
454
454
  nextToken: [],
455
- savingsPlanArns: (_) => (0, import_smithy_client._json)(_),
456
- savingsPlanIds: (_) => (0, import_smithy_client._json)(_),
457
- states: (_) => (0, import_smithy_client._json)(_)
455
+ savingsPlanArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "savingsPlanArns"),
456
+ savingsPlanIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "savingsPlanIds"),
457
+ states: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "states")
458
458
  })
459
459
  );
460
460
  b.m("POST").h(headers).b(body);
@@ -469,16 +469,16 @@ var se_DescribeSavingsPlansOfferingRatesCommand = /* @__PURE__ */ __name(async (
469
469
  let body;
470
470
  body = JSON.stringify(
471
471
  (0, import_smithy_client.take)(input, {
472
- filters: (_) => (0, import_smithy_client._json)(_),
472
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
473
473
  maxResults: [],
474
474
  nextToken: [],
475
- operations: (_) => (0, import_smithy_client._json)(_),
476
- products: (_) => (0, import_smithy_client._json)(_),
477
- savingsPlanOfferingIds: (_) => (0, import_smithy_client._json)(_),
478
- savingsPlanPaymentOptions: (_) => (0, import_smithy_client._json)(_),
479
- savingsPlanTypes: (_) => (0, import_smithy_client._json)(_),
480
- serviceCodes: (_) => (0, import_smithy_client._json)(_),
481
- usageTypes: (_) => (0, import_smithy_client._json)(_)
475
+ operations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "operations"),
476
+ products: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "products"),
477
+ savingsPlanOfferingIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "savingsPlanOfferingIds"),
478
+ savingsPlanPaymentOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "savingsPlanPaymentOptions"),
479
+ savingsPlanTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "savingsPlanTypes"),
480
+ serviceCodes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "serviceCodes"),
481
+ usageTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "usageTypes")
482
482
  })
483
483
  );
484
484
  b.m("POST").h(headers).b(body);
@@ -493,19 +493,19 @@ var se_DescribeSavingsPlansOfferingsCommand = /* @__PURE__ */ __name(async (inpu
493
493
  let body;
494
494
  body = JSON.stringify(
495
495
  (0, import_smithy_client.take)(input, {
496
- currencies: (_) => (0, import_smithy_client._json)(_),
497
- descriptions: (_) => (0, import_smithy_client._json)(_),
498
- durations: (_) => (0, import_smithy_client._json)(_),
499
- filters: (_) => (0, import_smithy_client._json)(_),
496
+ currencies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "currencies"),
497
+ descriptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "descriptions"),
498
+ durations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "durations"),
499
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
500
500
  maxResults: [],
501
501
  nextToken: [],
502
- offeringIds: (_) => (0, import_smithy_client._json)(_),
503
- operations: (_) => (0, import_smithy_client._json)(_),
504
- paymentOptions: (_) => (0, import_smithy_client._json)(_),
505
- planTypes: (_) => (0, import_smithy_client._json)(_),
502
+ offeringIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "offeringIds"),
503
+ operations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "operations"),
504
+ paymentOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "paymentOptions"),
505
+ planTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "planTypes"),
506
506
  productType: [],
507
- serviceCodes: (_) => (0, import_smithy_client._json)(_),
508
- usageTypes: (_) => (0, import_smithy_client._json)(_)
507
+ serviceCodes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "serviceCodes"),
508
+ usageTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "usageTypes")
509
509
  })
510
510
  );
511
511
  b.m("POST").h(headers).b(body);
@@ -552,7 +552,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
552
552
  body = JSON.stringify(
553
553
  (0, import_smithy_client.take)(input, {
554
554
  resourceArn: [],
555
- tags: (_) => (0, import_smithy_client._json)(_)
555
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
556
556
  })
557
557
  );
558
558
  b.m("POST").h(headers).b(body);
@@ -568,7 +568,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
568
568
  body = JSON.stringify(
569
569
  (0, import_smithy_client.take)(input, {
570
570
  resourceArn: [],
571
- tagKeys: (_) => (0, import_smithy_client._json)(_)
571
+ tagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tagKeys")
572
572
  })
573
573
  );
574
574
  b.m("POST").h(headers).b(body);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-savingsplans",
3
3
  "description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.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-savingsplans",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",