@aws-sdk/client-trustedadvisor 3.927.0 → 3.929.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 +921 -759
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/TrustedAdvisorClient.js +2 -0
- package/dist-es/commands/BatchUpdateRecommendationResourceExclusionCommand.js +3 -9
- package/dist-es/commands/GetOrganizationRecommendationCommand.js +3 -10
- package/dist-es/commands/GetRecommendationCommand.js +3 -10
- package/dist-es/commands/ListChecksCommand.js +3 -9
- package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +3 -10
- package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +3 -9
- package/dist-es/commands/ListOrganizationRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListRecommendationResourcesCommand.js +3 -9
- package/dist-es/commands/ListRecommendationsCommand.js +3 -9
- package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +3 -10
- package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -37
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +894 -0
- package/dist-types/TrustedAdvisorClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -32
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +65 -0
- package/dist-types/ts3.4/TrustedAdvisorClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -24
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +71 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -633
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -101
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -137
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.trustedadvisor" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "TrustedAdvisor",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class TrustedAdvisorClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchUpdateRecommendationResourceExclusion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchUpdateRecommendationResourceExclusionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrustedAdvisor", "BatchUpdateRecommendationResourceExclusion", {})
|
|
17
13
|
.n("TrustedAdvisorClient", "BatchUpdateRecommendationResourceExclusionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchUpdateRecommendationResourceExclusionCommand)
|
|
20
|
-
.de(de_BatchUpdateRecommendationResourceExclusionCommand)
|
|
14
|
+
.sc(BatchUpdateRecommendationResourceExclusion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetOrganizationRecommendationCommand, se_GetOrganizationRecommendationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetOrganizationRecommendation } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetOrganizationRecommendationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrustedAdvisor", "GetOrganizationRecommendation", {})
|
|
18
13
|
.n("TrustedAdvisorClient", "GetOrganizationRecommendationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetOrganizationRecommendationCommand)
|
|
21
|
-
.de(de_GetOrganizationRecommendationCommand)
|
|
14
|
+
.sc(GetOrganizationRecommendation)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetRecommendationCommand, se_GetRecommendationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetRecommendation } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetRecommendationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrustedAdvisor", "GetRecommendation", {})
|
|
18
13
|
.n("TrustedAdvisorClient", "GetRecommendationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetRecommendationCommand)
|
|
21
|
-
.de(de_GetRecommendationCommand)
|
|
14
|
+
.sc(GetRecommendation)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListChecks } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListChecksCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrustedAdvisor", "ListChecks", {})
|
|
17
13
|
.n("TrustedAdvisorClient", "ListChecksCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListChecksCommand)
|
|
20
|
-
.de(de_ListChecksCommand)
|
|
14
|
+
.sc(ListChecks)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListOrganizationRecommendationAccountsCommand, se_ListOrganizationRecommendationAccountsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListOrganizationRecommendationAccounts } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListOrganizationRecommendationAccountsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrustedAdvisor", "ListOrganizationRecommendationAccounts", {})
|
|
18
13
|
.n("TrustedAdvisorClient", "ListOrganizationRecommendationAccountsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListOrganizationRecommendationAccountsCommand)
|
|
21
|
-
.de(de_ListOrganizationRecommendationAccountsCommand)
|
|
14
|
+
.sc(ListOrganizationRecommendationAccounts)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListOrganizationRecommendationResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListOrganizationRecommendationResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrustedAdvisor", "ListOrganizationRecommendationResources", {})
|
|
17
13
|
.n("TrustedAdvisorClient", "ListOrganizationRecommendationResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListOrganizationRecommendationResourcesCommand)
|
|
20
|
-
.de(de_ListOrganizationRecommendationResourcesCommand)
|
|
14
|
+
.sc(ListOrganizationRecommendationResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListOrganizationRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListOrganizationRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrustedAdvisor", "ListOrganizationRecommendations", {})
|
|
17
13
|
.n("TrustedAdvisorClient", "ListOrganizationRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListOrganizationRecommendationsCommand)
|
|
20
|
-
.de(de_ListOrganizationRecommendationsCommand)
|
|
14
|
+
.sc(ListOrganizationRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListRecommendationResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListRecommendationResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrustedAdvisor", "ListRecommendationResources", {})
|
|
17
13
|
.n("TrustedAdvisorClient", "ListRecommendationResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListRecommendationResourcesCommand)
|
|
20
|
-
.de(de_ListRecommendationResourcesCommand)
|
|
14
|
+
.sc(ListRecommendationResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TrustedAdvisor", "ListRecommendations", {})
|
|
17
13
|
.n("TrustedAdvisorClient", "ListRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListRecommendationsCommand)
|
|
20
|
-
.de(de_ListRecommendationsCommand)
|
|
14
|
+
.sc(ListRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateOrganizationRecommendationLifecycleCommand, se_UpdateOrganizationRecommendationLifecycleCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateOrganizationRecommendationLifecycle } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateOrganizationRecommendationLifecycleCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrustedAdvisor", "UpdateOrganizationRecommendationLifecycle", {})
|
|
18
13
|
.n("TrustedAdvisorClient", "UpdateOrganizationRecommendationLifecycleCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateOrganizationRecommendationLifecycleCommand)
|
|
21
|
-
.de(de_UpdateOrganizationRecommendationLifecycleCommand)
|
|
14
|
+
.sc(UpdateOrganizationRecommendationLifecycle)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateRecommendationLifecycleCommand, se_UpdateRecommendationLifecycleCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateRecommendationLifecycle } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateRecommendationLifecycleCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TrustedAdvisor", "UpdateRecommendationLifecycle", {})
|
|
18
13
|
.n("TrustedAdvisorClient", "UpdateRecommendationLifecycleCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateRecommendationLifecycleCommand)
|
|
21
|
-
.de(de_UpdateRecommendationLifecycleCommand)
|
|
14
|
+
.sc(UpdateRecommendationLifecycle)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { TrustedAdvisorServiceException as __BaseException } from "./TrustedAdvisorServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -151,39 +150,3 @@ export const UpdateRecommendationLifecycleStage = {
|
|
|
151
150
|
PENDING_RESPONSE: "pending_response",
|
|
152
151
|
RESOLVED: "resolved",
|
|
153
152
|
};
|
|
154
|
-
export const AccountRecommendationLifecycleSummaryFilterSensitiveLog = (obj) => ({
|
|
155
|
-
...obj,
|
|
156
|
-
...(obj.updateReason && { updateReason: SENSITIVE_STRING }),
|
|
157
|
-
});
|
|
158
|
-
export const OrganizationRecommendationFilterSensitiveLog = (obj) => ({
|
|
159
|
-
...obj,
|
|
160
|
-
...(obj.updateReason && { updateReason: SENSITIVE_STRING }),
|
|
161
|
-
});
|
|
162
|
-
export const GetOrganizationRecommendationResponseFilterSensitiveLog = (obj) => ({
|
|
163
|
-
...obj,
|
|
164
|
-
...(obj.organizationRecommendation && {
|
|
165
|
-
organizationRecommendation: OrganizationRecommendationFilterSensitiveLog(obj.organizationRecommendation),
|
|
166
|
-
}),
|
|
167
|
-
});
|
|
168
|
-
export const RecommendationFilterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
...(obj.updateReason && { updateReason: SENSITIVE_STRING }),
|
|
171
|
-
});
|
|
172
|
-
export const GetRecommendationResponseFilterSensitiveLog = (obj) => ({
|
|
173
|
-
...obj,
|
|
174
|
-
...(obj.recommendation && { recommendation: RecommendationFilterSensitiveLog(obj.recommendation) }),
|
|
175
|
-
});
|
|
176
|
-
export const ListOrganizationRecommendationAccountsResponseFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
...(obj.accountRecommendationLifecycleSummaries && {
|
|
179
|
-
accountRecommendationLifecycleSummaries: obj.accountRecommendationLifecycleSummaries.map((item) => AccountRecommendationLifecycleSummaryFilterSensitiveLog(item)),
|
|
180
|
-
}),
|
|
181
|
-
});
|
|
182
|
-
export const UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
...(obj.updateReason && { updateReason: SENSITIVE_STRING }),
|
|
185
|
-
});
|
|
186
|
-
export const UpdateRecommendationLifecycleRequestFilterSensitiveLog = (obj) => ({
|
|
187
|
-
...obj,
|
|
188
|
-
...(obj.updateReason && { updateReason: SENSITIVE_STRING }),
|
|
189
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.trustedadvisor" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "TrustedAdvisor",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|