@aws-sdk/client-wellarchitected 3.301.0 → 3.303.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/README.md +8 -0
- package/dist-cjs/WellArchitected.js +15 -0
- package/dist-cjs/commands/GetConsolidatedReportCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +132 -148
- package/dist-cjs/pagination/GetConsolidatedReportPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +177 -2
- package/dist-es/WellArchitected.js +15 -0
- package/dist-es/commands/GetConsolidatedReportCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +131 -147
- package/dist-es/pagination/GetConsolidatedReportPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +173 -0
- package/dist-types/WellArchitected.d.ts +69 -43
- package/dist-types/WellArchitectedClient.d.ts +3 -3
- package/dist-types/commands/AssociateLensesCommand.d.ts +3 -3
- package/dist-types/commands/CreateLensShareCommand.d.ts +9 -3
- package/dist-types/commands/CreateLensVersionCommand.d.ts +6 -4
- package/dist-types/commands/CreateMilestoneCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkloadCommand.d.ts +13 -3
- package/dist-types/commands/CreateWorkloadShareCommand.d.ts +5 -3
- package/dist-types/commands/DeleteLensCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLensShareCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWorkloadCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkloadShareCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLensesCommand.d.ts +4 -4
- package/dist-types/commands/ExportLensCommand.d.ts +5 -4
- package/dist-types/commands/GetConsolidatedReportCommand.d.ts +82 -0
- package/dist-types/commands/ImportLensCommand.d.ts +10 -9
- package/dist-types/commands/ListAnswersCommand.d.ts +1 -1
- package/dist-types/commands/ListLensReviewsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkloadsCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateAnswerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +2 -2
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkloadShareCommand.d.ts +1 -1
- package/dist-types/commands/UpgradeLensReviewCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +833 -445
- package/dist-types/pagination/GetConsolidatedReportPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +17 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetConsolidatedReportCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -124
- package/dist-types/ts3.4/pagination/GetConsolidatedReportPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +34 -34
package/README.md
CHANGED
|
@@ -315,6 +315,14 @@ GetAnswer
|
|
|
315
315
|
|
|
316
316
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wellarchitected/classes/getanswercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wellarchitected/interfaces/getanswercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wellarchitected/interfaces/getanswercommandoutput.html)
|
|
317
317
|
|
|
318
|
+
</details>
|
|
319
|
+
<details>
|
|
320
|
+
<summary>
|
|
321
|
+
GetConsolidatedReport
|
|
322
|
+
</summary>
|
|
323
|
+
|
|
324
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wellarchitected/classes/getconsolidatedreportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wellarchitected/interfaces/getconsolidatedreportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wellarchitected/interfaces/getconsolidatedreportcommandoutput.html)
|
|
325
|
+
|
|
318
326
|
</details>
|
|
319
327
|
<details>
|
|
320
328
|
<summary>
|
|
@@ -14,6 +14,7 @@ const DeleteWorkloadShareCommand_1 = require("./commands/DeleteWorkloadShareComm
|
|
|
14
14
|
const DisassociateLensesCommand_1 = require("./commands/DisassociateLensesCommand");
|
|
15
15
|
const ExportLensCommand_1 = require("./commands/ExportLensCommand");
|
|
16
16
|
const GetAnswerCommand_1 = require("./commands/GetAnswerCommand");
|
|
17
|
+
const GetConsolidatedReportCommand_1 = require("./commands/GetConsolidatedReportCommand");
|
|
17
18
|
const GetLensCommand_1 = require("./commands/GetLensCommand");
|
|
18
19
|
const GetLensReviewCommand_1 = require("./commands/GetLensReviewCommand");
|
|
19
20
|
const GetLensReviewReportCommand_1 = require("./commands/GetLensReviewReportCommand");
|
|
@@ -227,6 +228,20 @@ class WellArchitected extends WellArchitectedClient_1.WellArchitectedClient {
|
|
|
227
228
|
return this.send(command, optionsOrCb);
|
|
228
229
|
}
|
|
229
230
|
}
|
|
231
|
+
getConsolidatedReport(args, optionsOrCb, cb) {
|
|
232
|
+
const command = new GetConsolidatedReportCommand_1.GetConsolidatedReportCommand(args);
|
|
233
|
+
if (typeof optionsOrCb === "function") {
|
|
234
|
+
this.send(command, optionsOrCb);
|
|
235
|
+
}
|
|
236
|
+
else if (typeof cb === "function") {
|
|
237
|
+
if (typeof optionsOrCb !== "object")
|
|
238
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
239
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
240
|
+
}
|
|
241
|
+
else {
|
|
242
|
+
return this.send(command, optionsOrCb);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
230
245
|
getLens(args, optionsOrCb, cb) {
|
|
231
246
|
const command = new GetLensCommand_1.GetLensCommand(args);
|
|
232
247
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetConsolidatedReportCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetConsolidatedReportCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetConsolidatedReportCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "WellArchitectedClient";
|
|
27
|
+
const commandName = "GetConsolidatedReportCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetConsolidatedReportCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetConsolidatedReportCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.GetConsolidatedReportCommand = GetConsolidatedReportCommand;
|
|
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./DeleteWorkloadShareCommand"), exports);
|
|
|
14
14
|
tslib_1.__exportStar(require("./DisassociateLensesCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./ExportLensCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./GetAnswerCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetConsolidatedReportCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./GetLensCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./GetLensReviewCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./GetLensReviewReportCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wellarchitected-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wellarchitected-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wellarchitected.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://wellarchitected.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShareInvitationAction = exports.OrganizationSharingStatus = exports.ShareResourceType = exports.NotificationType = exports.LensType = exports.ShareStatus = exports.ImportLensStatus = exports.WorkloadImprovementStatus = exports.LensStatus = exports.DifferenceStatus = exports.LensStatusType = exports.PermissionType = exports.WorkloadEnvironment = exports.TrustedAdvisorIntegrationStatus = exports.ServiceQuotaExceededException = exports.CheckFailureReason = exports.CheckProvider = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.Risk = exports.AnswerReason = exports.ChoiceStatus = exports.ChoiceReason = exports.AdditionalResourceType = exports.CheckStatus = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.ShareInvitationAction = exports.OrganizationSharingStatus = exports.ShareResourceType = exports.NotificationType = exports.LensType = exports.ShareStatus = exports.ImportLensStatus = exports.WorkloadImprovementStatus = exports.LensStatus = exports.ReportFormat = exports.DifferenceStatus = exports.LensStatusType = exports.PermissionType = exports.WorkloadEnvironment = exports.TrustedAdvisorIntegrationStatus = exports.ServiceQuotaExceededException = exports.MetricType = exports.CheckFailureReason = exports.CheckProvider = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.Risk = exports.AnswerReason = exports.ChoiceStatus = exports.ChoiceReason = exports.AdditionalResourceType = exports.CheckStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
const WellArchitectedServiceException_1 = require("./WellArchitectedServiceException");
|
|
5
5
|
class AccessDeniedException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -16,49 +16,43 @@ class AccessDeniedException extends WellArchitectedServiceException_1.WellArchit
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Risk["HIGH"] = "HIGH";
|
|
57
|
-
Risk["MEDIUM"] = "MEDIUM";
|
|
58
|
-
Risk["NONE"] = "NONE";
|
|
59
|
-
Risk["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
60
|
-
Risk["UNANSWERED"] = "UNANSWERED";
|
|
61
|
-
})(Risk = exports.Risk || (exports.Risk = {}));
|
|
19
|
+
exports.CheckStatus = {
|
|
20
|
+
ERROR: "ERROR",
|
|
21
|
+
FETCH_FAILED: "FETCH_FAILED",
|
|
22
|
+
NOT_AVAILABLE: "NOT_AVAILABLE",
|
|
23
|
+
OKAY: "OKAY",
|
|
24
|
+
WARNING: "WARNING",
|
|
25
|
+
};
|
|
26
|
+
exports.AdditionalResourceType = {
|
|
27
|
+
HELPFUL_RESOURCE: "HELPFUL_RESOURCE",
|
|
28
|
+
IMPROVEMENT_PLAN: "IMPROVEMENT_PLAN",
|
|
29
|
+
};
|
|
30
|
+
exports.ChoiceReason = {
|
|
31
|
+
ARCHITECTURE_CONSTRAINTS: "ARCHITECTURE_CONSTRAINTS",
|
|
32
|
+
BUSINESS_PRIORITIES: "BUSINESS_PRIORITIES",
|
|
33
|
+
NONE: "NONE",
|
|
34
|
+
OTHER: "OTHER",
|
|
35
|
+
OUT_OF_SCOPE: "OUT_OF_SCOPE",
|
|
36
|
+
};
|
|
37
|
+
exports.ChoiceStatus = {
|
|
38
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
39
|
+
SELECTED: "SELECTED",
|
|
40
|
+
UNSELECTED: "UNSELECTED",
|
|
41
|
+
};
|
|
42
|
+
exports.AnswerReason = {
|
|
43
|
+
ARCHITECTURE_CONSTRAINTS: "ARCHITECTURE_CONSTRAINTS",
|
|
44
|
+
BUSINESS_PRIORITIES: "BUSINESS_PRIORITIES",
|
|
45
|
+
NONE: "NONE",
|
|
46
|
+
OTHER: "OTHER",
|
|
47
|
+
OUT_OF_SCOPE: "OUT_OF_SCOPE",
|
|
48
|
+
};
|
|
49
|
+
exports.Risk = {
|
|
50
|
+
HIGH: "HIGH",
|
|
51
|
+
MEDIUM: "MEDIUM",
|
|
52
|
+
NONE: "NONE",
|
|
53
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
54
|
+
UNANSWERED: "UNANSWERED",
|
|
55
|
+
};
|
|
62
56
|
class ConflictException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
63
57
|
constructor(opts) {
|
|
64
58
|
super({
|
|
@@ -121,13 +115,12 @@ class ThrottlingException extends WellArchitectedServiceException_1.WellArchitec
|
|
|
121
115
|
}
|
|
122
116
|
}
|
|
123
117
|
exports.ThrottlingException = ThrottlingException;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
118
|
+
exports.ValidationExceptionReason = {
|
|
119
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
120
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
121
|
+
OTHER: "OTHER",
|
|
122
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
123
|
+
};
|
|
131
124
|
class ValidationException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
132
125
|
constructor(opts) {
|
|
133
126
|
super({
|
|
@@ -144,17 +137,18 @@ class ValidationException extends WellArchitectedServiceException_1.WellArchitec
|
|
|
144
137
|
}
|
|
145
138
|
}
|
|
146
139
|
exports.ValidationException = ValidationException;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
140
|
+
exports.CheckProvider = {
|
|
141
|
+
TRUSTED_ADVISOR: "TRUSTED_ADVISOR",
|
|
142
|
+
};
|
|
143
|
+
exports.CheckFailureReason = {
|
|
144
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
145
|
+
ASSUME_ROLE_ERROR: "ASSUME_ROLE_ERROR",
|
|
146
|
+
PREMIUM_SUPPORT_REQUIRED: "PREMIUM_SUPPORT_REQUIRED",
|
|
147
|
+
UNKNOWN_ERROR: "UNKNOWN_ERROR",
|
|
148
|
+
};
|
|
149
|
+
exports.MetricType = {
|
|
150
|
+
WORKLOAD: "WORKLOAD",
|
|
151
|
+
};
|
|
158
152
|
class ServiceQuotaExceededException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
159
153
|
constructor(opts) {
|
|
160
154
|
super({
|
|
@@ -173,89 +167,79 @@ class ServiceQuotaExceededException extends WellArchitectedServiceException_1.We
|
|
|
173
167
|
}
|
|
174
168
|
}
|
|
175
169
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
var OrganizationSharingStatus;
|
|
253
|
-
(function (OrganizationSharingStatus) {
|
|
254
|
-
OrganizationSharingStatus["DISABLED"] = "DISABLED";
|
|
255
|
-
OrganizationSharingStatus["ENABLED"] = "ENABLED";
|
|
256
|
-
})(OrganizationSharingStatus = exports.OrganizationSharingStatus || (exports.OrganizationSharingStatus = {}));
|
|
257
|
-
var ShareInvitationAction;
|
|
258
|
-
(function (ShareInvitationAction) {
|
|
259
|
-
ShareInvitationAction["ACCEPT"] = "ACCEPT";
|
|
260
|
-
ShareInvitationAction["REJECT"] = "REJECT";
|
|
261
|
-
})(ShareInvitationAction = exports.ShareInvitationAction || (exports.ShareInvitationAction = {}));
|
|
170
|
+
exports.TrustedAdvisorIntegrationStatus = {
|
|
171
|
+
DISABLED: "DISABLED",
|
|
172
|
+
ENABLED: "ENABLED",
|
|
173
|
+
};
|
|
174
|
+
exports.WorkloadEnvironment = {
|
|
175
|
+
PREPRODUCTION: "PREPRODUCTION",
|
|
176
|
+
PRODUCTION: "PRODUCTION",
|
|
177
|
+
};
|
|
178
|
+
exports.PermissionType = {
|
|
179
|
+
CONTRIBUTOR: "CONTRIBUTOR",
|
|
180
|
+
READONLY: "READONLY",
|
|
181
|
+
};
|
|
182
|
+
exports.LensStatusType = {
|
|
183
|
+
ALL: "ALL",
|
|
184
|
+
DRAFT: "DRAFT",
|
|
185
|
+
PUBLISHED: "PUBLISHED",
|
|
186
|
+
};
|
|
187
|
+
exports.DifferenceStatus = {
|
|
188
|
+
DELETED: "DELETED",
|
|
189
|
+
NEW: "NEW",
|
|
190
|
+
UPDATED: "UPDATED",
|
|
191
|
+
};
|
|
192
|
+
exports.ReportFormat = {
|
|
193
|
+
JSON: "JSON",
|
|
194
|
+
PDF: "PDF",
|
|
195
|
+
};
|
|
196
|
+
exports.LensStatus = {
|
|
197
|
+
CURRENT: "CURRENT",
|
|
198
|
+
DELETED: "DELETED",
|
|
199
|
+
DEPRECATED: "DEPRECATED",
|
|
200
|
+
NOT_CURRENT: "NOT_CURRENT",
|
|
201
|
+
UNSHARED: "UNSHARED",
|
|
202
|
+
};
|
|
203
|
+
exports.WorkloadImprovementStatus = {
|
|
204
|
+
COMPLETE: "COMPLETE",
|
|
205
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
206
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
207
|
+
NOT_STARTED: "NOT_STARTED",
|
|
208
|
+
RISK_ACKNOWLEDGED: "RISK_ACKNOWLEDGED",
|
|
209
|
+
};
|
|
210
|
+
exports.ImportLensStatus = {
|
|
211
|
+
COMPLETE: "COMPLETE",
|
|
212
|
+
ERROR: "ERROR",
|
|
213
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
214
|
+
};
|
|
215
|
+
exports.ShareStatus = {
|
|
216
|
+
ACCEPTED: "ACCEPTED",
|
|
217
|
+
ASSOCIATED: "ASSOCIATED",
|
|
218
|
+
ASSOCIATING: "ASSOCIATING",
|
|
219
|
+
EXPIRED: "EXPIRED",
|
|
220
|
+
FAILED: "FAILED",
|
|
221
|
+
PENDING: "PENDING",
|
|
222
|
+
REJECTED: "REJECTED",
|
|
223
|
+
REVOKED: "REVOKED",
|
|
224
|
+
};
|
|
225
|
+
exports.LensType = {
|
|
226
|
+
AWS_OFFICIAL: "AWS_OFFICIAL",
|
|
227
|
+
CUSTOM_SELF: "CUSTOM_SELF",
|
|
228
|
+
CUSTOM_SHARED: "CUSTOM_SHARED",
|
|
229
|
+
};
|
|
230
|
+
exports.NotificationType = {
|
|
231
|
+
LENS_VERSION_DEPRECATED: "LENS_VERSION_DEPRECATED",
|
|
232
|
+
LENS_VERSION_UPGRADED: "LENS_VERSION_UPGRADED",
|
|
233
|
+
};
|
|
234
|
+
exports.ShareResourceType = {
|
|
235
|
+
LENS: "LENS",
|
|
236
|
+
WORKLOAD: "WORKLOAD",
|
|
237
|
+
};
|
|
238
|
+
exports.OrganizationSharingStatus = {
|
|
239
|
+
DISABLED: "DISABLED",
|
|
240
|
+
ENABLED: "ENABLED",
|
|
241
|
+
};
|
|
242
|
+
exports.ShareInvitationAction = {
|
|
243
|
+
ACCEPT: "ACCEPT",
|
|
244
|
+
REJECT: "REJECT",
|
|
245
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateGetConsolidatedReport = void 0;
|
|
4
|
+
const GetConsolidatedReportCommand_1 = require("../commands/GetConsolidatedReportCommand");
|
|
5
|
+
const WellArchitectedClient_1 = require("../WellArchitectedClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new GetConsolidatedReportCommand_1.GetConsolidatedReportCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateGetConsolidatedReport(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof WellArchitectedClient_1.WellArchitectedClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateGetConsolidatedReport = paginateGetConsolidatedReport;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./GetConsolidatedReportPaginator"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ListAnswersPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ListCheckDetailsPaginator"), exports);
|