@aws-sdk/client-wellarchitected 3.350.0 → 3.353.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 +104 -0
- package/dist-cjs/WellArchitected.js +26 -0
- package/dist-cjs/commands/AssociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DisassociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/GetProfileCommand.js +46 -0
- package/dist-cjs/commands/GetProfileTemplateCommand.js +46 -0
- package/dist-cjs/commands/ListProfileNotificationsCommand.js +46 -0
- package/dist-cjs/commands/ListProfileSharesCommand.js +46 -0
- package/dist-cjs/commands/ListProfilesCommand.js +46 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +46 -0
- package/dist-cjs/commands/UpgradeProfileVersionCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +18 -1
- package/dist-cjs/pagination/ListProfileNotificationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfileSharesPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +991 -40
- package/dist-es/WellArchitected.js +26 -0
- package/dist-es/commands/AssociateProfilesCommand.js +42 -0
- package/dist-es/commands/CreateProfileCommand.js +42 -0
- package/dist-es/commands/CreateProfileShareCommand.js +42 -0
- package/dist-es/commands/DeleteProfileCommand.js +42 -0
- package/dist-es/commands/DeleteProfileShareCommand.js +42 -0
- package/dist-es/commands/DisassociateProfilesCommand.js +42 -0
- package/dist-es/commands/GetProfileCommand.js +42 -0
- package/dist-es/commands/GetProfileTemplateCommand.js +42 -0
- package/dist-es/commands/ListProfileNotificationsCommand.js +42 -0
- package/dist-es/commands/ListProfileSharesCommand.js +42 -0
- package/dist-es/commands/ListProfilesCommand.js +42 -0
- package/dist-es/commands/UpdateProfileCommand.js +42 -0
- package/dist-es/commands/UpgradeProfileVersionCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/pagination/ListProfileNotificationsPaginator.js +25 -0
- package/dist-es/pagination/ListProfileSharesPaginator.js +25 -0
- package/dist-es/pagination/ListProfilesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +960 -36
- package/dist-types/WellArchitected.d.ts +91 -0
- package/dist-types/WellArchitectedClient.d.ts +15 -2
- package/dist-types/commands/AssociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +105 -0
- package/dist-types/commands/CreateProfileShareCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +101 -0
- package/dist-types/commands/DeleteProfileShareCommand.d.ts +91 -0
- package/dist-types/commands/DisassociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/GetLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/GetMilestoneCommand.d.ts +9 -0
- package/dist-types/commands/GetProfileCommand.d.ts +120 -0
- package/dist-types/commands/GetProfileTemplateCommand.d.ts +106 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/ListAnswersCommand.d.ts +2 -0
- package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +1 -0
- package/dist-types/commands/ListLensReviewsCommand.d.ts +9 -0
- package/dist-types/commands/ListMilestonesCommand.d.ts +9 -0
- package/dist-types/commands/ListProfileNotificationsCommand.d.ts +98 -0
- package/dist-types/commands/ListProfileSharesCommand.d.ts +100 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +99 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkloadsCommand.d.ts +9 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +131 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +850 -90
- package/dist-types/pagination/ListProfileNotificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfileSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +221 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/AssociateProfilesCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateProfileShareCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteProfileShareCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DisassociateProfilesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProfileTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfileNotificationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListProfileSharesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -0
- package/dist-types/ts3.4/pagination/ListProfileNotificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfileSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.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 +156 -0
- package/package.json +13 -13
|
@@ -0,0 +1,37 @@
|
|
|
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 { UpgradeProfileVersionInput } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
WellArchitectedClientResolvedConfig,
|
|
14
|
+
} from "../WellArchitectedClient";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface UpgradeProfileVersionCommandInput
|
|
17
|
+
extends UpgradeProfileVersionInput {}
|
|
18
|
+
export interface UpgradeProfileVersionCommandOutput extends __MetadataBearer {}
|
|
19
|
+
export declare class UpgradeProfileVersionCommand extends $Command<
|
|
20
|
+
UpgradeProfileVersionCommandInput,
|
|
21
|
+
UpgradeProfileVersionCommandOutput,
|
|
22
|
+
WellArchitectedClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: UpgradeProfileVersionCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: UpgradeProfileVersionCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: WellArchitectedClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<
|
|
32
|
+
UpgradeProfileVersionCommandInput,
|
|
33
|
+
UpgradeProfileVersionCommandOutput
|
|
34
|
+
>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
export * from "./AssociateLensesCommand";
|
|
2
|
+
export * from "./AssociateProfilesCommand";
|
|
2
3
|
export * from "./CreateLensShareCommand";
|
|
3
4
|
export * from "./CreateLensVersionCommand";
|
|
4
5
|
export * from "./CreateMilestoneCommand";
|
|
6
|
+
export * from "./CreateProfileCommand";
|
|
7
|
+
export * from "./CreateProfileShareCommand";
|
|
5
8
|
export * from "./CreateWorkloadCommand";
|
|
6
9
|
export * from "./CreateWorkloadShareCommand";
|
|
7
10
|
export * from "./DeleteLensCommand";
|
|
8
11
|
export * from "./DeleteLensShareCommand";
|
|
12
|
+
export * from "./DeleteProfileCommand";
|
|
13
|
+
export * from "./DeleteProfileShareCommand";
|
|
9
14
|
export * from "./DeleteWorkloadCommand";
|
|
10
15
|
export * from "./DeleteWorkloadShareCommand";
|
|
11
16
|
export * from "./DisassociateLensesCommand";
|
|
17
|
+
export * from "./DisassociateProfilesCommand";
|
|
12
18
|
export * from "./ExportLensCommand";
|
|
13
19
|
export * from "./GetAnswerCommand";
|
|
14
20
|
export * from "./GetConsolidatedReportCommand";
|
|
@@ -17,6 +23,8 @@ export * from "./GetLensReviewCommand";
|
|
|
17
23
|
export * from "./GetLensReviewReportCommand";
|
|
18
24
|
export * from "./GetLensVersionDifferenceCommand";
|
|
19
25
|
export * from "./GetMilestoneCommand";
|
|
26
|
+
export * from "./GetProfileCommand";
|
|
27
|
+
export * from "./GetProfileTemplateCommand";
|
|
20
28
|
export * from "./GetWorkloadCommand";
|
|
21
29
|
export * from "./ImportLensCommand";
|
|
22
30
|
export * from "./ListAnswersCommand";
|
|
@@ -28,6 +36,9 @@ export * from "./ListLensSharesCommand";
|
|
|
28
36
|
export * from "./ListLensesCommand";
|
|
29
37
|
export * from "./ListMilestonesCommand";
|
|
30
38
|
export * from "./ListNotificationsCommand";
|
|
39
|
+
export * from "./ListProfileNotificationsCommand";
|
|
40
|
+
export * from "./ListProfileSharesCommand";
|
|
41
|
+
export * from "./ListProfilesCommand";
|
|
31
42
|
export * from "./ListShareInvitationsCommand";
|
|
32
43
|
export * from "./ListTagsForResourceCommand";
|
|
33
44
|
export * from "./ListWorkloadSharesCommand";
|
|
@@ -37,7 +48,9 @@ export * from "./UntagResourceCommand";
|
|
|
37
48
|
export * from "./UpdateAnswerCommand";
|
|
38
49
|
export * from "./UpdateGlobalSettingsCommand";
|
|
39
50
|
export * from "./UpdateLensReviewCommand";
|
|
51
|
+
export * from "./UpdateProfileCommand";
|
|
40
52
|
export * from "./UpdateShareInvitationCommand";
|
|
41
53
|
export * from "./UpdateWorkloadCommand";
|
|
42
54
|
export * from "./UpdateWorkloadShareCommand";
|
|
43
55
|
export * from "./UpgradeLensReviewCommand";
|
|
56
|
+
export * from "./UpgradeProfileVersionCommand";
|
|
@@ -95,6 +95,11 @@ export interface ChoiceAnswerSummary {
|
|
|
95
95
|
Status?: ChoiceStatus | string;
|
|
96
96
|
Reason?: ChoiceReason | string;
|
|
97
97
|
}
|
|
98
|
+
export declare const QuestionType: {
|
|
99
|
+
readonly NON_PRIORITIZED: "NON_PRIORITIZED";
|
|
100
|
+
readonly PRIORITIZED: "PRIORITIZED";
|
|
101
|
+
};
|
|
102
|
+
export type QuestionType = (typeof QuestionType)[keyof typeof QuestionType];
|
|
98
103
|
export interface AnswerSummary {
|
|
99
104
|
QuestionId?: string;
|
|
100
105
|
PillarId?: string;
|
|
@@ -105,6 +110,7 @@ export interface AnswerSummary {
|
|
|
105
110
|
IsApplicable?: boolean;
|
|
106
111
|
Risk?: Risk | string;
|
|
107
112
|
Reason?: AnswerReason | string;
|
|
113
|
+
QuestionType?: QuestionType | string;
|
|
108
114
|
}
|
|
109
115
|
export interface AssociateLensesInput {
|
|
110
116
|
WorkloadId: string | undefined;
|
|
@@ -168,6 +174,10 @@ export declare class ValidationException extends __BaseException {
|
|
|
168
174
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
169
175
|
);
|
|
170
176
|
}
|
|
177
|
+
export interface AssociateProfilesInput {
|
|
178
|
+
WorkloadId: string | undefined;
|
|
179
|
+
ProfileArns: string[] | undefined;
|
|
180
|
+
}
|
|
171
181
|
export interface BestPractice {
|
|
172
182
|
ChoiceId?: string;
|
|
173
183
|
ChoiceTitle?: string;
|
|
@@ -290,6 +300,30 @@ export interface CreateMilestoneOutput {
|
|
|
290
300
|
WorkloadId?: string;
|
|
291
301
|
MilestoneNumber?: number;
|
|
292
302
|
}
|
|
303
|
+
export interface ProfileQuestionUpdate {
|
|
304
|
+
QuestionId?: string;
|
|
305
|
+
SelectedChoiceIds?: string[];
|
|
306
|
+
}
|
|
307
|
+
export interface CreateProfileInput {
|
|
308
|
+
ProfileName: string | undefined;
|
|
309
|
+
ProfileDescription: string | undefined;
|
|
310
|
+
ProfileQuestions: ProfileQuestionUpdate[] | undefined;
|
|
311
|
+
ClientRequestToken?: string;
|
|
312
|
+
Tags?: Record<string, string>;
|
|
313
|
+
}
|
|
314
|
+
export interface CreateProfileOutput {
|
|
315
|
+
ProfileArn?: string;
|
|
316
|
+
ProfileVersion?: string;
|
|
317
|
+
}
|
|
318
|
+
export interface CreateProfileShareInput {
|
|
319
|
+
ProfileArn: string | undefined;
|
|
320
|
+
SharedWith: string | undefined;
|
|
321
|
+
ClientRequestToken?: string;
|
|
322
|
+
}
|
|
323
|
+
export interface CreateProfileShareOutput {
|
|
324
|
+
ShareId?: string;
|
|
325
|
+
ProfileArn?: string;
|
|
326
|
+
}
|
|
293
327
|
export declare const TrustedAdvisorIntegrationStatus: {
|
|
294
328
|
readonly DISABLED: "DISABLED";
|
|
295
329
|
readonly ENABLED: "ENABLED";
|
|
@@ -330,6 +364,7 @@ export interface CreateWorkloadInput {
|
|
|
330
364
|
Tags?: Record<string, string>;
|
|
331
365
|
DiscoveryConfig?: WorkloadDiscoveryConfig;
|
|
332
366
|
Applications?: string[];
|
|
367
|
+
ProfileArns?: string[];
|
|
333
368
|
}
|
|
334
369
|
export interface CreateWorkloadOutput {
|
|
335
370
|
WorkloadId?: string;
|
|
@@ -368,6 +403,15 @@ export interface DeleteLensShareInput {
|
|
|
368
403
|
LensAlias: string | undefined;
|
|
369
404
|
ClientRequestToken?: string;
|
|
370
405
|
}
|
|
406
|
+
export interface DeleteProfileInput {
|
|
407
|
+
ProfileArn: string | undefined;
|
|
408
|
+
ClientRequestToken?: string;
|
|
409
|
+
}
|
|
410
|
+
export interface DeleteProfileShareInput {
|
|
411
|
+
ShareId: string | undefined;
|
|
412
|
+
ProfileArn: string | undefined;
|
|
413
|
+
ClientRequestToken?: string;
|
|
414
|
+
}
|
|
371
415
|
export interface DeleteWorkloadInput {
|
|
372
416
|
WorkloadId: string | undefined;
|
|
373
417
|
ClientRequestToken?: string;
|
|
@@ -388,6 +432,10 @@ export interface DisassociateLensesInput {
|
|
|
388
432
|
WorkloadId: string | undefined;
|
|
389
433
|
LensAliases: string[] | undefined;
|
|
390
434
|
}
|
|
435
|
+
export interface DisassociateProfilesInput {
|
|
436
|
+
WorkloadId: string | undefined;
|
|
437
|
+
ProfileArns: string[] | undefined;
|
|
438
|
+
}
|
|
391
439
|
export declare const DiscoveryIntegrationStatus: {
|
|
392
440
|
readonly DISABLED: "DISABLED";
|
|
393
441
|
readonly ENABLED: "ENABLED";
|
|
@@ -464,6 +512,11 @@ export interface PillarReviewSummary {
|
|
|
464
512
|
PillarName?: string;
|
|
465
513
|
Notes?: string;
|
|
466
514
|
RiskCounts?: Record<string, number>;
|
|
515
|
+
PrioritizedRiskCounts?: Record<string, number>;
|
|
516
|
+
}
|
|
517
|
+
export interface WorkloadProfile {
|
|
518
|
+
ProfileArn?: string;
|
|
519
|
+
ProfileVersion?: string;
|
|
467
520
|
}
|
|
468
521
|
export interface LensReview {
|
|
469
522
|
LensAlias?: string;
|
|
@@ -476,6 +529,8 @@ export interface LensReview {
|
|
|
476
529
|
Notes?: string;
|
|
477
530
|
RiskCounts?: Record<string, number>;
|
|
478
531
|
NextToken?: string;
|
|
532
|
+
Profiles?: WorkloadProfile[];
|
|
533
|
+
PrioritizedRiskCounts?: Record<string, number>;
|
|
479
534
|
}
|
|
480
535
|
export interface GetLensReviewOutput {
|
|
481
536
|
WorkloadId?: string;
|
|
@@ -563,6 +618,8 @@ export interface Workload {
|
|
|
563
618
|
Tags?: Record<string, string>;
|
|
564
619
|
DiscoveryConfig?: WorkloadDiscoveryConfig;
|
|
565
620
|
Applications?: string[];
|
|
621
|
+
Profiles?: WorkloadProfile[];
|
|
622
|
+
PrioritizedRiskCounts?: Record<string, number>;
|
|
566
623
|
}
|
|
567
624
|
export interface Milestone {
|
|
568
625
|
MilestoneNumber?: number;
|
|
@@ -574,6 +631,62 @@ export interface GetMilestoneOutput {
|
|
|
574
631
|
WorkloadId?: string;
|
|
575
632
|
Milestone?: Milestone;
|
|
576
633
|
}
|
|
634
|
+
export interface GetProfileInput {
|
|
635
|
+
ProfileArn: string | undefined;
|
|
636
|
+
ProfileVersion?: string;
|
|
637
|
+
}
|
|
638
|
+
export interface ProfileChoice {
|
|
639
|
+
ChoiceId?: string;
|
|
640
|
+
ChoiceTitle?: string;
|
|
641
|
+
ChoiceDescription?: string;
|
|
642
|
+
}
|
|
643
|
+
export interface ProfileQuestion {
|
|
644
|
+
QuestionId?: string;
|
|
645
|
+
QuestionTitle?: string;
|
|
646
|
+
QuestionDescription?: string;
|
|
647
|
+
QuestionChoices?: ProfileChoice[];
|
|
648
|
+
SelectedChoiceIds?: string[];
|
|
649
|
+
MinSelectedChoices?: number;
|
|
650
|
+
MaxSelectedChoices?: number;
|
|
651
|
+
}
|
|
652
|
+
export interface Profile {
|
|
653
|
+
ProfileArn?: string;
|
|
654
|
+
ProfileVersion?: string;
|
|
655
|
+
ProfileName?: string;
|
|
656
|
+
ProfileDescription?: string;
|
|
657
|
+
ProfileQuestions?: ProfileQuestion[];
|
|
658
|
+
Owner?: string;
|
|
659
|
+
CreatedAt?: Date;
|
|
660
|
+
UpdatedAt?: Date;
|
|
661
|
+
ShareInvitationId?: string;
|
|
662
|
+
Tags?: Record<string, string>;
|
|
663
|
+
}
|
|
664
|
+
export interface GetProfileOutput {
|
|
665
|
+
Profile?: Profile;
|
|
666
|
+
}
|
|
667
|
+
export interface GetProfileTemplateInput {}
|
|
668
|
+
export interface ProfileTemplateChoice {
|
|
669
|
+
ChoiceId?: string;
|
|
670
|
+
ChoiceTitle?: string;
|
|
671
|
+
ChoiceDescription?: string;
|
|
672
|
+
}
|
|
673
|
+
export interface ProfileTemplateQuestion {
|
|
674
|
+
QuestionId?: string;
|
|
675
|
+
QuestionTitle?: string;
|
|
676
|
+
QuestionDescription?: string;
|
|
677
|
+
QuestionChoices?: ProfileTemplateChoice[];
|
|
678
|
+
MinSelectedChoices?: number;
|
|
679
|
+
MaxSelectedChoices?: number;
|
|
680
|
+
}
|
|
681
|
+
export interface ProfileTemplate {
|
|
682
|
+
TemplateName?: string;
|
|
683
|
+
TemplateQuestions?: ProfileTemplateQuestion[];
|
|
684
|
+
CreatedAt?: Date;
|
|
685
|
+
UpdatedAt?: Date;
|
|
686
|
+
}
|
|
687
|
+
export interface GetProfileTemplateOutput {
|
|
688
|
+
ProfileTemplate?: ProfileTemplate;
|
|
689
|
+
}
|
|
577
690
|
export interface GetWorkloadInput {
|
|
578
691
|
WorkloadId: string | undefined;
|
|
579
692
|
}
|
|
@@ -613,6 +726,8 @@ export interface LensReviewSummary {
|
|
|
613
726
|
LensStatus?: LensStatus | string;
|
|
614
727
|
UpdatedAt?: Date;
|
|
615
728
|
RiskCounts?: Record<string, number>;
|
|
729
|
+
Profiles?: WorkloadProfile[];
|
|
730
|
+
PrioritizedRiskCounts?: Record<string, number>;
|
|
616
731
|
}
|
|
617
732
|
export declare const ShareStatus: {
|
|
618
733
|
readonly ACCEPTED: "ACCEPTED";
|
|
@@ -657,6 +772,12 @@ export interface LensUpgradeSummary {
|
|
|
657
772
|
CurrentLensVersion?: string;
|
|
658
773
|
LatestLensVersion?: string;
|
|
659
774
|
}
|
|
775
|
+
export declare const QuestionPriority: {
|
|
776
|
+
readonly NONE: "NONE";
|
|
777
|
+
readonly PRIORITIZED: "PRIORITIZED";
|
|
778
|
+
};
|
|
779
|
+
export type QuestionPriority =
|
|
780
|
+
(typeof QuestionPriority)[keyof typeof QuestionPriority];
|
|
660
781
|
export interface ListAnswersInput {
|
|
661
782
|
WorkloadId: string | undefined;
|
|
662
783
|
LensAlias: string | undefined;
|
|
@@ -664,6 +785,7 @@ export interface ListAnswersInput {
|
|
|
664
785
|
MilestoneNumber?: number;
|
|
665
786
|
NextToken?: string;
|
|
666
787
|
MaxResults?: number;
|
|
788
|
+
QuestionPriority?: QuestionPriority | string;
|
|
667
789
|
}
|
|
668
790
|
export interface ListAnswersOutput {
|
|
669
791
|
WorkloadId?: string;
|
|
@@ -717,6 +839,7 @@ export interface ListLensReviewImprovementsInput {
|
|
|
717
839
|
MilestoneNumber?: number;
|
|
718
840
|
NextToken?: string;
|
|
719
841
|
MaxResults?: number;
|
|
842
|
+
QuestionPriority?: QuestionPriority | string;
|
|
720
843
|
}
|
|
721
844
|
export interface ListLensReviewImprovementsOutput {
|
|
722
845
|
WorkloadId?: string;
|
|
@@ -763,6 +886,8 @@ export interface WorkloadSummary {
|
|
|
763
886
|
Lenses?: string[];
|
|
764
887
|
RiskCounts?: Record<string, number>;
|
|
765
888
|
ImprovementStatus?: WorkloadImprovementStatus | string;
|
|
889
|
+
Profiles?: WorkloadProfile[];
|
|
890
|
+
PrioritizedRiskCounts?: Record<string, number>;
|
|
766
891
|
}
|
|
767
892
|
export interface MilestoneSummary {
|
|
768
893
|
MilestoneNumber?: number;
|
|
@@ -794,8 +919,75 @@ export interface ListNotificationsOutput {
|
|
|
794
919
|
NotificationSummaries?: NotificationSummary[];
|
|
795
920
|
NextToken?: string;
|
|
796
921
|
}
|
|
922
|
+
export interface ListProfileNotificationsInput {
|
|
923
|
+
WorkloadId?: string;
|
|
924
|
+
NextToken?: string;
|
|
925
|
+
MaxResults?: number;
|
|
926
|
+
}
|
|
927
|
+
export declare const ProfileNotificationType: {
|
|
928
|
+
readonly PROFILE_ANSWERS_UPDATED: "PROFILE_ANSWERS_UPDATED";
|
|
929
|
+
readonly PROFILE_DELETED: "PROFILE_DELETED";
|
|
930
|
+
};
|
|
931
|
+
export type ProfileNotificationType =
|
|
932
|
+
(typeof ProfileNotificationType)[keyof typeof ProfileNotificationType];
|
|
933
|
+
export interface ProfileNotificationSummary {
|
|
934
|
+
CurrentProfileVersion?: string;
|
|
935
|
+
LatestProfileVersion?: string;
|
|
936
|
+
Type?: ProfileNotificationType | string;
|
|
937
|
+
ProfileArn?: string;
|
|
938
|
+
ProfileName?: string;
|
|
939
|
+
WorkloadId?: string;
|
|
940
|
+
WorkloadName?: string;
|
|
941
|
+
}
|
|
942
|
+
export interface ListProfileNotificationsOutput {
|
|
943
|
+
NotificationSummaries?: ProfileNotificationSummary[];
|
|
944
|
+
NextToken?: string;
|
|
945
|
+
}
|
|
946
|
+
export declare const ProfileOwnerType: {
|
|
947
|
+
readonly SELF: "SELF";
|
|
948
|
+
readonly SHARED: "SHARED";
|
|
949
|
+
};
|
|
950
|
+
export type ProfileOwnerType =
|
|
951
|
+
(typeof ProfileOwnerType)[keyof typeof ProfileOwnerType];
|
|
952
|
+
export interface ListProfilesInput {
|
|
953
|
+
ProfileNamePrefix?: string;
|
|
954
|
+
ProfileOwnerType?: ProfileOwnerType | string;
|
|
955
|
+
NextToken?: string;
|
|
956
|
+
MaxResults?: number;
|
|
957
|
+
}
|
|
958
|
+
export interface ProfileSummary {
|
|
959
|
+
ProfileArn?: string;
|
|
960
|
+
ProfileVersion?: string;
|
|
961
|
+
ProfileName?: string;
|
|
962
|
+
ProfileDescription?: string;
|
|
963
|
+
Owner?: string;
|
|
964
|
+
CreatedAt?: Date;
|
|
965
|
+
UpdatedAt?: Date;
|
|
966
|
+
}
|
|
967
|
+
export interface ListProfilesOutput {
|
|
968
|
+
ProfileSummaries?: ProfileSummary[];
|
|
969
|
+
NextToken?: string;
|
|
970
|
+
}
|
|
971
|
+
export interface ListProfileSharesInput {
|
|
972
|
+
ProfileArn: string | undefined;
|
|
973
|
+
SharedWithPrefix?: string;
|
|
974
|
+
NextToken?: string;
|
|
975
|
+
MaxResults?: number;
|
|
976
|
+
Status?: ShareStatus | string;
|
|
977
|
+
}
|
|
978
|
+
export interface ProfileShareSummary {
|
|
979
|
+
ShareId?: string;
|
|
980
|
+
SharedWith?: string;
|
|
981
|
+
Status?: ShareStatus | string;
|
|
982
|
+
StatusMessage?: string;
|
|
983
|
+
}
|
|
984
|
+
export interface ListProfileSharesOutput {
|
|
985
|
+
ProfileShareSummaries?: ProfileShareSummary[];
|
|
986
|
+
NextToken?: string;
|
|
987
|
+
}
|
|
797
988
|
export declare const ShareResourceType: {
|
|
798
989
|
readonly LENS: "LENS";
|
|
990
|
+
readonly PROFILE: "PROFILE";
|
|
799
991
|
readonly WORKLOAD: "WORKLOAD";
|
|
800
992
|
};
|
|
801
993
|
export type ShareResourceType =
|
|
@@ -806,6 +998,7 @@ export interface ListShareInvitationsInput {
|
|
|
806
998
|
ShareResourceType?: ShareResourceType | string;
|
|
807
999
|
NextToken?: string;
|
|
808
1000
|
MaxResults?: number;
|
|
1001
|
+
ProfileNamePrefix?: string;
|
|
809
1002
|
}
|
|
810
1003
|
export interface ShareInvitationSummary {
|
|
811
1004
|
ShareInvitationId?: string;
|
|
@@ -817,6 +1010,8 @@ export interface ShareInvitationSummary {
|
|
|
817
1010
|
WorkloadId?: string;
|
|
818
1011
|
LensName?: string;
|
|
819
1012
|
LensArn?: string;
|
|
1013
|
+
ProfileName?: string;
|
|
1014
|
+
ProfileArn?: string;
|
|
820
1015
|
}
|
|
821
1016
|
export interface ListShareInvitationsOutput {
|
|
822
1017
|
ShareInvitationSummaries?: ShareInvitationSummary[];
|
|
@@ -868,6 +1063,7 @@ export interface ShareInvitation {
|
|
|
868
1063
|
WorkloadId?: string;
|
|
869
1064
|
LensAlias?: string;
|
|
870
1065
|
LensArn?: string;
|
|
1066
|
+
ProfileArn?: string;
|
|
871
1067
|
}
|
|
872
1068
|
export declare const ShareInvitationAction: {
|
|
873
1069
|
readonly ACCEPT: "ACCEPT";
|
|
@@ -915,6 +1111,14 @@ export interface UpdateLensReviewOutput {
|
|
|
915
1111
|
WorkloadId?: string;
|
|
916
1112
|
LensReview?: LensReview;
|
|
917
1113
|
}
|
|
1114
|
+
export interface UpdateProfileInput {
|
|
1115
|
+
ProfileArn: string | undefined;
|
|
1116
|
+
ProfileDescription?: string;
|
|
1117
|
+
ProfileQuestions?: ProfileQuestionUpdate[];
|
|
1118
|
+
}
|
|
1119
|
+
export interface UpdateProfileOutput {
|
|
1120
|
+
Profile?: Profile;
|
|
1121
|
+
}
|
|
918
1122
|
export interface UpdateShareInvitationInput {
|
|
919
1123
|
ShareInvitationId: string | undefined;
|
|
920
1124
|
ShareInvitationAction: ShareInvitationAction | string | undefined;
|
|
@@ -968,3 +1172,9 @@ export interface UpgradeLensReviewInput {
|
|
|
968
1172
|
MilestoneName: string | undefined;
|
|
969
1173
|
ClientRequestToken?: string;
|
|
970
1174
|
}
|
|
1175
|
+
export interface UpgradeProfileVersionInput {
|
|
1176
|
+
WorkloadId: string | undefined;
|
|
1177
|
+
ProfileArn: string | undefined;
|
|
1178
|
+
MilestoneName?: string;
|
|
1179
|
+
ClientRequestToken?: string;
|
|
1180
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListProfileNotificationsCommandInput,
|
|
4
|
+
ListProfileNotificationsCommandOutput,
|
|
5
|
+
} from "../commands/ListProfileNotificationsCommand";
|
|
6
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListProfileNotifications(
|
|
8
|
+
config: WellArchitectedPaginationConfiguration,
|
|
9
|
+
input: ListProfileNotificationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListProfileNotificationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListProfileSharesCommandInput,
|
|
4
|
+
ListProfileSharesCommandOutput,
|
|
5
|
+
} from "../commands/ListProfileSharesCommand";
|
|
6
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListProfileShares(
|
|
8
|
+
config: WellArchitectedPaginationConfiguration,
|
|
9
|
+
input: ListProfileSharesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListProfileSharesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListProfilesCommandInput,
|
|
4
|
+
ListProfilesCommandOutput,
|
|
5
|
+
} from "../commands/ListProfilesCommand";
|
|
6
|
+
import { WellArchitectedPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListProfiles(
|
|
8
|
+
config: WellArchitectedPaginationConfiguration,
|
|
9
|
+
input: ListProfilesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListProfilesCommandOutput>;
|
|
@@ -9,6 +9,9 @@ export * from "./ListLensSharesPaginator";
|
|
|
9
9
|
export * from "./ListLensesPaginator";
|
|
10
10
|
export * from "./ListMilestonesPaginator";
|
|
11
11
|
export * from "./ListNotificationsPaginator";
|
|
12
|
+
export * from "./ListProfileNotificationsPaginator";
|
|
13
|
+
export * from "./ListProfileSharesPaginator";
|
|
14
|
+
export * from "./ListProfilesPaginator";
|
|
12
15
|
export * from "./ListShareInvitationsPaginator";
|
|
13
16
|
export * from "./ListWorkloadSharesPaginator";
|
|
14
17
|
export * from "./ListWorkloadsPaginator";
|