@aws-sdk/client-trustedadvisor 3.952.0 → 3.953.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 +179 -134
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/BatchUpdateRecommendationResourceExclusionCommand.js +2 -2
- package/dist-es/commands/GetOrganizationRecommendationCommand.js +2 -2
- package/dist-es/commands/GetRecommendationCommand.js +2 -2
- package/dist-es/commands/ListChecksCommand.js +2 -2
- package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +2 -2
- package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +2 -2
- package/dist-es/commands/ListOrganizationRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListRecommendationResourcesCommand.js +2 -2
- package/dist-es/commands/ListRecommendationsCommand.js +2 -2
- package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +2 -2
- package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +108 -114
- package/dist-types/TrustedAdvisorClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +52 -65
- package/dist-types/ts3.4/TrustedAdvisorClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -66
- package/package.json +34 -34
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.trustedadvisor",
|
|
32
|
+
version: "2022-09-15",
|
|
33
|
+
serviceTarget: "TrustedAdvisor",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "TrustedAdvisor",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { BatchUpdateRecommendationResourceExclusion } from "../schemas/schemas_0";
|
|
4
|
+
import { BatchUpdateRecommendationResourceExclusion$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class BatchUpdateRecommendationResourceExclusionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class BatchUpdateRecommendationResourceExclusionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "BatchUpdateRecommendationResourceExclusion", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "BatchUpdateRecommendationResourceExclusionCommand")
|
|
14
|
-
.sc(BatchUpdateRecommendationResourceExclusion)
|
|
14
|
+
.sc(BatchUpdateRecommendationResourceExclusion$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetOrganizationRecommendation } from "../schemas/schemas_0";
|
|
4
|
+
import { GetOrganizationRecommendation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetOrganizationRecommendationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetOrganizationRecommendationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "GetOrganizationRecommendation", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "GetOrganizationRecommendationCommand")
|
|
14
|
-
.sc(GetOrganizationRecommendation)
|
|
14
|
+
.sc(GetOrganizationRecommendation$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetRecommendation } from "../schemas/schemas_0";
|
|
4
|
+
import { GetRecommendation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRecommendationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetRecommendationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "GetRecommendation", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "GetRecommendationCommand")
|
|
14
|
-
.sc(GetRecommendation)
|
|
14
|
+
.sc(GetRecommendation$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListChecks } from "../schemas/schemas_0";
|
|
4
|
+
import { ListChecks$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListChecksCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListChecksCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "ListChecks", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "ListChecksCommand")
|
|
14
|
-
.sc(ListChecks)
|
|
14
|
+
.sc(ListChecks$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListOrganizationRecommendationAccounts } from "../schemas/schemas_0";
|
|
4
|
+
import { ListOrganizationRecommendationAccounts$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListOrganizationRecommendationAccountsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListOrganizationRecommendationAccountsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "ListOrganizationRecommendationAccounts", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "ListOrganizationRecommendationAccountsCommand")
|
|
14
|
-
.sc(ListOrganizationRecommendationAccounts)
|
|
14
|
+
.sc(ListOrganizationRecommendationAccounts$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListOrganizationRecommendationResources } from "../schemas/schemas_0";
|
|
4
|
+
import { ListOrganizationRecommendationResources$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListOrganizationRecommendationResourcesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListOrganizationRecommendationResourcesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "ListOrganizationRecommendationResources", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "ListOrganizationRecommendationResourcesCommand")
|
|
14
|
-
.sc(ListOrganizationRecommendationResources)
|
|
14
|
+
.sc(ListOrganizationRecommendationResources$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListOrganizationRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ListOrganizationRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListOrganizationRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListOrganizationRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "ListOrganizationRecommendations", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "ListOrganizationRecommendationsCommand")
|
|
14
|
-
.sc(ListOrganizationRecommendations)
|
|
14
|
+
.sc(ListOrganizationRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListRecommendationResources } from "../schemas/schemas_0";
|
|
4
|
+
import { ListRecommendationResources$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListRecommendationResourcesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListRecommendationResourcesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "ListRecommendationResources", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "ListRecommendationResourcesCommand")
|
|
14
|
-
.sc(ListRecommendationResources)
|
|
14
|
+
.sc(ListRecommendationResources$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ListRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "ListRecommendations", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "ListRecommendationsCommand")
|
|
14
|
-
.sc(ListRecommendations)
|
|
14
|
+
.sc(ListRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateOrganizationRecommendationLifecycle } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateOrganizationRecommendationLifecycle$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateOrganizationRecommendationLifecycleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateOrganizationRecommendationLifecycleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "UpdateOrganizationRecommendationLifecycle", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "UpdateOrganizationRecommendationLifecycleCommand")
|
|
14
|
-
.sc(UpdateOrganizationRecommendationLifecycle)
|
|
14
|
+
.sc(UpdateOrganizationRecommendationLifecycle$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateRecommendationLifecycle } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateRecommendationLifecycle$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRecommendationLifecycleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateRecommendationLifecycleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("TrustedAdvisor", "UpdateRecommendationLifecycle", {})
|
|
13
13
|
.n("TrustedAdvisorClient", "UpdateRecommendationLifecycleCommand")
|
|
14
|
-
.sc(UpdateRecommendationLifecycle)
|
|
14
|
+
.sc(UpdateRecommendationLifecycle$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.trustedadvisor",
|
|
29
|
+
version: "2022-09-15",
|
|
30
|
+
serviceTarget: "TrustedAdvisor",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "TrustedAdvisor",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|