@aws-sdk/client-savingsplans 3.1077.0 → 3.1079.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 (38) hide show
  1. package/dist-cjs/index.js +18 -103
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateSavingsPlanCommand.js +2 -14
  4. package/dist-es/commands/DeleteQueuedSavingsPlanCommand.js +2 -14
  5. package/dist-es/commands/DescribeSavingsPlanRatesCommand.js +2 -14
  6. package/dist-es/commands/DescribeSavingsPlansCommand.js +2 -14
  7. package/dist-es/commands/DescribeSavingsPlansOfferingRatesCommand.js +2 -14
  8. package/dist-es/commands/DescribeSavingsPlansOfferingsCommand.js +2 -14
  9. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  10. package/dist-es/commands/ReturnSavingsPlanCommand.js +2 -14
  11. package/dist-es/commands/TagResourceCommand.js +2 -14
  12. package/dist-es/commands/UntagResourceCommand.js +2 -14
  13. package/dist-es/index.js +1 -0
  14. package/dist-types/commandBuilder.d.ts +18 -0
  15. package/dist-types/commands/CreateSavingsPlanCommand.d.ts +3 -8
  16. package/dist-types/commands/DeleteQueuedSavingsPlanCommand.d.ts +3 -8
  17. package/dist-types/commands/DescribeSavingsPlanRatesCommand.d.ts +3 -8
  18. package/dist-types/commands/DescribeSavingsPlansCommand.d.ts +3 -8
  19. package/dist-types/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +3 -8
  20. package/dist-types/commands/DescribeSavingsPlansOfferingsCommand.d.ts +3 -8
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  22. package/dist-types/commands/ReturnSavingsPlanCommand.d.ts +3 -8
  23. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  24. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  25. package/dist-types/index.d.ts +1 -0
  26. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  27. package/dist-types/ts3.4/commands/CreateSavingsPlanCommand.d.ts +7 -16
  28. package/dist-types/ts3.4/commands/DeleteQueuedSavingsPlanCommand.d.ts +7 -16
  29. package/dist-types/ts3.4/commands/DescribeSavingsPlanRatesCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/DescribeSavingsPlansCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingsCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/ReturnSavingsPlanCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/index.d.ts +1 -0
  38. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -720,124 +721,38 @@ class SavingsplansClient extends Client {
720
721
  }
721
722
  }
722
723
 
723
- class CreateSavingsPlanCommand extends Command
724
- .classBuilder()
725
- .ep(commonParams)
726
- .m(function (Command, cs, config, o) {
727
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
728
- })
729
- .s("AWSSavingsPlan", "CreateSavingsPlan", {})
730
- .n("SavingsplansClient", "CreateSavingsPlanCommand")
731
- .sc(CreateSavingsPlan$)
732
- .build() {
724
+ const command = makeBuilder(commonParams, "AWSSavingsPlan", "SavingsplansClient", getEndpointPlugin);
725
+ const _ep0 = {};
726
+ const _mw0 = (Command, cs, config, o) => [];
727
+
728
+ class CreateSavingsPlanCommand extends command(_ep0, _mw0, "CreateSavingsPlan", CreateSavingsPlan$) {
733
729
  }
734
730
 
735
- class DeleteQueuedSavingsPlanCommand extends Command
736
- .classBuilder()
737
- .ep(commonParams)
738
- .m(function (Command, cs, config, o) {
739
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
740
- })
741
- .s("AWSSavingsPlan", "DeleteQueuedSavingsPlan", {})
742
- .n("SavingsplansClient", "DeleteQueuedSavingsPlanCommand")
743
- .sc(DeleteQueuedSavingsPlan$)
744
- .build() {
731
+ class DeleteQueuedSavingsPlanCommand extends command(_ep0, _mw0, "DeleteQueuedSavingsPlan", DeleteQueuedSavingsPlan$) {
745
732
  }
746
733
 
747
- class DescribeSavingsPlanRatesCommand extends Command
748
- .classBuilder()
749
- .ep(commonParams)
750
- .m(function (Command, cs, config, o) {
751
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
752
- })
753
- .s("AWSSavingsPlan", "DescribeSavingsPlanRates", {})
754
- .n("SavingsplansClient", "DescribeSavingsPlanRatesCommand")
755
- .sc(DescribeSavingsPlanRates$)
756
- .build() {
734
+ class DescribeSavingsPlanRatesCommand extends command(_ep0, _mw0, "DescribeSavingsPlanRates", DescribeSavingsPlanRates$) {
757
735
  }
758
736
 
759
- class DescribeSavingsPlansCommand extends Command
760
- .classBuilder()
761
- .ep(commonParams)
762
- .m(function (Command, cs, config, o) {
763
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
764
- })
765
- .s("AWSSavingsPlan", "DescribeSavingsPlans", {})
766
- .n("SavingsplansClient", "DescribeSavingsPlansCommand")
767
- .sc(DescribeSavingsPlans$)
768
- .build() {
737
+ class DescribeSavingsPlansCommand extends command(_ep0, _mw0, "DescribeSavingsPlans", DescribeSavingsPlans$) {
769
738
  }
770
739
 
771
- class DescribeSavingsPlansOfferingRatesCommand extends Command
772
- .classBuilder()
773
- .ep(commonParams)
774
- .m(function (Command, cs, config, o) {
775
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
776
- })
777
- .s("AWSSavingsPlan", "DescribeSavingsPlansOfferingRates", {})
778
- .n("SavingsplansClient", "DescribeSavingsPlansOfferingRatesCommand")
779
- .sc(DescribeSavingsPlansOfferingRates$)
780
- .build() {
740
+ class DescribeSavingsPlansOfferingRatesCommand extends command(_ep0, _mw0, "DescribeSavingsPlansOfferingRates", DescribeSavingsPlansOfferingRates$) {
781
741
  }
782
742
 
783
- class DescribeSavingsPlansOfferingsCommand extends Command
784
- .classBuilder()
785
- .ep(commonParams)
786
- .m(function (Command, cs, config, o) {
787
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
788
- })
789
- .s("AWSSavingsPlan", "DescribeSavingsPlansOfferings", {})
790
- .n("SavingsplansClient", "DescribeSavingsPlansOfferingsCommand")
791
- .sc(DescribeSavingsPlansOfferings$)
792
- .build() {
743
+ class DescribeSavingsPlansOfferingsCommand extends command(_ep0, _mw0, "DescribeSavingsPlansOfferings", DescribeSavingsPlansOfferings$) {
793
744
  }
794
745
 
795
- class ListTagsForResourceCommand extends Command
796
- .classBuilder()
797
- .ep(commonParams)
798
- .m(function (Command, cs, config, o) {
799
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
800
- })
801
- .s("AWSSavingsPlan", "ListTagsForResource", {})
802
- .n("SavingsplansClient", "ListTagsForResourceCommand")
803
- .sc(ListTagsForResource$)
804
- .build() {
746
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
805
747
  }
806
748
 
807
- class ReturnSavingsPlanCommand extends Command
808
- .classBuilder()
809
- .ep(commonParams)
810
- .m(function (Command, cs, config, o) {
811
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
812
- })
813
- .s("AWSSavingsPlan", "ReturnSavingsPlan", {})
814
- .n("SavingsplansClient", "ReturnSavingsPlanCommand")
815
- .sc(ReturnSavingsPlan$)
816
- .build() {
749
+ class ReturnSavingsPlanCommand extends command(_ep0, _mw0, "ReturnSavingsPlan", ReturnSavingsPlan$) {
817
750
  }
818
751
 
819
- class TagResourceCommand extends Command
820
- .classBuilder()
821
- .ep(commonParams)
822
- .m(function (Command, cs, config, o) {
823
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
824
- })
825
- .s("AWSSavingsPlan", "TagResource", {})
826
- .n("SavingsplansClient", "TagResourceCommand")
827
- .sc(TagResource$)
828
- .build() {
752
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
829
753
  }
830
754
 
831
- class UntagResourceCommand extends Command
832
- .classBuilder()
833
- .ep(commonParams)
834
- .m(function (Command, cs, config, o) {
835
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
836
- })
837
- .s("AWSSavingsPlan", "UntagResource", {})
838
- .n("SavingsplansClient", "UntagResourceCommand")
839
- .sc(UntagResource$)
840
- .build() {
755
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
841
756
  }
842
757
 
843
758
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSSavingsPlan", "SavingsplansClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateSavingsPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSavingsPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "CreateSavingsPlan", {})
13
- .n("SavingsplansClient", "CreateSavingsPlanCommand")
14
- .sc(CreateSavingsPlan$)
15
- .build() {
3
+ export class CreateSavingsPlanCommand extends command(_ep0, _mw0, "CreateSavingsPlan", CreateSavingsPlan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteQueuedSavingsPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteQueuedSavingsPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "DeleteQueuedSavingsPlan", {})
13
- .n("SavingsplansClient", "DeleteQueuedSavingsPlanCommand")
14
- .sc(DeleteQueuedSavingsPlan$)
15
- .build() {
3
+ export class DeleteQueuedSavingsPlanCommand extends command(_ep0, _mw0, "DeleteQueuedSavingsPlan", DeleteQueuedSavingsPlan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSavingsPlanRates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSavingsPlanRatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "DescribeSavingsPlanRates", {})
13
- .n("SavingsplansClient", "DescribeSavingsPlanRatesCommand")
14
- .sc(DescribeSavingsPlanRates$)
15
- .build() {
3
+ export class DescribeSavingsPlanRatesCommand extends command(_ep0, _mw0, "DescribeSavingsPlanRates", DescribeSavingsPlanRates$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSavingsPlans$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSavingsPlansCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "DescribeSavingsPlans", {})
13
- .n("SavingsplansClient", "DescribeSavingsPlansCommand")
14
- .sc(DescribeSavingsPlans$)
15
- .build() {
3
+ export class DescribeSavingsPlansCommand extends command(_ep0, _mw0, "DescribeSavingsPlans", DescribeSavingsPlans$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSavingsPlansOfferingRates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSavingsPlansOfferingRatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "DescribeSavingsPlansOfferingRates", {})
13
- .n("SavingsplansClient", "DescribeSavingsPlansOfferingRatesCommand")
14
- .sc(DescribeSavingsPlansOfferingRates$)
15
- .build() {
3
+ export class DescribeSavingsPlansOfferingRatesCommand extends command(_ep0, _mw0, "DescribeSavingsPlansOfferingRates", DescribeSavingsPlansOfferingRates$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSavingsPlansOfferings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSavingsPlansOfferingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "DescribeSavingsPlansOfferings", {})
13
- .n("SavingsplansClient", "DescribeSavingsPlansOfferingsCommand")
14
- .sc(DescribeSavingsPlansOfferings$)
15
- .build() {
3
+ export class DescribeSavingsPlansOfferingsCommand extends command(_ep0, _mw0, "DescribeSavingsPlansOfferings", DescribeSavingsPlansOfferings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "ListTagsForResource", {})
13
- .n("SavingsplansClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ReturnSavingsPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ReturnSavingsPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "ReturnSavingsPlan", {})
13
- .n("SavingsplansClient", "ReturnSavingsPlanCommand")
14
- .sc(ReturnSavingsPlan$)
15
- .build() {
3
+ export class ReturnSavingsPlanCommand extends command(_ep0, _mw0, "ReturnSavingsPlan", ReturnSavingsPlan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "TagResource", {})
13
- .n("SavingsplansClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSavingsPlan", "UntagResource", {})
13
- .n("SavingsplansClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SavingsplansClient";
2
2
  export * from "./Savingsplans";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./SavingsplansClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateSavingsPlanRequest, CreateSavingsPlanResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateSavingsPlanCommandInput extends CreateSavingsPlanRequest
22
19
  export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateSavingsPlanCommand_base: {
25
- new (input: CreateSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a Savings Plan.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteQueuedSavingsPlanRequest, DeleteQueuedSavingsPlanResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteQueuedSavingsPlanCommandInput extends DeleteQueuedSavings
22
19
  export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSavingsPlanResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteQueuedSavingsPlanCommand_base: {
25
- new (input: DeleteQueuedSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteQueuedSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteQueuedSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteQueuedSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the queued purchase for the specified Savings Plan.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeSavingsPlanRatesRequest, DescribeSavingsPlanRatesResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeSavingsPlanRatesCommandInput extends DescribeSavingsPla
22
19
  export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPlanRatesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeSavingsPlanRatesCommand_base: {
25
- new (input: DescribeSavingsPlanRatesCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeSavingsPlanRatesCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeSavingsPlanRatesCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeSavingsPlanRatesCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Describes the rates for a specific, existing Savings Plan.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeSavingsPlansRequest, DescribeSavingsPlansResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeSavingsPlansCommandInput extends DescribeSavingsPlansRe
22
19
  export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeSavingsPlansCommand_base: {
25
- new (input: DescribeSavingsPlansCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeSavingsPlansCommandInput]): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeSavingsPlansCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeSavingsPlansCommandInput]): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Describes the specified Savings Plans.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeSavingsPlansOfferingRatesRequest, DescribeSavingsPlansOfferingRatesResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeSavingsPlansOfferingRatesCommandInput extends DescribeS
22
19
  export interface DescribeSavingsPlansOfferingRatesCommandOutput extends DescribeSavingsPlansOfferingRatesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeSavingsPlansOfferingRatesCommand_base: {
25
- new (input: DescribeSavingsPlansOfferingRatesCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeSavingsPlansOfferingRatesCommandInput]): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeSavingsPlansOfferingRatesCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeSavingsPlansOfferingRatesCommandInput]): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Describes the offering rates for Savings Plans you might want to purchase.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DescribeSavingsPlansOfferingsRequest, DescribeSavingsPlansOfferingsResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeSavingsPlansOfferingsCommandInput extends DescribeSavin
22
19
  export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavingsPlansOfferingsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeSavingsPlansOfferingsCommand_base: {
25
- new (input: DescribeSavingsPlansOfferingsCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeSavingsPlansOfferingsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeSavingsPlansOfferingsCommandInput): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeSavingsPlansOfferingsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Describes the offerings for the specified Savings Plans.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
22
19
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListTagsForResourceCommand_base: {
25
- new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the tags for the specified resource.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ReturnSavingsPlanRequest, ReturnSavingsPlanResponse } from "../models/models_0";
4
- import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ReturnSavingsPlanCommandInput extends ReturnSavingsPlanRequest
22
19
  export interface ReturnSavingsPlanCommandOutput extends ReturnSavingsPlanResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ReturnSavingsPlanCommand_base: {
25
- new (input: ReturnSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<ReturnSavingsPlanCommandInput, ReturnSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ReturnSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<ReturnSavingsPlanCommandInput, ReturnSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ReturnSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<ReturnSavingsPlanCommandInput, ReturnSavingsPlanCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ReturnSavingsPlanCommandInput): import("@smithy/core/client").CommandImpl<ReturnSavingsPlanCommandInput, ReturnSavingsPlanCommandOutput, import("..").SavingsplansClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the specified Savings Plan.</p>