@aws-sdk/client-trustedadvisor 3.1077.0 → 3.1078.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 (41) hide show
  1. package/dist-cjs/index.js +19 -113
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchUpdateRecommendationResourceExclusionCommand.js +2 -14
  4. package/dist-es/commands/GetOrganizationRecommendationCommand.js +2 -14
  5. package/dist-es/commands/GetRecommendationCommand.js +2 -14
  6. package/dist-es/commands/ListChecksCommand.js +2 -14
  7. package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +2 -14
  8. package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +2 -14
  9. package/dist-es/commands/ListOrganizationRecommendationsCommand.js +2 -14
  10. package/dist-es/commands/ListRecommendationResourcesCommand.js +2 -14
  11. package/dist-es/commands/ListRecommendationsCommand.js +2 -14
  12. package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +2 -14
  13. package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +2 -14
  14. package/dist-es/index.js +1 -0
  15. package/dist-types/commandBuilder.d.ts +18 -0
  16. package/dist-types/commands/BatchUpdateRecommendationResourceExclusionCommand.d.ts +3 -8
  17. package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +3 -8
  18. package/dist-types/commands/GetRecommendationCommand.d.ts +3 -8
  19. package/dist-types/commands/ListChecksCommand.d.ts +3 -8
  20. package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +3 -8
  21. package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +3 -8
  22. package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +3 -8
  23. package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +3 -8
  24. package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -8
  25. package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +3 -8
  26. package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +3 -8
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  29. package/dist-types/ts3.4/commands/BatchUpdateRecommendationResourceExclusionCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/GetOrganizationRecommendationCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/ListChecksCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/ListOrganizationRecommendationAccountsCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/ListOrganizationRecommendationResourcesCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/ListOrganizationRecommendationsCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/ListRecommendationResourcesCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/UpdateRecommendationLifecycleCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/index.d.ts +1 -0
  41. 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, createPaginator } = 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -758,136 +759,41 @@ class TrustedAdvisorClient extends Client {
758
759
  }
759
760
  }
760
761
 
761
- class BatchUpdateRecommendationResourceExclusionCommand extends Command
762
- .classBuilder()
763
- .ep(commonParams)
764
- .m(function (Command, cs, config, o) {
765
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
766
- })
767
- .s("TrustedAdvisor", "BatchUpdateRecommendationResourceExclusion", {})
768
- .n("TrustedAdvisorClient", "BatchUpdateRecommendationResourceExclusionCommand")
769
- .sc(BatchUpdateRecommendationResourceExclusion$)
770
- .build() {
762
+ const command = makeBuilder(commonParams, "TrustedAdvisor", "TrustedAdvisorClient", getEndpointPlugin);
763
+ const _ep0 = {};
764
+ const _mw0 = (Command, cs, config, o) => [];
765
+
766
+ class BatchUpdateRecommendationResourceExclusionCommand extends command(_ep0, _mw0, "BatchUpdateRecommendationResourceExclusion", BatchUpdateRecommendationResourceExclusion$) {
771
767
  }
772
768
 
773
- class GetOrganizationRecommendationCommand extends Command
774
- .classBuilder()
775
- .ep(commonParams)
776
- .m(function (Command, cs, config, o) {
777
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
778
- })
779
- .s("TrustedAdvisor", "GetOrganizationRecommendation", {})
780
- .n("TrustedAdvisorClient", "GetOrganizationRecommendationCommand")
781
- .sc(GetOrganizationRecommendation$)
782
- .build() {
769
+ class GetOrganizationRecommendationCommand extends command(_ep0, _mw0, "GetOrganizationRecommendation", GetOrganizationRecommendation$) {
783
770
  }
784
771
 
785
- class GetRecommendationCommand extends Command
786
- .classBuilder()
787
- .ep(commonParams)
788
- .m(function (Command, cs, config, o) {
789
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
790
- })
791
- .s("TrustedAdvisor", "GetRecommendation", {})
792
- .n("TrustedAdvisorClient", "GetRecommendationCommand")
793
- .sc(GetRecommendation$)
794
- .build() {
772
+ class GetRecommendationCommand extends command(_ep0, _mw0, "GetRecommendation", GetRecommendation$) {
795
773
  }
796
774
 
797
- class ListChecksCommand extends Command
798
- .classBuilder()
799
- .ep(commonParams)
800
- .m(function (Command, cs, config, o) {
801
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
802
- })
803
- .s("TrustedAdvisor", "ListChecks", {})
804
- .n("TrustedAdvisorClient", "ListChecksCommand")
805
- .sc(ListChecks$)
806
- .build() {
775
+ class ListChecksCommand extends command(_ep0, _mw0, "ListChecks", ListChecks$) {
807
776
  }
808
777
 
809
- class ListOrganizationRecommendationAccountsCommand extends Command
810
- .classBuilder()
811
- .ep(commonParams)
812
- .m(function (Command, cs, config, o) {
813
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
814
- })
815
- .s("TrustedAdvisor", "ListOrganizationRecommendationAccounts", {})
816
- .n("TrustedAdvisorClient", "ListOrganizationRecommendationAccountsCommand")
817
- .sc(ListOrganizationRecommendationAccounts$)
818
- .build() {
778
+ class ListOrganizationRecommendationAccountsCommand extends command(_ep0, _mw0, "ListOrganizationRecommendationAccounts", ListOrganizationRecommendationAccounts$) {
819
779
  }
820
780
 
821
- class ListOrganizationRecommendationResourcesCommand extends Command
822
- .classBuilder()
823
- .ep(commonParams)
824
- .m(function (Command, cs, config, o) {
825
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
826
- })
827
- .s("TrustedAdvisor", "ListOrganizationRecommendationResources", {})
828
- .n("TrustedAdvisorClient", "ListOrganizationRecommendationResourcesCommand")
829
- .sc(ListOrganizationRecommendationResources$)
830
- .build() {
781
+ class ListOrganizationRecommendationResourcesCommand extends command(_ep0, _mw0, "ListOrganizationRecommendationResources", ListOrganizationRecommendationResources$) {
831
782
  }
832
783
 
833
- class ListOrganizationRecommendationsCommand extends Command
834
- .classBuilder()
835
- .ep(commonParams)
836
- .m(function (Command, cs, config, o) {
837
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
838
- })
839
- .s("TrustedAdvisor", "ListOrganizationRecommendations", {})
840
- .n("TrustedAdvisorClient", "ListOrganizationRecommendationsCommand")
841
- .sc(ListOrganizationRecommendations$)
842
- .build() {
784
+ class ListOrganizationRecommendationsCommand extends command(_ep0, _mw0, "ListOrganizationRecommendations", ListOrganizationRecommendations$) {
843
785
  }
844
786
 
845
- class ListRecommendationResourcesCommand extends Command
846
- .classBuilder()
847
- .ep(commonParams)
848
- .m(function (Command, cs, config, o) {
849
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
850
- })
851
- .s("TrustedAdvisor", "ListRecommendationResources", {})
852
- .n("TrustedAdvisorClient", "ListRecommendationResourcesCommand")
853
- .sc(ListRecommendationResources$)
854
- .build() {
787
+ class ListRecommendationResourcesCommand extends command(_ep0, _mw0, "ListRecommendationResources", ListRecommendationResources$) {
855
788
  }
856
789
 
857
- class ListRecommendationsCommand extends Command
858
- .classBuilder()
859
- .ep(commonParams)
860
- .m(function (Command, cs, config, o) {
861
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
862
- })
863
- .s("TrustedAdvisor", "ListRecommendations", {})
864
- .n("TrustedAdvisorClient", "ListRecommendationsCommand")
865
- .sc(ListRecommendations$)
866
- .build() {
790
+ class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
867
791
  }
868
792
 
869
- class UpdateOrganizationRecommendationLifecycleCommand extends Command
870
- .classBuilder()
871
- .ep(commonParams)
872
- .m(function (Command, cs, config, o) {
873
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
874
- })
875
- .s("TrustedAdvisor", "UpdateOrganizationRecommendationLifecycle", {})
876
- .n("TrustedAdvisorClient", "UpdateOrganizationRecommendationLifecycleCommand")
877
- .sc(UpdateOrganizationRecommendationLifecycle$)
878
- .build() {
793
+ class UpdateOrganizationRecommendationLifecycleCommand extends command(_ep0, _mw0, "UpdateOrganizationRecommendationLifecycle", UpdateOrganizationRecommendationLifecycle$) {
879
794
  }
880
795
 
881
- class UpdateRecommendationLifecycleCommand extends Command
882
- .classBuilder()
883
- .ep(commonParams)
884
- .m(function (Command, cs, config, o) {
885
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
886
- })
887
- .s("TrustedAdvisor", "UpdateRecommendationLifecycle", {})
888
- .n("TrustedAdvisorClient", "UpdateRecommendationLifecycleCommand")
889
- .sc(UpdateRecommendationLifecycle$)
890
- .build() {
796
+ class UpdateRecommendationLifecycleCommand extends command(_ep0, _mw0, "UpdateRecommendationLifecycle", UpdateRecommendationLifecycle$) {
891
797
  }
892
798
 
893
799
  const paginateListChecks = createPaginator(TrustedAdvisorClient, ListChecksCommand, "nextToken", "nextToken", "maxResults");
@@ -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, "TrustedAdvisor", "TrustedAdvisorClient", 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 { BatchUpdateRecommendationResourceExclusion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchUpdateRecommendationResourceExclusionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "BatchUpdateRecommendationResourceExclusion", {})
13
- .n("TrustedAdvisorClient", "BatchUpdateRecommendationResourceExclusionCommand")
14
- .sc(BatchUpdateRecommendationResourceExclusion$)
15
- .build() {
3
+ export class BatchUpdateRecommendationResourceExclusionCommand extends command(_ep0, _mw0, "BatchUpdateRecommendationResourceExclusion", BatchUpdateRecommendationResourceExclusion$) {
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 { GetOrganizationRecommendation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetOrganizationRecommendationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "GetOrganizationRecommendation", {})
13
- .n("TrustedAdvisorClient", "GetOrganizationRecommendationCommand")
14
- .sc(GetOrganizationRecommendation$)
15
- .build() {
3
+ export class GetOrganizationRecommendationCommand extends command(_ep0, _mw0, "GetOrganizationRecommendation", GetOrganizationRecommendation$) {
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 { GetRecommendation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRecommendationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "GetRecommendation", {})
13
- .n("TrustedAdvisorClient", "GetRecommendationCommand")
14
- .sc(GetRecommendation$)
15
- .build() {
3
+ export class GetRecommendationCommand extends command(_ep0, _mw0, "GetRecommendation", GetRecommendation$) {
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 { ListChecks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListChecksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "ListChecks", {})
13
- .n("TrustedAdvisorClient", "ListChecksCommand")
14
- .sc(ListChecks$)
15
- .build() {
3
+ export class ListChecksCommand extends command(_ep0, _mw0, "ListChecks", ListChecks$) {
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 { ListOrganizationRecommendationAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListOrganizationRecommendationAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "ListOrganizationRecommendationAccounts", {})
13
- .n("TrustedAdvisorClient", "ListOrganizationRecommendationAccountsCommand")
14
- .sc(ListOrganizationRecommendationAccounts$)
15
- .build() {
3
+ export class ListOrganizationRecommendationAccountsCommand extends command(_ep0, _mw0, "ListOrganizationRecommendationAccounts", ListOrganizationRecommendationAccounts$) {
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 { ListOrganizationRecommendationResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListOrganizationRecommendationResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "ListOrganizationRecommendationResources", {})
13
- .n("TrustedAdvisorClient", "ListOrganizationRecommendationResourcesCommand")
14
- .sc(ListOrganizationRecommendationResources$)
15
- .build() {
3
+ export class ListOrganizationRecommendationResourcesCommand extends command(_ep0, _mw0, "ListOrganizationRecommendationResources", ListOrganizationRecommendationResources$) {
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 { ListOrganizationRecommendations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListOrganizationRecommendationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "ListOrganizationRecommendations", {})
13
- .n("TrustedAdvisorClient", "ListOrganizationRecommendationsCommand")
14
- .sc(ListOrganizationRecommendations$)
15
- .build() {
3
+ export class ListOrganizationRecommendationsCommand extends command(_ep0, _mw0, "ListOrganizationRecommendations", ListOrganizationRecommendations$) {
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 { ListRecommendationResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRecommendationResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "ListRecommendationResources", {})
13
- .n("TrustedAdvisorClient", "ListRecommendationResourcesCommand")
14
- .sc(ListRecommendationResources$)
15
- .build() {
3
+ export class ListRecommendationResourcesCommand extends command(_ep0, _mw0, "ListRecommendationResources", ListRecommendationResources$) {
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 { ListRecommendations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRecommendationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "ListRecommendations", {})
13
- .n("TrustedAdvisorClient", "ListRecommendationsCommand")
14
- .sc(ListRecommendations$)
15
- .build() {
3
+ export class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
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 { UpdateOrganizationRecommendationLifecycle$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateOrganizationRecommendationLifecycleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "UpdateOrganizationRecommendationLifecycle", {})
13
- .n("TrustedAdvisorClient", "UpdateOrganizationRecommendationLifecycleCommand")
14
- .sc(UpdateOrganizationRecommendationLifecycle$)
15
- .build() {
3
+ export class UpdateOrganizationRecommendationLifecycleCommand extends command(_ep0, _mw0, "UpdateOrganizationRecommendationLifecycle", UpdateOrganizationRecommendationLifecycle$) {
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 { UpdateRecommendationLifecycle$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateRecommendationLifecycleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TrustedAdvisor", "UpdateRecommendationLifecycle", {})
13
- .n("TrustedAdvisorClient", "UpdateRecommendationLifecycleCommand")
14
- .sc(UpdateRecommendationLifecycle$)
15
- .build() {
3
+ export class UpdateRecommendationLifecycleCommand extends command(_ep0, _mw0, "UpdateRecommendationLifecycle", UpdateRecommendationLifecycle$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./TrustedAdvisorClient";
2
2
  export * from "./TrustedAdvisor";
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 "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "./TrustedAdvisorClient";
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, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, TrustedAdvisorClientResolvedConfig, 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 { BatchUpdateRecommendationResourceExclusionRequest, BatchUpdateRecommendationResourceExclusionResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
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 BatchUpdateRecommendationResourceExclusionCommandInput extends
22
19
  export interface BatchUpdateRecommendationResourceExclusionCommandOutput extends BatchUpdateRecommendationResourceExclusionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const BatchUpdateRecommendationResourceExclusionCommand_base: {
25
- new (input: BatchUpdateRecommendationResourceExclusionCommandInput): import("@smithy/core/client").CommandImpl<BatchUpdateRecommendationResourceExclusionCommandInput, BatchUpdateRecommendationResourceExclusionCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchUpdateRecommendationResourceExclusionCommandInput): import("@smithy/core/client").CommandImpl<BatchUpdateRecommendationResourceExclusionCommandInput, BatchUpdateRecommendationResourceExclusionCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchUpdateRecommendationResourceExclusionCommandInput): import("@smithy/core/client").CommandImpl<BatchUpdateRecommendationResourceExclusionCommandInput, BatchUpdateRecommendationResourceExclusionCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchUpdateRecommendationResourceExclusionCommandInput): import("@smithy/core/client").CommandImpl<BatchUpdateRecommendationResourceExclusionCommandInput, BatchUpdateRecommendationResourceExclusionCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Update one or more exclusion statuses for a list of recommendation resources. This API supports up to 25 unique recommendation resource ARNs per request. This API currently doesn't support prioritized recommendation resources. This API updates global recommendations, eliminating the need to call the API in each AWS Region. After submitting an exclusion update, note that it might take a few minutes for the changes to be reflected in the system.</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 { GetOrganizationRecommendationRequest, GetOrganizationRecommendationResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
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 GetOrganizationRecommendationCommandInput extends GetOrganizati
22
19
  export interface GetOrganizationRecommendationCommandOutput extends GetOrganizationRecommendationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetOrganizationRecommendationCommand_base: {
25
- new (input: GetOrganizationRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetOrganizationRecommendationCommandInput, GetOrganizationRecommendationCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetOrganizationRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetOrganizationRecommendationCommandInput, GetOrganizationRecommendationCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetOrganizationRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetOrganizationRecommendationCommandInput, GetOrganizationRecommendationCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetOrganizationRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetOrganizationRecommendationCommandInput, GetOrganizationRecommendationCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region. </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 { GetRecommendationRequest, GetRecommendationResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
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 GetRecommendationCommandInput extends GetRecommendationRequest
22
19
  export interface GetRecommendationCommandOutput extends GetRecommendationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetRecommendationCommand_base: {
25
- new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Get a specific Recommendation. This API provides global recommendations, eliminating the need to call the API in each AWS Region.</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 { ListChecksRequest, ListChecksResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
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 ListChecksCommandInput extends ListChecksRequest {
22
19
  export interface ListChecksCommandOutput extends ListChecksResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListChecksCommand_base: {
25
- new (input: ListChecksCommandInput): import("@smithy/core/client").CommandImpl<ListChecksCommandInput, ListChecksCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListChecksCommandInput]): import("@smithy/core/client").CommandImpl<ListChecksCommandInput, ListChecksCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListChecksCommandInput): import("@smithy/core/client").CommandImpl<ListChecksCommandInput, ListChecksCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListChecksCommandInput]): import("@smithy/core/client").CommandImpl<ListChecksCommandInput, ListChecksCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>List a filterable set of Checks. This API provides global recommendations, eliminating the need to call the API in each AWS Region.</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 { ListOrganizationRecommendationAccountsRequest, ListOrganizationRecommendationAccountsResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
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 ListOrganizationRecommendationAccountsCommandInput extends List
22
19
  export interface ListOrganizationRecommendationAccountsCommandOutput extends ListOrganizationRecommendationAccountsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListOrganizationRecommendationAccountsCommand_base: {
25
- new (input: ListOrganizationRecommendationAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationAccountsCommandInput, ListOrganizationRecommendationAccountsCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListOrganizationRecommendationAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationAccountsCommandInput, ListOrganizationRecommendationAccountsCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListOrganizationRecommendationAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationAccountsCommandInput, ListOrganizationRecommendationAccountsCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListOrganizationRecommendationAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationAccountsCommandInput, ListOrganizationRecommendationAccountsCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region. </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 { ListOrganizationRecommendationResourcesRequest, ListOrganizationRecommendationResourcesResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
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 ListOrganizationRecommendationResourcesCommandInput extends Lis
22
19
  export interface ListOrganizationRecommendationResourcesCommandOutput extends ListOrganizationRecommendationResourcesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListOrganizationRecommendationResourcesCommand_base: {
25
- new (input: ListOrganizationRecommendationResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationResourcesCommandInput, ListOrganizationRecommendationResourcesCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListOrganizationRecommendationResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationResourcesCommandInput, ListOrganizationRecommendationResourcesCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListOrganizationRecommendationResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationResourcesCommandInput, ListOrganizationRecommendationResourcesCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListOrganizationRecommendationResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListOrganizationRecommendationResourcesCommandInput, ListOrganizationRecommendationResourcesCommandOutput, import("..").TrustedAdvisorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations and provides global priority recommendations, eliminating the need to call the API in each AWS Region. </p>