@aws-sdk/client-wellarchitected 3.423.0 → 3.425.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 (99) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/WellArchitected.js +28 -0
  3. package/dist-cjs/commands/CreateReviewTemplateCommand.js +51 -0
  4. package/dist-cjs/commands/CreateTemplateShareCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteReviewTemplateCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteTemplateShareCommand.js +51 -0
  7. package/dist-cjs/commands/GetReviewTemplateAnswerCommand.js +51 -0
  8. package/dist-cjs/commands/GetReviewTemplateCommand.js +51 -0
  9. package/dist-cjs/commands/GetReviewTemplateLensReviewCommand.js +51 -0
  10. package/dist-cjs/commands/ListReviewTemplateAnswersCommand.js +51 -0
  11. package/dist-cjs/commands/ListReviewTemplatesCommand.js +51 -0
  12. package/dist-cjs/commands/ListTemplateSharesCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateReviewTemplateAnswerCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateReviewTemplateCommand.js +51 -0
  15. package/dist-cjs/commands/UpdateReviewTemplateLensReviewCommand.js +51 -0
  16. package/dist-cjs/commands/UpgradeReviewTemplateLensReviewCommand.js +51 -0
  17. package/dist-cjs/commands/index.js +14 -0
  18. package/dist-cjs/models/models_0.js +14 -1
  19. package/dist-cjs/pagination/ListReviewTemplateAnswersPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListReviewTemplatesPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListTemplateSharesPaginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +3 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +1098 -53
  24. package/dist-es/WellArchitected.js +28 -0
  25. package/dist-es/commands/CreateReviewTemplateCommand.js +47 -0
  26. package/dist-es/commands/CreateTemplateShareCommand.js +47 -0
  27. package/dist-es/commands/DeleteReviewTemplateCommand.js +47 -0
  28. package/dist-es/commands/DeleteTemplateShareCommand.js +47 -0
  29. package/dist-es/commands/GetReviewTemplateAnswerCommand.js +47 -0
  30. package/dist-es/commands/GetReviewTemplateCommand.js +47 -0
  31. package/dist-es/commands/GetReviewTemplateLensReviewCommand.js +47 -0
  32. package/dist-es/commands/ListReviewTemplateAnswersCommand.js +47 -0
  33. package/dist-es/commands/ListReviewTemplatesCommand.js +47 -0
  34. package/dist-es/commands/ListTemplateSharesCommand.js +47 -0
  35. package/dist-es/commands/UpdateReviewTemplateAnswerCommand.js +47 -0
  36. package/dist-es/commands/UpdateReviewTemplateCommand.js +47 -0
  37. package/dist-es/commands/UpdateReviewTemplateLensReviewCommand.js +47 -0
  38. package/dist-es/commands/UpgradeReviewTemplateLensReviewCommand.js +47 -0
  39. package/dist-es/commands/index.js +14 -0
  40. package/dist-es/models/models_0.js +13 -0
  41. package/dist-es/pagination/ListReviewTemplateAnswersPaginator.js +25 -0
  42. package/dist-es/pagination/ListReviewTemplatesPaginator.js +25 -0
  43. package/dist-es/pagination/ListTemplateSharesPaginator.js +25 -0
  44. package/dist-es/pagination/index.js +3 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1065 -48
  46. package/dist-types/WellArchitected.d.ts +98 -0
  47. package/dist-types/WellArchitectedClient.d.ts +18 -2
  48. package/dist-types/commands/CreateReviewTemplateCommand.d.ts +114 -0
  49. package/dist-types/commands/CreateTemplateShareCommand.d.ts +111 -0
  50. package/dist-types/commands/CreateWorkloadCommand.d.ts +26 -0
  51. package/dist-types/commands/DeleteReviewTemplateCommand.d.ts +94 -0
  52. package/dist-types/commands/DeleteTemplateShareCommand.d.ts +94 -0
  53. package/dist-types/commands/GetReviewTemplateAnswerCommand.d.ts +141 -0
  54. package/dist-types/commands/GetReviewTemplateCommand.d.ts +106 -0
  55. package/dist-types/commands/GetReviewTemplateLensReviewCommand.d.ts +112 -0
  56. package/dist-types/commands/ListNotificationsCommand.d.ts +3 -0
  57. package/dist-types/commands/ListReviewTemplateAnswersCommand.d.ts +141 -0
  58. package/dist-types/commands/ListReviewTemplatesCommand.d.ts +99 -0
  59. package/dist-types/commands/ListShareInvitationsCommand.d.ts +10 -3
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  61. package/dist-types/commands/ListTemplateSharesCommand.d.ts +101 -0
  62. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateReviewTemplateAnswerCommand.d.ts +157 -0
  65. package/dist-types/commands/UpdateReviewTemplateCommand.d.ts +118 -0
  66. package/dist-types/commands/UpdateReviewTemplateLensReviewCommand.d.ts +119 -0
  67. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
  68. package/dist-types/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +91 -0
  69. package/dist-types/commands/index.d.ts +14 -0
  70. package/dist-types/models/models_0.d.ts +1206 -103
  71. package/dist-types/pagination/ListReviewTemplateAnswersPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListReviewTemplatesPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListTemplateSharesPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +3 -0
  75. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  76. package/dist-types/ts3.4/WellArchitected.d.ts +238 -0
  77. package/dist-types/ts3.4/WellArchitectedClient.d.ts +86 -2
  78. package/dist-types/ts3.4/commands/CreateReviewTemplateCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/CreateTemplateShareCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/DeleteReviewTemplateCommand.d.ts +37 -0
  81. package/dist-types/ts3.4/commands/DeleteTemplateShareCommand.d.ts +34 -0
  82. package/dist-types/ts3.4/commands/GetReviewTemplateAnswerCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/GetReviewTemplateCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/GetReviewTemplateLensReviewCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/ListReviewTemplateAnswersCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/ListReviewTemplatesCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/ListTemplateSharesCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/UpdateReviewTemplateAnswerCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/UpdateReviewTemplateCommand.d.ts +42 -0
  90. package/dist-types/ts3.4/commands/UpdateReviewTemplateLensReviewCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +38 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +227 -0
  94. package/dist-types/ts3.4/pagination/ListReviewTemplateAnswersPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/ListReviewTemplatesPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListTemplateSharesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  99. package/package.json +31 -31
@@ -6,12 +6,16 @@ import { CreateLensVersionCommandInput, CreateLensVersionCommandOutput } from ".
6
6
  import { CreateMilestoneCommandInput, CreateMilestoneCommandOutput } from "./commands/CreateMilestoneCommand";
7
7
  import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
8
8
  import { CreateProfileShareCommandInput, CreateProfileShareCommandOutput } from "./commands/CreateProfileShareCommand";
9
+ import { CreateReviewTemplateCommandInput, CreateReviewTemplateCommandOutput } from "./commands/CreateReviewTemplateCommand";
10
+ import { CreateTemplateShareCommandInput, CreateTemplateShareCommandOutput } from "./commands/CreateTemplateShareCommand";
9
11
  import { CreateWorkloadCommandInput, CreateWorkloadCommandOutput } from "./commands/CreateWorkloadCommand";
10
12
  import { CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput } from "./commands/CreateWorkloadShareCommand";
11
13
  import { DeleteLensCommandInput, DeleteLensCommandOutput } from "./commands/DeleteLensCommand";
12
14
  import { DeleteLensShareCommandInput, DeleteLensShareCommandOutput } from "./commands/DeleteLensShareCommand";
13
15
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
14
16
  import { DeleteProfileShareCommandInput, DeleteProfileShareCommandOutput } from "./commands/DeleteProfileShareCommand";
17
+ import { DeleteReviewTemplateCommandInput, DeleteReviewTemplateCommandOutput } from "./commands/DeleteReviewTemplateCommand";
18
+ import { DeleteTemplateShareCommandInput, DeleteTemplateShareCommandOutput } from "./commands/DeleteTemplateShareCommand";
15
19
  import { DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput } from "./commands/DeleteWorkloadCommand";
16
20
  import { DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput } from "./commands/DeleteWorkloadShareCommand";
17
21
  import { DisassociateLensesCommandInput, DisassociateLensesCommandOutput } from "./commands/DisassociateLensesCommand";
@@ -26,6 +30,9 @@ import { GetLensVersionDifferenceCommandInput, GetLensVersionDifferenceCommandOu
26
30
  import { GetMilestoneCommandInput, GetMilestoneCommandOutput } from "./commands/GetMilestoneCommand";
27
31
  import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
28
32
  import { GetProfileTemplateCommandInput, GetProfileTemplateCommandOutput } from "./commands/GetProfileTemplateCommand";
33
+ import { GetReviewTemplateAnswerCommandInput, GetReviewTemplateAnswerCommandOutput } from "./commands/GetReviewTemplateAnswerCommand";
34
+ import { GetReviewTemplateCommandInput, GetReviewTemplateCommandOutput } from "./commands/GetReviewTemplateCommand";
35
+ import { GetReviewTemplateLensReviewCommandInput, GetReviewTemplateLensReviewCommandOutput } from "./commands/GetReviewTemplateLensReviewCommand";
29
36
  import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
30
37
  import { ImportLensCommandInput, ImportLensCommandOutput } from "./commands/ImportLensCommand";
31
38
  import { ListAnswersCommandInput, ListAnswersCommandOutput } from "./commands/ListAnswersCommand";
@@ -40,8 +47,11 @@ import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from ".
40
47
  import { ListProfileNotificationsCommandInput, ListProfileNotificationsCommandOutput } from "./commands/ListProfileNotificationsCommand";
41
48
  import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
42
49
  import { ListProfileSharesCommandInput, ListProfileSharesCommandOutput } from "./commands/ListProfileSharesCommand";
50
+ import { ListReviewTemplateAnswersCommandInput, ListReviewTemplateAnswersCommandOutput } from "./commands/ListReviewTemplateAnswersCommand";
51
+ import { ListReviewTemplatesCommandInput, ListReviewTemplatesCommandOutput } from "./commands/ListReviewTemplatesCommand";
43
52
  import { ListShareInvitationsCommandInput, ListShareInvitationsCommandOutput } from "./commands/ListShareInvitationsCommand";
44
53
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
54
+ import { ListTemplateSharesCommandInput, ListTemplateSharesCommandOutput } from "./commands/ListTemplateSharesCommand";
45
55
  import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "./commands/ListWorkloadsCommand";
46
56
  import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from "./commands/ListWorkloadSharesCommand";
47
57
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -50,11 +60,15 @@ import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/
50
60
  import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
51
61
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
52
62
  import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
63
+ import { UpdateReviewTemplateAnswerCommandInput, UpdateReviewTemplateAnswerCommandOutput } from "./commands/UpdateReviewTemplateAnswerCommand";
64
+ import { UpdateReviewTemplateCommandInput, UpdateReviewTemplateCommandOutput } from "./commands/UpdateReviewTemplateCommand";
65
+ import { UpdateReviewTemplateLensReviewCommandInput, UpdateReviewTemplateLensReviewCommandOutput } from "./commands/UpdateReviewTemplateLensReviewCommand";
53
66
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
54
67
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
55
68
  import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
56
69
  import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
57
70
  import { UpgradeProfileVersionCommandInput, UpgradeProfileVersionCommandOutput } from "./commands/UpgradeProfileVersionCommand";
71
+ import { UpgradeReviewTemplateLensReviewCommandInput, UpgradeReviewTemplateLensReviewCommandOutput } from "./commands/UpgradeReviewTemplateLensReviewCommand";
58
72
  import { WellArchitectedClient } from "./WellArchitectedClient";
59
73
  export interface WellArchitected {
60
74
  /**
@@ -99,6 +113,18 @@ export interface WellArchitected {
99
113
  createProfileShare(args: CreateProfileShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfileShareCommandOutput>;
100
114
  createProfileShare(args: CreateProfileShareCommandInput, cb: (err: any, data?: CreateProfileShareCommandOutput) => void): void;
101
115
  createProfileShare(args: CreateProfileShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfileShareCommandOutput) => void): void;
116
+ /**
117
+ * @see {@link CreateReviewTemplateCommand}
118
+ */
119
+ createReviewTemplate(args: CreateReviewTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateReviewTemplateCommandOutput>;
120
+ createReviewTemplate(args: CreateReviewTemplateCommandInput, cb: (err: any, data?: CreateReviewTemplateCommandOutput) => void): void;
121
+ createReviewTemplate(args: CreateReviewTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReviewTemplateCommandOutput) => void): void;
122
+ /**
123
+ * @see {@link CreateTemplateShareCommand}
124
+ */
125
+ createTemplateShare(args: CreateTemplateShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateTemplateShareCommandOutput>;
126
+ createTemplateShare(args: CreateTemplateShareCommandInput, cb: (err: any, data?: CreateTemplateShareCommandOutput) => void): void;
127
+ createTemplateShare(args: CreateTemplateShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTemplateShareCommandOutput) => void): void;
102
128
  /**
103
129
  * @see {@link CreateWorkloadCommand}
104
130
  */
@@ -135,6 +161,18 @@ export interface WellArchitected {
135
161
  deleteProfileShare(args: DeleteProfileShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileShareCommandOutput>;
136
162
  deleteProfileShare(args: DeleteProfileShareCommandInput, cb: (err: any, data?: DeleteProfileShareCommandOutput) => void): void;
137
163
  deleteProfileShare(args: DeleteProfileShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileShareCommandOutput) => void): void;
164
+ /**
165
+ * @see {@link DeleteReviewTemplateCommand}
166
+ */
167
+ deleteReviewTemplate(args: DeleteReviewTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReviewTemplateCommandOutput>;
168
+ deleteReviewTemplate(args: DeleteReviewTemplateCommandInput, cb: (err: any, data?: DeleteReviewTemplateCommandOutput) => void): void;
169
+ deleteReviewTemplate(args: DeleteReviewTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReviewTemplateCommandOutput) => void): void;
170
+ /**
171
+ * @see {@link DeleteTemplateShareCommand}
172
+ */
173
+ deleteTemplateShare(args: DeleteTemplateShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTemplateShareCommandOutput>;
174
+ deleteTemplateShare(args: DeleteTemplateShareCommandInput, cb: (err: any, data?: DeleteTemplateShareCommandOutput) => void): void;
175
+ deleteTemplateShare(args: DeleteTemplateShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTemplateShareCommandOutput) => void): void;
138
176
  /**
139
177
  * @see {@link DeleteWorkloadCommand}
140
178
  */
@@ -219,6 +257,24 @@ export interface WellArchitected {
219
257
  getProfileTemplate(args: GetProfileTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileTemplateCommandOutput>;
220
258
  getProfileTemplate(args: GetProfileTemplateCommandInput, cb: (err: any, data?: GetProfileTemplateCommandOutput) => void): void;
221
259
  getProfileTemplate(args: GetProfileTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileTemplateCommandOutput) => void): void;
260
+ /**
261
+ * @see {@link GetReviewTemplateCommand}
262
+ */
263
+ getReviewTemplate(args: GetReviewTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetReviewTemplateCommandOutput>;
264
+ getReviewTemplate(args: GetReviewTemplateCommandInput, cb: (err: any, data?: GetReviewTemplateCommandOutput) => void): void;
265
+ getReviewTemplate(args: GetReviewTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReviewTemplateCommandOutput) => void): void;
266
+ /**
267
+ * @see {@link GetReviewTemplateAnswerCommand}
268
+ */
269
+ getReviewTemplateAnswer(args: GetReviewTemplateAnswerCommandInput, options?: __HttpHandlerOptions): Promise<GetReviewTemplateAnswerCommandOutput>;
270
+ getReviewTemplateAnswer(args: GetReviewTemplateAnswerCommandInput, cb: (err: any, data?: GetReviewTemplateAnswerCommandOutput) => void): void;
271
+ getReviewTemplateAnswer(args: GetReviewTemplateAnswerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReviewTemplateAnswerCommandOutput) => void): void;
272
+ /**
273
+ * @see {@link GetReviewTemplateLensReviewCommand}
274
+ */
275
+ getReviewTemplateLensReview(args: GetReviewTemplateLensReviewCommandInput, options?: __HttpHandlerOptions): Promise<GetReviewTemplateLensReviewCommandOutput>;
276
+ getReviewTemplateLensReview(args: GetReviewTemplateLensReviewCommandInput, cb: (err: any, data?: GetReviewTemplateLensReviewCommandOutput) => void): void;
277
+ getReviewTemplateLensReview(args: GetReviewTemplateLensReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReviewTemplateLensReviewCommandOutput) => void): void;
222
278
  /**
223
279
  * @see {@link GetWorkloadCommand}
224
280
  */
@@ -303,6 +359,18 @@ export interface WellArchitected {
303
359
  listProfileShares(args: ListProfileSharesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileSharesCommandOutput>;
304
360
  listProfileShares(args: ListProfileSharesCommandInput, cb: (err: any, data?: ListProfileSharesCommandOutput) => void): void;
305
361
  listProfileShares(args: ListProfileSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileSharesCommandOutput) => void): void;
362
+ /**
363
+ * @see {@link ListReviewTemplateAnswersCommand}
364
+ */
365
+ listReviewTemplateAnswers(args: ListReviewTemplateAnswersCommandInput, options?: __HttpHandlerOptions): Promise<ListReviewTemplateAnswersCommandOutput>;
366
+ listReviewTemplateAnswers(args: ListReviewTemplateAnswersCommandInput, cb: (err: any, data?: ListReviewTemplateAnswersCommandOutput) => void): void;
367
+ listReviewTemplateAnswers(args: ListReviewTemplateAnswersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReviewTemplateAnswersCommandOutput) => void): void;
368
+ /**
369
+ * @see {@link ListReviewTemplatesCommand}
370
+ */
371
+ listReviewTemplates(args: ListReviewTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListReviewTemplatesCommandOutput>;
372
+ listReviewTemplates(args: ListReviewTemplatesCommandInput, cb: (err: any, data?: ListReviewTemplatesCommandOutput) => void): void;
373
+ listReviewTemplates(args: ListReviewTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReviewTemplatesCommandOutput) => void): void;
306
374
  /**
307
375
  * @see {@link ListShareInvitationsCommand}
308
376
  */
@@ -315,6 +383,12 @@ export interface WellArchitected {
315
383
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
316
384
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
317
385
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
386
+ /**
387
+ * @see {@link ListTemplateSharesCommand}
388
+ */
389
+ listTemplateShares(args: ListTemplateSharesCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplateSharesCommandOutput>;
390
+ listTemplateShares(args: ListTemplateSharesCommandInput, cb: (err: any, data?: ListTemplateSharesCommandOutput) => void): void;
391
+ listTemplateShares(args: ListTemplateSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplateSharesCommandOutput) => void): void;
318
392
  /**
319
393
  * @see {@link ListWorkloadsCommand}
320
394
  */
@@ -363,6 +437,24 @@ export interface WellArchitected {
363
437
  updateProfile(args: UpdateProfileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfileCommandOutput>;
364
438
  updateProfile(args: UpdateProfileCommandInput, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
365
439
  updateProfile(args: UpdateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
440
+ /**
441
+ * @see {@link UpdateReviewTemplateCommand}
442
+ */
443
+ updateReviewTemplate(args: UpdateReviewTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReviewTemplateCommandOutput>;
444
+ updateReviewTemplate(args: UpdateReviewTemplateCommandInput, cb: (err: any, data?: UpdateReviewTemplateCommandOutput) => void): void;
445
+ updateReviewTemplate(args: UpdateReviewTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReviewTemplateCommandOutput) => void): void;
446
+ /**
447
+ * @see {@link UpdateReviewTemplateAnswerCommand}
448
+ */
449
+ updateReviewTemplateAnswer(args: UpdateReviewTemplateAnswerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReviewTemplateAnswerCommandOutput>;
450
+ updateReviewTemplateAnswer(args: UpdateReviewTemplateAnswerCommandInput, cb: (err: any, data?: UpdateReviewTemplateAnswerCommandOutput) => void): void;
451
+ updateReviewTemplateAnswer(args: UpdateReviewTemplateAnswerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReviewTemplateAnswerCommandOutput) => void): void;
452
+ /**
453
+ * @see {@link UpdateReviewTemplateLensReviewCommand}
454
+ */
455
+ updateReviewTemplateLensReview(args: UpdateReviewTemplateLensReviewCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReviewTemplateLensReviewCommandOutput>;
456
+ updateReviewTemplateLensReview(args: UpdateReviewTemplateLensReviewCommandInput, cb: (err: any, data?: UpdateReviewTemplateLensReviewCommandOutput) => void): void;
457
+ updateReviewTemplateLensReview(args: UpdateReviewTemplateLensReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReviewTemplateLensReviewCommandOutput) => void): void;
366
458
  /**
367
459
  * @see {@link UpdateShareInvitationCommand}
368
460
  */
@@ -393,6 +485,12 @@ export interface WellArchitected {
393
485
  upgradeProfileVersion(args: UpgradeProfileVersionCommandInput, options?: __HttpHandlerOptions): Promise<UpgradeProfileVersionCommandOutput>;
394
486
  upgradeProfileVersion(args: UpgradeProfileVersionCommandInput, cb: (err: any, data?: UpgradeProfileVersionCommandOutput) => void): void;
395
487
  upgradeProfileVersion(args: UpgradeProfileVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpgradeProfileVersionCommandOutput) => void): void;
488
+ /**
489
+ * @see {@link UpgradeReviewTemplateLensReviewCommand}
490
+ */
491
+ upgradeReviewTemplateLensReview(args: UpgradeReviewTemplateLensReviewCommandInput, options?: __HttpHandlerOptions): Promise<UpgradeReviewTemplateLensReviewCommandOutput>;
492
+ upgradeReviewTemplateLensReview(args: UpgradeReviewTemplateLensReviewCommandInput, cb: (err: any, data?: UpgradeReviewTemplateLensReviewCommandOutput) => void): void;
493
+ upgradeReviewTemplateLensReview(args: UpgradeReviewTemplateLensReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpgradeReviewTemplateLensReviewCommandOutput) => void): void;
396
494
  }
397
495
  /**
398
496
  * @public
@@ -15,12 +15,16 @@ import { CreateLensVersionCommandInput, CreateLensVersionCommandOutput } from ".
15
15
  import { CreateMilestoneCommandInput, CreateMilestoneCommandOutput } from "./commands/CreateMilestoneCommand";
16
16
  import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
17
17
  import { CreateProfileShareCommandInput, CreateProfileShareCommandOutput } from "./commands/CreateProfileShareCommand";
18
+ import { CreateReviewTemplateCommandInput, CreateReviewTemplateCommandOutput } from "./commands/CreateReviewTemplateCommand";
19
+ import { CreateTemplateShareCommandInput, CreateTemplateShareCommandOutput } from "./commands/CreateTemplateShareCommand";
18
20
  import { CreateWorkloadCommandInput, CreateWorkloadCommandOutput } from "./commands/CreateWorkloadCommand";
19
21
  import { CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput } from "./commands/CreateWorkloadShareCommand";
20
22
  import { DeleteLensCommandInput, DeleteLensCommandOutput } from "./commands/DeleteLensCommand";
21
23
  import { DeleteLensShareCommandInput, DeleteLensShareCommandOutput } from "./commands/DeleteLensShareCommand";
22
24
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
23
25
  import { DeleteProfileShareCommandInput, DeleteProfileShareCommandOutput } from "./commands/DeleteProfileShareCommand";
26
+ import { DeleteReviewTemplateCommandInput, DeleteReviewTemplateCommandOutput } from "./commands/DeleteReviewTemplateCommand";
27
+ import { DeleteTemplateShareCommandInput, DeleteTemplateShareCommandOutput } from "./commands/DeleteTemplateShareCommand";
24
28
  import { DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput } from "./commands/DeleteWorkloadCommand";
25
29
  import { DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput } from "./commands/DeleteWorkloadShareCommand";
26
30
  import { DisassociateLensesCommandInput, DisassociateLensesCommandOutput } from "./commands/DisassociateLensesCommand";
@@ -35,6 +39,9 @@ import { GetLensVersionDifferenceCommandInput, GetLensVersionDifferenceCommandOu
35
39
  import { GetMilestoneCommandInput, GetMilestoneCommandOutput } from "./commands/GetMilestoneCommand";
36
40
  import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
37
41
  import { GetProfileTemplateCommandInput, GetProfileTemplateCommandOutput } from "./commands/GetProfileTemplateCommand";
42
+ import { GetReviewTemplateAnswerCommandInput, GetReviewTemplateAnswerCommandOutput } from "./commands/GetReviewTemplateAnswerCommand";
43
+ import { GetReviewTemplateCommandInput, GetReviewTemplateCommandOutput } from "./commands/GetReviewTemplateCommand";
44
+ import { GetReviewTemplateLensReviewCommandInput, GetReviewTemplateLensReviewCommandOutput } from "./commands/GetReviewTemplateLensReviewCommand";
38
45
  import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
39
46
  import { ImportLensCommandInput, ImportLensCommandOutput } from "./commands/ImportLensCommand";
40
47
  import { ListAnswersCommandInput, ListAnswersCommandOutput } from "./commands/ListAnswersCommand";
@@ -49,8 +56,11 @@ import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from ".
49
56
  import { ListProfileNotificationsCommandInput, ListProfileNotificationsCommandOutput } from "./commands/ListProfileNotificationsCommand";
50
57
  import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
51
58
  import { ListProfileSharesCommandInput, ListProfileSharesCommandOutput } from "./commands/ListProfileSharesCommand";
59
+ import { ListReviewTemplateAnswersCommandInput, ListReviewTemplateAnswersCommandOutput } from "./commands/ListReviewTemplateAnswersCommand";
60
+ import { ListReviewTemplatesCommandInput, ListReviewTemplatesCommandOutput } from "./commands/ListReviewTemplatesCommand";
52
61
  import { ListShareInvitationsCommandInput, ListShareInvitationsCommandOutput } from "./commands/ListShareInvitationsCommand";
53
62
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
63
+ import { ListTemplateSharesCommandInput, ListTemplateSharesCommandOutput } from "./commands/ListTemplateSharesCommand";
54
64
  import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "./commands/ListWorkloadsCommand";
55
65
  import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from "./commands/ListWorkloadSharesCommand";
56
66
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -59,22 +69,26 @@ import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/
59
69
  import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
60
70
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
61
71
  import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
72
+ import { UpdateReviewTemplateAnswerCommandInput, UpdateReviewTemplateAnswerCommandOutput } from "./commands/UpdateReviewTemplateAnswerCommand";
73
+ import { UpdateReviewTemplateCommandInput, UpdateReviewTemplateCommandOutput } from "./commands/UpdateReviewTemplateCommand";
74
+ import { UpdateReviewTemplateLensReviewCommandInput, UpdateReviewTemplateLensReviewCommandOutput } from "./commands/UpdateReviewTemplateLensReviewCommand";
62
75
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
63
76
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
64
77
  import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
65
78
  import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
66
79
  import { UpgradeProfileVersionCommandInput, UpgradeProfileVersionCommandOutput } from "./commands/UpgradeProfileVersionCommand";
80
+ import { UpgradeReviewTemplateLensReviewCommandInput, UpgradeReviewTemplateLensReviewCommandOutput } from "./commands/UpgradeReviewTemplateLensReviewCommand";
67
81
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
68
82
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
69
83
  export { __Client };
70
84
  /**
71
85
  * @public
72
86
  */
73
- export type ServiceInputTypes = AssociateLensesCommandInput | AssociateProfilesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateProfileCommandInput | CreateProfileShareCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteProfileCommandInput | DeleteProfileShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | DisassociateProfilesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetConsolidatedReportCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetProfileCommandInput | GetProfileTemplateCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListCheckDetailsCommandInput | ListCheckSummariesCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListProfileNotificationsCommandInput | ListProfileSharesCommandInput | ListProfilesCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateProfileCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput | UpgradeProfileVersionCommandInput;
87
+ export type ServiceInputTypes = AssociateLensesCommandInput | AssociateProfilesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateProfileCommandInput | CreateProfileShareCommandInput | CreateReviewTemplateCommandInput | CreateTemplateShareCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteProfileCommandInput | DeleteProfileShareCommandInput | DeleteReviewTemplateCommandInput | DeleteTemplateShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | DisassociateProfilesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetConsolidatedReportCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetProfileCommandInput | GetProfileTemplateCommandInput | GetReviewTemplateAnswerCommandInput | GetReviewTemplateCommandInput | GetReviewTemplateLensReviewCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListCheckDetailsCommandInput | ListCheckSummariesCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListProfileNotificationsCommandInput | ListProfileSharesCommandInput | ListProfilesCommandInput | ListReviewTemplateAnswersCommandInput | ListReviewTemplatesCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListTemplateSharesCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateProfileCommandInput | UpdateReviewTemplateAnswerCommandInput | UpdateReviewTemplateCommandInput | UpdateReviewTemplateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput | UpgradeProfileVersionCommandInput | UpgradeReviewTemplateLensReviewCommandInput;
74
88
  /**
75
89
  * @public
76
90
  */
77
- export type ServiceOutputTypes = AssociateLensesCommandOutput | AssociateProfilesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateProfileCommandOutput | CreateProfileShareCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteProfileCommandOutput | DeleteProfileShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | DisassociateProfilesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetConsolidatedReportCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetProfileCommandOutput | GetProfileTemplateCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListCheckDetailsCommandOutput | ListCheckSummariesCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListProfileNotificationsCommandOutput | ListProfileSharesCommandOutput | ListProfilesCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateProfileCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput | UpgradeProfileVersionCommandOutput;
91
+ export type ServiceOutputTypes = AssociateLensesCommandOutput | AssociateProfilesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateProfileCommandOutput | CreateProfileShareCommandOutput | CreateReviewTemplateCommandOutput | CreateTemplateShareCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteProfileCommandOutput | DeleteProfileShareCommandOutput | DeleteReviewTemplateCommandOutput | DeleteTemplateShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | DisassociateProfilesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetConsolidatedReportCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetProfileCommandOutput | GetProfileTemplateCommandOutput | GetReviewTemplateAnswerCommandOutput | GetReviewTemplateCommandOutput | GetReviewTemplateLensReviewCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListCheckDetailsCommandOutput | ListCheckSummariesCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListProfileNotificationsCommandOutput | ListProfileSharesCommandOutput | ListProfilesCommandOutput | ListReviewTemplateAnswersCommandOutput | ListReviewTemplatesCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateSharesCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateProfileCommandOutput | UpdateReviewTemplateAnswerCommandOutput | UpdateReviewTemplateCommandOutput | UpdateReviewTemplateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput | UpgradeProfileVersionCommandOutput | UpgradeReviewTemplateLensReviewCommandOutput;
78
92
  /**
79
93
  * @public
80
94
  */
@@ -167,6 +181,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
167
181
  maxAttempts?: number | __Provider<number>;
168
182
  /**
169
183
  * Specifies which retry algorithm to use.
184
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
185
+ *
170
186
  */
171
187
  retryMode?: string | __Provider<string>;
172
188
  /**
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CreateReviewTemplateInput, CreateReviewTemplateOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateReviewTemplateCommand}.
14
+ */
15
+ export interface CreateReviewTemplateCommandInput extends CreateReviewTemplateInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateReviewTemplateCommand}.
21
+ */
22
+ export interface CreateReviewTemplateCommandOutput extends CreateReviewTemplateOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Create a review template.</p>
27
+ * <note>
28
+ * <p>
29
+ * <b>Disclaimer</b>
30
+ * </p>
31
+ * <p>Do not include or gather personal identifiable information (PII) of end users or
32
+ * other identifiable individuals in or via your review templates. If your review
33
+ * template or those shared with you and used in your account do include or collect PII
34
+ * you are responsible for: ensuring that the included PII is processed in accordance
35
+ * with applicable law, providing adequate privacy notices, and obtaining necessary
36
+ * consents for processing such data.</p>
37
+ * </note>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { WellArchitectedClient, CreateReviewTemplateCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
42
+ * // const { WellArchitectedClient, CreateReviewTemplateCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
43
+ * const client = new WellArchitectedClient(config);
44
+ * const input = { // CreateReviewTemplateInput
45
+ * TemplateName: "STRING_VALUE", // required
46
+ * Description: "STRING_VALUE", // required
47
+ * Lenses: [ // ReviewTemplateLenses // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * Notes: "STRING_VALUE",
51
+ * Tags: { // TagMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * ClientRequestToken: "STRING_VALUE", // required
55
+ * };
56
+ * const command = new CreateReviewTemplateCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // CreateReviewTemplateOutput
59
+ * // TemplateArn: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param CreateReviewTemplateCommandInput - {@link CreateReviewTemplateCommandInput}
65
+ * @returns {@link CreateReviewTemplateCommandOutput}
66
+ * @see {@link CreateReviewTemplateCommandInput} for command's `input` shape.
67
+ * @see {@link CreateReviewTemplateCommandOutput} for command's `response` shape.
68
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>User does not have sufficient access to perform this action.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>The resource has already been processed, was deleted, or is too large.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The requested resource was not found.</p>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p>The user has reached their resource quota.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>Request was denied due to request throttling.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The user input is not valid.</p>
90
+ *
91
+ * @throws {@link WellArchitectedServiceException}
92
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
93
+ *
94
+ */
95
+ export declare class CreateReviewTemplateCommand extends $Command<CreateReviewTemplateCommandInput, CreateReviewTemplateCommandOutput, WellArchitectedClientResolvedConfig> {
96
+ readonly input: CreateReviewTemplateCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: CreateReviewTemplateCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateReviewTemplateCommandInput, CreateReviewTemplateCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CreateTemplateShareInput, CreateTemplateShareOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateTemplateShareCommand}.
14
+ */
15
+ export interface CreateTemplateShareCommandInput extends CreateTemplateShareInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateTemplateShareCommand}.
21
+ */
22
+ export interface CreateTemplateShareCommandOutput extends CreateTemplateShareOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Create a review template share.</p>
27
+ * <p>The owner of a review template can share it with other Amazon Web Services accounts,
28
+ * users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. </p>
29
+ * <p> Shared access to a review template is not removed until the review template share
30
+ * invitation is deleted.</p>
31
+ * <p>If you share a review template with an organization or OU, all accounts in the
32
+ * organization or OU are granted access to the review template.</p>
33
+ * <note>
34
+ * <p>
35
+ * <b>Disclaimer</b>
36
+ * </p>
37
+ * <p>By sharing your review template with other Amazon Web Services accounts, you
38
+ * acknowledge that Amazon Web Services will make your review template available to
39
+ * those other accounts.</p>
40
+ * </note>
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { WellArchitectedClient, CreateTemplateShareCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
45
+ * // const { WellArchitectedClient, CreateTemplateShareCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
46
+ * const client = new WellArchitectedClient(config);
47
+ * const input = { // CreateTemplateShareInput
48
+ * TemplateArn: "STRING_VALUE", // required
49
+ * SharedWith: "STRING_VALUE", // required
50
+ * ClientRequestToken: "STRING_VALUE", // required
51
+ * };
52
+ * const command = new CreateTemplateShareCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // CreateTemplateShareOutput
55
+ * // TemplateArn: "STRING_VALUE",
56
+ * // ShareId: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param CreateTemplateShareCommandInput - {@link CreateTemplateShareCommandInput}
62
+ * @returns {@link CreateTemplateShareCommandOutput}
63
+ * @see {@link CreateTemplateShareCommandInput} for command's `input` shape.
64
+ * @see {@link CreateTemplateShareCommandOutput} for command's `response` shape.
65
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>User does not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>The resource has already been processed, was deleted, or is too large.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The requested resource was not found.</p>
78
+ *
79
+ * @throws {@link ServiceQuotaExceededException} (client fault)
80
+ * <p>The user has reached their resource quota.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>Request was denied due to request throttling.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The user input is not valid.</p>
87
+ *
88
+ * @throws {@link WellArchitectedServiceException}
89
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
90
+ *
91
+ */
92
+ export declare class CreateTemplateShareCommand extends $Command<CreateTemplateShareCommandInput, CreateTemplateShareCommandOutput, WellArchitectedClientResolvedConfig> {
93
+ readonly input: CreateTemplateShareCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: CreateTemplateShareCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTemplateShareCommandInput, CreateTemplateShareCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -36,6 +36,29 @@ export interface CreateWorkloadCommandOutput extends CreateWorkloadOutput, __Met
36
36
  * parameter is listed as not being required in the following section.
37
37
  * </p>
38
38
  * </important>
39
+ * <p>When creating a workload using a review template, you must have the following IAM permissions:</p>
40
+ * <ul>
41
+ * <li>
42
+ * <p>
43
+ * <code>wellarchitected:GetReviewTemplate</code>
44
+ * </p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <code>wellarchitected:GetReviewTemplateAnswer</code>
49
+ * </p>
50
+ * </li>
51
+ * <li>
52
+ * <p>
53
+ * <code>wellarchitected:ListReviewTemplateAnswers</code>
54
+ * </p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>wellarchitected:GetReviewTemplateLensReview</code>
59
+ * </p>
60
+ * </li>
61
+ * </ul>
39
62
  * @example
40
63
  * Use a bare-bones client and the command you need to make an API call.
41
64
  * ```javascript
@@ -82,6 +105,9 @@ export interface CreateWorkloadCommandOutput extends CreateWorkloadOutput, __Met
82
105
  * ProfileArns: [ // WorkloadProfileArns
83
106
  * "STRING_VALUE",
84
107
  * ],
108
+ * ReviewTemplateArns: [ // ReviewTemplateArns
109
+ * "STRING_VALUE",
110
+ * ],
85
111
  * };
86
112
  * const command = new CreateWorkloadCommand(input);
87
113
  * const response = await client.send(command);
@@ -0,0 +1,94 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteReviewTemplateInput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteReviewTemplateCommand}.
14
+ */
15
+ export interface DeleteReviewTemplateCommandInput extends DeleteReviewTemplateInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteReviewTemplateCommand}.
21
+ */
22
+ export interface DeleteReviewTemplateCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Delete a review template.</p>
27
+ * <p>Only the owner of a review template can delete it.</p>
28
+ * <p>After the review template is deleted, Amazon Web Services accounts, users,
29
+ * organizations, and organizational units (OUs) that you shared the review template with
30
+ * will no longer be able to apply it to new workloads.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WellArchitectedClient, DeleteReviewTemplateCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
35
+ * // const { WellArchitectedClient, DeleteReviewTemplateCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
36
+ * const client = new WellArchitectedClient(config);
37
+ * const input = { // DeleteReviewTemplateInput
38
+ * TemplateArn: "STRING_VALUE", // required
39
+ * ClientRequestToken: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteReviewTemplateCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteReviewTemplateCommandInput - {@link DeleteReviewTemplateCommandInput}
48
+ * @returns {@link DeleteReviewTemplateCommandOutput}
49
+ * @see {@link DeleteReviewTemplateCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteReviewTemplateCommandOutput} for command's `response` shape.
51
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>User does not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The resource has already been processed, was deleted, or is too large.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The requested resource was not found.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>Request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The user input is not valid.</p>
70
+ *
71
+ * @throws {@link WellArchitectedServiceException}
72
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
73
+ *
74
+ */
75
+ export declare class DeleteReviewTemplateCommand extends $Command<DeleteReviewTemplateCommandInput, DeleteReviewTemplateCommandOutput, WellArchitectedClientResolvedConfig> {
76
+ readonly input: DeleteReviewTemplateCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: DeleteReviewTemplateCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteReviewTemplateCommandInput, DeleteReviewTemplateCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }