@aws-sdk/client-wellarchitected 3.350.0 → 3.352.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/WellArchitected.js +26 -0
  3. package/dist-cjs/commands/AssociateProfilesCommand.js +46 -0
  4. package/dist-cjs/commands/CreateProfileCommand.js +46 -0
  5. package/dist-cjs/commands/CreateProfileShareCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteProfileCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteProfileShareCommand.js +46 -0
  8. package/dist-cjs/commands/DisassociateProfilesCommand.js +46 -0
  9. package/dist-cjs/commands/GetProfileCommand.js +46 -0
  10. package/dist-cjs/commands/GetProfileTemplateCommand.js +46 -0
  11. package/dist-cjs/commands/ListProfileNotificationsCommand.js +46 -0
  12. package/dist-cjs/commands/ListProfileSharesCommand.js +46 -0
  13. package/dist-cjs/commands/ListProfilesCommand.js +46 -0
  14. package/dist-cjs/commands/UpdateProfileCommand.js +46 -0
  15. package/dist-cjs/commands/UpgradeProfileVersionCommand.js +46 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +18 -1
  18. package/dist-cjs/pagination/ListProfileNotificationsPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListProfileSharesPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
  21. package/dist-cjs/pagination/index.js +3 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +991 -40
  23. package/dist-es/WellArchitected.js +26 -0
  24. package/dist-es/commands/AssociateProfilesCommand.js +42 -0
  25. package/dist-es/commands/CreateProfileCommand.js +42 -0
  26. package/dist-es/commands/CreateProfileShareCommand.js +42 -0
  27. package/dist-es/commands/DeleteProfileCommand.js +42 -0
  28. package/dist-es/commands/DeleteProfileShareCommand.js +42 -0
  29. package/dist-es/commands/DisassociateProfilesCommand.js +42 -0
  30. package/dist-es/commands/GetProfileCommand.js +42 -0
  31. package/dist-es/commands/GetProfileTemplateCommand.js +42 -0
  32. package/dist-es/commands/ListProfileNotificationsCommand.js +42 -0
  33. package/dist-es/commands/ListProfileSharesCommand.js +42 -0
  34. package/dist-es/commands/ListProfilesCommand.js +42 -0
  35. package/dist-es/commands/UpdateProfileCommand.js +42 -0
  36. package/dist-es/commands/UpgradeProfileVersionCommand.js +42 -0
  37. package/dist-es/commands/index.js +13 -0
  38. package/dist-es/models/models_0.js +17 -0
  39. package/dist-es/pagination/ListProfileNotificationsPaginator.js +25 -0
  40. package/dist-es/pagination/ListProfileSharesPaginator.js +25 -0
  41. package/dist-es/pagination/ListProfilesPaginator.js +25 -0
  42. package/dist-es/pagination/index.js +3 -0
  43. package/dist-es/protocols/Aws_restJson1.js +960 -36
  44. package/dist-types/WellArchitected.d.ts +91 -0
  45. package/dist-types/WellArchitectedClient.d.ts +15 -2
  46. package/dist-types/commands/AssociateProfilesCommand.d.ts +92 -0
  47. package/dist-types/commands/CreateProfileCommand.d.ts +105 -0
  48. package/dist-types/commands/CreateProfileShareCommand.d.ts +97 -0
  49. package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -0
  50. package/dist-types/commands/DeleteProfileCommand.d.ts +101 -0
  51. package/dist-types/commands/DeleteProfileShareCommand.d.ts +91 -0
  52. package/dist-types/commands/DisassociateProfilesCommand.d.ts +92 -0
  53. package/dist-types/commands/GetLensReviewCommand.d.ts +12 -0
  54. package/dist-types/commands/GetMilestoneCommand.d.ts +9 -0
  55. package/dist-types/commands/GetProfileCommand.d.ts +120 -0
  56. package/dist-types/commands/GetProfileTemplateCommand.d.ts +106 -0
  57. package/dist-types/commands/GetWorkloadCommand.d.ts +9 -0
  58. package/dist-types/commands/ListAnswersCommand.d.ts +2 -0
  59. package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +1 -0
  60. package/dist-types/commands/ListLensReviewsCommand.d.ts +9 -0
  61. package/dist-types/commands/ListMilestonesCommand.d.ts +9 -0
  62. package/dist-types/commands/ListProfileNotificationsCommand.d.ts +98 -0
  63. package/dist-types/commands/ListProfileSharesCommand.d.ts +100 -0
  64. package/dist-types/commands/ListProfilesCommand.d.ts +99 -0
  65. package/dist-types/commands/ListShareInvitationsCommand.d.ts +5 -2
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  67. package/dist-types/commands/ListWorkloadsCommand.d.ts +9 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  69. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateLensReviewCommand.d.ts +12 -0
  71. package/dist-types/commands/UpdateProfileCommand.d.ts +131 -0
  72. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
  73. package/dist-types/commands/UpdateWorkloadCommand.d.ts +9 -0
  74. package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +92 -0
  75. package/dist-types/commands/index.d.ts +13 -0
  76. package/dist-types/models/models_0.d.ts +850 -90
  77. package/dist-types/pagination/ListProfileNotificationsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListProfileSharesPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  82. package/dist-types/ts3.4/WellArchitected.d.ts +221 -0
  83. package/dist-types/ts3.4/WellArchitectedClient.d.ts +80 -2
  84. package/dist-types/ts3.4/commands/AssociateProfilesCommand.d.ts +33 -0
  85. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +35 -0
  86. package/dist-types/ts3.4/commands/CreateProfileShareCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
  88. package/dist-types/ts3.4/commands/DeleteProfileShareCommand.d.ts +34 -0
  89. package/dist-types/ts3.4/commands/DisassociateProfilesCommand.d.ts +37 -0
  90. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
  91. package/dist-types/ts3.4/commands/GetProfileTemplateCommand.d.ts +39 -0
  92. package/dist-types/ts3.4/commands/ListProfileNotificationsCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/ListProfileSharesCommand.d.ts +38 -0
  94. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
  95. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +35 -0
  96. package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +37 -0
  97. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +210 -0
  99. package/dist-types/ts3.4/pagination/ListProfileNotificationsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/ListProfileSharesPaginator.d.ts +11 -0
  101. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  103. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  104. package/package.json +5 -5
@@ -274,6 +274,18 @@ export interface ChoiceAnswerSummary {
274
274
  */
275
275
  Reason?: ChoiceReason | string;
276
276
  }
277
+ /**
278
+ * @public
279
+ * @enum
280
+ */
281
+ export declare const QuestionType: {
282
+ readonly NON_PRIORITIZED: "NON_PRIORITIZED";
283
+ readonly PRIORITIZED: "PRIORITIZED";
284
+ };
285
+ /**
286
+ * @public
287
+ */
288
+ export type QuestionType = (typeof QuestionType)[keyof typeof QuestionType];
277
289
  /**
278
290
  * @public
279
291
  * <p>An answer summary of a lens review in a workload.</p>
@@ -317,6 +329,10 @@ export interface AnswerSummary {
317
329
  * <p>The reason why a choice is non-applicable to a question in your workload.</p>
318
330
  */
319
331
  Reason?: AnswerReason | string;
332
+ /**
333
+ * <p>The type of the question.</p>
334
+ */
335
+ QuestionType?: QuestionType | string;
320
336
  }
321
337
  /**
322
338
  * @public
@@ -473,6 +489,19 @@ export declare class ValidationException extends __BaseException {
473
489
  */
474
490
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
475
491
  }
492
+ /**
493
+ * @public
494
+ */
495
+ export interface AssociateProfilesInput {
496
+ /**
497
+ * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
498
+ */
499
+ WorkloadId: string | undefined;
500
+ /**
501
+ * <p>The list of profile ARNs to associate with the workload.</p>
502
+ */
503
+ ProfileArns: string[] | undefined;
504
+ }
476
505
  /**
477
506
  * @public
478
507
  * <p>A best practice, or question choice, that has been identified as a risk in this question.</p>
@@ -782,7 +811,7 @@ export interface CreateLensShareInput {
782
811
  */
783
812
  LensAlias: string | undefined;
784
813
  /**
785
- * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.</p>
814
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
786
815
  */
787
816
  SharedWith: string | undefined;
788
817
  /**
@@ -804,7 +833,7 @@ export interface CreateLensShareInput {
804
833
  */
805
834
  export interface CreateLensShareOutput {
806
835
  /**
807
- * <p>The ID associated with the workload share.</p>
836
+ * <p>The ID associated with the share.</p>
808
837
  */
809
838
  ShareId?: string;
810
839
  }
@@ -933,6 +962,106 @@ export interface CreateMilestoneOutput {
933
962
  */
934
963
  MilestoneNumber?: number;
935
964
  }
965
+ /**
966
+ * @public
967
+ * <p>An update to a profile question.</p>
968
+ */
969
+ export interface ProfileQuestionUpdate {
970
+ /**
971
+ * <p>The ID of the question.</p>
972
+ */
973
+ QuestionId?: string;
974
+ /**
975
+ * <p>The selected choices.</p>
976
+ */
977
+ SelectedChoiceIds?: string[];
978
+ }
979
+ /**
980
+ * @public
981
+ */
982
+ export interface CreateProfileInput {
983
+ /**
984
+ * <p>Name of the profile.</p>
985
+ */
986
+ ProfileName: string | undefined;
987
+ /**
988
+ * <p>The profile description.</p>
989
+ */
990
+ ProfileDescription: string | undefined;
991
+ /**
992
+ * <p>The profile questions.</p>
993
+ */
994
+ ProfileQuestions: ProfileQuestionUpdate[] | undefined;
995
+ /**
996
+ * <p>A unique case-sensitive string used to ensure that this request is idempotent
997
+ * (executes only once).</p>
998
+ * <p>You should not reuse the same token for other requests. If you retry a request with
999
+ * the same client request token and the same parameters after the original request has completed
1000
+ * successfully, the result of the original request is returned.</p>
1001
+ * <important>
1002
+ * <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
1003
+ * automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
1004
+ * you must provide this token or the request will fail.</p>
1005
+ * </important>
1006
+ */
1007
+ ClientRequestToken?: string;
1008
+ /**
1009
+ * <p>The tags assigned to the profile.</p>
1010
+ */
1011
+ Tags?: Record<string, string>;
1012
+ }
1013
+ /**
1014
+ * @public
1015
+ */
1016
+ export interface CreateProfileOutput {
1017
+ /**
1018
+ * <p>The profile ARN.</p>
1019
+ */
1020
+ ProfileArn?: string;
1021
+ /**
1022
+ * <p>Version of the profile.</p>
1023
+ */
1024
+ ProfileVersion?: string;
1025
+ }
1026
+ /**
1027
+ * @public
1028
+ */
1029
+ export interface CreateProfileShareInput {
1030
+ /**
1031
+ * <p>The profile ARN.</p>
1032
+ */
1033
+ ProfileArn: string | undefined;
1034
+ /**
1035
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
1036
+ */
1037
+ SharedWith: string | undefined;
1038
+ /**
1039
+ * <p>A unique case-sensitive string used to ensure that this request is idempotent
1040
+ * (executes only once).</p>
1041
+ * <p>You should not reuse the same token for other requests. If you retry a request with
1042
+ * the same client request token and the same parameters after the original request has completed
1043
+ * successfully, the result of the original request is returned.</p>
1044
+ * <important>
1045
+ * <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
1046
+ * automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
1047
+ * you must provide this token or the request will fail.</p>
1048
+ * </important>
1049
+ */
1050
+ ClientRequestToken?: string;
1051
+ }
1052
+ /**
1053
+ * @public
1054
+ */
1055
+ export interface CreateProfileShareOutput {
1056
+ /**
1057
+ * <p>The ID associated with the share.</p>
1058
+ */
1059
+ ShareId?: string;
1060
+ /**
1061
+ * <p>The profile ARN.</p>
1062
+ */
1063
+ ProfileArn?: string;
1064
+ }
936
1065
  /**
937
1066
  * @public
938
1067
  * @enum
@@ -1209,6 +1338,10 @@ export interface CreateWorkloadInput {
1209
1338
  * <p>List of AppRegistry application ARNs associated to the workload.</p>
1210
1339
  */
1211
1340
  Applications?: string[];
1341
+ /**
1342
+ * <p>The list of profile ARNs associated with the workload.</p>
1343
+ */
1344
+ ProfileArns?: string[];
1212
1345
  }
1213
1346
  /**
1214
1347
  * @public
@@ -1246,11 +1379,11 @@ export interface CreateWorkloadShareInput {
1246
1379
  */
1247
1380
  WorkloadId: string | undefined;
1248
1381
  /**
1249
- * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.</p>
1382
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
1250
1383
  */
1251
1384
  SharedWith: string | undefined;
1252
1385
  /**
1253
- * <p>Permission granted on a workload share.</p>
1386
+ * <p>Permission granted on a share request.</p>
1254
1387
  */
1255
1388
  PermissionType: PermissionType | string | undefined;
1256
1389
  /**
@@ -1277,7 +1410,7 @@ export interface CreateWorkloadShareOutput {
1277
1410
  */
1278
1411
  WorkloadId?: string;
1279
1412
  /**
1280
- * <p>The ID associated with the workload share.</p>
1413
+ * <p>The ID associated with the share.</p>
1281
1414
  */
1282
1415
  ShareId?: string;
1283
1416
  }
@@ -1332,7 +1465,7 @@ export interface DeleteLensInput {
1332
1465
  */
1333
1466
  export interface DeleteLensShareInput {
1334
1467
  /**
1335
- * <p>The ID associated with the workload share.</p>
1468
+ * <p>The ID associated with the share.</p>
1336
1469
  */
1337
1470
  ShareId: string | undefined;
1338
1471
  /**
@@ -1360,6 +1493,54 @@ export interface DeleteLensShareInput {
1360
1493
  */
1361
1494
  ClientRequestToken?: string;
1362
1495
  }
1496
+ /**
1497
+ * @public
1498
+ */
1499
+ export interface DeleteProfileInput {
1500
+ /**
1501
+ * <p>The profile ARN.</p>
1502
+ */
1503
+ ProfileArn: string | undefined;
1504
+ /**
1505
+ * <p>A unique case-sensitive string used to ensure that this request is idempotent
1506
+ * (executes only once).</p>
1507
+ * <p>You should not reuse the same token for other requests. If you retry a request with
1508
+ * the same client request token and the same parameters after the original request has completed
1509
+ * successfully, the result of the original request is returned.</p>
1510
+ * <important>
1511
+ * <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
1512
+ * automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
1513
+ * you must provide this token or the request will fail.</p>
1514
+ * </important>
1515
+ */
1516
+ ClientRequestToken?: string;
1517
+ }
1518
+ /**
1519
+ * @public
1520
+ */
1521
+ export interface DeleteProfileShareInput {
1522
+ /**
1523
+ * <p>The ID associated with the share.</p>
1524
+ */
1525
+ ShareId: string | undefined;
1526
+ /**
1527
+ * <p>The profile ARN.</p>
1528
+ */
1529
+ ProfileArn: string | undefined;
1530
+ /**
1531
+ * <p>A unique case-sensitive string used to ensure that this request is idempotent
1532
+ * (executes only once).</p>
1533
+ * <p>You should not reuse the same token for other requests. If you retry a request with
1534
+ * the same client request token and the same parameters after the original request has completed
1535
+ * successfully, the result of the original request is returned.</p>
1536
+ * <important>
1537
+ * <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
1538
+ * automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
1539
+ * you must provide this token or the request will fail.</p>
1540
+ * </important>
1541
+ */
1542
+ ClientRequestToken?: string;
1543
+ }
1363
1544
  /**
1364
1545
  * @public
1365
1546
  * <p>Input for workload deletion.</p>
@@ -1389,7 +1570,7 @@ export interface DeleteWorkloadInput {
1389
1570
  */
1390
1571
  export interface DeleteWorkloadShareInput {
1391
1572
  /**
1392
- * <p>The ID associated with the workload share.</p>
1573
+ * <p>The ID associated with the share.</p>
1393
1574
  */
1394
1575
  ShareId: string | undefined;
1395
1576
  /**
@@ -1438,6 +1619,19 @@ export interface DisassociateLensesInput {
1438
1619
  */
1439
1620
  LensAliases: string[] | undefined;
1440
1621
  }
1622
+ /**
1623
+ * @public
1624
+ */
1625
+ export interface DisassociateProfilesInput {
1626
+ /**
1627
+ * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
1628
+ */
1629
+ WorkloadId: string | undefined;
1630
+ /**
1631
+ * <p>The list of profile ARNs to disassociate from the workload.</p>
1632
+ */
1633
+ ProfileArns: string[] | undefined;
1634
+ }
1441
1635
  /**
1442
1636
  * @public
1443
1637
  * @enum
@@ -1725,6 +1919,24 @@ export interface PillarReviewSummary {
1725
1919
  * <p>A map from risk names to the count of how many questions have that rating.</p>
1726
1920
  */
1727
1921
  RiskCounts?: Record<string, number>;
1922
+ /**
1923
+ * <p>A map from risk names to the count of how many questions have that rating.</p>
1924
+ */
1925
+ PrioritizedRiskCounts?: Record<string, number>;
1926
+ }
1927
+ /**
1928
+ * @public
1929
+ * <p>The profile associated with a workload.</p>
1930
+ */
1931
+ export interface WorkloadProfile {
1932
+ /**
1933
+ * <p>The profile ARN.</p>
1934
+ */
1935
+ ProfileArn?: string;
1936
+ /**
1937
+ * <p>The profile version.</p>
1938
+ */
1939
+ ProfileVersion?: string;
1728
1940
  }
1729
1941
  /**
1730
1942
  * @public
@@ -1778,6 +1990,14 @@ export interface LensReview {
1778
1990
  * <p>The token to use to retrieve the next set of results.</p>
1779
1991
  */
1780
1992
  NextToken?: string;
1993
+ /**
1994
+ * <p>The profiles associated with the workload.</p>
1995
+ */
1996
+ Profiles?: WorkloadProfile[];
1997
+ /**
1998
+ * <p>A map from risk names to the count of how many questions have that rating.</p>
1999
+ */
2000
+ PrioritizedRiskCounts?: Record<string, number>;
1781
2001
  }
1782
2002
  /**
1783
2003
  * @public
@@ -2264,6 +2484,14 @@ export interface Workload {
2264
2484
  * <p>List of AppRegistry application ARNs associated to the workload.</p>
2265
2485
  */
2266
2486
  Applications?: string[];
2487
+ /**
2488
+ * <p>Profile associated with a workload.</p>
2489
+ */
2490
+ Profiles?: WorkloadProfile[];
2491
+ /**
2492
+ * <p>A map from risk names to the count of how many questions have that rating.</p>
2493
+ */
2494
+ PrioritizedRiskCounts?: Record<string, number>;
2267
2495
  }
2268
2496
  /**
2269
2497
  * @public
@@ -2305,109 +2533,313 @@ export interface GetMilestoneOutput {
2305
2533
  }
2306
2534
  /**
2307
2535
  * @public
2308
- * <p>Input to get a workload.</p>
2309
2536
  */
2310
- export interface GetWorkloadInput {
2537
+ export interface GetProfileInput {
2311
2538
  /**
2312
- * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
2539
+ * <p>The profile ARN.</p>
2313
2540
  */
2314
- WorkloadId: string | undefined;
2541
+ ProfileArn: string | undefined;
2542
+ /**
2543
+ * <p>The profile version.</p>
2544
+ */
2545
+ ProfileVersion?: string;
2315
2546
  }
2316
2547
  /**
2317
2548
  * @public
2318
- * <p>Output of a get workload call.</p>
2549
+ * <p>The profile choice.</p>
2319
2550
  */
2320
- export interface GetWorkloadOutput {
2551
+ export interface ProfileChoice {
2321
2552
  /**
2322
- * <p>A workload return object.</p>
2553
+ * <p>The ID of a choice.</p>
2323
2554
  */
2324
- Workload?: Workload;
2555
+ ChoiceId?: string;
2556
+ /**
2557
+ * <p>The title of a choice.</p>
2558
+ */
2559
+ ChoiceTitle?: string;
2560
+ /**
2561
+ * <p>The description of a choice.</p>
2562
+ */
2563
+ ChoiceDescription?: string;
2325
2564
  }
2326
2565
  /**
2327
2566
  * @public
2567
+ * <p>A profile question.</p>
2328
2568
  */
2329
- export interface ImportLensInput {
2569
+ export interface ProfileQuestion {
2330
2570
  /**
2331
- * <p>The alias of the lens.</p>
2332
- * <p>For Amazon Web Services official lenses, this is either the lens alias, such as
2333
- * <code>serverless</code>, or the lens ARN, such as
2334
- * <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some
2335
- * operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p>
2336
- * <p>For custom lenses, this is the lens ARN, such as
2337
- * <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>. </p>
2338
- * <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
2571
+ * <p>The ID of the question.</p>
2339
2572
  */
2340
- LensAlias?: string;
2573
+ QuestionId?: string;
2341
2574
  /**
2342
- * <p>The JSON representation of a lens.</p>
2575
+ * <p>The title of the question.</p>
2343
2576
  */
2344
- JSONString: string | undefined;
2577
+ QuestionTitle?: string;
2345
2578
  /**
2346
- * <p>A unique case-sensitive string used to ensure that this request is idempotent
2347
- * (executes only once).</p>
2348
- * <p>You should not reuse the same token for other requests. If you retry a request with
2349
- * the same client request token and the same parameters after the original request has completed
2350
- * successfully, the result of the original request is returned.</p>
2351
- * <important>
2352
- * <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
2353
- * automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
2354
- * you must provide this token or the request will fail.</p>
2355
- * </important>
2579
+ * <p>The description of the question.</p>
2356
2580
  */
2357
- ClientRequestToken?: string;
2581
+ QuestionDescription?: string;
2358
2582
  /**
2359
- * <p>Tags to associate to a lens.</p>
2583
+ * <p>The question choices.</p>
2360
2584
  */
2361
- Tags?: Record<string, string>;
2362
- }
2363
- /**
2364
- * @public
2365
- * @enum
2366
- */
2367
- export declare const ImportLensStatus: {
2368
- readonly COMPLETE: "COMPLETE";
2369
- readonly ERROR: "ERROR";
2370
- readonly IN_PROGRESS: "IN_PROGRESS";
2371
- };
2372
- /**
2373
- * @public
2374
- */
2375
- export type ImportLensStatus = (typeof ImportLensStatus)[keyof typeof ImportLensStatus];
2376
- /**
2377
- * @public
2378
- */
2379
- export interface ImportLensOutput {
2585
+ QuestionChoices?: ProfileChoice[];
2380
2586
  /**
2381
- * <p>The ARN for the lens that was created or updated.</p>
2587
+ * <p>The selected choices.</p>
2382
2588
  */
2383
- LensArn?: string;
2589
+ SelectedChoiceIds?: string[];
2384
2590
  /**
2385
- * <p>The status of the imported lens.</p>
2591
+ * <p>The minimum number of selected choices.</p>
2386
2592
  */
2387
- Status?: ImportLensStatus | string;
2593
+ MinSelectedChoices?: number;
2594
+ /**
2595
+ * <p>The maximum number of selected choices.</p>
2596
+ */
2597
+ MaxSelectedChoices?: number;
2388
2598
  }
2389
2599
  /**
2390
2600
  * @public
2391
- * <p>An improvement summary of a lens review in a workload.</p>
2601
+ * <p>A profile.</p>
2392
2602
  */
2393
- export interface ImprovementSummary {
2603
+ export interface Profile {
2394
2604
  /**
2395
- * <p>The ID of the question.</p>
2605
+ * <p>The profile ARN.</p>
2396
2606
  */
2397
- QuestionId?: string;
2607
+ ProfileArn?: string;
2398
2608
  /**
2399
- * <p>The ID used to identify a pillar, for example, <code>security</code>.</p>
2400
- * <p>A pillar is identified by its <a>PillarReviewSummary$PillarId</a>.</p>
2609
+ * <p>The profile version.</p>
2401
2610
  */
2402
- PillarId?: string;
2611
+ ProfileVersion?: string;
2403
2612
  /**
2404
- * <p>The title of the question.</p>
2613
+ * <p>The profile name.</p>
2405
2614
  */
2406
- QuestionTitle?: string;
2615
+ ProfileName?: string;
2407
2616
  /**
2408
- * <p>The risk for a given workload, lens review, pillar, or question.</p>
2617
+ * <p>The profile description.</p>
2409
2618
  */
2410
- Risk?: Risk | string;
2619
+ ProfileDescription?: string;
2620
+ /**
2621
+ * <p>Profile questions.</p>
2622
+ */
2623
+ ProfileQuestions?: ProfileQuestion[];
2624
+ /**
2625
+ * <p>An Amazon Web Services account ID.</p>
2626
+ */
2627
+ Owner?: string;
2628
+ /**
2629
+ * <p>The date and time recorded.</p>
2630
+ */
2631
+ CreatedAt?: Date;
2632
+ /**
2633
+ * <p>The date and time recorded.</p>
2634
+ */
2635
+ UpdatedAt?: Date;
2636
+ /**
2637
+ * <p>The ID assigned to the share invitation.</p>
2638
+ */
2639
+ ShareInvitationId?: string;
2640
+ /**
2641
+ * <p>The tags assigned to the profile.</p>
2642
+ */
2643
+ Tags?: Record<string, string>;
2644
+ }
2645
+ /**
2646
+ * @public
2647
+ */
2648
+ export interface GetProfileOutput {
2649
+ /**
2650
+ * <p>The profile.</p>
2651
+ */
2652
+ Profile?: Profile;
2653
+ }
2654
+ /**
2655
+ * @public
2656
+ */
2657
+ export interface GetProfileTemplateInput {
2658
+ }
2659
+ /**
2660
+ * @public
2661
+ * <p>A profile template choice.</p>
2662
+ */
2663
+ export interface ProfileTemplateChoice {
2664
+ /**
2665
+ * <p>The ID of a choice.</p>
2666
+ */
2667
+ ChoiceId?: string;
2668
+ /**
2669
+ * <p>The title of a choice.</p>
2670
+ */
2671
+ ChoiceTitle?: string;
2672
+ /**
2673
+ * <p>The description of a choice.</p>
2674
+ */
2675
+ ChoiceDescription?: string;
2676
+ }
2677
+ /**
2678
+ * @public
2679
+ * <p>A profile template question.</p>
2680
+ */
2681
+ export interface ProfileTemplateQuestion {
2682
+ /**
2683
+ * <p>The ID of the question.</p>
2684
+ */
2685
+ QuestionId?: string;
2686
+ /**
2687
+ * <p>The title of the question.</p>
2688
+ */
2689
+ QuestionTitle?: string;
2690
+ /**
2691
+ * <p>The description of the question.</p>
2692
+ */
2693
+ QuestionDescription?: string;
2694
+ /**
2695
+ * <p>The question choices.</p>
2696
+ */
2697
+ QuestionChoices?: ProfileTemplateChoice[];
2698
+ /**
2699
+ * <p>The minimum number of choices selected.</p>
2700
+ */
2701
+ MinSelectedChoices?: number;
2702
+ /**
2703
+ * <p>The maximum number of choices selected.</p>
2704
+ */
2705
+ MaxSelectedChoices?: number;
2706
+ }
2707
+ /**
2708
+ * @public
2709
+ * <p>The profile template.</p>
2710
+ */
2711
+ export interface ProfileTemplate {
2712
+ /**
2713
+ * <p>The name of the profile template.</p>
2714
+ */
2715
+ TemplateName?: string;
2716
+ /**
2717
+ * <p>Profile template questions.</p>
2718
+ */
2719
+ TemplateQuestions?: ProfileTemplateQuestion[];
2720
+ /**
2721
+ * <p>The date and time recorded.</p>
2722
+ */
2723
+ CreatedAt?: Date;
2724
+ /**
2725
+ * <p>The date and time recorded.</p>
2726
+ */
2727
+ UpdatedAt?: Date;
2728
+ }
2729
+ /**
2730
+ * @public
2731
+ */
2732
+ export interface GetProfileTemplateOutput {
2733
+ /**
2734
+ * <p>The profile template.</p>
2735
+ */
2736
+ ProfileTemplate?: ProfileTemplate;
2737
+ }
2738
+ /**
2739
+ * @public
2740
+ * <p>Input to get a workload.</p>
2741
+ */
2742
+ export interface GetWorkloadInput {
2743
+ /**
2744
+ * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
2745
+ */
2746
+ WorkloadId: string | undefined;
2747
+ }
2748
+ /**
2749
+ * @public
2750
+ * <p>Output of a get workload call.</p>
2751
+ */
2752
+ export interface GetWorkloadOutput {
2753
+ /**
2754
+ * <p>A workload return object.</p>
2755
+ */
2756
+ Workload?: Workload;
2757
+ }
2758
+ /**
2759
+ * @public
2760
+ */
2761
+ export interface ImportLensInput {
2762
+ /**
2763
+ * <p>The alias of the lens.</p>
2764
+ * <p>For Amazon Web Services official lenses, this is either the lens alias, such as
2765
+ * <code>serverless</code>, or the lens ARN, such as
2766
+ * <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some
2767
+ * operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p>
2768
+ * <p>For custom lenses, this is the lens ARN, such as
2769
+ * <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>. </p>
2770
+ * <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
2771
+ */
2772
+ LensAlias?: string;
2773
+ /**
2774
+ * <p>The JSON representation of a lens.</p>
2775
+ */
2776
+ JSONString: string | undefined;
2777
+ /**
2778
+ * <p>A unique case-sensitive string used to ensure that this request is idempotent
2779
+ * (executes only once).</p>
2780
+ * <p>You should not reuse the same token for other requests. If you retry a request with
2781
+ * the same client request token and the same parameters after the original request has completed
2782
+ * successfully, the result of the original request is returned.</p>
2783
+ * <important>
2784
+ * <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
2785
+ * automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
2786
+ * you must provide this token or the request will fail.</p>
2787
+ * </important>
2788
+ */
2789
+ ClientRequestToken?: string;
2790
+ /**
2791
+ * <p>Tags to associate to a lens.</p>
2792
+ */
2793
+ Tags?: Record<string, string>;
2794
+ }
2795
+ /**
2796
+ * @public
2797
+ * @enum
2798
+ */
2799
+ export declare const ImportLensStatus: {
2800
+ readonly COMPLETE: "COMPLETE";
2801
+ readonly ERROR: "ERROR";
2802
+ readonly IN_PROGRESS: "IN_PROGRESS";
2803
+ };
2804
+ /**
2805
+ * @public
2806
+ */
2807
+ export type ImportLensStatus = (typeof ImportLensStatus)[keyof typeof ImportLensStatus];
2808
+ /**
2809
+ * @public
2810
+ */
2811
+ export interface ImportLensOutput {
2812
+ /**
2813
+ * <p>The ARN for the lens that was created or updated.</p>
2814
+ */
2815
+ LensArn?: string;
2816
+ /**
2817
+ * <p>The status of the imported lens.</p>
2818
+ */
2819
+ Status?: ImportLensStatus | string;
2820
+ }
2821
+ /**
2822
+ * @public
2823
+ * <p>An improvement summary of a lens review in a workload.</p>
2824
+ */
2825
+ export interface ImprovementSummary {
2826
+ /**
2827
+ * <p>The ID of the question.</p>
2828
+ */
2829
+ QuestionId?: string;
2830
+ /**
2831
+ * <p>The ID used to identify a pillar, for example, <code>security</code>.</p>
2832
+ * <p>A pillar is identified by its <a>PillarReviewSummary$PillarId</a>.</p>
2833
+ */
2834
+ PillarId?: string;
2835
+ /**
2836
+ * <p>The title of the question.</p>
2837
+ */
2838
+ QuestionTitle?: string;
2839
+ /**
2840
+ * <p>The risk for a given workload, lens review, pillar, or question.</p>
2841
+ */
2842
+ Risk?: Risk | string;
2411
2843
  /**
2412
2844
  * <p>The improvement plan URL for a question in an Amazon Web Services official lenses.</p>
2413
2845
  * <p>This value is only available if the question has been answered.</p>
@@ -2459,6 +2891,14 @@ export interface LensReviewSummary {
2459
2891
  * <p>A map from risk names to the count of how many questions have that rating.</p>
2460
2892
  */
2461
2893
  RiskCounts?: Record<string, number>;
2894
+ /**
2895
+ * <p>The profiles associated with the workload.</p>
2896
+ */
2897
+ Profiles?: WorkloadProfile[];
2898
+ /**
2899
+ * <p>A map from risk names to the count of how many questions have that rating.</p>
2900
+ */
2901
+ PrioritizedRiskCounts?: Record<string, number>;
2462
2902
  }
2463
2903
  /**
2464
2904
  * @public
@@ -2484,15 +2924,15 @@ export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
2484
2924
  */
2485
2925
  export interface LensShareSummary {
2486
2926
  /**
2487
- * <p>The ID associated with the workload share.</p>
2927
+ * <p>The ID associated with the share.</p>
2488
2928
  */
2489
2929
  ShareId?: string;
2490
2930
  /**
2491
- * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.</p>
2931
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
2492
2932
  */
2493
2933
  SharedWith?: string;
2494
2934
  /**
2495
- * <p>The status of a workload share.</p>
2935
+ * <p>The status of the share request.</p>
2496
2936
  */
2497
2937
  Status?: ShareStatus | string;
2498
2938
  /**
@@ -2605,6 +3045,18 @@ export interface LensUpgradeSummary {
2605
3045
  */
2606
3046
  LatestLensVersion?: string;
2607
3047
  }
3048
+ /**
3049
+ * @public
3050
+ * @enum
3051
+ */
3052
+ export declare const QuestionPriority: {
3053
+ readonly NONE: "NONE";
3054
+ readonly PRIORITIZED: "PRIORITIZED";
3055
+ };
3056
+ /**
3057
+ * @public
3058
+ */
3059
+ export type QuestionPriority = (typeof QuestionPriority)[keyof typeof QuestionPriority];
2608
3060
  /**
2609
3061
  * @public
2610
3062
  * <p>Input to list answers.</p>
@@ -2643,6 +3095,10 @@ export interface ListAnswersInput {
2643
3095
  * <p>The maximum number of results to return for this request.</p>
2644
3096
  */
2645
3097
  MaxResults?: number;
3098
+ /**
3099
+ * <p>The priority of the question.</p>
3100
+ */
3101
+ QuestionPriority?: QuestionPriority | string;
2646
3102
  }
2647
3103
  /**
2648
3104
  * @public
@@ -2854,6 +3310,10 @@ export interface ListLensReviewImprovementsInput {
2854
3310
  * <p>The maximum number of results to return for this request.</p>
2855
3311
  */
2856
3312
  MaxResults?: number;
3313
+ /**
3314
+ * <p>The priority of the question.</p>
3315
+ */
3316
+ QuestionPriority?: QuestionPriority | string;
2857
3317
  }
2858
3318
  /**
2859
3319
  * @public
@@ -2967,7 +3427,7 @@ export interface ListLensSharesInput {
2967
3427
  */
2968
3428
  MaxResults?: number;
2969
3429
  /**
2970
- * <p>The status of a workload share.</p>
3430
+ * <p>The status of the share request.</p>
2971
3431
  */
2972
3432
  Status?: ShareStatus | string;
2973
3433
  }
@@ -3041,6 +3501,14 @@ export interface WorkloadSummary {
3041
3501
  * <p>The improvement status for a workload.</p>
3042
3502
  */
3043
3503
  ImprovementStatus?: WorkloadImprovementStatus | string;
3504
+ /**
3505
+ * <p>Profile associated with a workload.</p>
3506
+ */
3507
+ Profiles?: WorkloadProfile[];
3508
+ /**
3509
+ * <p>A map from risk names to the count of how many questions have that rating.</p>
3510
+ */
3511
+ PrioritizedRiskCounts?: Record<string, number>;
3044
3512
  }
3045
3513
  /**
3046
3514
  * @public
@@ -3140,12 +3608,231 @@ export interface ListNotificationsOutput {
3140
3608
  */
3141
3609
  NextToken?: string;
3142
3610
  }
3611
+ /**
3612
+ * @public
3613
+ */
3614
+ export interface ListProfileNotificationsInput {
3615
+ /**
3616
+ * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
3617
+ */
3618
+ WorkloadId?: string;
3619
+ /**
3620
+ * <p>The token to use to retrieve the next set of results.</p>
3621
+ */
3622
+ NextToken?: string;
3623
+ /**
3624
+ * <p>The maximum number of results to return for this request.</p>
3625
+ */
3626
+ MaxResults?: number;
3627
+ }
3628
+ /**
3629
+ * @public
3630
+ * @enum
3631
+ */
3632
+ export declare const ProfileNotificationType: {
3633
+ readonly PROFILE_ANSWERS_UPDATED: "PROFILE_ANSWERS_UPDATED";
3634
+ readonly PROFILE_DELETED: "PROFILE_DELETED";
3635
+ };
3636
+ /**
3637
+ * @public
3638
+ */
3639
+ export type ProfileNotificationType = (typeof ProfileNotificationType)[keyof typeof ProfileNotificationType];
3640
+ /**
3641
+ * @public
3642
+ * <p>The profile notification summary.</p>
3643
+ */
3644
+ export interface ProfileNotificationSummary {
3645
+ /**
3646
+ * <p>The current profile version.</p>
3647
+ */
3648
+ CurrentProfileVersion?: string;
3649
+ /**
3650
+ * <p>The latest profile version.</p>
3651
+ */
3652
+ LatestProfileVersion?: string;
3653
+ /**
3654
+ * <p>Type of notification.</p>
3655
+ */
3656
+ Type?: ProfileNotificationType | string;
3657
+ /**
3658
+ * <p>The profile ARN.</p>
3659
+ */
3660
+ ProfileArn?: string;
3661
+ /**
3662
+ * <p>The profile name.</p>
3663
+ */
3664
+ ProfileName?: string;
3665
+ /**
3666
+ * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
3667
+ */
3668
+ WorkloadId?: string;
3669
+ /**
3670
+ * <p>The name of the workload.</p>
3671
+ * <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
3672
+ * are ignored when checking for uniqueness.</p>
3673
+ */
3674
+ WorkloadName?: string;
3675
+ }
3676
+ /**
3677
+ * @public
3678
+ */
3679
+ export interface ListProfileNotificationsOutput {
3680
+ /**
3681
+ * <p>Notification summaries.</p>
3682
+ */
3683
+ NotificationSummaries?: ProfileNotificationSummary[];
3684
+ /**
3685
+ * <p>The token to use to retrieve the next set of results.</p>
3686
+ */
3687
+ NextToken?: string;
3688
+ }
3689
+ /**
3690
+ * @public
3691
+ * @enum
3692
+ */
3693
+ export declare const ProfileOwnerType: {
3694
+ readonly SELF: "SELF";
3695
+ readonly SHARED: "SHARED";
3696
+ };
3697
+ /**
3698
+ * @public
3699
+ */
3700
+ export type ProfileOwnerType = (typeof ProfileOwnerType)[keyof typeof ProfileOwnerType];
3701
+ /**
3702
+ * @public
3703
+ */
3704
+ export interface ListProfilesInput {
3705
+ /**
3706
+ * <p>Prefix for profile name.</p>
3707
+ */
3708
+ ProfileNamePrefix?: string;
3709
+ /**
3710
+ * <p>Profile owner type.</p>
3711
+ */
3712
+ ProfileOwnerType?: ProfileOwnerType | string;
3713
+ /**
3714
+ * <p>The token to use to retrieve the next set of results.</p>
3715
+ */
3716
+ NextToken?: string;
3717
+ /**
3718
+ * <p>The maximum number of results to return for this request.</p>
3719
+ */
3720
+ MaxResults?: number;
3721
+ }
3722
+ /**
3723
+ * @public
3724
+ * <p>Summary of a profile.</p>
3725
+ */
3726
+ export interface ProfileSummary {
3727
+ /**
3728
+ * <p>The profile ARN.</p>
3729
+ */
3730
+ ProfileArn?: string;
3731
+ /**
3732
+ * <p>The profile version.</p>
3733
+ */
3734
+ ProfileVersion?: string;
3735
+ /**
3736
+ * <p>The profile name.</p>
3737
+ */
3738
+ ProfileName?: string;
3739
+ /**
3740
+ * <p>The profile description.</p>
3741
+ */
3742
+ ProfileDescription?: string;
3743
+ /**
3744
+ * <p>An Amazon Web Services account ID.</p>
3745
+ */
3746
+ Owner?: string;
3747
+ /**
3748
+ * <p>The date and time recorded.</p>
3749
+ */
3750
+ CreatedAt?: Date;
3751
+ /**
3752
+ * <p>The date and time recorded.</p>
3753
+ */
3754
+ UpdatedAt?: Date;
3755
+ }
3756
+ /**
3757
+ * @public
3758
+ */
3759
+ export interface ListProfilesOutput {
3760
+ /**
3761
+ * <p>Profile summaries.</p>
3762
+ */
3763
+ ProfileSummaries?: ProfileSummary[];
3764
+ /**
3765
+ * <p>The token to use to retrieve the next set of results.</p>
3766
+ */
3767
+ NextToken?: string;
3768
+ }
3769
+ /**
3770
+ * @public
3771
+ */
3772
+ export interface ListProfileSharesInput {
3773
+ /**
3774
+ * <p>The profile ARN.</p>
3775
+ */
3776
+ ProfileArn: string | undefined;
3777
+ /**
3778
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the profile is shared.</p>
3779
+ */
3780
+ SharedWithPrefix?: string;
3781
+ /**
3782
+ * <p>The token to use to retrieve the next set of results.</p>
3783
+ */
3784
+ NextToken?: string;
3785
+ /**
3786
+ * <p>The maximum number of results to return for this request.</p>
3787
+ */
3788
+ MaxResults?: number;
3789
+ /**
3790
+ * <p>The status of the share request.</p>
3791
+ */
3792
+ Status?: ShareStatus | string;
3793
+ }
3794
+ /**
3795
+ * @public
3796
+ * <p>Summary of a profile share.</p>
3797
+ */
3798
+ export interface ProfileShareSummary {
3799
+ /**
3800
+ * <p>The ID associated with the share.</p>
3801
+ */
3802
+ ShareId?: string;
3803
+ /**
3804
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
3805
+ */
3806
+ SharedWith?: string;
3807
+ /**
3808
+ * <p>The status of the share request.</p>
3809
+ */
3810
+ Status?: ShareStatus | string;
3811
+ /**
3812
+ * <p>Profile share invitation status message.</p>
3813
+ */
3814
+ StatusMessage?: string;
3815
+ }
3816
+ /**
3817
+ * @public
3818
+ */
3819
+ export interface ListProfileSharesOutput {
3820
+ /**
3821
+ * <p>Profile share summaries.</p>
3822
+ */
3823
+ ProfileShareSummaries?: ProfileShareSummary[];
3824
+ /**
3825
+ * <p>The token to use to retrieve the next set of results.</p>
3826
+ */
3827
+ NextToken?: string;
3828
+ }
3143
3829
  /**
3144
3830
  * @public
3145
3831
  * @enum
3146
3832
  */
3147
3833
  export declare const ShareResourceType: {
3148
3834
  readonly LENS: "LENS";
3835
+ readonly PROFILE: "PROFILE";
3149
3836
  readonly WORKLOAD: "WORKLOAD";
3150
3837
  };
3151
3838
  /**
@@ -3178,6 +3865,10 @@ export interface ListShareInvitationsInput {
3178
3865
  * <p>The maximum number of results to return for this request.</p>
3179
3866
  */
3180
3867
  MaxResults?: number;
3868
+ /**
3869
+ * <p>Profile name prefix.</p>
3870
+ */
3871
+ ProfileNamePrefix?: string;
3181
3872
  }
3182
3873
  /**
3183
3874
  * @public
@@ -3193,11 +3884,11 @@ export interface ShareInvitationSummary {
3193
3884
  */
3194
3885
  SharedBy?: string;
3195
3886
  /**
3196
- * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.</p>
3887
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
3197
3888
  */
3198
3889
  SharedWith?: string;
3199
3890
  /**
3200
- * <p>Permission granted on a workload share.</p>
3891
+ * <p>Permission granted on a share request.</p>
3201
3892
  */
3202
3893
  PermissionType?: PermissionType | string;
3203
3894
  /**
@@ -3222,6 +3913,14 @@ export interface ShareInvitationSummary {
3222
3913
  * <p>The ARN for the lens.</p>
3223
3914
  */
3224
3915
  LensArn?: string;
3916
+ /**
3917
+ * <p>The profile name.</p>
3918
+ */
3919
+ ProfileName?: string;
3920
+ /**
3921
+ * <p>The profile ARN.</p>
3922
+ */
3923
+ ProfileArn?: string;
3225
3924
  }
3226
3925
  /**
3227
3926
  * @public
@@ -3310,7 +4009,7 @@ export interface ListWorkloadSharesInput {
3310
4009
  */
3311
4010
  MaxResults?: number;
3312
4011
  /**
3313
- * <p>The status of a workload share.</p>
4012
+ * <p>The status of the share request.</p>
3314
4013
  */
3315
4014
  Status?: ShareStatus | string;
3316
4015
  }
@@ -3320,19 +4019,19 @@ export interface ListWorkloadSharesInput {
3320
4019
  */
3321
4020
  export interface WorkloadShareSummary {
3322
4021
  /**
3323
- * <p>The ID associated with the workload share.</p>
4022
+ * <p>The ID associated with the share.</p>
3324
4023
  */
3325
4024
  ShareId?: string;
3326
4025
  /**
3327
- * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.</p>
4026
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
3328
4027
  */
3329
4028
  SharedWith?: string;
3330
4029
  /**
3331
- * <p>Permission granted on a workload share.</p>
4030
+ * <p>Permission granted on a share request.</p>
3332
4031
  */
3333
4032
  PermissionType?: PermissionType | string;
3334
4033
  /**
3335
- * <p>The status of a workload share.</p>
4034
+ * <p>The status of the share request.</p>
3336
4035
  */
3337
4036
  Status?: ShareStatus | string;
3338
4037
  /**
@@ -3402,6 +4101,10 @@ export interface ShareInvitation {
3402
4101
  * <p>The ARN for the lens.</p>
3403
4102
  */
3404
4103
  LensArn?: string;
4104
+ /**
4105
+ * <p>The profile ARN.</p>
4106
+ */
4107
+ ProfileArn?: string;
3405
4108
  }
3406
4109
  /**
3407
4110
  * @public
@@ -3584,6 +4287,32 @@ export interface UpdateLensReviewOutput {
3584
4287
  */
3585
4288
  LensReview?: LensReview;
3586
4289
  }
4290
+ /**
4291
+ * @public
4292
+ */
4293
+ export interface UpdateProfileInput {
4294
+ /**
4295
+ * <p>The profile ARN.</p>
4296
+ */
4297
+ ProfileArn: string | undefined;
4298
+ /**
4299
+ * <p>The profile description.</p>
4300
+ */
4301
+ ProfileDescription?: string;
4302
+ /**
4303
+ * <p>Profile questions.</p>
4304
+ */
4305
+ ProfileQuestions?: ProfileQuestionUpdate[];
4306
+ }
4307
+ /**
4308
+ * @public
4309
+ */
4310
+ export interface UpdateProfileOutput {
4311
+ /**
4312
+ * <p>The profile.</p>
4313
+ */
4314
+ Profile?: Profile;
4315
+ }
3587
4316
  /**
3588
4317
  * @public
3589
4318
  * <p>Input for Update Share Invitation</p>
@@ -3844,7 +4573,7 @@ export interface UpdateWorkloadOutput {
3844
4573
  */
3845
4574
  export interface UpdateWorkloadShareInput {
3846
4575
  /**
3847
- * <p>The ID associated with the workload share.</p>
4576
+ * <p>The ID associated with the share.</p>
3848
4577
  */
3849
4578
  ShareId: string | undefined;
3850
4579
  /**
@@ -3852,7 +4581,7 @@ export interface UpdateWorkloadShareInput {
3852
4581
  */
3853
4582
  WorkloadId: string | undefined;
3854
4583
  /**
3855
- * <p>Permission granted on a workload share.</p>
4584
+ * <p>Permission granted on a share request.</p>
3856
4585
  */
3857
4586
  PermissionType: PermissionType | string | undefined;
3858
4587
  }
@@ -3862,7 +4591,7 @@ export interface UpdateWorkloadShareInput {
3862
4591
  */
3863
4592
  export interface WorkloadShare {
3864
4593
  /**
3865
- * <p>The ID associated with the workload share.</p>
4594
+ * <p>The ID associated with the share.</p>
3866
4595
  */
3867
4596
  ShareId?: string;
3868
4597
  /**
@@ -3870,15 +4599,15 @@ export interface WorkloadShare {
3870
4599
  */
3871
4600
  SharedBy?: string;
3872
4601
  /**
3873
- * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.</p>
4602
+ * <p>The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload, lens, or profile is shared.</p>
3874
4603
  */
3875
4604
  SharedWith?: string;
3876
4605
  /**
3877
- * <p>Permission granted on a workload share.</p>
4606
+ * <p>Permission granted on a share request.</p>
3878
4607
  */
3879
4608
  PermissionType?: PermissionType | string;
3880
4609
  /**
3881
- * <p>The status of a workload share.</p>
4610
+ * <p>The status of the share request.</p>
3882
4611
  */
3883
4612
  Status?: ShareStatus | string;
3884
4613
  /**
@@ -3944,3 +4673,34 @@ export interface UpgradeLensReviewInput {
3944
4673
  */
3945
4674
  ClientRequestToken?: string;
3946
4675
  }
4676
+ /**
4677
+ * @public
4678
+ */
4679
+ export interface UpgradeProfileVersionInput {
4680
+ /**
4681
+ * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
4682
+ */
4683
+ WorkloadId: string | undefined;
4684
+ /**
4685
+ * <p>The profile ARN.</p>
4686
+ */
4687
+ ProfileArn: string | undefined;
4688
+ /**
4689
+ * <p>The name of the milestone in a workload.</p>
4690
+ * <p>Milestone names must be unique within a workload.</p>
4691
+ */
4692
+ MilestoneName?: string;
4693
+ /**
4694
+ * <p>A unique case-sensitive string used to ensure that this request is idempotent
4695
+ * (executes only once).</p>
4696
+ * <p>You should not reuse the same token for other requests. If you retry a request with
4697
+ * the same client request token and the same parameters after the original request has completed
4698
+ * successfully, the result of the original request is returned.</p>
4699
+ * <important>
4700
+ * <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
4701
+ * automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
4702
+ * you must provide this token or the request will fail.</p>
4703
+ * </important>
4704
+ */
4705
+ ClientRequestToken?: string;
4706
+ }