@aws-sdk/client-trustedadvisor 3.758.0 → 3.772.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 +31 -31
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AccountRecommendationLifecycleSummaryFilterSensitiveLog: () => AccountRecommendationLifecycleSummaryFilterSensitiveLog,
|
|
26
26
|
BatchUpdateRecommendationResourceExclusionCommand: () => BatchUpdateRecommendationResourceExclusionCommand,
|
|
@@ -67,7 +67,7 @@ __export(src_exports, {
|
|
|
67
67
|
paginateListRecommendationResources: () => paginateListRecommendationResources,
|
|
68
68
|
paginateListRecommendations: () => paginateListRecommendations
|
|
69
69
|
});
|
|
70
|
-
module.exports = __toCommonJS(
|
|
70
|
+
module.exports = __toCommonJS(index_exports);
|
|
71
71
|
|
|
72
72
|
// src/TrustedAdvisorClient.ts
|
|
73
73
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -194,9 +194,9 @@ var TrustedAdvisorClient = class extends import_smithy_client.Client {
|
|
|
194
194
|
this.middlewareStack.use(
|
|
195
195
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
196
196
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTrustedAdvisorHttpAuthSchemeParametersProvider,
|
|
197
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
197
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
198
198
|
"aws.auth#sigv4": config.credentials
|
|
199
|
-
})
|
|
199
|
+
}), "identityProviderConfigProvider")
|
|
200
200
|
})
|
|
201
201
|
);
|
|
202
202
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -479,7 +479,7 @@ var se_BatchUpdateRecommendationResourceExclusionCommand = /* @__PURE__ */ __nam
|
|
|
479
479
|
let body;
|
|
480
480
|
body = JSON.stringify(
|
|
481
481
|
(0, import_smithy_client.take)(input, {
|
|
482
|
-
recommendationResourceExclusions: (_) => (0, import_smithy_client._json)(_)
|
|
482
|
+
recommendationResourceExclusions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "recommendationResourceExclusions")
|
|
483
483
|
})
|
|
484
484
|
);
|
|
485
485
|
b.m("PUT").h(headers).b(body);
|
|
@@ -685,7 +685,7 @@ var de_GetOrganizationRecommendationCommand = /* @__PURE__ */ __name(async (outp
|
|
|
685
685
|
});
|
|
686
686
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
687
687
|
const doc = (0, import_smithy_client.take)(data, {
|
|
688
|
-
organizationRecommendation: (_) => de_OrganizationRecommendation(_, context)
|
|
688
|
+
organizationRecommendation: /* @__PURE__ */ __name((_) => de_OrganizationRecommendation(_, context), "organizationRecommendation")
|
|
689
689
|
});
|
|
690
690
|
Object.assign(contents, doc);
|
|
691
691
|
return contents;
|
|
@@ -699,7 +699,7 @@ var de_GetRecommendationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
699
699
|
});
|
|
700
700
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
701
701
|
const doc = (0, import_smithy_client.take)(data, {
|
|
702
|
-
recommendation: (_) => de_Recommendation(_, context)
|
|
702
|
+
recommendation: /* @__PURE__ */ __name((_) => de_Recommendation(_, context), "recommendation")
|
|
703
703
|
});
|
|
704
704
|
Object.assign(contents, doc);
|
|
705
705
|
return contents;
|
|
@@ -728,7 +728,7 @@ var de_ListOrganizationRecommendationAccountsCommand = /* @__PURE__ */ __name(as
|
|
|
728
728
|
});
|
|
729
729
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
730
730
|
const doc = (0, import_smithy_client.take)(data, {
|
|
731
|
-
accountRecommendationLifecycleSummaries: (_) => de_AccountRecommendationLifecycleSummaryList(_, context),
|
|
731
|
+
accountRecommendationLifecycleSummaries: /* @__PURE__ */ __name((_) => de_AccountRecommendationLifecycleSummaryList(_, context), "accountRecommendationLifecycleSummaries"),
|
|
732
732
|
nextToken: import_smithy_client.expectString
|
|
733
733
|
});
|
|
734
734
|
Object.assign(contents, doc);
|
|
@@ -744,7 +744,7 @@ var de_ListOrganizationRecommendationResourcesCommand = /* @__PURE__ */ __name(a
|
|
|
744
744
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
745
745
|
const doc = (0, import_smithy_client.take)(data, {
|
|
746
746
|
nextToken: import_smithy_client.expectString,
|
|
747
|
-
organizationRecommendationResourceSummaries: (_) => de_OrganizationRecommendationResourceSummaryList(_, context)
|
|
747
|
+
organizationRecommendationResourceSummaries: /* @__PURE__ */ __name((_) => de_OrganizationRecommendationResourceSummaryList(_, context), "organizationRecommendationResourceSummaries")
|
|
748
748
|
});
|
|
749
749
|
Object.assign(contents, doc);
|
|
750
750
|
return contents;
|
|
@@ -759,7 +759,7 @@ var de_ListOrganizationRecommendationsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
759
759
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
760
760
|
const doc = (0, import_smithy_client.take)(data, {
|
|
761
761
|
nextToken: import_smithy_client.expectString,
|
|
762
|
-
organizationRecommendationSummaries: (_) => de_OrganizationRecommendationSummaryList(_, context)
|
|
762
|
+
organizationRecommendationSummaries: /* @__PURE__ */ __name((_) => de_OrganizationRecommendationSummaryList(_, context), "organizationRecommendationSummaries")
|
|
763
763
|
});
|
|
764
764
|
Object.assign(contents, doc);
|
|
765
765
|
return contents;
|
|
@@ -774,7 +774,7 @@ var de_ListRecommendationResourcesCommand = /* @__PURE__ */ __name(async (output
|
|
|
774
774
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
775
775
|
const doc = (0, import_smithy_client.take)(data, {
|
|
776
776
|
nextToken: import_smithy_client.expectString,
|
|
777
|
-
recommendationResourceSummaries: (_) => de_RecommendationResourceSummaryList(_, context)
|
|
777
|
+
recommendationResourceSummaries: /* @__PURE__ */ __name((_) => de_RecommendationResourceSummaryList(_, context), "recommendationResourceSummaries")
|
|
778
778
|
});
|
|
779
779
|
Object.assign(contents, doc);
|
|
780
780
|
return contents;
|
|
@@ -789,7 +789,7 @@ var de_ListRecommendationsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
789
789
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
790
790
|
const doc = (0, import_smithy_client.take)(data, {
|
|
791
791
|
nextToken: import_smithy_client.expectString,
|
|
792
|
-
recommendationSummaries: (_) => de_RecommendationSummaryList(_, context)
|
|
792
|
+
recommendationSummaries: /* @__PURE__ */ __name((_) => de_RecommendationSummaryList(_, context), "recommendationSummaries")
|
|
793
793
|
});
|
|
794
794
|
Object.assign(contents, doc);
|
|
795
795
|
return contents;
|
|
@@ -931,7 +931,7 @@ var de_AccountRecommendationLifecycleSummary = /* @__PURE__ */ __name((output, c
|
|
|
931
931
|
return (0, import_smithy_client.take)(output, {
|
|
932
932
|
accountId: import_smithy_client.expectString,
|
|
933
933
|
accountRecommendationArn: import_smithy_client.expectString,
|
|
934
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
934
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
935
935
|
lifecycleStage: import_smithy_client.expectString,
|
|
936
936
|
updateReason: import_smithy_client.expectString,
|
|
937
937
|
updateReasonCode: import_smithy_client.expectString,
|
|
@@ -950,16 +950,16 @@ var de_OrganizationRecommendation = /* @__PURE__ */ __name((output, context) =>
|
|
|
950
950
|
arn: import_smithy_client.expectString,
|
|
951
951
|
awsServices: import_smithy_client._json,
|
|
952
952
|
checkArn: import_smithy_client.expectString,
|
|
953
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
953
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
954
954
|
createdBy: import_smithy_client.expectString,
|
|
955
955
|
description: import_smithy_client.expectString,
|
|
956
956
|
id: import_smithy_client.expectString,
|
|
957
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
957
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
958
958
|
lifecycleStage: import_smithy_client.expectString,
|
|
959
959
|
name: import_smithy_client.expectString,
|
|
960
|
-
pillarSpecificAggregates: (_) => de_RecommendationPillarSpecificAggregates(_, context),
|
|
960
|
+
pillarSpecificAggregates: /* @__PURE__ */ __name((_) => de_RecommendationPillarSpecificAggregates(_, context), "pillarSpecificAggregates"),
|
|
961
961
|
pillars: import_smithy_client._json,
|
|
962
|
-
resolvedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
962
|
+
resolvedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "resolvedAt"),
|
|
963
963
|
resourcesAggregates: import_smithy_client._json,
|
|
964
964
|
source: import_smithy_client.expectString,
|
|
965
965
|
status: import_smithy_client.expectString,
|
|
@@ -977,7 +977,7 @@ var de_OrganizationRecommendationResourceSummary = /* @__PURE__ */ __name((outpu
|
|
|
977
977
|
awsResourceId: import_smithy_client.expectString,
|
|
978
978
|
exclusionStatus: import_smithy_client.expectString,
|
|
979
979
|
id: import_smithy_client.expectString,
|
|
980
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
980
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
981
981
|
metadata: import_smithy_client._json,
|
|
982
982
|
recommendationArn: import_smithy_client.expectString,
|
|
983
983
|
regionCode: import_smithy_client.expectString,
|
|
@@ -995,12 +995,12 @@ var de_OrganizationRecommendationSummary = /* @__PURE__ */ __name((output, conte
|
|
|
995
995
|
arn: import_smithy_client.expectString,
|
|
996
996
|
awsServices: import_smithy_client._json,
|
|
997
997
|
checkArn: import_smithy_client.expectString,
|
|
998
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
998
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
999
999
|
id: import_smithy_client.expectString,
|
|
1000
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1000
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
1001
1001
|
lifecycleStage: import_smithy_client.expectString,
|
|
1002
1002
|
name: import_smithy_client.expectString,
|
|
1003
|
-
pillarSpecificAggregates: (_) => de_RecommendationPillarSpecificAggregates(_, context),
|
|
1003
|
+
pillarSpecificAggregates: /* @__PURE__ */ __name((_) => de_RecommendationPillarSpecificAggregates(_, context), "pillarSpecificAggregates"),
|
|
1004
1004
|
pillars: import_smithy_client._json,
|
|
1005
1005
|
resourcesAggregates: import_smithy_client._json,
|
|
1006
1006
|
source: import_smithy_client.expectString,
|
|
@@ -1019,16 +1019,16 @@ var de_Recommendation = /* @__PURE__ */ __name((output, context) => {
|
|
|
1019
1019
|
arn: import_smithy_client.expectString,
|
|
1020
1020
|
awsServices: import_smithy_client._json,
|
|
1021
1021
|
checkArn: import_smithy_client.expectString,
|
|
1022
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1022
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1023
1023
|
createdBy: import_smithy_client.expectString,
|
|
1024
1024
|
description: import_smithy_client.expectString,
|
|
1025
1025
|
id: import_smithy_client.expectString,
|
|
1026
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1026
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
1027
1027
|
lifecycleStage: import_smithy_client.expectString,
|
|
1028
1028
|
name: import_smithy_client.expectString,
|
|
1029
|
-
pillarSpecificAggregates: (_) => de_RecommendationPillarSpecificAggregates(_, context),
|
|
1029
|
+
pillarSpecificAggregates: /* @__PURE__ */ __name((_) => de_RecommendationPillarSpecificAggregates(_, context), "pillarSpecificAggregates"),
|
|
1030
1030
|
pillars: import_smithy_client._json,
|
|
1031
|
-
resolvedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1031
|
+
resolvedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "resolvedAt"),
|
|
1032
1032
|
resourcesAggregates: import_smithy_client._json,
|
|
1033
1033
|
source: import_smithy_client.expectString,
|
|
1034
1034
|
status: import_smithy_client.expectString,
|
|
@@ -1047,7 +1047,7 @@ var de_RecommendationCostOptimizingAggregates = /* @__PURE__ */ __name((output,
|
|
|
1047
1047
|
}, "de_RecommendationCostOptimizingAggregates");
|
|
1048
1048
|
var de_RecommendationPillarSpecificAggregates = /* @__PURE__ */ __name((output, context) => {
|
|
1049
1049
|
return (0, import_smithy_client.take)(output, {
|
|
1050
|
-
costOptimizing: (_) => de_RecommendationCostOptimizingAggregates(_, context)
|
|
1050
|
+
costOptimizing: /* @__PURE__ */ __name((_) => de_RecommendationCostOptimizingAggregates(_, context), "costOptimizing")
|
|
1051
1051
|
});
|
|
1052
1052
|
}, "de_RecommendationPillarSpecificAggregates");
|
|
1053
1053
|
var de_RecommendationResourceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1056,7 +1056,7 @@ var de_RecommendationResourceSummary = /* @__PURE__ */ __name((output, context)
|
|
|
1056
1056
|
awsResourceId: import_smithy_client.expectString,
|
|
1057
1057
|
exclusionStatus: import_smithy_client.expectString,
|
|
1058
1058
|
id: import_smithy_client.expectString,
|
|
1059
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1059
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
1060
1060
|
metadata: import_smithy_client._json,
|
|
1061
1061
|
recommendationArn: import_smithy_client.expectString,
|
|
1062
1062
|
regionCode: import_smithy_client.expectString,
|
|
@@ -1074,12 +1074,12 @@ var de_RecommendationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1074
1074
|
arn: import_smithy_client.expectString,
|
|
1075
1075
|
awsServices: import_smithy_client._json,
|
|
1076
1076
|
checkArn: import_smithy_client.expectString,
|
|
1077
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1077
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1078
1078
|
id: import_smithy_client.expectString,
|
|
1079
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1079
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
1080
1080
|
lifecycleStage: import_smithy_client.expectString,
|
|
1081
1081
|
name: import_smithy_client.expectString,
|
|
1082
|
-
pillarSpecificAggregates: (_) => de_RecommendationPillarSpecificAggregates(_, context),
|
|
1082
|
+
pillarSpecificAggregates: /* @__PURE__ */ __name((_) => de_RecommendationPillarSpecificAggregates(_, context), "pillarSpecificAggregates"),
|
|
1083
1083
|
pillars: import_smithy_client._json,
|
|
1084
1084
|
resourcesAggregates: import_smithy_client._json,
|
|
1085
1085
|
source: import_smithy_client.expectString,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-trustedadvisor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Trustedadvisor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-trustedadvisor",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|