@aws-sdk/client-trustedadvisor 3.489.0 → 3.495.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist-cjs/TrustedAdvisor.js +1 -31
  2. package/dist-cjs/TrustedAdvisorClient.js +1 -43
  3. package/dist-cjs/commands/GetOrganizationRecommendationCommand.js +1 -29
  4. package/dist-cjs/commands/GetRecommendationCommand.js +1 -29
  5. package/dist-cjs/commands/ListChecksCommand.js +1 -28
  6. package/dist-cjs/commands/ListOrganizationRecommendationAccountsCommand.js +1 -29
  7. package/dist-cjs/commands/ListOrganizationRecommendationResourcesCommand.js +1 -28
  8. package/dist-cjs/commands/ListOrganizationRecommendationsCommand.js +1 -28
  9. package/dist-cjs/commands/ListRecommendationResourcesCommand.js +1 -28
  10. package/dist-cjs/commands/ListRecommendationsCommand.js +1 -28
  11. package/dist-cjs/commands/UpdateOrganizationRecommendationLifecycleCommand.js +1 -29
  12. package/dist-cjs/commands/UpdateRecommendationLifecycleCommand.js +1 -29
  13. package/dist-cjs/commands/index.js +1 -13
  14. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  15. package/dist-cjs/extensionConfiguration.js +1 -2
  16. package/dist-cjs/index.js +1592 -11
  17. package/dist-cjs/models/TrustedAdvisorServiceException.js +1 -12
  18. package/dist-cjs/models/index.js +1 -4
  19. package/dist-cjs/models/models_0.js +1 -202
  20. package/dist-cjs/pagination/Interfaces.js +1 -2
  21. package/dist-cjs/pagination/ListChecksPaginator.js +1 -7
  22. package/dist-cjs/pagination/ListOrganizationRecommendationAccountsPaginator.js +1 -7
  23. package/dist-cjs/pagination/ListOrganizationRecommendationResourcesPaginator.js +1 -7
  24. package/dist-cjs/pagination/ListOrganizationRecommendationsPaginator.js +1 -7
  25. package/dist-cjs/pagination/ListRecommendationResourcesPaginator.js +1 -7
  26. package/dist-cjs/pagination/ListRecommendationsPaginator.js +1 -7
  27. package/dist-cjs/pagination/index.js +1 -10
  28. package/dist-cjs/protocols/Aws_restJson1.js +1 -953
  29. package/dist-cjs/runtimeExtensions.js +1 -22
  30. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TrustedAdvisorServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class TrustedAdvisorServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, TrustedAdvisorServiceException.prototype);
10
- }
11
- }
12
- exports.TrustedAdvisorServiceException = TrustedAdvisorServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,202 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateRecommendationLifecycleRequestFilterSensitiveLog = exports.UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog = exports.ListOrganizationRecommendationAccountsResponseFilterSensitiveLog = exports.GetRecommendationResponseFilterSensitiveLog = exports.RecommendationFilterSensitiveLog = exports.GetOrganizationRecommendationResponseFilterSensitiveLog = exports.OrganizationRecommendationFilterSensitiveLog = exports.AccountRecommendationLifecycleSummaryFilterSensitiveLog = exports.UpdateRecommendationLifecycleStage = exports.ResourceStatus = exports.RecommendationLanguage = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.RecommendationType = exports.RecommendationStatus = exports.ConflictException = exports.RecommendationSource = exports.RecommendationPillar = exports.UpdateRecommendationLifecycleStageReasonCode = exports.RecommendationLifecycleStage = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const TrustedAdvisorServiceException_1 = require("./TrustedAdvisorServiceException");
6
- class AccessDeniedException extends TrustedAdvisorServiceException_1.TrustedAdvisorServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.RecommendationLifecycleStage = {
20
- DISMISSED: "dismissed",
21
- IN_PROGRESS: "in_progress",
22
- PENDING_RESPONSE: "pending_response",
23
- RESOLVED: "resolved",
24
- };
25
- exports.UpdateRecommendationLifecycleStageReasonCode = {
26
- LOW_PRIORITY: "low_priority",
27
- NON_CRITICAL_ACCOUNT: "non_critical_account",
28
- NOT_APPLICABLE: "not_applicable",
29
- OTHER: "other",
30
- OTHER_METHODS_AVAILABLE: "other_methods_available",
31
- TEMPORARY_ACCOUNT: "temporary_account",
32
- VALID_BUSINESS_CASE: "valid_business_case",
33
- };
34
- exports.RecommendationPillar = {
35
- COST_OPTIMIZING: "cost_optimizing",
36
- FAULT_TOLERANCE: "fault_tolerance",
37
- OPERATIONAL_EXCELLENCE: "operational_excellence",
38
- PERFORMANCE: "performance",
39
- SECURITY: "security",
40
- SERVICE_LIMITS: "service_limits",
41
- };
42
- exports.RecommendationSource = {
43
- AWS_CONFIG: "aws_config",
44
- COMPUTE_OPTIMIZER: "compute_optimizer",
45
- COST_EXPLORER: "cost_explorer",
46
- LSE: "lse",
47
- MANUAL: "manual",
48
- PSE: "pse",
49
- RDS: "rds",
50
- RESILIENCE: "resilience",
51
- RESILIENCE_HUB: "resilience_hub",
52
- SECURITY_HUB: "security_hub",
53
- STIR: "stir",
54
- TA_CHECK: "ta_check",
55
- WELL_ARCHITECTED: "well_architected",
56
- };
57
- class ConflictException extends TrustedAdvisorServiceException_1.TrustedAdvisorServiceException {
58
- constructor(opts) {
59
- super({
60
- name: "ConflictException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- this.name = "ConflictException";
65
- this.$fault = "client";
66
- Object.setPrototypeOf(this, ConflictException.prototype);
67
- }
68
- }
69
- exports.ConflictException = ConflictException;
70
- exports.RecommendationStatus = {
71
- ERROR: "error",
72
- OK: "ok",
73
- WARNING: "warning",
74
- };
75
- exports.RecommendationType = {
76
- PRIORITY: "priority",
77
- STANDARD: "standard",
78
- };
79
- class InternalServerException extends TrustedAdvisorServiceException_1.TrustedAdvisorServiceException {
80
- constructor(opts) {
81
- super({
82
- name: "InternalServerException",
83
- $fault: "server",
84
- ...opts,
85
- });
86
- this.name = "InternalServerException";
87
- this.$fault = "server";
88
- this.$retryable = {};
89
- Object.setPrototypeOf(this, InternalServerException.prototype);
90
- }
91
- }
92
- exports.InternalServerException = InternalServerException;
93
- class ResourceNotFoundException extends TrustedAdvisorServiceException_1.TrustedAdvisorServiceException {
94
- constructor(opts) {
95
- super({
96
- name: "ResourceNotFoundException",
97
- $fault: "client",
98
- ...opts,
99
- });
100
- this.name = "ResourceNotFoundException";
101
- this.$fault = "client";
102
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
103
- }
104
- }
105
- exports.ResourceNotFoundException = ResourceNotFoundException;
106
- class ThrottlingException extends TrustedAdvisorServiceException_1.TrustedAdvisorServiceException {
107
- constructor(opts) {
108
- super({
109
- name: "ThrottlingException",
110
- $fault: "client",
111
- ...opts,
112
- });
113
- this.name = "ThrottlingException";
114
- this.$fault = "client";
115
- this.$retryable = {
116
- throttling: true,
117
- };
118
- Object.setPrototypeOf(this, ThrottlingException.prototype);
119
- }
120
- }
121
- exports.ThrottlingException = ThrottlingException;
122
- class ValidationException extends TrustedAdvisorServiceException_1.TrustedAdvisorServiceException {
123
- constructor(opts) {
124
- super({
125
- name: "ValidationException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- this.name = "ValidationException";
130
- this.$fault = "client";
131
- Object.setPrototypeOf(this, ValidationException.prototype);
132
- }
133
- }
134
- exports.ValidationException = ValidationException;
135
- exports.RecommendationLanguage = {
136
- BAHASA_INDONESIA: "id",
137
- BRAZILIAN_PORTUGUESE: "pt_BR",
138
- CHINESE: "zh",
139
- ENGLISH: "en",
140
- FRENCH: "fr",
141
- GERMAN: "de",
142
- ITALIAN: "it",
143
- JAPANESE: "ja",
144
- KOREAN: "ko",
145
- SPANISH: "es",
146
- TRADITIONAL_CHINESE: "zh_TW",
147
- };
148
- exports.ResourceStatus = {
149
- ERROR: "error",
150
- OK: "ok",
151
- WARNING: "warning",
152
- };
153
- exports.UpdateRecommendationLifecycleStage = {
154
- DISMISSED: "dismissed",
155
- IN_PROGRESS: "in_progress",
156
- PENDING_RESPONSE: "pending_response",
157
- RESOLVED: "resolved",
158
- };
159
- const AccountRecommendationLifecycleSummaryFilterSensitiveLog = (obj) => ({
160
- ...obj,
161
- ...(obj.updateReason && { updateReason: smithy_client_1.SENSITIVE_STRING }),
162
- });
163
- exports.AccountRecommendationLifecycleSummaryFilterSensitiveLog = AccountRecommendationLifecycleSummaryFilterSensitiveLog;
164
- const OrganizationRecommendationFilterSensitiveLog = (obj) => ({
165
- ...obj,
166
- ...(obj.updateReason && { updateReason: smithy_client_1.SENSITIVE_STRING }),
167
- });
168
- exports.OrganizationRecommendationFilterSensitiveLog = OrganizationRecommendationFilterSensitiveLog;
169
- const GetOrganizationRecommendationResponseFilterSensitiveLog = (obj) => ({
170
- ...obj,
171
- ...(obj.organizationRecommendation && {
172
- organizationRecommendation: (0, exports.OrganizationRecommendationFilterSensitiveLog)(obj.organizationRecommendation),
173
- }),
174
- });
175
- exports.GetOrganizationRecommendationResponseFilterSensitiveLog = GetOrganizationRecommendationResponseFilterSensitiveLog;
176
- const RecommendationFilterSensitiveLog = (obj) => ({
177
- ...obj,
178
- ...(obj.updateReason && { updateReason: smithy_client_1.SENSITIVE_STRING }),
179
- });
180
- exports.RecommendationFilterSensitiveLog = RecommendationFilterSensitiveLog;
181
- const GetRecommendationResponseFilterSensitiveLog = (obj) => ({
182
- ...obj,
183
- ...(obj.recommendation && { recommendation: (0, exports.RecommendationFilterSensitiveLog)(obj.recommendation) }),
184
- });
185
- exports.GetRecommendationResponseFilterSensitiveLog = GetRecommendationResponseFilterSensitiveLog;
186
- const ListOrganizationRecommendationAccountsResponseFilterSensitiveLog = (obj) => ({
187
- ...obj,
188
- ...(obj.accountRecommendationLifecycleSummaries && {
189
- accountRecommendationLifecycleSummaries: obj.accountRecommendationLifecycleSummaries.map((item) => (0, exports.AccountRecommendationLifecycleSummaryFilterSensitiveLog)(item)),
190
- }),
191
- });
192
- exports.ListOrganizationRecommendationAccountsResponseFilterSensitiveLog = ListOrganizationRecommendationAccountsResponseFilterSensitiveLog;
193
- const UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog = (obj) => ({
194
- ...obj,
195
- ...(obj.updateReason && { updateReason: smithy_client_1.SENSITIVE_STRING }),
196
- });
197
- exports.UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog = UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog;
198
- const UpdateRecommendationLifecycleRequestFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- ...(obj.updateReason && { updateReason: smithy_client_1.SENSITIVE_STRING }),
201
- });
202
- exports.UpdateRecommendationLifecycleRequestFilterSensitiveLog = UpdateRecommendationLifecycleRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListChecks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListChecksCommand_1 = require("../commands/ListChecksCommand");
6
- const TrustedAdvisorClient_1 = require("../TrustedAdvisorClient");
7
- exports.paginateListChecks = (0, core_1.createPaginator)(TrustedAdvisorClient_1.TrustedAdvisorClient, ListChecksCommand_1.ListChecksCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListOrganizationRecommendationAccounts = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListOrganizationRecommendationAccountsCommand_1 = require("../commands/ListOrganizationRecommendationAccountsCommand");
6
- const TrustedAdvisorClient_1 = require("../TrustedAdvisorClient");
7
- exports.paginateListOrganizationRecommendationAccounts = (0, core_1.createPaginator)(TrustedAdvisorClient_1.TrustedAdvisorClient, ListOrganizationRecommendationAccountsCommand_1.ListOrganizationRecommendationAccountsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListOrganizationRecommendationResources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListOrganizationRecommendationResourcesCommand_1 = require("../commands/ListOrganizationRecommendationResourcesCommand");
6
- const TrustedAdvisorClient_1 = require("../TrustedAdvisorClient");
7
- exports.paginateListOrganizationRecommendationResources = (0, core_1.createPaginator)(TrustedAdvisorClient_1.TrustedAdvisorClient, ListOrganizationRecommendationResourcesCommand_1.ListOrganizationRecommendationResourcesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListOrganizationRecommendations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListOrganizationRecommendationsCommand_1 = require("../commands/ListOrganizationRecommendationsCommand");
6
- const TrustedAdvisorClient_1 = require("../TrustedAdvisorClient");
7
- exports.paginateListOrganizationRecommendations = (0, core_1.createPaginator)(TrustedAdvisorClient_1.TrustedAdvisorClient, ListOrganizationRecommendationsCommand_1.ListOrganizationRecommendationsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListRecommendationResources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListRecommendationResourcesCommand_1 = require("../commands/ListRecommendationResourcesCommand");
6
- const TrustedAdvisorClient_1 = require("../TrustedAdvisorClient");
7
- exports.paginateListRecommendationResources = (0, core_1.createPaginator)(TrustedAdvisorClient_1.TrustedAdvisorClient, ListRecommendationResourcesCommand_1.ListRecommendationResourcesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListRecommendations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListRecommendationsCommand_1 = require("../commands/ListRecommendationsCommand");
6
- const TrustedAdvisorClient_1 = require("../TrustedAdvisorClient");
7
- exports.paginateListRecommendations = (0, core_1.createPaginator)(TrustedAdvisorClient_1.TrustedAdvisorClient, ListRecommendationsCommand_1.ListRecommendationsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListChecksPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListOrganizationRecommendationAccountsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListOrganizationRecommendationResourcesPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListOrganizationRecommendationsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListRecommendationResourcesPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListRecommendationsPaginator"), exports);
1
+ module.exports = require("../index.js");