@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
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput } from "../commands/GetConsolidatedReportCommand";
|
|
3
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateGetConsolidatedReport(config: WellArchitectedPaginationConfiguration, input: GetConsolidatedReportCommandInput, ...additionalArguments: any): Paginator<GetConsolidatedReportCommandOutput>;
|
|
@@ -13,6 +13,7 @@ import { DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput } fro
|
|
|
13
13
|
import { DisassociateLensesCommandInput, DisassociateLensesCommandOutput } from "../commands/DisassociateLensesCommand";
|
|
14
14
|
import { ExportLensCommandInput, ExportLensCommandOutput } from "../commands/ExportLensCommand";
|
|
15
15
|
import { GetAnswerCommandInput, GetAnswerCommandOutput } from "../commands/GetAnswerCommand";
|
|
16
|
+
import { GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput } from "../commands/GetConsolidatedReportCommand";
|
|
16
17
|
import { GetLensCommandInput, GetLensCommandOutput } from "../commands/GetLensCommand";
|
|
17
18
|
import { GetLensReviewCommandInput, GetLensReviewCommandOutput } from "../commands/GetLensReviewCommand";
|
|
18
19
|
import { GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput } from "../commands/GetLensReviewReportCommand";
|
|
@@ -55,6 +56,7 @@ export declare const serializeAws_restJson1DeleteWorkloadShareCommand: (input: D
|
|
|
55
56
|
export declare const serializeAws_restJson1DisassociateLensesCommand: (input: DisassociateLensesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
57
|
export declare const serializeAws_restJson1ExportLensCommand: (input: ExportLensCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
58
|
export declare const serializeAws_restJson1GetAnswerCommand: (input: GetAnswerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
export declare const serializeAws_restJson1GetConsolidatedReportCommand: (input: GetConsolidatedReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
60
|
export declare const serializeAws_restJson1GetLensCommand: (input: GetLensCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
61
|
export declare const serializeAws_restJson1GetLensReviewCommand: (input: GetLensReviewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
62
|
export declare const serializeAws_restJson1GetLensReviewReportCommand: (input: GetLensReviewReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -97,6 +99,7 @@ export declare const deserializeAws_restJson1DeleteWorkloadShareCommand: (output
|
|
|
97
99
|
export declare const deserializeAws_restJson1DisassociateLensesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateLensesCommandOutput>;
|
|
98
100
|
export declare const deserializeAws_restJson1ExportLensCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportLensCommandOutput>;
|
|
99
101
|
export declare const deserializeAws_restJson1GetAnswerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAnswerCommandOutput>;
|
|
102
|
+
export declare const deserializeAws_restJson1GetConsolidatedReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConsolidatedReportCommandOutput>;
|
|
100
103
|
export declare const deserializeAws_restJson1GetLensCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLensCommandOutput>;
|
|
101
104
|
export declare const deserializeAws_restJson1GetLensReviewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLensReviewCommandOutput>;
|
|
102
105
|
export declare const deserializeAws_restJson1GetLensReviewReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLensReviewReportCommandOutput>;
|
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
GetAnswerCommandInput,
|
|
52
52
|
GetAnswerCommandOutput,
|
|
53
53
|
} from "./commands/GetAnswerCommand";
|
|
54
|
+
import {
|
|
55
|
+
GetConsolidatedReportCommandInput,
|
|
56
|
+
GetConsolidatedReportCommandOutput,
|
|
57
|
+
} from "./commands/GetConsolidatedReportCommand";
|
|
54
58
|
import {
|
|
55
59
|
GetLensCommandInput,
|
|
56
60
|
GetLensCommandOutput,
|
|
@@ -338,6 +342,19 @@ export declare class WellArchitected extends WellArchitectedClient {
|
|
|
338
342
|
options: __HttpHandlerOptions,
|
|
339
343
|
cb: (err: any, data?: GetAnswerCommandOutput) => void
|
|
340
344
|
): void;
|
|
345
|
+
getConsolidatedReport(
|
|
346
|
+
args: GetConsolidatedReportCommandInput,
|
|
347
|
+
options?: __HttpHandlerOptions
|
|
348
|
+
): Promise<GetConsolidatedReportCommandOutput>;
|
|
349
|
+
getConsolidatedReport(
|
|
350
|
+
args: GetConsolidatedReportCommandInput,
|
|
351
|
+
cb: (err: any, data?: GetConsolidatedReportCommandOutput) => void
|
|
352
|
+
): void;
|
|
353
|
+
getConsolidatedReport(
|
|
354
|
+
args: GetConsolidatedReportCommandInput,
|
|
355
|
+
options: __HttpHandlerOptions,
|
|
356
|
+
cb: (err: any, data?: GetConsolidatedReportCommandOutput) => void
|
|
357
|
+
): void;
|
|
341
358
|
getLens(
|
|
342
359
|
args: GetLensCommandInput,
|
|
343
360
|
options?: __HttpHandlerOptions
|
|
@@ -96,6 +96,10 @@ import {
|
|
|
96
96
|
GetAnswerCommandInput,
|
|
97
97
|
GetAnswerCommandOutput,
|
|
98
98
|
} from "./commands/GetAnswerCommand";
|
|
99
|
+
import {
|
|
100
|
+
GetConsolidatedReportCommandInput,
|
|
101
|
+
GetConsolidatedReportCommandOutput,
|
|
102
|
+
} from "./commands/GetConsolidatedReportCommand";
|
|
99
103
|
import {
|
|
100
104
|
GetLensCommandInput,
|
|
101
105
|
GetLensCommandOutput,
|
|
@@ -231,6 +235,7 @@ export type ServiceInputTypes =
|
|
|
231
235
|
| DisassociateLensesCommandInput
|
|
232
236
|
| ExportLensCommandInput
|
|
233
237
|
| GetAnswerCommandInput
|
|
238
|
+
| GetConsolidatedReportCommandInput
|
|
234
239
|
| GetLensCommandInput
|
|
235
240
|
| GetLensReviewCommandInput
|
|
236
241
|
| GetLensReviewReportCommandInput
|
|
@@ -274,6 +279,7 @@ export type ServiceOutputTypes =
|
|
|
274
279
|
| DisassociateLensesCommandOutput
|
|
275
280
|
| ExportLensCommandOutput
|
|
276
281
|
| GetAnswerCommandOutput
|
|
282
|
+
| GetConsolidatedReportCommandOutput
|
|
277
283
|
| GetLensCommandOutput
|
|
278
284
|
| GetLensReviewCommandOutput
|
|
279
285
|
| GetLensReviewReportCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
GetConsolidatedReportInput,
|
|
11
|
+
GetConsolidatedReportOutput,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WellArchitectedClientResolvedConfig,
|
|
17
|
+
} from "../WellArchitectedClient";
|
|
18
|
+
export interface GetConsolidatedReportCommandInput
|
|
19
|
+
extends GetConsolidatedReportInput {}
|
|
20
|
+
export interface GetConsolidatedReportCommandOutput
|
|
21
|
+
extends GetConsolidatedReportOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetConsolidatedReportCommand extends $Command<
|
|
24
|
+
GetConsolidatedReportCommandInput,
|
|
25
|
+
GetConsolidatedReportCommandOutput,
|
|
26
|
+
WellArchitectedClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetConsolidatedReportCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetConsolidatedReportCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: WellArchitectedClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
GetConsolidatedReportCommandInput,
|
|
37
|
+
GetConsolidatedReportCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DeleteWorkloadShareCommand";
|
|
|
11
11
|
export * from "./DisassociateLensesCommand";
|
|
12
12
|
export * from "./ExportLensCommand";
|
|
13
13
|
export * from "./GetAnswerCommand";
|
|
14
|
+
export * from "./GetConsolidatedReportCommand";
|
|
14
15
|
export * from "./GetLensCommand";
|
|
15
16
|
export * from "./GetLensReviewCommand";
|
|
16
17
|
export * from "./GetLensReviewReportCommand";
|
|
@@ -8,37 +8,42 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
ERROR
|
|
13
|
-
FETCH_FAILED
|
|
14
|
-
NOT_AVAILABLE
|
|
15
|
-
OKAY
|
|
16
|
-
WARNING
|
|
17
|
-
}
|
|
11
|
+
export declare const CheckStatus: {
|
|
12
|
+
readonly ERROR: "ERROR";
|
|
13
|
+
readonly FETCH_FAILED: "FETCH_FAILED";
|
|
14
|
+
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
15
|
+
readonly OKAY: "OKAY";
|
|
16
|
+
readonly WARNING: "WARNING";
|
|
17
|
+
};
|
|
18
|
+
export type CheckStatus = (typeof CheckStatus)[keyof typeof CheckStatus];
|
|
18
19
|
export interface ChoiceContent {
|
|
19
20
|
DisplayText?: string;
|
|
20
21
|
Url?: string;
|
|
21
22
|
}
|
|
22
|
-
export declare
|
|
23
|
-
HELPFUL_RESOURCE
|
|
24
|
-
IMPROVEMENT_PLAN
|
|
25
|
-
}
|
|
23
|
+
export declare const AdditionalResourceType: {
|
|
24
|
+
readonly HELPFUL_RESOURCE: "HELPFUL_RESOURCE";
|
|
25
|
+
readonly IMPROVEMENT_PLAN: "IMPROVEMENT_PLAN";
|
|
26
|
+
};
|
|
27
|
+
export type AdditionalResourceType =
|
|
28
|
+
(typeof AdditionalResourceType)[keyof typeof AdditionalResourceType];
|
|
26
29
|
export interface AdditionalResources {
|
|
27
30
|
Type?: AdditionalResourceType | string;
|
|
28
31
|
Content?: ChoiceContent[];
|
|
29
32
|
}
|
|
30
|
-
export declare
|
|
31
|
-
ARCHITECTURE_CONSTRAINTS
|
|
32
|
-
BUSINESS_PRIORITIES
|
|
33
|
-
NONE
|
|
34
|
-
OTHER
|
|
35
|
-
OUT_OF_SCOPE
|
|
36
|
-
}
|
|
37
|
-
export
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
export declare const ChoiceReason: {
|
|
34
|
+
readonly ARCHITECTURE_CONSTRAINTS: "ARCHITECTURE_CONSTRAINTS";
|
|
35
|
+
readonly BUSINESS_PRIORITIES: "BUSINESS_PRIORITIES";
|
|
36
|
+
readonly NONE: "NONE";
|
|
37
|
+
readonly OTHER: "OTHER";
|
|
38
|
+
readonly OUT_OF_SCOPE: "OUT_OF_SCOPE";
|
|
39
|
+
};
|
|
40
|
+
export type ChoiceReason = (typeof ChoiceReason)[keyof typeof ChoiceReason];
|
|
41
|
+
export declare const ChoiceStatus: {
|
|
42
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
43
|
+
readonly SELECTED: "SELECTED";
|
|
44
|
+
readonly UNSELECTED: "UNSELECTED";
|
|
45
|
+
};
|
|
46
|
+
export type ChoiceStatus = (typeof ChoiceStatus)[keyof typeof ChoiceStatus];
|
|
42
47
|
export interface ChoiceAnswer {
|
|
43
48
|
ChoiceId?: string;
|
|
44
49
|
Status?: ChoiceStatus | string;
|
|
@@ -53,20 +58,22 @@ export interface Choice {
|
|
|
53
58
|
ImprovementPlan?: ChoiceContent;
|
|
54
59
|
AdditionalResources?: AdditionalResources[];
|
|
55
60
|
}
|
|
56
|
-
export declare
|
|
57
|
-
ARCHITECTURE_CONSTRAINTS
|
|
58
|
-
BUSINESS_PRIORITIES
|
|
59
|
-
NONE
|
|
60
|
-
OTHER
|
|
61
|
-
OUT_OF_SCOPE
|
|
62
|
-
}
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
61
|
+
export declare const AnswerReason: {
|
|
62
|
+
readonly ARCHITECTURE_CONSTRAINTS: "ARCHITECTURE_CONSTRAINTS";
|
|
63
|
+
readonly BUSINESS_PRIORITIES: "BUSINESS_PRIORITIES";
|
|
64
|
+
readonly NONE: "NONE";
|
|
65
|
+
readonly OTHER: "OTHER";
|
|
66
|
+
readonly OUT_OF_SCOPE: "OUT_OF_SCOPE";
|
|
67
|
+
};
|
|
68
|
+
export type AnswerReason = (typeof AnswerReason)[keyof typeof AnswerReason];
|
|
69
|
+
export declare const Risk: {
|
|
70
|
+
readonly HIGH: "HIGH";
|
|
71
|
+
readonly MEDIUM: "MEDIUM";
|
|
72
|
+
readonly NONE: "NONE";
|
|
73
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
74
|
+
readonly UNANSWERED: "UNANSWERED";
|
|
75
|
+
};
|
|
76
|
+
export type Risk = (typeof Risk)[keyof typeof Risk];
|
|
70
77
|
export interface Answer {
|
|
71
78
|
QuestionId?: string;
|
|
72
79
|
PillarId?: string;
|
|
@@ -143,12 +150,14 @@ export interface ValidationExceptionField {
|
|
|
143
150
|
Name: string | undefined;
|
|
144
151
|
Message: string | undefined;
|
|
145
152
|
}
|
|
146
|
-
export declare
|
|
147
|
-
CANNOT_PARSE
|
|
148
|
-
FIELD_VALIDATION_FAILED
|
|
149
|
-
OTHER
|
|
150
|
-
UNKNOWN_OPERATION
|
|
151
|
-
}
|
|
153
|
+
export declare const ValidationExceptionReason: {
|
|
154
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
155
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
156
|
+
readonly OTHER: "OTHER";
|
|
157
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
158
|
+
};
|
|
159
|
+
export type ValidationExceptionReason =
|
|
160
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
152
161
|
export declare class ValidationException extends __BaseException {
|
|
153
162
|
readonly name: "ValidationException";
|
|
154
163
|
readonly $fault: "client";
|
|
@@ -159,15 +168,22 @@ export declare class ValidationException extends __BaseException {
|
|
|
159
168
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
160
169
|
);
|
|
161
170
|
}
|
|
162
|
-
export
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
+
export interface BestPractice {
|
|
172
|
+
ChoiceId?: string;
|
|
173
|
+
ChoiceTitle?: string;
|
|
174
|
+
}
|
|
175
|
+
export declare const CheckProvider: {
|
|
176
|
+
readonly TRUSTED_ADVISOR: "TRUSTED_ADVISOR";
|
|
177
|
+
};
|
|
178
|
+
export type CheckProvider = (typeof CheckProvider)[keyof typeof CheckProvider];
|
|
179
|
+
export declare const CheckFailureReason: {
|
|
180
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
181
|
+
readonly ASSUME_ROLE_ERROR: "ASSUME_ROLE_ERROR";
|
|
182
|
+
readonly PREMIUM_SUPPORT_REQUIRED: "PREMIUM_SUPPORT_REQUIRED";
|
|
183
|
+
readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
|
|
184
|
+
};
|
|
185
|
+
export type CheckFailureReason =
|
|
186
|
+
(typeof CheckFailureReason)[keyof typeof CheckFailureReason];
|
|
171
187
|
export interface CheckDetail {
|
|
172
188
|
Id?: string;
|
|
173
189
|
Name?: string;
|
|
@@ -206,6 +222,35 @@ export interface ChoiceUpdate {
|
|
|
206
222
|
Reason?: ChoiceReason | string;
|
|
207
223
|
Notes?: string;
|
|
208
224
|
}
|
|
225
|
+
export interface QuestionMetric {
|
|
226
|
+
QuestionId?: string;
|
|
227
|
+
Risk?: Risk | string;
|
|
228
|
+
BestPractices?: BestPractice[];
|
|
229
|
+
}
|
|
230
|
+
export interface PillarMetric {
|
|
231
|
+
PillarId?: string;
|
|
232
|
+
RiskCounts?: Record<string, number>;
|
|
233
|
+
Questions?: QuestionMetric[];
|
|
234
|
+
}
|
|
235
|
+
export interface LensMetric {
|
|
236
|
+
LensArn?: string;
|
|
237
|
+
Pillars?: PillarMetric[];
|
|
238
|
+
RiskCounts?: Record<string, number>;
|
|
239
|
+
}
|
|
240
|
+
export declare const MetricType: {
|
|
241
|
+
readonly WORKLOAD: "WORKLOAD";
|
|
242
|
+
};
|
|
243
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
244
|
+
export interface ConsolidatedReportMetric {
|
|
245
|
+
MetricType?: MetricType | string;
|
|
246
|
+
RiskCounts?: Record<string, number>;
|
|
247
|
+
WorkloadId?: string;
|
|
248
|
+
WorkloadName?: string;
|
|
249
|
+
WorkloadArn?: string;
|
|
250
|
+
UpdatedAt?: Date;
|
|
251
|
+
Lenses?: LensMetric[];
|
|
252
|
+
LensesAppliedCount?: number;
|
|
253
|
+
}
|
|
209
254
|
export interface CreateLensShareInput {
|
|
210
255
|
LensAlias: string | undefined;
|
|
211
256
|
SharedWith: string | undefined;
|
|
@@ -245,17 +290,21 @@ export interface CreateMilestoneOutput {
|
|
|
245
290
|
WorkloadId?: string;
|
|
246
291
|
MilestoneNumber?: number;
|
|
247
292
|
}
|
|
248
|
-
export declare
|
|
249
|
-
DISABLED
|
|
250
|
-
ENABLED
|
|
251
|
-
}
|
|
293
|
+
export declare const TrustedAdvisorIntegrationStatus: {
|
|
294
|
+
readonly DISABLED: "DISABLED";
|
|
295
|
+
readonly ENABLED: "ENABLED";
|
|
296
|
+
};
|
|
297
|
+
export type TrustedAdvisorIntegrationStatus =
|
|
298
|
+
(typeof TrustedAdvisorIntegrationStatus)[keyof typeof TrustedAdvisorIntegrationStatus];
|
|
252
299
|
export interface WorkloadDiscoveryConfig {
|
|
253
300
|
TrustedAdvisorIntegrationStatus?: TrustedAdvisorIntegrationStatus | string;
|
|
254
301
|
}
|
|
255
|
-
export declare
|
|
256
|
-
PREPRODUCTION
|
|
257
|
-
PRODUCTION
|
|
258
|
-
}
|
|
302
|
+
export declare const WorkloadEnvironment: {
|
|
303
|
+
readonly PREPRODUCTION: "PREPRODUCTION";
|
|
304
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
305
|
+
};
|
|
306
|
+
export type WorkloadEnvironment =
|
|
307
|
+
(typeof WorkloadEnvironment)[keyof typeof WorkloadEnvironment];
|
|
259
308
|
export interface CreateWorkloadInput {
|
|
260
309
|
WorkloadName: string | undefined;
|
|
261
310
|
Description: string | undefined;
|
|
@@ -279,10 +328,12 @@ export interface CreateWorkloadOutput {
|
|
|
279
328
|
WorkloadId?: string;
|
|
280
329
|
WorkloadArn?: string;
|
|
281
330
|
}
|
|
282
|
-
export declare
|
|
283
|
-
CONTRIBUTOR
|
|
284
|
-
READONLY
|
|
285
|
-
}
|
|
331
|
+
export declare const PermissionType: {
|
|
332
|
+
readonly CONTRIBUTOR: "CONTRIBUTOR";
|
|
333
|
+
readonly READONLY: "READONLY";
|
|
334
|
+
};
|
|
335
|
+
export type PermissionType =
|
|
336
|
+
(typeof PermissionType)[keyof typeof PermissionType];
|
|
286
337
|
export interface CreateWorkloadShareInput {
|
|
287
338
|
WorkloadId: string | undefined;
|
|
288
339
|
SharedWith: string | undefined;
|
|
@@ -293,11 +344,13 @@ export interface CreateWorkloadShareOutput {
|
|
|
293
344
|
WorkloadId?: string;
|
|
294
345
|
ShareId?: string;
|
|
295
346
|
}
|
|
296
|
-
export declare
|
|
297
|
-
ALL
|
|
298
|
-
DRAFT
|
|
299
|
-
PUBLISHED
|
|
300
|
-
}
|
|
347
|
+
export declare const LensStatusType: {
|
|
348
|
+
readonly ALL: "ALL";
|
|
349
|
+
readonly DRAFT: "DRAFT";
|
|
350
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
351
|
+
};
|
|
352
|
+
export type LensStatusType =
|
|
353
|
+
(typeof LensStatusType)[keyof typeof LensStatusType];
|
|
301
354
|
export interface DeleteLensInput {
|
|
302
355
|
LensAlias: string | undefined;
|
|
303
356
|
ClientRequestToken?: string;
|
|
@@ -317,11 +370,13 @@ export interface DeleteWorkloadShareInput {
|
|
|
317
370
|
WorkloadId: string | undefined;
|
|
318
371
|
ClientRequestToken?: string;
|
|
319
372
|
}
|
|
320
|
-
export declare
|
|
321
|
-
DELETED
|
|
322
|
-
NEW
|
|
323
|
-
UPDATED
|
|
324
|
-
}
|
|
373
|
+
export declare const DifferenceStatus: {
|
|
374
|
+
readonly DELETED: "DELETED";
|
|
375
|
+
readonly NEW: "NEW";
|
|
376
|
+
readonly UPDATED: "UPDATED";
|
|
377
|
+
};
|
|
378
|
+
export type DifferenceStatus =
|
|
379
|
+
(typeof DifferenceStatus)[keyof typeof DifferenceStatus];
|
|
325
380
|
export interface DisassociateLensesInput {
|
|
326
381
|
WorkloadId: string | undefined;
|
|
327
382
|
LensAliases: string[] | undefined;
|
|
@@ -346,6 +401,22 @@ export interface GetAnswerOutput {
|
|
|
346
401
|
LensArn?: string;
|
|
347
402
|
Answer?: Answer;
|
|
348
403
|
}
|
|
404
|
+
export declare const ReportFormat: {
|
|
405
|
+
readonly JSON: "JSON";
|
|
406
|
+
readonly PDF: "PDF";
|
|
407
|
+
};
|
|
408
|
+
export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
|
|
409
|
+
export interface GetConsolidatedReportInput {
|
|
410
|
+
Format: ReportFormat | string | undefined;
|
|
411
|
+
IncludeSharedResources?: boolean;
|
|
412
|
+
NextToken?: string;
|
|
413
|
+
MaxResults?: number;
|
|
414
|
+
}
|
|
415
|
+
export interface GetConsolidatedReportOutput {
|
|
416
|
+
Metrics?: ConsolidatedReportMetric[];
|
|
417
|
+
NextToken?: string;
|
|
418
|
+
Base64String?: string;
|
|
419
|
+
}
|
|
349
420
|
export interface GetLensInput {
|
|
350
421
|
LensAlias: string | undefined;
|
|
351
422
|
LensVersion?: string;
|
|
@@ -367,13 +438,14 @@ export interface GetLensReviewInput {
|
|
|
367
438
|
LensAlias: string | undefined;
|
|
368
439
|
MilestoneNumber?: number;
|
|
369
440
|
}
|
|
370
|
-
export declare
|
|
371
|
-
CURRENT
|
|
372
|
-
DELETED
|
|
373
|
-
DEPRECATED
|
|
374
|
-
NOT_CURRENT
|
|
375
|
-
UNSHARED
|
|
376
|
-
}
|
|
441
|
+
export declare const LensStatus: {
|
|
442
|
+
readonly CURRENT: "CURRENT";
|
|
443
|
+
readonly DELETED: "DELETED";
|
|
444
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
445
|
+
readonly NOT_CURRENT: "NOT_CURRENT";
|
|
446
|
+
readonly UNSHARED: "UNSHARED";
|
|
447
|
+
};
|
|
448
|
+
export type LensStatus = (typeof LensStatus)[keyof typeof LensStatus];
|
|
377
449
|
export interface PillarReviewSummary {
|
|
378
450
|
PillarId?: string;
|
|
379
451
|
PillarName?: string;
|
|
@@ -443,13 +515,15 @@ export interface GetMilestoneInput {
|
|
|
443
515
|
WorkloadId: string | undefined;
|
|
444
516
|
MilestoneNumber: number | undefined;
|
|
445
517
|
}
|
|
446
|
-
export declare
|
|
447
|
-
COMPLETE
|
|
448
|
-
IN_PROGRESS
|
|
449
|
-
NOT_APPLICABLE
|
|
450
|
-
NOT_STARTED
|
|
451
|
-
RISK_ACKNOWLEDGED
|
|
452
|
-
}
|
|
518
|
+
export declare const WorkloadImprovementStatus: {
|
|
519
|
+
readonly COMPLETE: "COMPLETE";
|
|
520
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
521
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
522
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
523
|
+
readonly RISK_ACKNOWLEDGED: "RISK_ACKNOWLEDGED";
|
|
524
|
+
};
|
|
525
|
+
export type WorkloadImprovementStatus =
|
|
526
|
+
(typeof WorkloadImprovementStatus)[keyof typeof WorkloadImprovementStatus];
|
|
453
527
|
export interface Workload {
|
|
454
528
|
WorkloadId?: string;
|
|
455
529
|
WorkloadArn?: string;
|
|
@@ -499,11 +573,13 @@ export interface ImportLensInput {
|
|
|
499
573
|
ClientRequestToken?: string;
|
|
500
574
|
Tags?: Record<string, string>;
|
|
501
575
|
}
|
|
502
|
-
export declare
|
|
503
|
-
COMPLETE
|
|
504
|
-
ERROR
|
|
505
|
-
IN_PROGRESS
|
|
506
|
-
}
|
|
576
|
+
export declare const ImportLensStatus: {
|
|
577
|
+
readonly COMPLETE: "COMPLETE";
|
|
578
|
+
readonly ERROR: "ERROR";
|
|
579
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
580
|
+
};
|
|
581
|
+
export type ImportLensStatus =
|
|
582
|
+
(typeof ImportLensStatus)[keyof typeof ImportLensStatus];
|
|
507
583
|
export interface ImportLensOutput {
|
|
508
584
|
LensArn?: string;
|
|
509
585
|
Status?: ImportLensStatus | string;
|
|
@@ -525,27 +601,29 @@ export interface LensReviewSummary {
|
|
|
525
601
|
UpdatedAt?: Date;
|
|
526
602
|
RiskCounts?: Record<string, number>;
|
|
527
603
|
}
|
|
528
|
-
export declare
|
|
529
|
-
ACCEPTED
|
|
530
|
-
ASSOCIATED
|
|
531
|
-
ASSOCIATING
|
|
532
|
-
EXPIRED
|
|
533
|
-
FAILED
|
|
534
|
-
PENDING
|
|
535
|
-
REJECTED
|
|
536
|
-
REVOKED
|
|
537
|
-
}
|
|
604
|
+
export declare const ShareStatus: {
|
|
605
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
606
|
+
readonly ASSOCIATED: "ASSOCIATED";
|
|
607
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
608
|
+
readonly EXPIRED: "EXPIRED";
|
|
609
|
+
readonly FAILED: "FAILED";
|
|
610
|
+
readonly PENDING: "PENDING";
|
|
611
|
+
readonly REJECTED: "REJECTED";
|
|
612
|
+
readonly REVOKED: "REVOKED";
|
|
613
|
+
};
|
|
614
|
+
export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
|
|
538
615
|
export interface LensShareSummary {
|
|
539
616
|
ShareId?: string;
|
|
540
617
|
SharedWith?: string;
|
|
541
618
|
Status?: ShareStatus | string;
|
|
542
619
|
StatusMessage?: string;
|
|
543
620
|
}
|
|
544
|
-
export declare
|
|
545
|
-
AWS_OFFICIAL
|
|
546
|
-
CUSTOM_SELF
|
|
547
|
-
CUSTOM_SHARED
|
|
548
|
-
}
|
|
621
|
+
export declare const LensType: {
|
|
622
|
+
readonly AWS_OFFICIAL: "AWS_OFFICIAL";
|
|
623
|
+
readonly CUSTOM_SELF: "CUSTOM_SELF";
|
|
624
|
+
readonly CUSTOM_SHARED: "CUSTOM_SHARED";
|
|
625
|
+
};
|
|
626
|
+
export type LensType = (typeof LensType)[keyof typeof LensType];
|
|
549
627
|
export interface LensSummary {
|
|
550
628
|
LensArn?: string;
|
|
551
629
|
LensAlias?: string;
|
|
@@ -689,10 +767,12 @@ export interface ListNotificationsInput {
|
|
|
689
767
|
NextToken?: string;
|
|
690
768
|
MaxResults?: number;
|
|
691
769
|
}
|
|
692
|
-
export declare
|
|
693
|
-
LENS_VERSION_DEPRECATED
|
|
694
|
-
LENS_VERSION_UPGRADED
|
|
695
|
-
}
|
|
770
|
+
export declare const NotificationType: {
|
|
771
|
+
readonly LENS_VERSION_DEPRECATED: "LENS_VERSION_DEPRECATED";
|
|
772
|
+
readonly LENS_VERSION_UPGRADED: "LENS_VERSION_UPGRADED";
|
|
773
|
+
};
|
|
774
|
+
export type NotificationType =
|
|
775
|
+
(typeof NotificationType)[keyof typeof NotificationType];
|
|
696
776
|
export interface NotificationSummary {
|
|
697
777
|
Type?: NotificationType | string;
|
|
698
778
|
LensUpgradeSummary?: LensUpgradeSummary;
|
|
@@ -701,10 +781,12 @@ export interface ListNotificationsOutput {
|
|
|
701
781
|
NotificationSummaries?: NotificationSummary[];
|
|
702
782
|
NextToken?: string;
|
|
703
783
|
}
|
|
704
|
-
export declare
|
|
705
|
-
LENS
|
|
706
|
-
WORKLOAD
|
|
707
|
-
}
|
|
784
|
+
export declare const ShareResourceType: {
|
|
785
|
+
readonly LENS: "LENS";
|
|
786
|
+
readonly WORKLOAD: "WORKLOAD";
|
|
787
|
+
};
|
|
788
|
+
export type ShareResourceType =
|
|
789
|
+
(typeof ShareResourceType)[keyof typeof ShareResourceType];
|
|
708
790
|
export interface ListShareInvitationsInput {
|
|
709
791
|
WorkloadNamePrefix?: string;
|
|
710
792
|
LensNamePrefix?: string;
|
|
@@ -761,10 +843,12 @@ export interface ListWorkloadSharesOutput {
|
|
|
761
843
|
WorkloadShareSummaries?: WorkloadShareSummary[];
|
|
762
844
|
NextToken?: string;
|
|
763
845
|
}
|
|
764
|
-
export declare
|
|
765
|
-
DISABLED
|
|
766
|
-
ENABLED
|
|
767
|
-
}
|
|
846
|
+
export declare const OrganizationSharingStatus: {
|
|
847
|
+
readonly DISABLED: "DISABLED";
|
|
848
|
+
readonly ENABLED: "ENABLED";
|
|
849
|
+
};
|
|
850
|
+
export type OrganizationSharingStatus =
|
|
851
|
+
(typeof OrganizationSharingStatus)[keyof typeof OrganizationSharingStatus];
|
|
768
852
|
export interface ShareInvitation {
|
|
769
853
|
ShareInvitationId?: string;
|
|
770
854
|
ShareResourceType?: ShareResourceType | string;
|
|
@@ -772,10 +856,12 @@ export interface ShareInvitation {
|
|
|
772
856
|
LensAlias?: string;
|
|
773
857
|
LensArn?: string;
|
|
774
858
|
}
|
|
775
|
-
export declare
|
|
776
|
-
ACCEPT
|
|
777
|
-
REJECT
|
|
778
|
-
}
|
|
859
|
+
export declare const ShareInvitationAction: {
|
|
860
|
+
readonly ACCEPT: "ACCEPT";
|
|
861
|
+
readonly REJECT: "REJECT";
|
|
862
|
+
};
|
|
863
|
+
export type ShareInvitationAction =
|
|
864
|
+
(typeof ShareInvitationAction)[keyof typeof ShareInvitationAction];
|
|
779
865
|
export interface TagResourceInput {
|
|
780
866
|
WorkloadArn: string | undefined;
|
|
781
867
|
Tags: Record<string, string> | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
GetConsolidatedReportCommandInput,
|
|
4
|
+
GetConsolidatedReportCommandOutput,
|
|
5
|
+
} from "../commands/GetConsolidatedReportCommand";
|
|
6
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetConsolidatedReport(
|
|
8
|
+
config: WellArchitectedPaginationConfiguration,
|
|
9
|
+
input: GetConsolidatedReportCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetConsolidatedReportCommandOutput>;
|