@aws-sdk/client-trustedadvisor 3.1076.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.
- package/dist-cjs/index.js +22 -115
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BatchUpdateRecommendationResourceExclusionCommand.js +2 -14
- package/dist-es/commands/GetOrganizationRecommendationCommand.js +2 -14
- package/dist-es/commands/GetRecommendationCommand.js +2 -14
- package/dist-es/commands/ListChecksCommand.js +2 -14
- package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +2 -14
- package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +2 -14
- package/dist-es/commands/ListOrganizationRecommendationsCommand.js +2 -14
- package/dist-es/commands/ListRecommendationResourcesCommand.js +2 -14
- package/dist-es/commands/ListRecommendationsCommand.js +2 -14
- package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +2 -14
- package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/BatchUpdateRecommendationResourceExclusionCommand.d.ts +3 -8
- package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +3 -8
- package/dist-types/commands/GetRecommendationCommand.d.ts +3 -8
- package/dist-types/commands/ListChecksCommand.d.ts +3 -8
- package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +3 -8
- package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +3 -8
- package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/BatchUpdateRecommendationResourceExclusionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetOrganizationRecommendationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListChecksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationAccountsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationResourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRecommendationResourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateRecommendationLifecycleCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
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,
|
|
4
|
-
|
|
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");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultTrustedAdvisorHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -636,6 +638,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
636
638
|
serviceTarget: "TrustedAdvisor",
|
|
637
639
|
},
|
|
638
640
|
serviceId: config?.serviceId ?? "TrustedAdvisor",
|
|
641
|
+
sha256: config?.sha256 ?? Sha256,
|
|
639
642
|
urlParser: config?.urlParser ?? parseUrl,
|
|
640
643
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
641
644
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -669,7 +672,6 @@ const getRuntimeConfig = (config) => {
|
|
|
669
672
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
670
673
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
671
674
|
}, config),
|
|
672
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
673
675
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
674
676
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
675
677
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -757,136 +759,41 @@ class TrustedAdvisorClient extends Client {
|
|
|
757
759
|
}
|
|
758
760
|
}
|
|
759
761
|
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
})
|
|
766
|
-
.s("TrustedAdvisor", "BatchUpdateRecommendationResourceExclusion", {})
|
|
767
|
-
.n("TrustedAdvisorClient", "BatchUpdateRecommendationResourceExclusionCommand")
|
|
768
|
-
.sc(BatchUpdateRecommendationResourceExclusion$)
|
|
769
|
-
.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$) {
|
|
770
767
|
}
|
|
771
768
|
|
|
772
|
-
class GetOrganizationRecommendationCommand extends
|
|
773
|
-
.classBuilder()
|
|
774
|
-
.ep(commonParams)
|
|
775
|
-
.m(function (Command, cs, config, o) {
|
|
776
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
777
|
-
})
|
|
778
|
-
.s("TrustedAdvisor", "GetOrganizationRecommendation", {})
|
|
779
|
-
.n("TrustedAdvisorClient", "GetOrganizationRecommendationCommand")
|
|
780
|
-
.sc(GetOrganizationRecommendation$)
|
|
781
|
-
.build() {
|
|
769
|
+
class GetOrganizationRecommendationCommand extends command(_ep0, _mw0, "GetOrganizationRecommendation", GetOrganizationRecommendation$) {
|
|
782
770
|
}
|
|
783
771
|
|
|
784
|
-
class GetRecommendationCommand extends
|
|
785
|
-
.classBuilder()
|
|
786
|
-
.ep(commonParams)
|
|
787
|
-
.m(function (Command, cs, config, o) {
|
|
788
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
789
|
-
})
|
|
790
|
-
.s("TrustedAdvisor", "GetRecommendation", {})
|
|
791
|
-
.n("TrustedAdvisorClient", "GetRecommendationCommand")
|
|
792
|
-
.sc(GetRecommendation$)
|
|
793
|
-
.build() {
|
|
772
|
+
class GetRecommendationCommand extends command(_ep0, _mw0, "GetRecommendation", GetRecommendation$) {
|
|
794
773
|
}
|
|
795
774
|
|
|
796
|
-
class ListChecksCommand extends
|
|
797
|
-
.classBuilder()
|
|
798
|
-
.ep(commonParams)
|
|
799
|
-
.m(function (Command, cs, config, o) {
|
|
800
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
801
|
-
})
|
|
802
|
-
.s("TrustedAdvisor", "ListChecks", {})
|
|
803
|
-
.n("TrustedAdvisorClient", "ListChecksCommand")
|
|
804
|
-
.sc(ListChecks$)
|
|
805
|
-
.build() {
|
|
775
|
+
class ListChecksCommand extends command(_ep0, _mw0, "ListChecks", ListChecks$) {
|
|
806
776
|
}
|
|
807
777
|
|
|
808
|
-
class ListOrganizationRecommendationAccountsCommand extends
|
|
809
|
-
.classBuilder()
|
|
810
|
-
.ep(commonParams)
|
|
811
|
-
.m(function (Command, cs, config, o) {
|
|
812
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
813
|
-
})
|
|
814
|
-
.s("TrustedAdvisor", "ListOrganizationRecommendationAccounts", {})
|
|
815
|
-
.n("TrustedAdvisorClient", "ListOrganizationRecommendationAccountsCommand")
|
|
816
|
-
.sc(ListOrganizationRecommendationAccounts$)
|
|
817
|
-
.build() {
|
|
778
|
+
class ListOrganizationRecommendationAccountsCommand extends command(_ep0, _mw0, "ListOrganizationRecommendationAccounts", ListOrganizationRecommendationAccounts$) {
|
|
818
779
|
}
|
|
819
780
|
|
|
820
|
-
class ListOrganizationRecommendationResourcesCommand extends
|
|
821
|
-
.classBuilder()
|
|
822
|
-
.ep(commonParams)
|
|
823
|
-
.m(function (Command, cs, config, o) {
|
|
824
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
825
|
-
})
|
|
826
|
-
.s("TrustedAdvisor", "ListOrganizationRecommendationResources", {})
|
|
827
|
-
.n("TrustedAdvisorClient", "ListOrganizationRecommendationResourcesCommand")
|
|
828
|
-
.sc(ListOrganizationRecommendationResources$)
|
|
829
|
-
.build() {
|
|
781
|
+
class ListOrganizationRecommendationResourcesCommand extends command(_ep0, _mw0, "ListOrganizationRecommendationResources", ListOrganizationRecommendationResources$) {
|
|
830
782
|
}
|
|
831
783
|
|
|
832
|
-
class ListOrganizationRecommendationsCommand extends
|
|
833
|
-
.classBuilder()
|
|
834
|
-
.ep(commonParams)
|
|
835
|
-
.m(function (Command, cs, config, o) {
|
|
836
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
837
|
-
})
|
|
838
|
-
.s("TrustedAdvisor", "ListOrganizationRecommendations", {})
|
|
839
|
-
.n("TrustedAdvisorClient", "ListOrganizationRecommendationsCommand")
|
|
840
|
-
.sc(ListOrganizationRecommendations$)
|
|
841
|
-
.build() {
|
|
784
|
+
class ListOrganizationRecommendationsCommand extends command(_ep0, _mw0, "ListOrganizationRecommendations", ListOrganizationRecommendations$) {
|
|
842
785
|
}
|
|
843
786
|
|
|
844
|
-
class ListRecommendationResourcesCommand extends
|
|
845
|
-
.classBuilder()
|
|
846
|
-
.ep(commonParams)
|
|
847
|
-
.m(function (Command, cs, config, o) {
|
|
848
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
849
|
-
})
|
|
850
|
-
.s("TrustedAdvisor", "ListRecommendationResources", {})
|
|
851
|
-
.n("TrustedAdvisorClient", "ListRecommendationResourcesCommand")
|
|
852
|
-
.sc(ListRecommendationResources$)
|
|
853
|
-
.build() {
|
|
787
|
+
class ListRecommendationResourcesCommand extends command(_ep0, _mw0, "ListRecommendationResources", ListRecommendationResources$) {
|
|
854
788
|
}
|
|
855
789
|
|
|
856
|
-
class ListRecommendationsCommand extends
|
|
857
|
-
.classBuilder()
|
|
858
|
-
.ep(commonParams)
|
|
859
|
-
.m(function (Command, cs, config, o) {
|
|
860
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
861
|
-
})
|
|
862
|
-
.s("TrustedAdvisor", "ListRecommendations", {})
|
|
863
|
-
.n("TrustedAdvisorClient", "ListRecommendationsCommand")
|
|
864
|
-
.sc(ListRecommendations$)
|
|
865
|
-
.build() {
|
|
790
|
+
class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
|
|
866
791
|
}
|
|
867
792
|
|
|
868
|
-
class UpdateOrganizationRecommendationLifecycleCommand extends
|
|
869
|
-
.classBuilder()
|
|
870
|
-
.ep(commonParams)
|
|
871
|
-
.m(function (Command, cs, config, o) {
|
|
872
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
873
|
-
})
|
|
874
|
-
.s("TrustedAdvisor", "UpdateOrganizationRecommendationLifecycle", {})
|
|
875
|
-
.n("TrustedAdvisorClient", "UpdateOrganizationRecommendationLifecycleCommand")
|
|
876
|
-
.sc(UpdateOrganizationRecommendationLifecycle$)
|
|
877
|
-
.build() {
|
|
793
|
+
class UpdateOrganizationRecommendationLifecycleCommand extends command(_ep0, _mw0, "UpdateOrganizationRecommendationLifecycle", UpdateOrganizationRecommendationLifecycle$) {
|
|
878
794
|
}
|
|
879
795
|
|
|
880
|
-
class UpdateRecommendationLifecycleCommand extends
|
|
881
|
-
.classBuilder()
|
|
882
|
-
.ep(commonParams)
|
|
883
|
-
.m(function (Command, cs, config, o) {
|
|
884
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
885
|
-
})
|
|
886
|
-
.s("TrustedAdvisor", "UpdateRecommendationLifecycle", {})
|
|
887
|
-
.n("TrustedAdvisorClient", "UpdateRecommendationLifecycleCommand")
|
|
888
|
-
.sc(UpdateRecommendationLifecycle$)
|
|
889
|
-
.build() {
|
|
796
|
+
class UpdateRecommendationLifecycleCommand extends command(_ep0, _mw0, "UpdateRecommendationLifecycle", UpdateRecommendationLifecycle$) {
|
|
890
797
|
}
|
|
891
798
|
|
|
892
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "TrustedAdvisor",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "TrustedAdvisor",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -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>
|