@aws-sdk/client-savingsplans 3.337.0 → 3.341.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 (49) hide show
  1. package/dist-cjs/SavingsplansClient.js +2 -1
  2. package/dist-cjs/commands/CreateSavingsPlanCommand.js +2 -1
  3. package/dist-cjs/commands/DeleteQueuedSavingsPlanCommand.js +2 -1
  4. package/dist-cjs/commands/DescribeSavingsPlanRatesCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeSavingsPlansCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeSavingsPlansOfferingRatesCommand.js +2 -1
  7. package/dist-cjs/commands/DescribeSavingsPlansOfferingsCommand.js +2 -1
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  9. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  10. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  11. package/dist-cjs/index.js +1 -1
  12. package/dist-cjs/models/SavingsplansServiceException.js +2 -1
  13. package/dist-es/SavingsplansClient.js +1 -0
  14. package/dist-es/commands/CreateSavingsPlanCommand.js +1 -0
  15. package/dist-es/commands/DeleteQueuedSavingsPlanCommand.js +1 -0
  16. package/dist-es/commands/DescribeSavingsPlanRatesCommand.js +1 -0
  17. package/dist-es/commands/DescribeSavingsPlansCommand.js +1 -0
  18. package/dist-es/commands/DescribeSavingsPlansOfferingRatesCommand.js +1 -0
  19. package/dist-es/commands/DescribeSavingsPlansOfferingsCommand.js +1 -0
  20. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  21. package/dist-es/commands/TagResourceCommand.js +1 -0
  22. package/dist-es/commands/UntagResourceCommand.js +1 -0
  23. package/dist-es/index.js +1 -1
  24. package/dist-es/models/SavingsplansServiceException.js +1 -0
  25. package/dist-types/SavingsplansClient.d.ts +3 -3
  26. package/dist-types/commands/CreateSavingsPlanCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteQueuedSavingsPlanCommand.d.ts +4 -0
  28. package/dist-types/commands/DescribeSavingsPlanRatesCommand.d.ts +4 -0
  29. package/dist-types/commands/DescribeSavingsPlansCommand.d.ts +4 -0
  30. package/dist-types/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +4 -0
  31. package/dist-types/commands/DescribeSavingsPlansOfferingsCommand.d.ts +4 -0
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  34. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  35. package/dist-types/index.d.ts +9 -1
  36. package/dist-types/models/SavingsplansServiceException.d.ts +1 -0
  37. package/dist-types/ts3.4/SavingsplansClient.d.ts +3 -3
  38. package/dist-types/ts3.4/commands/CreateSavingsPlanCommand.d.ts +1 -0
  39. package/dist-types/ts3.4/commands/DeleteQueuedSavingsPlanCommand.d.ts +1 -0
  40. package/dist-types/ts3.4/commands/DescribeSavingsPlanRatesCommand.d.ts +1 -0
  41. package/dist-types/ts3.4/commands/DescribeSavingsPlansCommand.d.ts +1 -0
  42. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +1 -0
  43. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingsCommand.d.ts +1 -0
  44. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  45. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  46. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  47. package/dist-types/ts3.4/index.d.ts +1 -1
  48. package/dist-types/ts3.4/models/SavingsplansServiceException.d.ts +1 -0
  49. package/package.json +28 -28
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SavingsplansClient = void 0;
3
+ exports.SavingsplansClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class SavingsplansClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateSavingsPlanCommand = void 0;
3
+ exports.CreateSavingsPlanCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateSavingsPlanCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteQueuedSavingsPlanCommand = void 0;
3
+ exports.DeleteQueuedSavingsPlanCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteQueuedSavingsPlanCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeSavingsPlanRatesCommand = void 0;
3
+ exports.DescribeSavingsPlanRatesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeSavingsPlanRatesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeSavingsPlansCommand = void 0;
3
+ exports.DescribeSavingsPlansCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeSavingsPlansCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeSavingsPlansOfferingRatesCommand = void 0;
3
+ exports.DescribeSavingsPlansOfferingRatesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeSavingsPlansOfferingRatesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeSavingsPlansOfferingsCommand = void 0;
3
+ exports.DescribeSavingsPlansOfferingsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeSavingsPlansOfferingsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTagsForResourceCommand = void 0;
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListTagsForResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = void 0;
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class TagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = void 0;
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UntagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SavingsplansServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./Savingsplans"), exports);
6
5
  tslib_1.__exportStar(require("./SavingsplansClient"), exports);
6
+ tslib_1.__exportStar(require("./Savingsplans"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
9
  var SavingsplansServiceException_1 = require("./models/SavingsplansServiceException");
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SavingsplansServiceException = void 0;
3
+ exports.SavingsplansServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class SavingsplansServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class SavingsplansClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateSavingsPlanCommand, se_CreateSavingsPlanCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateSavingsPlanCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteQueuedSavingsPlanCommand, se_DeleteQueuedSavingsPlanCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteQueuedSavingsPlanCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeSavingsPlanRatesCommand, se_DescribeSavingsPlanRatesCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeSavingsPlanRatesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeSavingsPlansCommand, se_DescribeSavingsPlansCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeSavingsPlansCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeSavingsPlansOfferingRatesCommand, se_DescribeSavingsPlansOfferingRatesCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeSavingsPlansOfferingRatesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeSavingsPlansOfferingsCommand, se_DescribeSavingsPlansOfferingsCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeSavingsPlansOfferingsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListTagsForResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class TagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UntagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./Savingsplans";
2
1
  export * from "./SavingsplansClient";
2
+ export * from "./Savingsplans";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export { SavingsplansServiceException } from "./models/SavingsplansServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class SavingsplansServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -18,6 +18,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
18
18
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
19
19
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
20
20
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
21
+ export { __Client };
21
22
  /**
22
23
  * @public
23
24
  */
@@ -132,7 +133,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
132
133
  /**
133
134
  * @public
134
135
  */
135
- type SavingsplansClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
136
+ export type SavingsplansClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
136
137
  /**
137
138
  * @public
138
139
  *
@@ -143,7 +144,7 @@ export interface SavingsplansClientConfig extends SavingsplansClientConfigType {
143
144
  /**
144
145
  * @public
145
146
  */
146
- type SavingsplansClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
147
+ export type SavingsplansClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
147
148
  /**
148
149
  * @public
149
150
  *
@@ -171,4 +172,3 @@ export declare class SavingsplansClient extends __Client<__HttpHandlerOptions, S
171
172
  */
172
173
  destroy(): void;
173
174
  }
174
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CreateSavingsPlanRequest, CreateSavingsPlanResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DeleteQueuedSavingsPlanRequest, DeleteQueuedSavingsPlanResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DescribeSavingsPlanRatesRequest, DescribeSavingsPlanRatesResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DescribeSavingsPlansRequest, DescribeSavingsPlansResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DescribeSavingsPlansOfferingRatesRequest, DescribeSavingsPlansOfferingRatesResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DescribeSavingsPlansOfferingsRequest, DescribeSavingsPlansOfferingsResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
5
  import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,5 +1,13 @@
1
- export * from "./Savingsplans";
1
+ /**
2
+ * <p>Savings Plans are a pricing model that offer significant savings on AWS usage (for
3
+ * example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD
4
+ * per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For
5
+ * more information, see the <a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/">AWS Savings Plans User Guide</a>.</p>
6
+ *
7
+ * @packageDocumentation
8
+ */
2
9
  export * from "./SavingsplansClient";
10
+ export * from "./Savingsplans";
3
11
  export * from "./commands";
4
12
  export * from "./models";
5
13
  export { SavingsplansServiceException } from "./models/SavingsplansServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -87,6 +87,7 @@ import {
87
87
  ClientResolvedEndpointParameters,
88
88
  EndpointParameters,
89
89
  } from "./endpoint/EndpointParameters";
90
+ export { __Client };
90
91
  export type ServiceInputTypes =
91
92
  | CreateSavingsPlanCommandInput
92
93
  | DeleteQueuedSavingsPlanCommandInput
@@ -131,7 +132,7 @@ export interface ClientDefaults
131
132
  logger?: __Logger;
132
133
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
133
134
  }
134
- type SavingsplansClientConfigType = Partial<
135
+ export type SavingsplansClientConfigType = Partial<
135
136
  __SmithyConfiguration<__HttpHandlerOptions>
136
137
  > &
137
138
  ClientDefaults &
@@ -144,7 +145,7 @@ type SavingsplansClientConfigType = Partial<
144
145
  ClientInputEndpointParameters;
145
146
  export interface SavingsplansClientConfig
146
147
  extends SavingsplansClientConfigType {}
147
- type SavingsplansClientResolvedConfigType =
148
+ export type SavingsplansClientResolvedConfigType =
148
149
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
149
150
  Required<ClientDefaults> &
150
151
  RegionResolvedConfig &
@@ -166,4 +167,3 @@ export declare class SavingsplansClient extends __Client<
166
167
  constructor(configuration: SavingsplansClientConfig);
167
168
  destroy(): void;
168
169
  }
169
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateSavingsPlanCommandInput
19
20
  extends CreateSavingsPlanRequest {}
20
21
  export interface CreateSavingsPlanCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteQueuedSavingsPlanCommandInput
19
20
  extends DeleteQueuedSavingsPlanRequest {}
20
21
  export interface DeleteQueuedSavingsPlanCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeSavingsPlanRatesCommandInput
19
20
  extends DescribeSavingsPlanRatesRequest {}
20
21
  export interface DescribeSavingsPlanRatesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeSavingsPlansCommandInput
19
20
  extends DescribeSavingsPlansRequest {}
20
21
  export interface DescribeSavingsPlansCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeSavingsPlansOfferingRatesCommandInput
19
20
  extends DescribeSavingsPlansOfferingRatesRequest {}
20
21
  export interface DescribeSavingsPlansOfferingRatesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeSavingsPlansOfferingsCommandInput
19
20
  extends DescribeSavingsPlansOfferingsRequest {}
20
21
  export interface DescribeSavingsPlansOfferingsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListTagsForResourceCommandInput
19
20
  extends ListTagsForResourceRequest {}
20
21
  export interface ListTagsForResourceCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../SavingsplansClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface TagResourceCommandInput extends TagResourceRequest {}
16
17
  export interface TagResourceCommandOutput
17
18
  extends TagResourceResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../SavingsplansClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
19
20
  export interface UntagResourceCommandOutput
20
21
  extends UntagResourceResponse,
@@ -1,5 +1,5 @@
1
- export * from "./Savingsplans";
2
1
  export * from "./SavingsplansClient";
2
+ export * from "./Savingsplans";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export { SavingsplansServiceException } from "./models/SavingsplansServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class SavingsplansServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
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.337.0",
4
+ "version": "3.341.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.337.0",
25
- "@aws-sdk/config-resolver": "3.337.0",
26
- "@aws-sdk/credential-provider-node": "3.337.0",
27
- "@aws-sdk/fetch-http-handler": "3.337.0",
28
- "@aws-sdk/hash-node": "3.337.0",
29
- "@aws-sdk/invalid-dependency": "3.337.0",
30
- "@aws-sdk/middleware-content-length": "3.337.0",
31
- "@aws-sdk/middleware-endpoint": "3.337.0",
32
- "@aws-sdk/middleware-host-header": "3.337.0",
33
- "@aws-sdk/middleware-logger": "3.337.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.337.0",
35
- "@aws-sdk/middleware-retry": "3.337.0",
36
- "@aws-sdk/middleware-serde": "3.337.0",
37
- "@aws-sdk/middleware-signing": "3.337.0",
38
- "@aws-sdk/middleware-stack": "3.337.0",
39
- "@aws-sdk/middleware-user-agent": "3.337.0",
40
- "@aws-sdk/node-config-provider": "3.337.0",
41
- "@aws-sdk/node-http-handler": "3.337.0",
42
- "@aws-sdk/smithy-client": "3.337.0",
43
- "@aws-sdk/types": "3.337.0",
44
- "@aws-sdk/url-parser": "3.337.0",
24
+ "@aws-sdk/client-sts": "3.341.0",
25
+ "@aws-sdk/config-resolver": "3.341.0",
26
+ "@aws-sdk/credential-provider-node": "3.341.0",
27
+ "@aws-sdk/fetch-http-handler": "3.341.0",
28
+ "@aws-sdk/hash-node": "3.341.0",
29
+ "@aws-sdk/invalid-dependency": "3.341.0",
30
+ "@aws-sdk/middleware-content-length": "3.341.0",
31
+ "@aws-sdk/middleware-endpoint": "3.341.0",
32
+ "@aws-sdk/middleware-host-header": "3.341.0",
33
+ "@aws-sdk/middleware-logger": "3.341.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.341.0",
35
+ "@aws-sdk/middleware-retry": "3.341.0",
36
+ "@aws-sdk/middleware-serde": "3.341.0",
37
+ "@aws-sdk/middleware-signing": "3.341.0",
38
+ "@aws-sdk/middleware-stack": "3.341.0",
39
+ "@aws-sdk/middleware-user-agent": "3.341.0",
40
+ "@aws-sdk/node-config-provider": "3.341.0",
41
+ "@aws-sdk/node-http-handler": "3.341.0",
42
+ "@aws-sdk/smithy-client": "3.341.0",
43
+ "@aws-sdk/types": "3.341.0",
44
+ "@aws-sdk/url-parser": "3.341.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.337.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.337.0",
50
- "@aws-sdk/util-endpoints": "3.337.0",
51
- "@aws-sdk/util-retry": "3.337.0",
52
- "@aws-sdk/util-user-agent-browser": "3.337.0",
53
- "@aws-sdk/util-user-agent-node": "3.337.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.341.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.341.0",
50
+ "@aws-sdk/util-endpoints": "3.341.0",
51
+ "@aws-sdk/util-retry": "3.341.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.341.0",
53
+ "@aws-sdk/util-user-agent-node": "3.341.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",