cdk-lambda-subminute 2.0.256 → 2.0.257

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.
@@ -68,11 +68,27 @@ declare class WellArchitected extends Service {
68
68
  */
69
69
  createProfileShare(callback?: (err: AWSError, data: WellArchitected.Types.CreateProfileShareOutput) => void): Request<WellArchitected.Types.CreateProfileShareOutput, AWSError>;
70
70
  /**
71
- * Create a new workload. The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it. For more information, see Defining a Workload in the Well-Architected Tool User Guide. Either AwsRegions, NonAwsRegions, or both must be specified when creating a workload. You also must specify ReviewOwner, even though the parameter is listed as not being required in the following section.
71
+ * Create a review template. Disclaimer Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your review templates. If your review template or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
72
+ */
73
+ createReviewTemplate(params: WellArchitected.Types.CreateReviewTemplateInput, callback?: (err: AWSError, data: WellArchitected.Types.CreateReviewTemplateOutput) => void): Request<WellArchitected.Types.CreateReviewTemplateOutput, AWSError>;
74
+ /**
75
+ * Create a review template. Disclaimer Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your review templates. If your review template or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
76
+ */
77
+ createReviewTemplate(callback?: (err: AWSError, data: WellArchitected.Types.CreateReviewTemplateOutput) => void): Request<WellArchitected.Types.CreateReviewTemplateOutput, AWSError>;
78
+ /**
79
+ * Create a review template share. The owner of a review template can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Shared access to a review template is not removed until the review template share invitation is deleted. If you share a review template with an organization or OU, all accounts in the organization or OU are granted access to the review template. Disclaimer By sharing your review template with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your review template available to those other accounts.
80
+ */
81
+ createTemplateShare(params: WellArchitected.Types.CreateTemplateShareInput, callback?: (err: AWSError, data: WellArchitected.Types.CreateTemplateShareOutput) => void): Request<WellArchitected.Types.CreateTemplateShareOutput, AWSError>;
82
+ /**
83
+ * Create a review template share. The owner of a review template can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Shared access to a review template is not removed until the review template share invitation is deleted. If you share a review template with an organization or OU, all accounts in the organization or OU are granted access to the review template. Disclaimer By sharing your review template with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your review template available to those other accounts.
84
+ */
85
+ createTemplateShare(callback?: (err: AWSError, data: WellArchitected.Types.CreateTemplateShareOutput) => void): Request<WellArchitected.Types.CreateTemplateShareOutput, AWSError>;
86
+ /**
87
+ * Create a new workload. The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it. For more information, see Defining a Workload in the Well-Architected Tool User Guide. Either AwsRegions, NonAwsRegions, or both must be specified when creating a workload. You also must specify ReviewOwner, even though the parameter is listed as not being required in the following section. When creating a workload using a review template, you must have the following IAM permissions: wellarchitected:GetReviewTemplate wellarchitected:GetReviewTemplateAnswer wellarchitected:ListReviewTemplateAnswers wellarchitected:GetReviewTemplateLensReview
72
88
  */
73
89
  createWorkload(params: WellArchitected.Types.CreateWorkloadInput, callback?: (err: AWSError, data: WellArchitected.Types.CreateWorkloadOutput) => void): Request<WellArchitected.Types.CreateWorkloadOutput, AWSError>;
74
90
  /**
75
- * Create a new workload. The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it. For more information, see Defining a Workload in the Well-Architected Tool User Guide. Either AwsRegions, NonAwsRegions, or both must be specified when creating a workload. You also must specify ReviewOwner, even though the parameter is listed as not being required in the following section.
91
+ * Create a new workload. The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it. For more information, see Defining a Workload in the Well-Architected Tool User Guide. Either AwsRegions, NonAwsRegions, or both must be specified when creating a workload. You also must specify ReviewOwner, even though the parameter is listed as not being required in the following section. When creating a workload using a review template, you must have the following IAM permissions: wellarchitected:GetReviewTemplate wellarchitected:GetReviewTemplateAnswer wellarchitected:ListReviewTemplateAnswers wellarchitected:GetReviewTemplateLensReview
76
92
  */
77
93
  createWorkload(callback?: (err: AWSError, data: WellArchitected.Types.CreateWorkloadOutput) => void): Request<WellArchitected.Types.CreateWorkloadOutput, AWSError>;
78
94
  /**
@@ -115,6 +131,22 @@ declare class WellArchitected extends Service {
115
131
  * Delete a profile share.
116
132
  */
117
133
  deleteProfileShare(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
134
+ /**
135
+ * Delete a review template. Only the owner of a review template can delete it. After the review template is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.
136
+ */
137
+ deleteReviewTemplate(params: WellArchitected.Types.DeleteReviewTemplateInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
138
+ /**
139
+ * Delete a review template. Only the owner of a review template can delete it. After the review template is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.
140
+ */
141
+ deleteReviewTemplate(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
142
+ /**
143
+ * Delete a review template share. After the review template share is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.
144
+ */
145
+ deleteTemplateShare(params: WellArchitected.Types.DeleteTemplateShareInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
146
+ /**
147
+ * Delete a review template share. After the review template share is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.
148
+ */
149
+ deleteTemplateShare(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
118
150
  /**
119
151
  * Delete an existing workload.
120
152
  */
@@ -227,6 +259,30 @@ declare class WellArchitected extends Service {
227
259
  * Get profile template.
228
260
  */
229
261
  getProfileTemplate(callback?: (err: AWSError, data: WellArchitected.Types.GetProfileTemplateOutput) => void): Request<WellArchitected.Types.GetProfileTemplateOutput, AWSError>;
262
+ /**
263
+ * Get review template.
264
+ */
265
+ getReviewTemplate(params: WellArchitected.Types.GetReviewTemplateInput, callback?: (err: AWSError, data: WellArchitected.Types.GetReviewTemplateOutput) => void): Request<WellArchitected.Types.GetReviewTemplateOutput, AWSError>;
266
+ /**
267
+ * Get review template.
268
+ */
269
+ getReviewTemplate(callback?: (err: AWSError, data: WellArchitected.Types.GetReviewTemplateOutput) => void): Request<WellArchitected.Types.GetReviewTemplateOutput, AWSError>;
270
+ /**
271
+ * Get review template answer.
272
+ */
273
+ getReviewTemplateAnswer(params: WellArchitected.Types.GetReviewTemplateAnswerInput, callback?: (err: AWSError, data: WellArchitected.Types.GetReviewTemplateAnswerOutput) => void): Request<WellArchitected.Types.GetReviewTemplateAnswerOutput, AWSError>;
274
+ /**
275
+ * Get review template answer.
276
+ */
277
+ getReviewTemplateAnswer(callback?: (err: AWSError, data: WellArchitected.Types.GetReviewTemplateAnswerOutput) => void): Request<WellArchitected.Types.GetReviewTemplateAnswerOutput, AWSError>;
278
+ /**
279
+ * Get a lens review associated with a review template.
280
+ */
281
+ getReviewTemplateLensReview(params: WellArchitected.Types.GetReviewTemplateLensReviewInput, callback?: (err: AWSError, data: WellArchitected.Types.GetReviewTemplateLensReviewOutput) => void): Request<WellArchitected.Types.GetReviewTemplateLensReviewOutput, AWSError>;
282
+ /**
283
+ * Get a lens review associated with a review template.
284
+ */
285
+ getReviewTemplateLensReview(callback?: (err: AWSError, data: WellArchitected.Types.GetReviewTemplateLensReviewOutput) => void): Request<WellArchitected.Types.GetReviewTemplateLensReviewOutput, AWSError>;
230
286
  /**
231
287
  * Get an existing workload.
232
288
  */
@@ -340,21 +396,45 @@ declare class WellArchitected extends Service {
340
396
  */
341
397
  listProfiles(callback?: (err: AWSError, data: WellArchitected.Types.ListProfilesOutput) => void): Request<WellArchitected.Types.ListProfilesOutput, AWSError>;
342
398
  /**
343
- * List the workload invitations.
399
+ * List the answers of a review template.
400
+ */
401
+ listReviewTemplateAnswers(params: WellArchitected.Types.ListReviewTemplateAnswersInput, callback?: (err: AWSError, data: WellArchitected.Types.ListReviewTemplateAnswersOutput) => void): Request<WellArchitected.Types.ListReviewTemplateAnswersOutput, AWSError>;
402
+ /**
403
+ * List the answers of a review template.
404
+ */
405
+ listReviewTemplateAnswers(callback?: (err: AWSError, data: WellArchitected.Types.ListReviewTemplateAnswersOutput) => void): Request<WellArchitected.Types.ListReviewTemplateAnswersOutput, AWSError>;
406
+ /**
407
+ * List review templates.
408
+ */
409
+ listReviewTemplates(params: WellArchitected.Types.ListReviewTemplatesInput, callback?: (err: AWSError, data: WellArchitected.Types.ListReviewTemplatesOutput) => void): Request<WellArchitected.Types.ListReviewTemplatesOutput, AWSError>;
410
+ /**
411
+ * List review templates.
412
+ */
413
+ listReviewTemplates(callback?: (err: AWSError, data: WellArchitected.Types.ListReviewTemplatesOutput) => void): Request<WellArchitected.Types.ListReviewTemplatesOutput, AWSError>;
414
+ /**
415
+ * List the share invitations. WorkloadNamePrefix, LensNamePrefix, ProfileNamePrefix, and TemplateNamePrefix are mutually exclusive. Use the parameter that matches your ShareResourceType.
344
416
  */
345
417
  listShareInvitations(params: WellArchitected.Types.ListShareInvitationsInput, callback?: (err: AWSError, data: WellArchitected.Types.ListShareInvitationsOutput) => void): Request<WellArchitected.Types.ListShareInvitationsOutput, AWSError>;
346
418
  /**
347
- * List the workload invitations.
419
+ * List the share invitations. WorkloadNamePrefix, LensNamePrefix, ProfileNamePrefix, and TemplateNamePrefix are mutually exclusive. Use the parameter that matches your ShareResourceType.
348
420
  */
349
421
  listShareInvitations(callback?: (err: AWSError, data: WellArchitected.Types.ListShareInvitationsOutput) => void): Request<WellArchitected.Types.ListShareInvitationsOutput, AWSError>;
350
422
  /**
351
- * List the tags for a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
423
+ * List the tags for a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.
352
424
  */
353
425
  listTagsForResource(params: WellArchitected.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: WellArchitected.Types.ListTagsForResourceOutput) => void): Request<WellArchitected.Types.ListTagsForResourceOutput, AWSError>;
354
426
  /**
355
- * List the tags for a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
427
+ * List the tags for a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.
356
428
  */
357
429
  listTagsForResource(callback?: (err: AWSError, data: WellArchitected.Types.ListTagsForResourceOutput) => void): Request<WellArchitected.Types.ListTagsForResourceOutput, AWSError>;
430
+ /**
431
+ * List review template shares.
432
+ */
433
+ listTemplateShares(params: WellArchitected.Types.ListTemplateSharesInput, callback?: (err: AWSError, data: WellArchitected.Types.ListTemplateSharesOutput) => void): Request<WellArchitected.Types.ListTemplateSharesOutput, AWSError>;
434
+ /**
435
+ * List review template shares.
436
+ */
437
+ listTemplateShares(callback?: (err: AWSError, data: WellArchitected.Types.ListTemplateSharesOutput) => void): Request<WellArchitected.Types.ListTemplateSharesOutput, AWSError>;
358
438
  /**
359
439
  * List the workload shares associated with the workload.
360
440
  */
@@ -372,19 +452,19 @@ declare class WellArchitected extends Service {
372
452
  */
373
453
  listWorkloads(callback?: (err: AWSError, data: WellArchitected.Types.ListWorkloadsOutput) => void): Request<WellArchitected.Types.ListWorkloadsOutput, AWSError>;
374
454
  /**
375
- * Adds one or more tags to the specified resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
455
+ * Adds one or more tags to the specified resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.
376
456
  */
377
457
  tagResource(params: WellArchitected.Types.TagResourceInput, callback?: (err: AWSError, data: WellArchitected.Types.TagResourceOutput) => void): Request<WellArchitected.Types.TagResourceOutput, AWSError>;
378
458
  /**
379
- * Adds one or more tags to the specified resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
459
+ * Adds one or more tags to the specified resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.
380
460
  */
381
461
  tagResource(callback?: (err: AWSError, data: WellArchitected.Types.TagResourceOutput) => void): Request<WellArchitected.Types.TagResourceOutput, AWSError>;
382
462
  /**
383
- * Deletes specified tags from a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
463
+ * Deletes specified tags from a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
384
464
  */
385
465
  untagResource(params: WellArchitected.Types.UntagResourceInput, callback?: (err: AWSError, data: WellArchitected.Types.UntagResourceOutput) => void): Request<WellArchitected.Types.UntagResourceOutput, AWSError>;
386
466
  /**
387
- * Deletes specified tags from a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
467
+ * Deletes specified tags from a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
388
468
  */
389
469
  untagResource(callback?: (err: AWSError, data: WellArchitected.Types.UntagResourceOutput) => void): Request<WellArchitected.Types.UntagResourceOutput, AWSError>;
390
470
  /**
@@ -419,6 +499,30 @@ declare class WellArchitected extends Service {
419
499
  * Update a profile.
420
500
  */
421
501
  updateProfile(callback?: (err: AWSError, data: WellArchitected.Types.UpdateProfileOutput) => void): Request<WellArchitected.Types.UpdateProfileOutput, AWSError>;
502
+ /**
503
+ * Update a review template.
504
+ */
505
+ updateReviewTemplate(params: WellArchitected.Types.UpdateReviewTemplateInput, callback?: (err: AWSError, data: WellArchitected.Types.UpdateReviewTemplateOutput) => void): Request<WellArchitected.Types.UpdateReviewTemplateOutput, AWSError>;
506
+ /**
507
+ * Update a review template.
508
+ */
509
+ updateReviewTemplate(callback?: (err: AWSError, data: WellArchitected.Types.UpdateReviewTemplateOutput) => void): Request<WellArchitected.Types.UpdateReviewTemplateOutput, AWSError>;
510
+ /**
511
+ * Update a review template answer.
512
+ */
513
+ updateReviewTemplateAnswer(params: WellArchitected.Types.UpdateReviewTemplateAnswerInput, callback?: (err: AWSError, data: WellArchitected.Types.UpdateReviewTemplateAnswerOutput) => void): Request<WellArchitected.Types.UpdateReviewTemplateAnswerOutput, AWSError>;
514
+ /**
515
+ * Update a review template answer.
516
+ */
517
+ updateReviewTemplateAnswer(callback?: (err: AWSError, data: WellArchitected.Types.UpdateReviewTemplateAnswerOutput) => void): Request<WellArchitected.Types.UpdateReviewTemplateAnswerOutput, AWSError>;
518
+ /**
519
+ * Update a lens review associated with a review template.
520
+ */
521
+ updateReviewTemplateLensReview(params: WellArchitected.Types.UpdateReviewTemplateLensReviewInput, callback?: (err: AWSError, data: WellArchitected.Types.UpdateReviewTemplateLensReviewOutput) => void): Request<WellArchitected.Types.UpdateReviewTemplateLensReviewOutput, AWSError>;
522
+ /**
523
+ * Update a lens review associated with a review template.
524
+ */
525
+ updateReviewTemplateLensReview(callback?: (err: AWSError, data: WellArchitected.Types.UpdateReviewTemplateLensReviewOutput) => void): Request<WellArchitected.Types.UpdateReviewTemplateLensReviewOutput, AWSError>;
422
526
  /**
423
527
  * Update a workload or custom lens share invitation. This API operation can be called independently of any resource. Previous documentation implied that a workload ARN must be specified.
424
528
  */
@@ -459,6 +563,14 @@ declare class WellArchitected extends Service {
459
563
  * Upgrade a profile.
460
564
  */
461
565
  upgradeProfileVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
566
+ /**
567
+ * Upgrade the lens review of a review template.
568
+ */
569
+ upgradeReviewTemplateLensReview(params: WellArchitected.Types.UpgradeReviewTemplateLensReviewInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
570
+ /**
571
+ * Upgrade the lens review of a review template.
572
+ */
573
+ upgradeReviewTemplateLensReview(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
462
574
  }
463
575
  declare namespace WellArchitected {
464
576
  export type AccountSummary = {[key: string]: CheckStatusCount};
@@ -817,6 +929,47 @@ declare namespace WellArchitected {
817
929
  */
818
930
  ProfileArn?: ProfileArn;
819
931
  }
932
+ export interface CreateReviewTemplateInput {
933
+ /**
934
+ * Name of the review template.
935
+ */
936
+ TemplateName: TemplateName;
937
+ /**
938
+ * The review template description.
939
+ */
940
+ Description: TemplateDescription;
941
+ /**
942
+ * Lenses applied to the review template.
943
+ */
944
+ Lenses: ReviewTemplateLenses;
945
+ Notes?: Notes;
946
+ /**
947
+ * The tags assigned to the review template.
948
+ */
949
+ Tags?: TagMap;
950
+ ClientRequestToken: ClientRequestToken;
951
+ }
952
+ export interface CreateReviewTemplateOutput {
953
+ /**
954
+ * The review template ARN.
955
+ */
956
+ TemplateArn?: TemplateArn;
957
+ }
958
+ export interface CreateTemplateShareInput {
959
+ /**
960
+ * The review template ARN.
961
+ */
962
+ TemplateArn: TemplateArn;
963
+ SharedWith: SharedWith;
964
+ ClientRequestToken: ClientRequestToken;
965
+ }
966
+ export interface CreateTemplateShareOutput {
967
+ /**
968
+ * The review template ARN.
969
+ */
970
+ TemplateArn?: TemplateArn;
971
+ ShareId?: ShareId;
972
+ }
820
973
  export interface CreateWorkloadInput {
821
974
  WorkloadName: WorkloadName;
822
975
  Description: WorkloadDescription;
@@ -848,6 +1001,10 @@ declare namespace WellArchitected {
848
1001
  * The list of profile ARNs associated with the workload.
849
1002
  */
850
1003
  ProfileArns?: WorkloadProfileArns;
1004
+ /**
1005
+ * The list of review template ARNs to associate with the workload.
1006
+ */
1007
+ ReviewTemplateArns?: ReviewTemplateArns;
851
1008
  }
852
1009
  export interface CreateWorkloadOutput {
853
1010
  WorkloadId?: WorkloadId;
@@ -892,6 +1049,21 @@ declare namespace WellArchitected {
892
1049
  ProfileArn: ProfileArn;
893
1050
  ClientRequestToken: ClientRequestToken;
894
1051
  }
1052
+ export interface DeleteReviewTemplateInput {
1053
+ /**
1054
+ * The review template ARN.
1055
+ */
1056
+ TemplateArn: TemplateArn;
1057
+ ClientRequestToken: ClientRequestToken;
1058
+ }
1059
+ export interface DeleteTemplateShareInput {
1060
+ ShareId: ShareId;
1061
+ /**
1062
+ * The review template ARN.
1063
+ */
1064
+ TemplateArn: TemplateArn;
1065
+ ClientRequestToken: ClientRequestToken;
1066
+ }
895
1067
  export interface DeleteWorkloadInput {
896
1068
  WorkloadId: WorkloadId;
897
1069
  ClientRequestToken: ClientRequestToken;
@@ -1065,6 +1237,54 @@ declare namespace WellArchitected {
1065
1237
  */
1066
1238
  ProfileTemplate?: ProfileTemplate;
1067
1239
  }
1240
+ export interface GetReviewTemplateAnswerInput {
1241
+ /**
1242
+ * The review template ARN.
1243
+ */
1244
+ TemplateArn: TemplateArn;
1245
+ LensAlias: LensAlias;
1246
+ QuestionId: QuestionId;
1247
+ }
1248
+ export interface GetReviewTemplateAnswerOutput {
1249
+ /**
1250
+ * The review template ARN.
1251
+ */
1252
+ TemplateArn?: TemplateArn;
1253
+ LensAlias?: LensAlias;
1254
+ /**
1255
+ * An answer of the question.
1256
+ */
1257
+ Answer?: ReviewTemplateAnswer;
1258
+ }
1259
+ export interface GetReviewTemplateInput {
1260
+ /**
1261
+ * The review template ARN.
1262
+ */
1263
+ TemplateArn: TemplateArn;
1264
+ }
1265
+ export interface GetReviewTemplateLensReviewInput {
1266
+ /**
1267
+ * The review template ARN.
1268
+ */
1269
+ TemplateArn: TemplateArn;
1270
+ LensAlias: LensAlias;
1271
+ }
1272
+ export interface GetReviewTemplateLensReviewOutput {
1273
+ /**
1274
+ * The review template ARN.
1275
+ */
1276
+ TemplateArn?: TemplateArn;
1277
+ /**
1278
+ * A lens review of a question.
1279
+ */
1280
+ LensReview?: ReviewTemplateLensReview;
1281
+ }
1282
+ export interface GetReviewTemplateOutput {
1283
+ /**
1284
+ * The review template.
1285
+ */
1286
+ ReviewTemplate?: ReviewTemplate;
1287
+ }
1068
1288
  export interface GetWorkloadInput {
1069
1289
  WorkloadId: WorkloadId;
1070
1290
  }
@@ -1268,6 +1488,11 @@ declare namespace WellArchitected {
1268
1488
  * The latest version of the lens.
1269
1489
  */
1270
1490
  LatestLensVersion?: LensVersion;
1491
+ /**
1492
+ * ResourceArn of the lens being upgraded
1493
+ */
1494
+ ResourceArn?: ResourceArn;
1495
+ ResourceName?: WorkloadName;
1271
1496
  }
1272
1497
  export type LensVersion = string;
1273
1498
  export type LensesAppliedCount = number;
@@ -1378,7 +1603,7 @@ declare namespace WellArchitected {
1378
1603
  export interface ListLensSharesInput {
1379
1604
  LensAlias: LensAlias;
1380
1605
  /**
1381
- * The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the lens is shared.
1606
+ * The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the lens is shared.
1382
1607
  */
1383
1608
  SharedWithPrefix?: SharedWithPrefix;
1384
1609
  NextToken?: NextToken;
@@ -1429,6 +1654,10 @@ declare namespace WellArchitected {
1429
1654
  * The maximum number of results to return for this request.
1430
1655
  */
1431
1656
  MaxResults?: ListNotificationsMaxResults;
1657
+ /**
1658
+ * The ARN for the related resource for the notification. Only one of WorkloadID or ResourceARN should be specified.
1659
+ */
1660
+ ResourceArn?: ResourceArn;
1432
1661
  }
1433
1662
  export type ListNotificationsMaxResults = number;
1434
1663
  export interface ListNotificationsOutput {
@@ -1456,7 +1685,7 @@ declare namespace WellArchitected {
1456
1685
  */
1457
1686
  ProfileArn: ProfileArn;
1458
1687
  /**
1459
- * The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the profile is shared.
1688
+ * The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the profile is shared.
1460
1689
  */
1461
1690
  SharedWithPrefix?: SharedWithPrefix;
1462
1691
  NextToken?: NextToken;
@@ -1476,7 +1705,7 @@ declare namespace WellArchitected {
1476
1705
  }
1477
1706
  export interface ListProfilesInput {
1478
1707
  /**
1479
- * Prefix for profile name.
1708
+ * An optional string added to the beginning of each profile name returned in the results.
1480
1709
  */
1481
1710
  ProfileNamePrefix?: ProfileNamePrefix;
1482
1711
  /**
@@ -1493,6 +1722,43 @@ declare namespace WellArchitected {
1493
1722
  ProfileSummaries?: ProfileSummaries;
1494
1723
  NextToken?: NextToken;
1495
1724
  }
1725
+ export interface ListReviewTemplateAnswersInput {
1726
+ /**
1727
+ * The ARN of the review template.
1728
+ */
1729
+ TemplateArn: TemplateArn;
1730
+ LensAlias: LensAlias;
1731
+ PillarId?: PillarId;
1732
+ NextToken?: NextToken;
1733
+ /**
1734
+ * The maximum number of results to return for this request.
1735
+ */
1736
+ MaxResults?: ListReviewTemplateAnswersMaxResults;
1737
+ }
1738
+ export type ListReviewTemplateAnswersMaxResults = number;
1739
+ export interface ListReviewTemplateAnswersOutput {
1740
+ /**
1741
+ * The ARN of the review template.
1742
+ */
1743
+ TemplateArn?: TemplateArn;
1744
+ LensAlias?: LensAlias;
1745
+ /**
1746
+ * List of answer summaries of a lens review in a review template.
1747
+ */
1748
+ AnswerSummaries?: ReviewTemplateAnswerSummaries;
1749
+ NextToken?: NextToken;
1750
+ }
1751
+ export interface ListReviewTemplatesInput {
1752
+ NextToken?: NextToken;
1753
+ MaxResults?: MaxResults;
1754
+ }
1755
+ export interface ListReviewTemplatesOutput {
1756
+ /**
1757
+ * List of review templates.
1758
+ */
1759
+ ReviewTemplates?: ReviewTemplates;
1760
+ NextToken?: NextToken;
1761
+ }
1496
1762
  export interface ListShareInvitationsInput {
1497
1763
  WorkloadNamePrefix?: WorkloadNamePrefix;
1498
1764
  /**
@@ -1509,9 +1775,13 @@ declare namespace WellArchitected {
1509
1775
  */
1510
1776
  MaxResults?: ListShareInvitationsMaxResults;
1511
1777
  /**
1512
- * Profile name prefix.
1778
+ * An optional string added to the beginning of each profile name returned in the results.
1513
1779
  */
1514
1780
  ProfileNamePrefix?: ProfileNamePrefix;
1781
+ /**
1782
+ * An optional string added to the beginning of each review template name returned in the results.
1783
+ */
1784
+ TemplateNamePrefix?: TemplateNamePrefix;
1515
1785
  }
1516
1786
  export type ListShareInvitationsMaxResults = number;
1517
1787
  export interface ListShareInvitationsOutput {
@@ -1530,10 +1800,38 @@ declare namespace WellArchitected {
1530
1800
  */
1531
1801
  Tags?: TagMap;
1532
1802
  }
1803
+ export interface ListTemplateSharesInput {
1804
+ /**
1805
+ * The review template ARN.
1806
+ */
1807
+ TemplateArn: TemplateArn;
1808
+ /**
1809
+ * The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the profile is shared.
1810
+ */
1811
+ SharedWithPrefix?: SharedWithPrefix;
1812
+ NextToken?: NextToken;
1813
+ /**
1814
+ * The maximum number of results to return for this request.
1815
+ */
1816
+ MaxResults?: ListTemplateSharesMaxResults;
1817
+ Status?: ShareStatus;
1818
+ }
1819
+ export type ListTemplateSharesMaxResults = number;
1820
+ export interface ListTemplateSharesOutput {
1821
+ /**
1822
+ * The review template ARN.
1823
+ */
1824
+ TemplateArn?: TemplateArn;
1825
+ /**
1826
+ * A review template share summary return object.
1827
+ */
1828
+ TemplateShareSummaries?: TemplateShareSummaries;
1829
+ NextToken?: NextToken;
1830
+ }
1533
1831
  export interface ListWorkloadSharesInput {
1534
1832
  WorkloadId: WorkloadId;
1535
1833
  /**
1536
- * The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared.
1834
+ * The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.
1537
1835
  */
1538
1836
  SharedWithPrefix?: SharedWithPrefix;
1539
1837
  NextToken?: NextToken;
@@ -1799,6 +2097,8 @@ declare namespace WellArchitected {
1799
2097
  }
1800
2098
  export type ProfileTemplateQuestionChoices = ProfileTemplateChoice[];
1801
2099
  export type ProfileVersion = string;
2100
+ export type Question = "UNANSWERED"|"ANSWERED"|string;
2101
+ export type QuestionCounts = {[key: string]: Count};
1802
2102
  export type QuestionDescription = string;
1803
2103
  export interface QuestionDifference {
1804
2104
  QuestionId?: QuestionId;
@@ -1823,6 +2123,164 @@ declare namespace WellArchitected {
1823
2123
  export type QuestionTitle = string;
1824
2124
  export type QuestionType = "PRIORITIZED"|"NON_PRIORITIZED"|string;
1825
2125
  export type ReportFormat = "PDF"|"JSON"|string;
2126
+ export type ResourceArn = string;
2127
+ export interface ReviewTemplate {
2128
+ /**
2129
+ * The review template description.
2130
+ */
2131
+ Description?: TemplateDescription;
2132
+ /**
2133
+ * The lenses applied to the review template.
2134
+ */
2135
+ Lenses?: ReviewTemplateLenses;
2136
+ Notes?: Notes;
2137
+ /**
2138
+ * A count of how many total questions are answered and unanswered in the review template.
2139
+ */
2140
+ QuestionCounts?: QuestionCounts;
2141
+ Owner?: AwsAccountId;
2142
+ UpdatedAt?: Timestamp;
2143
+ /**
2144
+ * The review template ARN.
2145
+ */
2146
+ TemplateArn?: TemplateArn;
2147
+ /**
2148
+ * The name of the review template.
2149
+ */
2150
+ TemplateName?: TemplateName;
2151
+ /**
2152
+ * The tags assigned to the review template.
2153
+ */
2154
+ Tags?: TagMap;
2155
+ /**
2156
+ * The latest status of a review template.
2157
+ */
2158
+ UpdateStatus?: ReviewTemplateUpdateStatus;
2159
+ /**
2160
+ * The ID assigned to the template share invitation.
2161
+ */
2162
+ ShareInvitationId?: ShareInvitationId;
2163
+ }
2164
+ export interface ReviewTemplateAnswer {
2165
+ QuestionId?: QuestionId;
2166
+ PillarId?: PillarId;
2167
+ QuestionTitle?: QuestionTitle;
2168
+ QuestionDescription?: QuestionDescription;
2169
+ ImprovementPlanUrl?: ImprovementPlanUrl;
2170
+ HelpfulResourceUrl?: HelpfulResourceUrl;
2171
+ /**
2172
+ * The helpful resource text to be displayed for a custom lens. This field does not apply to Amazon Web Services official lenses.
2173
+ */
2174
+ HelpfulResourceDisplayText?: DisplayText;
2175
+ Choices?: Choices;
2176
+ SelectedChoices?: SelectedChoices;
2177
+ /**
2178
+ * A list of selected choices to a question in your review template.
2179
+ */
2180
+ ChoiceAnswers?: ChoiceAnswers;
2181
+ IsApplicable?: IsApplicable;
2182
+ /**
2183
+ * The status of whether or not this question has been answered.
2184
+ */
2185
+ AnswerStatus?: ReviewTemplateAnswerStatus;
2186
+ Notes?: Notes;
2187
+ /**
2188
+ * The reason why the question is not applicable to your review template.
2189
+ */
2190
+ Reason?: AnswerReason;
2191
+ }
2192
+ export type ReviewTemplateAnswerStatus = "UNANSWERED"|"ANSWERED"|string;
2193
+ export type ReviewTemplateAnswerSummaries = ReviewTemplateAnswerSummary[];
2194
+ export interface ReviewTemplateAnswerSummary {
2195
+ QuestionId?: QuestionId;
2196
+ PillarId?: PillarId;
2197
+ QuestionTitle?: QuestionTitle;
2198
+ Choices?: Choices;
2199
+ SelectedChoices?: SelectedChoices;
2200
+ /**
2201
+ * A list of selected choices to a question in the review template.
2202
+ */
2203
+ ChoiceAnswerSummaries?: ChoiceAnswerSummaries;
2204
+ IsApplicable?: IsApplicable;
2205
+ /**
2206
+ * The status of whether or not this question has been answered.
2207
+ */
2208
+ AnswerStatus?: ReviewTemplateAnswerStatus;
2209
+ /**
2210
+ * The reason why a choice is not-applicable to a question in the review template.
2211
+ */
2212
+ Reason?: AnswerReason;
2213
+ /**
2214
+ * The type of question.
2215
+ */
2216
+ QuestionType?: QuestionType;
2217
+ }
2218
+ export type ReviewTemplateArns = TemplateArn[];
2219
+ export type ReviewTemplateLensAliases = LensAlias[];
2220
+ export interface ReviewTemplateLensReview {
2221
+ LensAlias?: LensAlias;
2222
+ /**
2223
+ * The lens ARN.
2224
+ */
2225
+ LensArn?: LensArn;
2226
+ /**
2227
+ * The version of the lens.
2228
+ */
2229
+ LensVersion?: LensVersion;
2230
+ LensName?: LensName;
2231
+ /**
2232
+ * The status of the lens.
2233
+ */
2234
+ LensStatus?: LensStatus;
2235
+ /**
2236
+ * Pillar review summaries of a lens review.
2237
+ */
2238
+ PillarReviewSummaries?: ReviewTemplatePillarReviewSummaries;
2239
+ UpdatedAt?: Timestamp;
2240
+ Notes?: Notes;
2241
+ /**
2242
+ * A count of how many questions are answered and unanswered in the lens review.
2243
+ */
2244
+ QuestionCounts?: QuestionCounts;
2245
+ NextToken?: NextToken;
2246
+ }
2247
+ export type ReviewTemplateLenses = LensAlias[];
2248
+ export type ReviewTemplatePillarReviewSummaries = ReviewTemplatePillarReviewSummary[];
2249
+ export interface ReviewTemplatePillarReviewSummary {
2250
+ PillarId?: PillarId;
2251
+ PillarName?: PillarName;
2252
+ Notes?: Notes;
2253
+ /**
2254
+ * A count of how many questions are answered and unanswered in the requested pillar of the lens review.
2255
+ */
2256
+ QuestionCounts?: QuestionCounts;
2257
+ }
2258
+ export interface ReviewTemplateSummary {
2259
+ /**
2260
+ * Description of the review template.
2261
+ */
2262
+ Description?: TemplateDescription;
2263
+ /**
2264
+ * Lenses associated with the review template.
2265
+ */
2266
+ Lenses?: ReviewTemplateLenses;
2267
+ Owner?: AwsAccountId;
2268
+ UpdatedAt?: Timestamp;
2269
+ /**
2270
+ * The review template ARN.
2271
+ */
2272
+ TemplateArn?: TemplateArn;
2273
+ /**
2274
+ * The name of the review template.
2275
+ */
2276
+ TemplateName?: TemplateName;
2277
+ /**
2278
+ * The latest status of a review template.
2279
+ */
2280
+ UpdateStatus?: ReviewTemplateUpdateStatus;
2281
+ }
2282
+ export type ReviewTemplateUpdateStatus = "CURRENT"|"LENS_NOT_CURRENT"|string;
2283
+ export type ReviewTemplates = ReviewTemplateSummary[];
1826
2284
  export type Risk = "UNANSWERED"|"HIGH"|"MEDIUM"|"NONE"|"NOT_APPLICABLE"|string;
1827
2285
  export type RiskCounts = {[key: string]: Count};
1828
2286
  export type SelectedChoiceIds = ChoiceId[];
@@ -1848,6 +2306,10 @@ declare namespace WellArchitected {
1848
2306
  * The profile ARN.
1849
2307
  */
1850
2308
  ProfileArn?: ProfileArn;
2309
+ /**
2310
+ * The review template ARN.
2311
+ */
2312
+ TemplateArn?: TemplateArn;
1851
2313
  }
1852
2314
  export type ShareInvitationAction = "ACCEPT"|"REJECT"|string;
1853
2315
  export type ShareInvitationId = string;
@@ -1879,8 +2341,16 @@ declare namespace WellArchitected {
1879
2341
  * The profile ARN.
1880
2342
  */
1881
2343
  ProfileArn?: ProfileArn;
2344
+ /**
2345
+ * The name of the review template.
2346
+ */
2347
+ TemplateName?: TemplateName;
2348
+ /**
2349
+ * The review template ARN.
2350
+ */
2351
+ TemplateArn?: TemplateArn;
1882
2352
  }
1883
- export type ShareResourceType = "WORKLOAD"|"LENS"|"PROFILE"|string;
2353
+ export type ShareResourceType = "WORKLOAD"|"LENS"|"PROFILE"|"TEMPLATE"|string;
1884
2354
  export type ShareStatus = "ACCEPTED"|"REJECTED"|"PENDING"|"REVOKED"|"EXPIRED"|"ASSOCIATING"|"ASSOCIATED"|"FAILED"|string;
1885
2355
  export type SharedWith = string;
1886
2356
  export type SharedWithPrefix = string;
@@ -1898,7 +2368,21 @@ declare namespace WellArchitected {
1898
2368
  export interface TagResourceOutput {
1899
2369
  }
1900
2370
  export type TagValue = string;
2371
+ export type TemplateArn = string;
2372
+ export type TemplateDescription = string;
2373
+ export type TemplateName = string;
2374
+ export type TemplateNamePrefix = string;
1901
2375
  export type TemplateQuestions = ProfileTemplateQuestion[];
2376
+ export type TemplateShareSummaries = TemplateShareSummary[];
2377
+ export interface TemplateShareSummary {
2378
+ ShareId?: ShareId;
2379
+ SharedWith?: SharedWith;
2380
+ Status?: ShareStatus;
2381
+ /**
2382
+ * Review template share invitation status message.
2383
+ */
2384
+ StatusMessage?: StatusMessage;
2385
+ }
1902
2386
  export type Timestamp = Date;
1903
2387
  export type TrustedAdvisorIntegrationStatus = "ENABLED"|"DISABLED"|string;
1904
2388
  export interface UntagResourceInput {
@@ -1975,6 +2459,84 @@ declare namespace WellArchitected {
1975
2459
  */
1976
2460
  Profile?: Profile;
1977
2461
  }
2462
+ export interface UpdateReviewTemplateAnswerInput {
2463
+ /**
2464
+ * The review template ARN.
2465
+ */
2466
+ TemplateArn: TemplateArn;
2467
+ LensAlias: LensAlias;
2468
+ QuestionId: QuestionId;
2469
+ SelectedChoices?: SelectedChoices;
2470
+ /**
2471
+ * A list of choices to be updated.
2472
+ */
2473
+ ChoiceUpdates?: ChoiceUpdates;
2474
+ Notes?: Notes;
2475
+ IsApplicable?: IsApplicable;
2476
+ /**
2477
+ * The update reason.
2478
+ */
2479
+ Reason?: AnswerReason;
2480
+ }
2481
+ export interface UpdateReviewTemplateAnswerOutput {
2482
+ /**
2483
+ * The review template ARN.
2484
+ */
2485
+ TemplateArn?: TemplateArn;
2486
+ LensAlias?: LensAlias;
2487
+ /**
2488
+ * An answer of the question.
2489
+ */
2490
+ Answer?: ReviewTemplateAnswer;
2491
+ }
2492
+ export interface UpdateReviewTemplateInput {
2493
+ /**
2494
+ * The review template ARN.
2495
+ */
2496
+ TemplateArn: TemplateArn;
2497
+ /**
2498
+ * The review template name.
2499
+ */
2500
+ TemplateName?: TemplateName;
2501
+ /**
2502
+ * The review template description.
2503
+ */
2504
+ Description?: TemplateDescription;
2505
+ Notes?: Notes;
2506
+ /**
2507
+ * A list of lens aliases or ARNs to apply to the review template.
2508
+ */
2509
+ LensesToAssociate?: ReviewTemplateLensAliases;
2510
+ /**
2511
+ * A list of lens aliases or ARNs to unapply to the review template. The wellarchitected lens cannot be unapplied.
2512
+ */
2513
+ LensesToDisassociate?: ReviewTemplateLensAliases;
2514
+ }
2515
+ export interface UpdateReviewTemplateLensReviewInput {
2516
+ /**
2517
+ * The review template ARN.
2518
+ */
2519
+ TemplateArn: TemplateArn;
2520
+ LensAlias: LensAlias;
2521
+ LensNotes?: Notes;
2522
+ PillarNotes?: PillarNotes;
2523
+ }
2524
+ export interface UpdateReviewTemplateLensReviewOutput {
2525
+ /**
2526
+ * The review template ARN.
2527
+ */
2528
+ TemplateArn?: TemplateArn;
2529
+ /**
2530
+ * A lens review of a question.
2531
+ */
2532
+ LensReview?: ReviewTemplateLensReview;
2533
+ }
2534
+ export interface UpdateReviewTemplateOutput {
2535
+ /**
2536
+ * A review template.
2537
+ */
2538
+ ReviewTemplate?: ReviewTemplate;
2539
+ }
1978
2540
  export interface UpdateShareInvitationInput {
1979
2541
  /**
1980
2542
  * The ID assigned to the share invitation.
@@ -2043,6 +2605,14 @@ declare namespace WellArchitected {
2043
2605
  MilestoneName?: MilestoneName;
2044
2606
  ClientRequestToken?: ClientRequestToken;
2045
2607
  }
2608
+ export interface UpgradeReviewTemplateLensReviewInput {
2609
+ /**
2610
+ * The ARN of the review template.
2611
+ */
2612
+ TemplateArn: TemplateArn;
2613
+ LensAlias: LensAlias;
2614
+ ClientRequestToken?: ClientRequestToken;
2615
+ }
2046
2616
  export type Urls = ChoiceContent[];
2047
2617
  export interface VersionDifferences {
2048
2618
  /**