@aws-sdk/client-wellarchitected 3.423.0 → 3.424.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 +112 -0
- package/dist-cjs/WellArchitected.js +28 -0
- package/dist-cjs/commands/CreateReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/CreateTemplateShareCommand.js +51 -0
- package/dist-cjs/commands/DeleteReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/DeleteTemplateShareCommand.js +51 -0
- package/dist-cjs/commands/GetReviewTemplateAnswerCommand.js +51 -0
- package/dist-cjs/commands/GetReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/GetReviewTemplateLensReviewCommand.js +51 -0
- package/dist-cjs/commands/ListReviewTemplateAnswersCommand.js +51 -0
- package/dist-cjs/commands/ListReviewTemplatesCommand.js +51 -0
- package/dist-cjs/commands/ListTemplateSharesCommand.js +51 -0
- package/dist-cjs/commands/UpdateReviewTemplateAnswerCommand.js +51 -0
- package/dist-cjs/commands/UpdateReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/UpdateReviewTemplateLensReviewCommand.js +51 -0
- package/dist-cjs/commands/UpgradeReviewTemplateLensReviewCommand.js +51 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/models/models_0.js +14 -1
- package/dist-cjs/pagination/ListReviewTemplateAnswersPaginator.js +29 -0
- package/dist-cjs/pagination/ListReviewTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplateSharesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1098 -53
- package/dist-es/WellArchitected.js +28 -0
- package/dist-es/commands/CreateReviewTemplateCommand.js +47 -0
- package/dist-es/commands/CreateTemplateShareCommand.js +47 -0
- package/dist-es/commands/DeleteReviewTemplateCommand.js +47 -0
- package/dist-es/commands/DeleteTemplateShareCommand.js +47 -0
- package/dist-es/commands/GetReviewTemplateAnswerCommand.js +47 -0
- package/dist-es/commands/GetReviewTemplateCommand.js +47 -0
- package/dist-es/commands/GetReviewTemplateLensReviewCommand.js +47 -0
- package/dist-es/commands/ListReviewTemplateAnswersCommand.js +47 -0
- package/dist-es/commands/ListReviewTemplatesCommand.js +47 -0
- package/dist-es/commands/ListTemplateSharesCommand.js +47 -0
- package/dist-es/commands/UpdateReviewTemplateAnswerCommand.js +47 -0
- package/dist-es/commands/UpdateReviewTemplateCommand.js +47 -0
- package/dist-es/commands/UpdateReviewTemplateLensReviewCommand.js +47 -0
- package/dist-es/commands/UpgradeReviewTemplateLensReviewCommand.js +47 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/pagination/ListReviewTemplateAnswersPaginator.js +25 -0
- package/dist-es/pagination/ListReviewTemplatesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplateSharesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1065 -48
- package/dist-types/WellArchitected.d.ts +98 -0
- package/dist-types/WellArchitectedClient.d.ts +16 -2
- package/dist-types/commands/CreateReviewTemplateCommand.d.ts +114 -0
- package/dist-types/commands/CreateTemplateShareCommand.d.ts +111 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +26 -0
- package/dist-types/commands/DeleteReviewTemplateCommand.d.ts +94 -0
- package/dist-types/commands/DeleteTemplateShareCommand.d.ts +94 -0
- package/dist-types/commands/GetReviewTemplateAnswerCommand.d.ts +141 -0
- package/dist-types/commands/GetReviewTemplateCommand.d.ts +106 -0
- package/dist-types/commands/GetReviewTemplateLensReviewCommand.d.ts +112 -0
- package/dist-types/commands/ListNotificationsCommand.d.ts +3 -0
- package/dist-types/commands/ListReviewTemplateAnswersCommand.d.ts +141 -0
- package/dist-types/commands/ListReviewTemplatesCommand.d.ts +99 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +10 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplateSharesCommand.d.ts +101 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateReviewTemplateAnswerCommand.d.ts +157 -0
- package/dist-types/commands/UpdateReviewTemplateCommand.d.ts +118 -0
- package/dist-types/commands/UpdateReviewTemplateLensReviewCommand.d.ts +119 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +1206 -103
- package/dist-types/pagination/ListReviewTemplateAnswersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReviewTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplateSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +238 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateReviewTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateTemplateShareCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteReviewTemplateCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteTemplateShareCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetReviewTemplateAnswerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetReviewTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetReviewTemplateLensReviewCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListReviewTemplateAnswersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListReviewTemplatesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplateSharesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateReviewTemplateAnswerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateReviewTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateReviewTemplateLensReviewCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +227 -0
- package/dist-types/ts3.4/pagination/ListReviewTemplateAnswersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReviewTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplateSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
UpdateReviewTemplateInput,
|
|
11
|
+
UpdateReviewTemplateOutput,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WellArchitectedClientResolvedConfig,
|
|
17
|
+
} from "../WellArchitectedClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateReviewTemplateCommandInput
|
|
20
|
+
extends UpdateReviewTemplateInput {}
|
|
21
|
+
export interface UpdateReviewTemplateCommandOutput
|
|
22
|
+
extends UpdateReviewTemplateOutput,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class UpdateReviewTemplateCommand extends $Command<
|
|
25
|
+
UpdateReviewTemplateCommandInput,
|
|
26
|
+
UpdateReviewTemplateCommandOutput,
|
|
27
|
+
WellArchitectedClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: UpdateReviewTemplateCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateReviewTemplateCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: WellArchitectedClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
UpdateReviewTemplateCommandInput,
|
|
38
|
+
UpdateReviewTemplateCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
UpdateReviewTemplateLensReviewInput,
|
|
11
|
+
UpdateReviewTemplateLensReviewOutput,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WellArchitectedClientResolvedConfig,
|
|
17
|
+
} from "../WellArchitectedClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateReviewTemplateLensReviewCommandInput
|
|
20
|
+
extends UpdateReviewTemplateLensReviewInput {}
|
|
21
|
+
export interface UpdateReviewTemplateLensReviewCommandOutput
|
|
22
|
+
extends UpdateReviewTemplateLensReviewOutput,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class UpdateReviewTemplateLensReviewCommand extends $Command<
|
|
25
|
+
UpdateReviewTemplateLensReviewCommandInput,
|
|
26
|
+
UpdateReviewTemplateLensReviewCommandOutput,
|
|
27
|
+
WellArchitectedClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: UpdateReviewTemplateLensReviewCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateReviewTemplateLensReviewCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: WellArchitectedClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
UpdateReviewTemplateLensReviewCommandInput,
|
|
38
|
+
UpdateReviewTemplateLensReviewCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import { UpgradeReviewTemplateLensReviewInput } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
WellArchitectedClientResolvedConfig,
|
|
14
|
+
} from "../WellArchitectedClient";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface UpgradeReviewTemplateLensReviewCommandInput
|
|
17
|
+
extends UpgradeReviewTemplateLensReviewInput {}
|
|
18
|
+
export interface UpgradeReviewTemplateLensReviewCommandOutput
|
|
19
|
+
extends __MetadataBearer {}
|
|
20
|
+
export declare class UpgradeReviewTemplateLensReviewCommand extends $Command<
|
|
21
|
+
UpgradeReviewTemplateLensReviewCommandInput,
|
|
22
|
+
UpgradeReviewTemplateLensReviewCommandOutput,
|
|
23
|
+
WellArchitectedClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: UpgradeReviewTemplateLensReviewCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: UpgradeReviewTemplateLensReviewCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: WellArchitectedClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<
|
|
33
|
+
UpgradeReviewTemplateLensReviewCommandInput,
|
|
34
|
+
UpgradeReviewTemplateLensReviewCommandOutput
|
|
35
|
+
>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -5,12 +5,16 @@ export * from "./CreateLensVersionCommand";
|
|
|
5
5
|
export * from "./CreateMilestoneCommand";
|
|
6
6
|
export * from "./CreateProfileCommand";
|
|
7
7
|
export * from "./CreateProfileShareCommand";
|
|
8
|
+
export * from "./CreateReviewTemplateCommand";
|
|
9
|
+
export * from "./CreateTemplateShareCommand";
|
|
8
10
|
export * from "./CreateWorkloadCommand";
|
|
9
11
|
export * from "./CreateWorkloadShareCommand";
|
|
10
12
|
export * from "./DeleteLensCommand";
|
|
11
13
|
export * from "./DeleteLensShareCommand";
|
|
12
14
|
export * from "./DeleteProfileCommand";
|
|
13
15
|
export * from "./DeleteProfileShareCommand";
|
|
16
|
+
export * from "./DeleteReviewTemplateCommand";
|
|
17
|
+
export * from "./DeleteTemplateShareCommand";
|
|
14
18
|
export * from "./DeleteWorkloadCommand";
|
|
15
19
|
export * from "./DeleteWorkloadShareCommand";
|
|
16
20
|
export * from "./DisassociateLensesCommand";
|
|
@@ -25,6 +29,9 @@ export * from "./GetLensVersionDifferenceCommand";
|
|
|
25
29
|
export * from "./GetMilestoneCommand";
|
|
26
30
|
export * from "./GetProfileCommand";
|
|
27
31
|
export * from "./GetProfileTemplateCommand";
|
|
32
|
+
export * from "./GetReviewTemplateAnswerCommand";
|
|
33
|
+
export * from "./GetReviewTemplateCommand";
|
|
34
|
+
export * from "./GetReviewTemplateLensReviewCommand";
|
|
28
35
|
export * from "./GetWorkloadCommand";
|
|
29
36
|
export * from "./ImportLensCommand";
|
|
30
37
|
export * from "./ListAnswersCommand";
|
|
@@ -39,8 +46,11 @@ export * from "./ListNotificationsCommand";
|
|
|
39
46
|
export * from "./ListProfileNotificationsCommand";
|
|
40
47
|
export * from "./ListProfileSharesCommand";
|
|
41
48
|
export * from "./ListProfilesCommand";
|
|
49
|
+
export * from "./ListReviewTemplateAnswersCommand";
|
|
50
|
+
export * from "./ListReviewTemplatesCommand";
|
|
42
51
|
export * from "./ListShareInvitationsCommand";
|
|
43
52
|
export * from "./ListTagsForResourceCommand";
|
|
53
|
+
export * from "./ListTemplateSharesCommand";
|
|
44
54
|
export * from "./ListWorkloadSharesCommand";
|
|
45
55
|
export * from "./ListWorkloadsCommand";
|
|
46
56
|
export * from "./TagResourceCommand";
|
|
@@ -49,8 +59,12 @@ export * from "./UpdateAnswerCommand";
|
|
|
49
59
|
export * from "./UpdateGlobalSettingsCommand";
|
|
50
60
|
export * from "./UpdateLensReviewCommand";
|
|
51
61
|
export * from "./UpdateProfileCommand";
|
|
62
|
+
export * from "./UpdateReviewTemplateAnswerCommand";
|
|
63
|
+
export * from "./UpdateReviewTemplateCommand";
|
|
64
|
+
export * from "./UpdateReviewTemplateLensReviewCommand";
|
|
52
65
|
export * from "./UpdateShareInvitationCommand";
|
|
53
66
|
export * from "./UpdateWorkloadCommand";
|
|
54
67
|
export * from "./UpdateWorkloadShareCommand";
|
|
55
68
|
export * from "./UpgradeLensReviewCommand";
|
|
56
69
|
export * from "./UpgradeProfileVersionCommand";
|
|
70
|
+
export * from "./UpgradeReviewTemplateLensReviewCommand";
|
|
@@ -324,6 +324,26 @@ export interface CreateProfileShareOutput {
|
|
|
324
324
|
ShareId?: string;
|
|
325
325
|
ProfileArn?: string;
|
|
326
326
|
}
|
|
327
|
+
export interface CreateReviewTemplateInput {
|
|
328
|
+
TemplateName: string | undefined;
|
|
329
|
+
Description: string | undefined;
|
|
330
|
+
Lenses: string[] | undefined;
|
|
331
|
+
Notes?: string;
|
|
332
|
+
Tags?: Record<string, string>;
|
|
333
|
+
ClientRequestToken?: string;
|
|
334
|
+
}
|
|
335
|
+
export interface CreateReviewTemplateOutput {
|
|
336
|
+
TemplateArn?: string;
|
|
337
|
+
}
|
|
338
|
+
export interface CreateTemplateShareInput {
|
|
339
|
+
TemplateArn: string | undefined;
|
|
340
|
+
SharedWith: string | undefined;
|
|
341
|
+
ClientRequestToken?: string;
|
|
342
|
+
}
|
|
343
|
+
export interface CreateTemplateShareOutput {
|
|
344
|
+
TemplateArn?: string;
|
|
345
|
+
ShareId?: string;
|
|
346
|
+
}
|
|
327
347
|
export declare const TrustedAdvisorIntegrationStatus: {
|
|
328
348
|
readonly DISABLED: "DISABLED";
|
|
329
349
|
readonly ENABLED: "ENABLED";
|
|
@@ -365,6 +385,7 @@ export interface CreateWorkloadInput {
|
|
|
365
385
|
DiscoveryConfig?: WorkloadDiscoveryConfig;
|
|
366
386
|
Applications?: string[];
|
|
367
387
|
ProfileArns?: string[];
|
|
388
|
+
ReviewTemplateArns?: string[];
|
|
368
389
|
}
|
|
369
390
|
export interface CreateWorkloadOutput {
|
|
370
391
|
WorkloadId?: string;
|
|
@@ -412,6 +433,15 @@ export interface DeleteProfileShareInput {
|
|
|
412
433
|
ProfileArn: string | undefined;
|
|
413
434
|
ClientRequestToken?: string;
|
|
414
435
|
}
|
|
436
|
+
export interface DeleteReviewTemplateInput {
|
|
437
|
+
TemplateArn: string | undefined;
|
|
438
|
+
ClientRequestToken?: string;
|
|
439
|
+
}
|
|
440
|
+
export interface DeleteTemplateShareInput {
|
|
441
|
+
ShareId: string | undefined;
|
|
442
|
+
TemplateArn: string | undefined;
|
|
443
|
+
ClientRequestToken?: string;
|
|
444
|
+
}
|
|
415
445
|
export interface DeleteWorkloadInput {
|
|
416
446
|
WorkloadId: string | undefined;
|
|
417
447
|
ClientRequestToken?: string;
|
|
@@ -687,6 +717,94 @@ export interface ProfileTemplate {
|
|
|
687
717
|
export interface GetProfileTemplateOutput {
|
|
688
718
|
ProfileTemplate?: ProfileTemplate;
|
|
689
719
|
}
|
|
720
|
+
export interface GetReviewTemplateInput {
|
|
721
|
+
TemplateArn: string | undefined;
|
|
722
|
+
}
|
|
723
|
+
export declare const Question: {
|
|
724
|
+
readonly ANSWERED: "ANSWERED";
|
|
725
|
+
readonly UNANSWERED: "UNANSWERED";
|
|
726
|
+
};
|
|
727
|
+
export type Question = (typeof Question)[keyof typeof Question];
|
|
728
|
+
export declare const ReviewTemplateUpdateStatus: {
|
|
729
|
+
readonly CURRENT: "CURRENT";
|
|
730
|
+
readonly LENS_NOT_CURRENT: "LENS_NOT_CURRENT";
|
|
731
|
+
};
|
|
732
|
+
export type ReviewTemplateUpdateStatus =
|
|
733
|
+
(typeof ReviewTemplateUpdateStatus)[keyof typeof ReviewTemplateUpdateStatus];
|
|
734
|
+
export interface ReviewTemplate {
|
|
735
|
+
Description?: string;
|
|
736
|
+
Lenses?: string[];
|
|
737
|
+
Notes?: string;
|
|
738
|
+
QuestionCounts?: Record<string, number>;
|
|
739
|
+
Owner?: string;
|
|
740
|
+
UpdatedAt?: Date;
|
|
741
|
+
TemplateArn?: string;
|
|
742
|
+
TemplateName?: string;
|
|
743
|
+
Tags?: Record<string, string>;
|
|
744
|
+
UpdateStatus?: ReviewTemplateUpdateStatus | string;
|
|
745
|
+
ShareInvitationId?: string;
|
|
746
|
+
}
|
|
747
|
+
export interface GetReviewTemplateOutput {
|
|
748
|
+
ReviewTemplate?: ReviewTemplate;
|
|
749
|
+
}
|
|
750
|
+
export interface GetReviewTemplateAnswerInput {
|
|
751
|
+
TemplateArn: string | undefined;
|
|
752
|
+
LensAlias: string | undefined;
|
|
753
|
+
QuestionId: string | undefined;
|
|
754
|
+
}
|
|
755
|
+
export declare const ReviewTemplateAnswerStatus: {
|
|
756
|
+
readonly ANSWERED: "ANSWERED";
|
|
757
|
+
readonly UNANSWERED: "UNANSWERED";
|
|
758
|
+
};
|
|
759
|
+
export type ReviewTemplateAnswerStatus =
|
|
760
|
+
(typeof ReviewTemplateAnswerStatus)[keyof typeof ReviewTemplateAnswerStatus];
|
|
761
|
+
export interface ReviewTemplateAnswer {
|
|
762
|
+
QuestionId?: string;
|
|
763
|
+
PillarId?: string;
|
|
764
|
+
QuestionTitle?: string;
|
|
765
|
+
QuestionDescription?: string;
|
|
766
|
+
ImprovementPlanUrl?: string;
|
|
767
|
+
HelpfulResourceUrl?: string;
|
|
768
|
+
HelpfulResourceDisplayText?: string;
|
|
769
|
+
Choices?: Choice[];
|
|
770
|
+
SelectedChoices?: string[];
|
|
771
|
+
ChoiceAnswers?: ChoiceAnswer[];
|
|
772
|
+
IsApplicable?: boolean;
|
|
773
|
+
AnswerStatus?: ReviewTemplateAnswerStatus | string;
|
|
774
|
+
Notes?: string;
|
|
775
|
+
Reason?: AnswerReason | string;
|
|
776
|
+
}
|
|
777
|
+
export interface GetReviewTemplateAnswerOutput {
|
|
778
|
+
TemplateArn?: string;
|
|
779
|
+
LensAlias?: string;
|
|
780
|
+
Answer?: ReviewTemplateAnswer;
|
|
781
|
+
}
|
|
782
|
+
export interface GetReviewTemplateLensReviewInput {
|
|
783
|
+
TemplateArn: string | undefined;
|
|
784
|
+
LensAlias: string | undefined;
|
|
785
|
+
}
|
|
786
|
+
export interface ReviewTemplatePillarReviewSummary {
|
|
787
|
+
PillarId?: string;
|
|
788
|
+
PillarName?: string;
|
|
789
|
+
Notes?: string;
|
|
790
|
+
QuestionCounts?: Record<string, number>;
|
|
791
|
+
}
|
|
792
|
+
export interface ReviewTemplateLensReview {
|
|
793
|
+
LensAlias?: string;
|
|
794
|
+
LensArn?: string;
|
|
795
|
+
LensVersion?: string;
|
|
796
|
+
LensName?: string;
|
|
797
|
+
LensStatus?: LensStatus | string;
|
|
798
|
+
PillarReviewSummaries?: ReviewTemplatePillarReviewSummary[];
|
|
799
|
+
UpdatedAt?: Date;
|
|
800
|
+
Notes?: string;
|
|
801
|
+
QuestionCounts?: Record<string, number>;
|
|
802
|
+
NextToken?: string;
|
|
803
|
+
}
|
|
804
|
+
export interface GetReviewTemplateLensReviewOutput {
|
|
805
|
+
TemplateArn?: string;
|
|
806
|
+
LensReview?: ReviewTemplateLensReview;
|
|
807
|
+
}
|
|
690
808
|
export interface GetWorkloadInput {
|
|
691
809
|
WorkloadId: string | undefined;
|
|
692
810
|
}
|
|
@@ -771,6 +889,8 @@ export interface LensUpgradeSummary {
|
|
|
771
889
|
LensArn?: string;
|
|
772
890
|
CurrentLensVersion?: string;
|
|
773
891
|
LatestLensVersion?: string;
|
|
892
|
+
ResourceArn?: string;
|
|
893
|
+
ResourceName?: string;
|
|
774
894
|
}
|
|
775
895
|
export declare const QuestionPriority: {
|
|
776
896
|
readonly NONE: "NONE";
|
|
@@ -904,6 +1024,7 @@ export interface ListNotificationsInput {
|
|
|
904
1024
|
WorkloadId?: string;
|
|
905
1025
|
NextToken?: string;
|
|
906
1026
|
MaxResults?: number;
|
|
1027
|
+
ResourceArn?: string;
|
|
907
1028
|
}
|
|
908
1029
|
export declare const NotificationType: {
|
|
909
1030
|
readonly LENS_VERSION_DEPRECATED: "LENS_VERSION_DEPRECATED";
|
|
@@ -985,9 +1106,52 @@ export interface ListProfileSharesOutput {
|
|
|
985
1106
|
ProfileShareSummaries?: ProfileShareSummary[];
|
|
986
1107
|
NextToken?: string;
|
|
987
1108
|
}
|
|
1109
|
+
export interface ListReviewTemplateAnswersInput {
|
|
1110
|
+
TemplateArn: string | undefined;
|
|
1111
|
+
LensAlias: string | undefined;
|
|
1112
|
+
PillarId?: string;
|
|
1113
|
+
NextToken?: string;
|
|
1114
|
+
MaxResults?: number;
|
|
1115
|
+
}
|
|
1116
|
+
export interface ReviewTemplateAnswerSummary {
|
|
1117
|
+
QuestionId?: string;
|
|
1118
|
+
PillarId?: string;
|
|
1119
|
+
QuestionTitle?: string;
|
|
1120
|
+
Choices?: Choice[];
|
|
1121
|
+
SelectedChoices?: string[];
|
|
1122
|
+
ChoiceAnswerSummaries?: ChoiceAnswerSummary[];
|
|
1123
|
+
IsApplicable?: boolean;
|
|
1124
|
+
AnswerStatus?: ReviewTemplateAnswerStatus | string;
|
|
1125
|
+
Reason?: AnswerReason | string;
|
|
1126
|
+
QuestionType?: QuestionType | string;
|
|
1127
|
+
}
|
|
1128
|
+
export interface ListReviewTemplateAnswersOutput {
|
|
1129
|
+
TemplateArn?: string;
|
|
1130
|
+
LensAlias?: string;
|
|
1131
|
+
AnswerSummaries?: ReviewTemplateAnswerSummary[];
|
|
1132
|
+
NextToken?: string;
|
|
1133
|
+
}
|
|
1134
|
+
export interface ListReviewTemplatesInput {
|
|
1135
|
+
NextToken?: string;
|
|
1136
|
+
MaxResults?: number;
|
|
1137
|
+
}
|
|
1138
|
+
export interface ReviewTemplateSummary {
|
|
1139
|
+
Description?: string;
|
|
1140
|
+
Lenses?: string[];
|
|
1141
|
+
Owner?: string;
|
|
1142
|
+
UpdatedAt?: Date;
|
|
1143
|
+
TemplateArn?: string;
|
|
1144
|
+
TemplateName?: string;
|
|
1145
|
+
UpdateStatus?: ReviewTemplateUpdateStatus | string;
|
|
1146
|
+
}
|
|
1147
|
+
export interface ListReviewTemplatesOutput {
|
|
1148
|
+
ReviewTemplates?: ReviewTemplateSummary[];
|
|
1149
|
+
NextToken?: string;
|
|
1150
|
+
}
|
|
988
1151
|
export declare const ShareResourceType: {
|
|
989
1152
|
readonly LENS: "LENS";
|
|
990
1153
|
readonly PROFILE: "PROFILE";
|
|
1154
|
+
readonly TEMPLATE: "TEMPLATE";
|
|
991
1155
|
readonly WORKLOAD: "WORKLOAD";
|
|
992
1156
|
};
|
|
993
1157
|
export type ShareResourceType =
|
|
@@ -999,6 +1163,7 @@ export interface ListShareInvitationsInput {
|
|
|
999
1163
|
NextToken?: string;
|
|
1000
1164
|
MaxResults?: number;
|
|
1001
1165
|
ProfileNamePrefix?: string;
|
|
1166
|
+
TemplateNamePrefix?: string;
|
|
1002
1167
|
}
|
|
1003
1168
|
export interface ShareInvitationSummary {
|
|
1004
1169
|
ShareInvitationId?: string;
|
|
@@ -1012,6 +1177,8 @@ export interface ShareInvitationSummary {
|
|
|
1012
1177
|
LensArn?: string;
|
|
1013
1178
|
ProfileName?: string;
|
|
1014
1179
|
ProfileArn?: string;
|
|
1180
|
+
TemplateName?: string;
|
|
1181
|
+
TemplateArn?: string;
|
|
1015
1182
|
}
|
|
1016
1183
|
export interface ListShareInvitationsOutput {
|
|
1017
1184
|
ShareInvitationSummaries?: ShareInvitationSummary[];
|
|
@@ -1023,6 +1190,24 @@ export interface ListTagsForResourceInput {
|
|
|
1023
1190
|
export interface ListTagsForResourceOutput {
|
|
1024
1191
|
Tags?: Record<string, string>;
|
|
1025
1192
|
}
|
|
1193
|
+
export interface ListTemplateSharesInput {
|
|
1194
|
+
TemplateArn: string | undefined;
|
|
1195
|
+
SharedWithPrefix?: string;
|
|
1196
|
+
NextToken?: string;
|
|
1197
|
+
MaxResults?: number;
|
|
1198
|
+
Status?: ShareStatus | string;
|
|
1199
|
+
}
|
|
1200
|
+
export interface TemplateShareSummary {
|
|
1201
|
+
ShareId?: string;
|
|
1202
|
+
SharedWith?: string;
|
|
1203
|
+
Status?: ShareStatus | string;
|
|
1204
|
+
StatusMessage?: string;
|
|
1205
|
+
}
|
|
1206
|
+
export interface ListTemplateSharesOutput {
|
|
1207
|
+
TemplateArn?: string;
|
|
1208
|
+
TemplateShareSummaries?: TemplateShareSummary[];
|
|
1209
|
+
NextToken?: string;
|
|
1210
|
+
}
|
|
1026
1211
|
export interface ListWorkloadsInput {
|
|
1027
1212
|
WorkloadNamePrefix?: string;
|
|
1028
1213
|
NextToken?: string;
|
|
@@ -1064,6 +1249,7 @@ export interface ShareInvitation {
|
|
|
1064
1249
|
LensAlias?: string;
|
|
1065
1250
|
LensArn?: string;
|
|
1066
1251
|
ProfileArn?: string;
|
|
1252
|
+
TemplateArn?: string;
|
|
1067
1253
|
}
|
|
1068
1254
|
export declare const ShareInvitationAction: {
|
|
1069
1255
|
readonly ACCEPT: "ACCEPT";
|
|
@@ -1119,6 +1305,42 @@ export interface UpdateProfileInput {
|
|
|
1119
1305
|
export interface UpdateProfileOutput {
|
|
1120
1306
|
Profile?: Profile;
|
|
1121
1307
|
}
|
|
1308
|
+
export interface UpdateReviewTemplateInput {
|
|
1309
|
+
TemplateArn: string | undefined;
|
|
1310
|
+
TemplateName?: string;
|
|
1311
|
+
Description?: string;
|
|
1312
|
+
Notes?: string;
|
|
1313
|
+
LensesToAssociate?: string[];
|
|
1314
|
+
LensesToDisassociate?: string[];
|
|
1315
|
+
}
|
|
1316
|
+
export interface UpdateReviewTemplateOutput {
|
|
1317
|
+
ReviewTemplate?: ReviewTemplate;
|
|
1318
|
+
}
|
|
1319
|
+
export interface UpdateReviewTemplateAnswerInput {
|
|
1320
|
+
TemplateArn: string | undefined;
|
|
1321
|
+
LensAlias: string | undefined;
|
|
1322
|
+
QuestionId: string | undefined;
|
|
1323
|
+
SelectedChoices?: string[];
|
|
1324
|
+
ChoiceUpdates?: Record<string, ChoiceUpdate>;
|
|
1325
|
+
Notes?: string;
|
|
1326
|
+
IsApplicable?: boolean;
|
|
1327
|
+
Reason?: AnswerReason | string;
|
|
1328
|
+
}
|
|
1329
|
+
export interface UpdateReviewTemplateAnswerOutput {
|
|
1330
|
+
TemplateArn?: string;
|
|
1331
|
+
LensAlias?: string;
|
|
1332
|
+
Answer?: ReviewTemplateAnswer;
|
|
1333
|
+
}
|
|
1334
|
+
export interface UpdateReviewTemplateLensReviewInput {
|
|
1335
|
+
TemplateArn: string | undefined;
|
|
1336
|
+
LensAlias: string | undefined;
|
|
1337
|
+
LensNotes?: string;
|
|
1338
|
+
PillarNotes?: Record<string, string>;
|
|
1339
|
+
}
|
|
1340
|
+
export interface UpdateReviewTemplateLensReviewOutput {
|
|
1341
|
+
TemplateArn?: string;
|
|
1342
|
+
LensReview?: ReviewTemplateLensReview;
|
|
1343
|
+
}
|
|
1122
1344
|
export interface UpdateShareInvitationInput {
|
|
1123
1345
|
ShareInvitationId: string | undefined;
|
|
1124
1346
|
ShareInvitationAction: ShareInvitationAction | string | undefined;
|
|
@@ -1178,3 +1400,8 @@ export interface UpgradeProfileVersionInput {
|
|
|
1178
1400
|
MilestoneName?: string;
|
|
1179
1401
|
ClientRequestToken?: string;
|
|
1180
1402
|
}
|
|
1403
|
+
export interface UpgradeReviewTemplateLensReviewInput {
|
|
1404
|
+
TemplateArn: string | undefined;
|
|
1405
|
+
LensAlias: string | undefined;
|
|
1406
|
+
ClientRequestToken?: string;
|
|
1407
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListReviewTemplateAnswersCommandInput,
|
|
4
|
+
ListReviewTemplateAnswersCommandOutput,
|
|
5
|
+
} from "../commands/ListReviewTemplateAnswersCommand";
|
|
6
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListReviewTemplateAnswers(
|
|
8
|
+
config: WellArchitectedPaginationConfiguration,
|
|
9
|
+
input: ListReviewTemplateAnswersCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListReviewTemplateAnswersCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListReviewTemplatesCommandInput,
|
|
4
|
+
ListReviewTemplatesCommandOutput,
|
|
5
|
+
} from "../commands/ListReviewTemplatesCommand";
|
|
6
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListReviewTemplates(
|
|
8
|
+
config: WellArchitectedPaginationConfiguration,
|
|
9
|
+
input: ListReviewTemplatesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListReviewTemplatesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTemplateSharesCommandInput,
|
|
4
|
+
ListTemplateSharesCommandOutput,
|
|
5
|
+
} from "../commands/ListTemplateSharesCommand";
|
|
6
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListTemplateShares(
|
|
8
|
+
config: WellArchitectedPaginationConfiguration,
|
|
9
|
+
input: ListTemplateSharesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListTemplateSharesCommandOutput>;
|
|
@@ -12,6 +12,9 @@ export * from "./ListNotificationsPaginator";
|
|
|
12
12
|
export * from "./ListProfileNotificationsPaginator";
|
|
13
13
|
export * from "./ListProfileSharesPaginator";
|
|
14
14
|
export * from "./ListProfilesPaginator";
|
|
15
|
+
export * from "./ListReviewTemplateAnswersPaginator";
|
|
16
|
+
export * from "./ListReviewTemplatesPaginator";
|
|
15
17
|
export * from "./ListShareInvitationsPaginator";
|
|
18
|
+
export * from "./ListTemplateSharesPaginator";
|
|
16
19
|
export * from "./ListWorkloadSharesPaginator";
|
|
17
20
|
export * from "./ListWorkloadsPaginator";
|