@aws-sdk/client-wellarchitected 3.40.0 → 3.44.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 (94) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +6 -6
  3. package/dist-cjs/WellArchitected.js +120 -0
  4. package/dist-cjs/commands/CreateLensShareCommand.js +36 -0
  5. package/dist-cjs/commands/CreateLensVersionCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteLensCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteLensShareCommand.js +36 -0
  8. package/dist-cjs/commands/ExportLensCommand.js +36 -0
  9. package/dist-cjs/commands/GetLensCommand.js +36 -0
  10. package/dist-cjs/commands/ImportLensCommand.js +36 -0
  11. package/dist-cjs/commands/ListLensSharesCommand.js +36 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/endpoints.js +8 -0
  14. package/dist-cjs/models/models_0.js +150 -17
  15. package/dist-cjs/pagination/ListLensSharesPaginator.js +35 -0
  16. package/dist-cjs/pagination/index.js +1 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +1137 -62
  18. package/dist-es/WellArchitected.js +120 -0
  19. package/dist-es/commands/CreateLensShareCommand.js +39 -0
  20. package/dist-es/commands/CreateLensVersionCommand.js +39 -0
  21. package/dist-es/commands/DeleteLensCommand.js +39 -0
  22. package/dist-es/commands/DeleteLensShareCommand.js +39 -0
  23. package/dist-es/commands/ExportLensCommand.js +39 -0
  24. package/dist-es/commands/GetLensCommand.js +39 -0
  25. package/dist-es/commands/ImportLensCommand.js +39 -0
  26. package/dist-es/commands/ListLensSharesCommand.js +39 -0
  27. package/dist-es/commands/index.js +8 -0
  28. package/dist-es/endpoints.js +8 -0
  29. package/dist-es/models/models_0.js +109 -12
  30. package/dist-es/pagination/ListLensSharesPaginator.js +74 -0
  31. package/dist-es/pagination/index.js +1 -0
  32. package/dist-es/protocols/Aws_restJson1.js +1232 -40
  33. package/dist-types/WellArchitected.d.ts +156 -13
  34. package/dist-types/WellArchitectedClient.d.ts +16 -8
  35. package/dist-types/commands/AssociateLensesCommand.d.ts +11 -1
  36. package/dist-types/commands/CreateLensShareCommand.d.ts +48 -0
  37. package/dist-types/commands/CreateLensVersionCommand.d.ts +39 -0
  38. package/dist-types/commands/CreateMilestoneCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateWorkloadCommand.d.ts +4 -4
  40. package/dist-types/commands/CreateWorkloadShareCommand.d.ts +4 -4
  41. package/dist-types/commands/DeleteLensCommand.d.ts +49 -0
  42. package/dist-types/commands/DeleteLensShareCommand.d.ts +48 -0
  43. package/dist-types/commands/DeleteWorkloadCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteWorkloadShareCommand.d.ts +1 -1
  45. package/dist-types/commands/DisassociateLensesCommand.d.ts +3 -2
  46. package/dist-types/commands/ExportLensCommand.d.ts +49 -0
  47. package/dist-types/commands/GetAnswerCommand.d.ts +1 -1
  48. package/dist-types/commands/GetLensCommand.d.ts +35 -0
  49. package/dist-types/commands/GetLensReviewCommand.d.ts +1 -1
  50. package/dist-types/commands/GetLensReviewReportCommand.d.ts +1 -1
  51. package/dist-types/commands/GetLensVersionDifferenceCommand.d.ts +1 -1
  52. package/dist-types/commands/GetMilestoneCommand.d.ts +1 -1
  53. package/dist-types/commands/GetWorkloadCommand.d.ts +1 -1
  54. package/dist-types/commands/ImportLensCommand.d.ts +53 -0
  55. package/dist-types/commands/ListAnswersCommand.d.ts +1 -1
  56. package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListLensReviewsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListLensSharesCommand.d.ts +35 -0
  59. package/dist-types/commands/ListLensesCommand.d.ts +1 -1
  60. package/dist-types/commands/ListMilestonesCommand.d.ts +1 -1
  61. package/dist-types/commands/ListNotificationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListShareInvitationsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/ListWorkloadSharesCommand.d.ts +1 -1
  65. package/dist-types/commands/ListWorkloadsCommand.d.ts +1 -1
  66. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  67. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateAnswerCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateLensReviewCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateWorkloadCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateWorkloadShareCommand.d.ts +1 -1
  73. package/dist-types/commands/UpgradeLensReviewCommand.d.ts +1 -1
  74. package/dist-types/commands/index.d.ts +8 -0
  75. package/dist-types/models/models_0.d.ts +676 -118
  76. package/dist-types/pagination/ListLensSharesPaginator.d.ts +4 -0
  77. package/dist-types/pagination/index.d.ts +1 -0
  78. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  79. package/dist-types/ts3.4/WellArchitected.d.ts +40 -0
  80. package/dist-types/ts3.4/WellArchitectedClient.d.ts +10 -2
  81. package/dist-types/ts3.4/commands/CreateLensShareCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/CreateLensVersionCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/DeleteLensCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/DeleteLensShareCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/ExportLensCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/GetLensCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/ImportLensCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/ListLensSharesCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  90. package/dist-types/ts3.4/models/models_0.d.ts +321 -24
  91. package/dist-types/ts3.4/pagination/ListLensSharesPaginator.d.ts +4 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  93. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  94. package/package.json +4 -4
@@ -1,21 +1,29 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { AssociateLensesCommandInput, AssociateLensesCommandOutput } from "./commands/AssociateLensesCommand";
3
+ import { CreateLensShareCommandInput, CreateLensShareCommandOutput } from "./commands/CreateLensShareCommand";
4
+ import { CreateLensVersionCommandInput, CreateLensVersionCommandOutput } from "./commands/CreateLensVersionCommand";
3
5
  import { CreateMilestoneCommandInput, CreateMilestoneCommandOutput } from "./commands/CreateMilestoneCommand";
4
6
  import { CreateWorkloadCommandInput, CreateWorkloadCommandOutput } from "./commands/CreateWorkloadCommand";
5
7
  import { CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput } from "./commands/CreateWorkloadShareCommand";
8
+ import { DeleteLensCommandInput, DeleteLensCommandOutput } from "./commands/DeleteLensCommand";
9
+ import { DeleteLensShareCommandInput, DeleteLensShareCommandOutput } from "./commands/DeleteLensShareCommand";
6
10
  import { DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput } from "./commands/DeleteWorkloadCommand";
7
11
  import { DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput } from "./commands/DeleteWorkloadShareCommand";
8
12
  import { DisassociateLensesCommandInput, DisassociateLensesCommandOutput } from "./commands/DisassociateLensesCommand";
13
+ import { ExportLensCommandInput, ExportLensCommandOutput } from "./commands/ExportLensCommand";
9
14
  import { GetAnswerCommandInput, GetAnswerCommandOutput } from "./commands/GetAnswerCommand";
15
+ import { GetLensCommandInput, GetLensCommandOutput } from "./commands/GetLensCommand";
10
16
  import { GetLensReviewCommandInput, GetLensReviewCommandOutput } from "./commands/GetLensReviewCommand";
11
17
  import { GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput } from "./commands/GetLensReviewReportCommand";
12
18
  import { GetLensVersionDifferenceCommandInput, GetLensVersionDifferenceCommandOutput } from "./commands/GetLensVersionDifferenceCommand";
13
19
  import { GetMilestoneCommandInput, GetMilestoneCommandOutput } from "./commands/GetMilestoneCommand";
14
20
  import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
21
+ import { ImportLensCommandInput, ImportLensCommandOutput } from "./commands/ImportLensCommand";
15
22
  import { ListAnswersCommandInput, ListAnswersCommandOutput } from "./commands/ListAnswersCommand";
16
23
  import { ListLensesCommandInput, ListLensesCommandOutput } from "./commands/ListLensesCommand";
17
24
  import { ListLensReviewImprovementsCommandInput, ListLensReviewImprovementsCommandOutput } from "./commands/ListLensReviewImprovementsCommand";
18
25
  import { ListLensReviewsCommandInput, ListLensReviewsCommandOutput } from "./commands/ListLensReviewsCommand";
26
+ import { ListLensSharesCommandInput, ListLensSharesCommandOutput } from "./commands/ListLensSharesCommand";
19
27
  import { ListMilestonesCommandInput, ListMilestonesCommandOutput } from "./commands/ListMilestonesCommand";
20
28
  import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
21
29
  import { ListShareInvitationsCommandInput, ListShareInvitationsCommandOutput } from "./commands/ListShareInvitationsCommand";
@@ -32,21 +40,60 @@ import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } fro
32
40
  import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
33
41
  import { WellArchitectedClient } from "./WellArchitectedClient";
34
42
  /**
35
- * <fullname>AWS Well-Architected Tool</fullname>
43
+ * <fullname>Well-Architected Tool</fullname>
36
44
  *
37
- * <p>This is the <i>AWS Well-Architected Tool API Reference</i>. The AWS Well-Architected Tool API provides programmatic access to the
38
- * <a href="http://aws.amazon.com/well-architected-tool">AWS Well-Architected Tool</a> in the
39
- * <a href="https://console.aws.amazon.com/wellarchitected">AWS Management Console</a>. For information
40
- * about the AWS Well-Architected Tool, see the
41
- * <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/intro.html">AWS Well-Architected Tool User Guide</a>.</p>
45
+ * <p>This is the <i>Well-Architected Tool API Reference</i>. The WA Tool API provides programmatic access to the
46
+ * <a href="http://aws.amazon.com/well-architected-tool">Well-Architected Tool</a> in the
47
+ * <a href="https://console.aws.amazon.com/wellarchitected">Amazon Web Services Management Console</a>. For information
48
+ * about the Well-Architected Tool, see the
49
+ * <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/intro.html">Well-Architected Tool User Guide</a>.</p>
42
50
  */
43
51
  export declare class WellArchitected extends WellArchitectedClient {
44
52
  /**
45
53
  * <p>Associate a lens to a workload.</p>
54
+ * <p>Up to 10 lenses can be associated with a workload in a single API operation. A
55
+ * maximum of 20 lenses can be associated with a workload.</p>
56
+ * <note>
57
+ * <p>
58
+ * <b>Disclaimer</b>
59
+ * </p>
60
+ * <p>By accessing and/or applying custom lenses created by another Amazon Web Services user or account,
61
+ * you acknowledge that custom lenses created by other users and shared with you are
62
+ * Third Party Content as defined in the Amazon Web Services Customer Agreement. </p>
63
+ * </note>
46
64
  */
47
65
  associateLenses(args: AssociateLensesCommandInput, options?: __HttpHandlerOptions): Promise<AssociateLensesCommandOutput>;
48
66
  associateLenses(args: AssociateLensesCommandInput, cb: (err: any, data?: AssociateLensesCommandOutput) => void): void;
49
67
  associateLenses(args: AssociateLensesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateLensesCommandOutput) => void): void;
68
+ /**
69
+ * <p>Create a lens share.</p>
70
+ * <p>The owner of a lens can share it with other Amazon Web Services accounts and IAM users in the same Amazon Web Services Region.
71
+ * Shared access to a lens is not removed until the lens invitation is deleted.</p>
72
+ * <note>
73
+ * <p>
74
+ * <b>Disclaimer</b>
75
+ * </p>
76
+ * <p>By sharing your custom lenses with other Amazon Web Services accounts,
77
+ * you acknowledge that Amazon Web Services will make your custom lenses available to those
78
+ * other accounts. Those other accounts may continue to access and use your
79
+ * shared custom lenses even if you delete the custom lenses
80
+ * from your own Amazon Web Services account or terminate
81
+ * your Amazon Web Services account.</p>
82
+ * </note>
83
+ */
84
+ createLensShare(args: CreateLensShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateLensShareCommandOutput>;
85
+ createLensShare(args: CreateLensShareCommandInput, cb: (err: any, data?: CreateLensShareCommandOutput) => void): void;
86
+ createLensShare(args: CreateLensShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLensShareCommandOutput) => void): void;
87
+ /**
88
+ * <p>Create a new lens version.</p>
89
+ * <p>A lens can have up to 100 versions.</p>
90
+ * <p>After a lens has been imported, create a new lens version to publish it. The owner of a lens can share the lens with other
91
+ * Amazon Web Services accounts and IAM users in the same Amazon Web Services Region. Only the owner of a lens can delete it.
92
+ * </p>
93
+ */
94
+ createLensVersion(args: CreateLensVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateLensVersionCommandOutput>;
95
+ createLensVersion(args: CreateLensVersionCommandInput, cb: (err: any, data?: CreateLensVersionCommandOutput) => void): void;
96
+ createLensVersion(args: CreateLensVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLensVersionCommandOutput) => void): void;
50
97
  /**
51
98
  * <p>Create a milestone for an existing workload.</p>
52
99
  */
@@ -55,25 +102,64 @@ export declare class WellArchitected extends WellArchitectedClient {
55
102
  createMilestone(args: CreateMilestoneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMilestoneCommandOutput) => void): void;
56
103
  /**
57
104
  * <p>Create a new workload.</p>
58
- * <p>The owner of a workload can share the workload with other AWS accounts and IAM users
59
- * in the same AWS Region. Only the owner of a workload can delete it.</p>
105
+ * <p>The owner of a workload can share the workload with other Amazon Web Services accounts and IAM users
106
+ * in the same Amazon Web Services Region. Only the owner of a workload can delete it.</p>
60
107
  * <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/define-workload.html">Defining a Workload</a> in the
61
- * <i>AWS Well-Architected Tool User Guide</i>.</p>
108
+ * <i>Well-Architected Tool User Guide</i>.</p>
62
109
  */
63
110
  createWorkload(args: CreateWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkloadCommandOutput>;
64
111
  createWorkload(args: CreateWorkloadCommandInput, cb: (err: any, data?: CreateWorkloadCommandOutput) => void): void;
65
112
  createWorkload(args: CreateWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkloadCommandOutput) => void): void;
66
113
  /**
67
114
  * <p>Create a workload share.</p>
68
- * <p>The owner of a workload can share it with other AWS accounts and IAM users in the same
69
- * AWS Region. Shared access to a workload is not removed until the workload invitation is
115
+ * <p>The owner of a workload can share it with other Amazon Web Services accounts and IAM users in the same
116
+ * Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is
70
117
  * deleted.</p>
71
118
  * <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/workloads-sharing.html">Sharing a Workload</a> in the
72
- * <i>AWS Well-Architected Tool User Guide</i>.</p>
119
+ * <i>Well-Architected Tool User Guide</i>.</p>
73
120
  */
74
121
  createWorkloadShare(args: CreateWorkloadShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkloadShareCommandOutput>;
75
122
  createWorkloadShare(args: CreateWorkloadShareCommandInput, cb: (err: any, data?: CreateWorkloadShareCommandOutput) => void): void;
76
123
  createWorkloadShare(args: CreateWorkloadShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkloadShareCommandOutput) => void): void;
124
+ /**
125
+ * <p>Delete an existing lens.</p>
126
+ * <p>Only the owner of a lens can delete it. After the lens is deleted, Amazon Web Services accounts and IAM users
127
+ * that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.
128
+ * </p>
129
+ * <note>
130
+ * <p>
131
+ * <b>Disclaimer</b>
132
+ * </p>
133
+ * <p>By sharing your custom lenses with other Amazon Web Services accounts,
134
+ * you acknowledge that Amazon Web Services will make your custom lenses available to those
135
+ * other accounts. Those other accounts may continue to access and use your
136
+ * shared custom lenses even if you delete the custom lenses
137
+ * from your own Amazon Web Services account or terminate
138
+ * your Amazon Web Services account.</p>
139
+ * </note>
140
+ */
141
+ deleteLens(args: DeleteLensCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLensCommandOutput>;
142
+ deleteLens(args: DeleteLensCommandInput, cb: (err: any, data?: DeleteLensCommandOutput) => void): void;
143
+ deleteLens(args: DeleteLensCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLensCommandOutput) => void): void;
144
+ /**
145
+ * <p>Delete a lens share.</p>
146
+ * <p>After the lens share is deleted, Amazon Web Services accounts and IAM users
147
+ * that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.</p>
148
+ * <note>
149
+ * <p>
150
+ * <b>Disclaimer</b>
151
+ * </p>
152
+ * <p>By sharing your custom lenses with other Amazon Web Services accounts,
153
+ * you acknowledge that Amazon Web Services will make your custom lenses available to those
154
+ * other accounts. Those other accounts may continue to access and use your
155
+ * shared custom lenses even if you delete the custom lenses
156
+ * from your own Amazon Web Services account or terminate
157
+ * your Amazon Web Services account.</p>
158
+ * </note>
159
+ */
160
+ deleteLensShare(args: DeleteLensShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLensShareCommandOutput>;
161
+ deleteLensShare(args: DeleteLensShareCommandInput, cb: (err: any, data?: DeleteLensShareCommandOutput) => void): void;
162
+ deleteLensShare(args: DeleteLensShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLensShareCommandOutput) => void): void;
77
163
  /**
78
164
  * <p>Delete an existing workload.</p>
79
165
  */
@@ -88,20 +174,47 @@ export declare class WellArchitected extends WellArchitectedClient {
88
174
  deleteWorkloadShare(args: DeleteWorkloadShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkloadShareCommandOutput) => void): void;
89
175
  /**
90
176
  * <p>Disassociate a lens from a workload.</p>
177
+ * <p>Up to 10 lenses can be disassociated from a workload in a single API operation.</p>
91
178
  * <note>
92
- * <p>The AWS Well-Architected Framework lens (<code>wellarchitected</code>) cannot be
179
+ * <p>The Amazon Web Services Well-Architected Framework lens (<code>wellarchitected</code>) cannot be
93
180
  * removed from a workload.</p>
94
181
  * </note>
95
182
  */
96
183
  disassociateLenses(args: DisassociateLensesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateLensesCommandOutput>;
97
184
  disassociateLenses(args: DisassociateLensesCommandInput, cb: (err: any, data?: DisassociateLensesCommandOutput) => void): void;
98
185
  disassociateLenses(args: DisassociateLensesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateLensesCommandOutput) => void): void;
186
+ /**
187
+ * <p>Export an existing lens.</p>
188
+ * <p>Lenses are defined in JSON. For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/lenses-format-specification.html">JSON format specification</a>
189
+ * in the <i>Well-Architected Tool User Guide</i>. Only the owner of a lens can export it.
190
+ * </p>
191
+ * <note>
192
+ * <p>
193
+ * <b>Disclaimer</b>
194
+ * </p>
195
+ * <p>Do not include or gather personal identifiable information (PII) of end users or
196
+ * other identifiable individuals in or via your custom lenses. If your custom
197
+ * lens or those shared with you and used in your account do include or collect
198
+ * PII you are responsible for: ensuring that the included PII is processed in accordance
199
+ * with applicable law, providing adequate privacy notices, and obtaining necessary
200
+ * consents for processing such data.</p>
201
+ * </note>
202
+ */
203
+ exportLens(args: ExportLensCommandInput, options?: __HttpHandlerOptions): Promise<ExportLensCommandOutput>;
204
+ exportLens(args: ExportLensCommandInput, cb: (err: any, data?: ExportLensCommandOutput) => void): void;
205
+ exportLens(args: ExportLensCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportLensCommandOutput) => void): void;
99
206
  /**
100
207
  * <p>Get the answer to a specific question in a workload review.</p>
101
208
  */
102
209
  getAnswer(args: GetAnswerCommandInput, options?: __HttpHandlerOptions): Promise<GetAnswerCommandOutput>;
103
210
  getAnswer(args: GetAnswerCommandInput, cb: (err: any, data?: GetAnswerCommandOutput) => void): void;
104
211
  getAnswer(args: GetAnswerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnswerCommandOutput) => void): void;
212
+ /**
213
+ * <p>Get an existing lens.</p>
214
+ */
215
+ getLens(args: GetLensCommandInput, options?: __HttpHandlerOptions): Promise<GetLensCommandOutput>;
216
+ getLens(args: GetLensCommandInput, cb: (err: any, data?: GetLensCommandOutput) => void): void;
217
+ getLens(args: GetLensCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLensCommandOutput) => void): void;
105
218
  /**
106
219
  * <p>Get lens review.</p>
107
220
  */
@@ -132,6 +245,30 @@ export declare class WellArchitected extends WellArchitectedClient {
132
245
  getWorkload(args: GetWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkloadCommandOutput>;
133
246
  getWorkload(args: GetWorkloadCommandInput, cb: (err: any, data?: GetWorkloadCommandOutput) => void): void;
134
247
  getWorkload(args: GetWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkloadCommandOutput) => void): void;
248
+ /**
249
+ * <p>Import a new lens.</p>
250
+ * <p>The lens cannot be applied to workloads or shared with other Amazon Web Services accounts
251
+ * until it's published with <a>CreateLensVersion</a>
252
+ * </p>
253
+ * <p>Lenses are defined in JSON. For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/lenses-format-specification.html">JSON format specification</a>
254
+ * in the <i>Well-Architected Tool User Guide</i>.</p>
255
+ * <p>A custom lens cannot exceed 500 KB in size.</p>
256
+ *
257
+ * <note>
258
+ * <p>
259
+ * <b>Disclaimer</b>
260
+ * </p>
261
+ * <p>Do not include or gather personal identifiable information (PII) of end users or
262
+ * other identifiable individuals in or via your custom lenses. If your custom
263
+ * lens or those shared with you and used in your account do include or collect
264
+ * PII you are responsible for: ensuring that the included PII is processed in accordance
265
+ * with applicable law, providing adequate privacy notices, and obtaining necessary
266
+ * consents for processing such data.</p>
267
+ * </note>
268
+ */
269
+ importLens(args: ImportLensCommandInput, options?: __HttpHandlerOptions): Promise<ImportLensCommandOutput>;
270
+ importLens(args: ImportLensCommandInput, cb: (err: any, data?: ImportLensCommandOutput) => void): void;
271
+ importLens(args: ImportLensCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportLensCommandOutput) => void): void;
135
272
  /**
136
273
  * <p>List of answers.</p>
137
274
  */
@@ -156,6 +293,12 @@ export declare class WellArchitected extends WellArchitectedClient {
156
293
  listLensReviews(args: ListLensReviewsCommandInput, options?: __HttpHandlerOptions): Promise<ListLensReviewsCommandOutput>;
157
294
  listLensReviews(args: ListLensReviewsCommandInput, cb: (err: any, data?: ListLensReviewsCommandOutput) => void): void;
158
295
  listLensReviews(args: ListLensReviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLensReviewsCommandOutput) => void): void;
296
+ /**
297
+ * <p>List the lens shares associated with the lens.</p>
298
+ */
299
+ listLensShares(args: ListLensSharesCommandInput, options?: __HttpHandlerOptions): Promise<ListLensSharesCommandOutput>;
300
+ listLensShares(args: ListLensSharesCommandInput, cb: (err: any, data?: ListLensSharesCommandOutput) => void): void;
301
+ listLensShares(args: ListLensSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLensSharesCommandOutput) => void): void;
159
302
  /**
160
303
  * <p>List all milestones for an existing workload.</p>
161
304
  */
@@ -7,22 +7,30 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateLensesCommandInput, AssociateLensesCommandOutput } from "./commands/AssociateLensesCommand";
10
+ import { CreateLensShareCommandInput, CreateLensShareCommandOutput } from "./commands/CreateLensShareCommand";
11
+ import { CreateLensVersionCommandInput, CreateLensVersionCommandOutput } from "./commands/CreateLensVersionCommand";
10
12
  import { CreateMilestoneCommandInput, CreateMilestoneCommandOutput } from "./commands/CreateMilestoneCommand";
11
13
  import { CreateWorkloadCommandInput, CreateWorkloadCommandOutput } from "./commands/CreateWorkloadCommand";
12
14
  import { CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput } from "./commands/CreateWorkloadShareCommand";
15
+ import { DeleteLensCommandInput, DeleteLensCommandOutput } from "./commands/DeleteLensCommand";
16
+ import { DeleteLensShareCommandInput, DeleteLensShareCommandOutput } from "./commands/DeleteLensShareCommand";
13
17
  import { DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput } from "./commands/DeleteWorkloadCommand";
14
18
  import { DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput } from "./commands/DeleteWorkloadShareCommand";
15
19
  import { DisassociateLensesCommandInput, DisassociateLensesCommandOutput } from "./commands/DisassociateLensesCommand";
20
+ import { ExportLensCommandInput, ExportLensCommandOutput } from "./commands/ExportLensCommand";
16
21
  import { GetAnswerCommandInput, GetAnswerCommandOutput } from "./commands/GetAnswerCommand";
22
+ import { GetLensCommandInput, GetLensCommandOutput } from "./commands/GetLensCommand";
17
23
  import { GetLensReviewCommandInput, GetLensReviewCommandOutput } from "./commands/GetLensReviewCommand";
18
24
  import { GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput } from "./commands/GetLensReviewReportCommand";
19
25
  import { GetLensVersionDifferenceCommandInput, GetLensVersionDifferenceCommandOutput } from "./commands/GetLensVersionDifferenceCommand";
20
26
  import { GetMilestoneCommandInput, GetMilestoneCommandOutput } from "./commands/GetMilestoneCommand";
21
27
  import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
28
+ import { ImportLensCommandInput, ImportLensCommandOutput } from "./commands/ImportLensCommand";
22
29
  import { ListAnswersCommandInput, ListAnswersCommandOutput } from "./commands/ListAnswersCommand";
23
30
  import { ListLensesCommandInput, ListLensesCommandOutput } from "./commands/ListLensesCommand";
24
31
  import { ListLensReviewImprovementsCommandInput, ListLensReviewImprovementsCommandOutput } from "./commands/ListLensReviewImprovementsCommand";
25
32
  import { ListLensReviewsCommandInput, ListLensReviewsCommandOutput } from "./commands/ListLensReviewsCommand";
33
+ import { ListLensSharesCommandInput, ListLensSharesCommandOutput } from "./commands/ListLensSharesCommand";
26
34
  import { ListMilestonesCommandInput, ListMilestonesCommandOutput } from "./commands/ListMilestonesCommand";
27
35
  import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
28
36
  import { ListShareInvitationsCommandInput, ListShareInvitationsCommandOutput } from "./commands/ListShareInvitationsCommand";
@@ -37,8 +45,8 @@ import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput }
37
45
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
38
46
  import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
39
47
  import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
40
- export declare type ServiceInputTypes = AssociateLensesCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | GetAnswerCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ListAnswersCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
41
- export declare type ServiceOutputTypes = AssociateLensesCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | GetAnswerCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ListAnswersCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
48
+ export declare type ServiceInputTypes = AssociateLensesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
49
+ export declare type ServiceOutputTypes = AssociateLensesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
42
50
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
43
51
  /**
44
52
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -153,13 +161,13 @@ declare type WellArchitectedClientResolvedConfigType = __SmithyResolvedConfigura
153
161
  export interface WellArchitectedClientResolvedConfig extends WellArchitectedClientResolvedConfigType {
154
162
  }
155
163
  /**
156
- * <fullname>AWS Well-Architected Tool</fullname>
164
+ * <fullname>Well-Architected Tool</fullname>
157
165
  *
158
- * <p>This is the <i>AWS Well-Architected Tool API Reference</i>. The AWS Well-Architected Tool API provides programmatic access to the
159
- * <a href="http://aws.amazon.com/well-architected-tool">AWS Well-Architected Tool</a> in the
160
- * <a href="https://console.aws.amazon.com/wellarchitected">AWS Management Console</a>. For information
161
- * about the AWS Well-Architected Tool, see the
162
- * <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/intro.html">AWS Well-Architected Tool User Guide</a>.</p>
166
+ * <p>This is the <i>Well-Architected Tool API Reference</i>. The WA Tool API provides programmatic access to the
167
+ * <a href="http://aws.amazon.com/well-architected-tool">Well-Architected Tool</a> in the
168
+ * <a href="https://console.aws.amazon.com/wellarchitected">Amazon Web Services Management Console</a>. For information
169
+ * about the Well-Architected Tool, see the
170
+ * <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/intro.html">Well-Architected Tool User Guide</a>.</p>
163
171
  */
164
172
  export declare class WellArchitectedClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig> {
165
173
  /**
@@ -8,6 +8,16 @@ export interface AssociateLensesCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
10
  * <p>Associate a lens to a workload.</p>
11
+ * <p>Up to 10 lenses can be associated with a workload in a single API operation. A
12
+ * maximum of 20 lenses can be associated with a workload.</p>
13
+ * <note>
14
+ * <p>
15
+ * <b>Disclaimer</b>
16
+ * </p>
17
+ * <p>By accessing and/or applying custom lenses created by another Amazon Web Services user or account,
18
+ * you acknowledge that custom lenses created by other users and shared with you are
19
+ * Third Party Content as defined in the Amazon Web Services Customer Agreement. </p>
20
+ * </note>
11
21
  * @example
12
22
  * Use a bare-bones client and the command you need to make an API call.
13
23
  * ```javascript
@@ -20,7 +30,7 @@ export interface AssociateLensesCommandOutput extends __MetadataBearer {
20
30
  *
21
31
  * @see {@link AssociateLensesCommandInput} for command's `input` shape.
22
32
  * @see {@link AssociateLensesCommandOutput} for command's `response` shape.
23
- * @see {@link WellArchitectedClientResolvedConfig | config} for command's `input` shape.
33
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
24
34
  *
25
35
  */
26
36
  export declare class AssociateLensesCommand extends $Command<AssociateLensesCommandInput, AssociateLensesCommandOutput, WellArchitectedClientResolvedConfig> {
@@ -0,0 +1,48 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateLensShareInput, CreateLensShareOutput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
5
+ export interface CreateLensShareCommandInput extends CreateLensShareInput {
6
+ }
7
+ export interface CreateLensShareCommandOutput extends CreateLensShareOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Create a lens share.</p>
11
+ * <p>The owner of a lens can share it with other Amazon Web Services accounts and IAM users in the same Amazon Web Services Region.
12
+ * Shared access to a lens is not removed until the lens invitation is deleted.</p>
13
+ * <note>
14
+ * <p>
15
+ * <b>Disclaimer</b>
16
+ * </p>
17
+ * <p>By sharing your custom lenses with other Amazon Web Services accounts,
18
+ * you acknowledge that Amazon Web Services will make your custom lenses available to those
19
+ * other accounts. Those other accounts may continue to access and use your
20
+ * shared custom lenses even if you delete the custom lenses
21
+ * from your own Amazon Web Services account or terminate
22
+ * your Amazon Web Services account.</p>
23
+ * </note>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { WellArchitectedClient, CreateLensShareCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
28
+ * // const { WellArchitectedClient, CreateLensShareCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
29
+ * const client = new WellArchitectedClient(config);
30
+ * const command = new CreateLensShareCommand(input);
31
+ * const response = await client.send(command);
32
+ * ```
33
+ *
34
+ * @see {@link CreateLensShareCommandInput} for command's `input` shape.
35
+ * @see {@link CreateLensShareCommandOutput} for command's `response` shape.
36
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
37
+ *
38
+ */
39
+ export declare class CreateLensShareCommand extends $Command<CreateLensShareCommandInput, CreateLensShareCommandOutput, WellArchitectedClientResolvedConfig> {
40
+ readonly input: CreateLensShareCommandInput;
41
+ constructor(input: CreateLensShareCommandInput);
42
+ /**
43
+ * @internal
44
+ */
45
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLensShareCommandInput, CreateLensShareCommandOutput>;
46
+ private serialize;
47
+ private deserialize;
48
+ }
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateLensVersionInput, CreateLensVersionOutput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
5
+ export interface CreateLensVersionCommandInput extends CreateLensVersionInput {
6
+ }
7
+ export interface CreateLensVersionCommandOutput extends CreateLensVersionOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Create a new lens version.</p>
11
+ * <p>A lens can have up to 100 versions.</p>
12
+ * <p>After a lens has been imported, create a new lens version to publish it. The owner of a lens can share the lens with other
13
+ * Amazon Web Services accounts and IAM users in the same Amazon Web Services Region. Only the owner of a lens can delete it.
14
+ * </p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { WellArchitectedClient, CreateLensVersionCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
19
+ * // const { WellArchitectedClient, CreateLensVersionCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
20
+ * const client = new WellArchitectedClient(config);
21
+ * const command = new CreateLensVersionCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link CreateLensVersionCommandInput} for command's `input` shape.
26
+ * @see {@link CreateLensVersionCommandOutput} for command's `response` shape.
27
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class CreateLensVersionCommand extends $Command<CreateLensVersionCommandInput, CreateLensVersionCommandOutput, WellArchitectedClientResolvedConfig> {
31
+ readonly input: CreateLensVersionCommandInput;
32
+ constructor(input: CreateLensVersionCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLensVersionCommandInput, CreateLensVersionCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -20,7 +20,7 @@ export interface CreateMilestoneCommandOutput extends CreateMilestoneOutput, __M
20
20
  *
21
21
  * @see {@link CreateMilestoneCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateMilestoneCommandOutput} for command's `response` shape.
23
- * @see {@link WellArchitectedClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateMilestoneCommand extends $Command<CreateMilestoneCommandInput, CreateMilestoneCommandOutput, WellArchitectedClientResolvedConfig> {
@@ -8,10 +8,10 @@ export interface CreateWorkloadCommandOutput extends CreateWorkloadOutput, __Met
8
8
  }
9
9
  /**
10
10
  * <p>Create a new workload.</p>
11
- * <p>The owner of a workload can share the workload with other AWS accounts and IAM users
12
- * in the same AWS Region. Only the owner of a workload can delete it.</p>
11
+ * <p>The owner of a workload can share the workload with other Amazon Web Services accounts and IAM users
12
+ * in the same Amazon Web Services Region. Only the owner of a workload can delete it.</p>
13
13
  * <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/define-workload.html">Defining a Workload</a> in the
14
- * <i>AWS Well-Architected Tool User Guide</i>.</p>
14
+ * <i>Well-Architected Tool User Guide</i>.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
17
17
  * ```javascript
@@ -24,7 +24,7 @@ export interface CreateWorkloadCommandOutput extends CreateWorkloadOutput, __Met
24
24
  *
25
25
  * @see {@link CreateWorkloadCommandInput} for command's `input` shape.
26
26
  * @see {@link CreateWorkloadCommandOutput} for command's `response` shape.
27
- * @see {@link WellArchitectedClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class CreateWorkloadCommand extends $Command<CreateWorkloadCommandInput, CreateWorkloadCommandOutput, WellArchitectedClientResolvedConfig> {
@@ -8,11 +8,11 @@ export interface CreateWorkloadShareCommandOutput extends CreateWorkloadShareOut
8
8
  }
9
9
  /**
10
10
  * <p>Create a workload share.</p>
11
- * <p>The owner of a workload can share it with other AWS accounts and IAM users in the same
12
- * AWS Region. Shared access to a workload is not removed until the workload invitation is
11
+ * <p>The owner of a workload can share it with other Amazon Web Services accounts and IAM users in the same
12
+ * Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is
13
13
  * deleted.</p>
14
14
  * <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/workloads-sharing.html">Sharing a Workload</a> in the
15
- * <i>AWS Well-Architected Tool User Guide</i>.</p>
15
+ * <i>Well-Architected Tool User Guide</i>.</p>
16
16
  * @example
17
17
  * Use a bare-bones client and the command you need to make an API call.
18
18
  * ```javascript
@@ -25,7 +25,7 @@ export interface CreateWorkloadShareCommandOutput extends CreateWorkloadShareOut
25
25
  *
26
26
  * @see {@link CreateWorkloadShareCommandInput} for command's `input` shape.
27
27
  * @see {@link CreateWorkloadShareCommandOutput} for command's `response` shape.
28
- * @see {@link WellArchitectedClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class CreateWorkloadShareCommand extends $Command<CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput, WellArchitectedClientResolvedConfig> {
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteLensInput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
5
+ export interface DeleteLensCommandInput extends DeleteLensInput {
6
+ }
7
+ export interface DeleteLensCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Delete an existing lens.</p>
11
+ * <p>Only the owner of a lens can delete it. After the lens is deleted, Amazon Web Services accounts and IAM users
12
+ * that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.
13
+ * </p>
14
+ * <note>
15
+ * <p>
16
+ * <b>Disclaimer</b>
17
+ * </p>
18
+ * <p>By sharing your custom lenses with other Amazon Web Services accounts,
19
+ * you acknowledge that Amazon Web Services will make your custom lenses available to those
20
+ * other accounts. Those other accounts may continue to access and use your
21
+ * shared custom lenses even if you delete the custom lenses
22
+ * from your own Amazon Web Services account or terminate
23
+ * your Amazon Web Services account.</p>
24
+ * </note>
25
+ * @example
26
+ * Use a bare-bones client and the command you need to make an API call.
27
+ * ```javascript
28
+ * import { WellArchitectedClient, DeleteLensCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
29
+ * // const { WellArchitectedClient, DeleteLensCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
30
+ * const client = new WellArchitectedClient(config);
31
+ * const command = new DeleteLensCommand(input);
32
+ * const response = await client.send(command);
33
+ * ```
34
+ *
35
+ * @see {@link DeleteLensCommandInput} for command's `input` shape.
36
+ * @see {@link DeleteLensCommandOutput} for command's `response` shape.
37
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
38
+ *
39
+ */
40
+ export declare class DeleteLensCommand extends $Command<DeleteLensCommandInput, DeleteLensCommandOutput, WellArchitectedClientResolvedConfig> {
41
+ readonly input: DeleteLensCommandInput;
42
+ constructor(input: DeleteLensCommandInput);
43
+ /**
44
+ * @internal
45
+ */
46
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLensCommandInput, DeleteLensCommandOutput>;
47
+ private serialize;
48
+ private deserialize;
49
+ }
@@ -0,0 +1,48 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteLensShareInput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
5
+ export interface DeleteLensShareCommandInput extends DeleteLensShareInput {
6
+ }
7
+ export interface DeleteLensShareCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Delete a lens share.</p>
11
+ * <p>After the lens share is deleted, Amazon Web Services accounts and IAM users
12
+ * that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.</p>
13
+ * <note>
14
+ * <p>
15
+ * <b>Disclaimer</b>
16
+ * </p>
17
+ * <p>By sharing your custom lenses with other Amazon Web Services accounts,
18
+ * you acknowledge that Amazon Web Services will make your custom lenses available to those
19
+ * other accounts. Those other accounts may continue to access and use your
20
+ * shared custom lenses even if you delete the custom lenses
21
+ * from your own Amazon Web Services account or terminate
22
+ * your Amazon Web Services account.</p>
23
+ * </note>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { WellArchitectedClient, DeleteLensShareCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
28
+ * // const { WellArchitectedClient, DeleteLensShareCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
29
+ * const client = new WellArchitectedClient(config);
30
+ * const command = new DeleteLensShareCommand(input);
31
+ * const response = await client.send(command);
32
+ * ```
33
+ *
34
+ * @see {@link DeleteLensShareCommandInput} for command's `input` shape.
35
+ * @see {@link DeleteLensShareCommandOutput} for command's `response` shape.
36
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
37
+ *
38
+ */
39
+ export declare class DeleteLensShareCommand extends $Command<DeleteLensShareCommandInput, DeleteLensShareCommandOutput, WellArchitectedClientResolvedConfig> {
40
+ readonly input: DeleteLensShareCommandInput;
41
+ constructor(input: DeleteLensShareCommandInput);
42
+ /**
43
+ * @internal
44
+ */
45
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLensShareCommandInput, DeleteLensShareCommandOutput>;
46
+ private serialize;
47
+ private deserialize;
48
+ }
@@ -20,7 +20,7 @@ export interface DeleteWorkloadCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link DeleteWorkloadCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteWorkloadCommandOutput} for command's `response` shape.
23
- * @see {@link WellArchitectedClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteWorkloadCommand extends $Command<DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput, WellArchitectedClientResolvedConfig> {