@aws-sdk/client-wellarchitected 3.43.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 (65) hide show
  1. package/CHANGELOG.md +11 -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/models/models_0.js +150 -17
  14. package/dist-cjs/pagination/ListLensSharesPaginator.js +35 -0
  15. package/dist-cjs/pagination/index.js +1 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +1137 -62
  17. package/dist-es/WellArchitected.js +120 -0
  18. package/dist-es/commands/CreateLensShareCommand.js +39 -0
  19. package/dist-es/commands/CreateLensVersionCommand.js +39 -0
  20. package/dist-es/commands/DeleteLensCommand.js +39 -0
  21. package/dist-es/commands/DeleteLensShareCommand.js +39 -0
  22. package/dist-es/commands/ExportLensCommand.js +39 -0
  23. package/dist-es/commands/GetLensCommand.js +39 -0
  24. package/dist-es/commands/ImportLensCommand.js +39 -0
  25. package/dist-es/commands/ListLensSharesCommand.js +39 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +109 -12
  28. package/dist-es/pagination/ListLensSharesPaginator.js +74 -0
  29. package/dist-es/pagination/index.js +1 -0
  30. package/dist-es/protocols/Aws_restJson1.js +1232 -40
  31. package/dist-types/WellArchitected.d.ts +156 -13
  32. package/dist-types/WellArchitectedClient.d.ts +16 -8
  33. package/dist-types/commands/AssociateLensesCommand.d.ts +10 -0
  34. package/dist-types/commands/CreateLensShareCommand.d.ts +48 -0
  35. package/dist-types/commands/CreateLensVersionCommand.d.ts +39 -0
  36. package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -3
  37. package/dist-types/commands/CreateWorkloadShareCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteLensCommand.d.ts +49 -0
  39. package/dist-types/commands/DeleteLensShareCommand.d.ts +48 -0
  40. package/dist-types/commands/DisassociateLensesCommand.d.ts +2 -1
  41. package/dist-types/commands/ExportLensCommand.d.ts +49 -0
  42. package/dist-types/commands/GetLensCommand.d.ts +35 -0
  43. package/dist-types/commands/ImportLensCommand.d.ts +53 -0
  44. package/dist-types/commands/ListLensSharesCommand.d.ts +35 -0
  45. package/dist-types/commands/index.d.ts +8 -0
  46. package/dist-types/models/models_0.d.ts +676 -118
  47. package/dist-types/pagination/ListLensSharesPaginator.d.ts +4 -0
  48. package/dist-types/pagination/index.d.ts +1 -0
  49. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  50. package/dist-types/ts3.4/WellArchitected.d.ts +40 -0
  51. package/dist-types/ts3.4/WellArchitectedClient.d.ts +10 -2
  52. package/dist-types/ts3.4/commands/CreateLensShareCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/CreateLensVersionCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/DeleteLensCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/DeleteLensShareCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ExportLensCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetLensCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ImportLensCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/ListLensSharesCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +321 -24
  62. package/dist-types/ts3.4/pagination/ListLensSharesPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  65. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-wellarchitected
package/README.md CHANGED
@@ -7,13 +7,13 @@
7
7
 
8
8
  AWS SDK for JavaScript WellArchitected Client for Node.js, Browser and React Native.
9
9
 
10
- <fullname>AWS Well-Architected Tool</fullname>
10
+ <fullname>Well-Architected Tool</fullname>
11
11
 
12
- <p>This is the <i>AWS Well-Architected Tool API Reference</i>. The AWS Well-Architected Tool API provides programmatic access to the
13
- <a href="http://aws.amazon.com/well-architected-tool">AWS Well-Architected Tool</a> in the
14
- <a href="https://console.aws.amazon.com/wellarchitected">AWS Management Console</a>. For information
15
- about the AWS Well-Architected Tool, see the
16
- <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/intro.html">AWS Well-Architected Tool User Guide</a>.</p>
12
+ <p>This is the <i>Well-Architected Tool API Reference</i>. The WA Tool API provides programmatic access to the
13
+ <a href="http://aws.amazon.com/well-architected-tool">Well-Architected Tool</a> in the
14
+ <a href="https://console.aws.amazon.com/wellarchitected">Amazon Web Services Management Console</a>. For information
15
+ about the Well-Architected Tool, see the
16
+ <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/intro.html">Well-Architected Tool User Guide</a>.</p>
17
17
 
18
18
  ## Installing
19
19
 
@@ -2,22 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WellArchitected = void 0;
4
4
  const AssociateLensesCommand_1 = require("./commands/AssociateLensesCommand");
5
+ const CreateLensShareCommand_1 = require("./commands/CreateLensShareCommand");
6
+ const CreateLensVersionCommand_1 = require("./commands/CreateLensVersionCommand");
5
7
  const CreateMilestoneCommand_1 = require("./commands/CreateMilestoneCommand");
6
8
  const CreateWorkloadCommand_1 = require("./commands/CreateWorkloadCommand");
7
9
  const CreateWorkloadShareCommand_1 = require("./commands/CreateWorkloadShareCommand");
10
+ const DeleteLensCommand_1 = require("./commands/DeleteLensCommand");
11
+ const DeleteLensShareCommand_1 = require("./commands/DeleteLensShareCommand");
8
12
  const DeleteWorkloadCommand_1 = require("./commands/DeleteWorkloadCommand");
9
13
  const DeleteWorkloadShareCommand_1 = require("./commands/DeleteWorkloadShareCommand");
10
14
  const DisassociateLensesCommand_1 = require("./commands/DisassociateLensesCommand");
15
+ const ExportLensCommand_1 = require("./commands/ExportLensCommand");
11
16
  const GetAnswerCommand_1 = require("./commands/GetAnswerCommand");
17
+ const GetLensCommand_1 = require("./commands/GetLensCommand");
12
18
  const GetLensReviewCommand_1 = require("./commands/GetLensReviewCommand");
13
19
  const GetLensReviewReportCommand_1 = require("./commands/GetLensReviewReportCommand");
14
20
  const GetLensVersionDifferenceCommand_1 = require("./commands/GetLensVersionDifferenceCommand");
15
21
  const GetMilestoneCommand_1 = require("./commands/GetMilestoneCommand");
16
22
  const GetWorkloadCommand_1 = require("./commands/GetWorkloadCommand");
23
+ const ImportLensCommand_1 = require("./commands/ImportLensCommand");
17
24
  const ListAnswersCommand_1 = require("./commands/ListAnswersCommand");
18
25
  const ListLensesCommand_1 = require("./commands/ListLensesCommand");
19
26
  const ListLensReviewImprovementsCommand_1 = require("./commands/ListLensReviewImprovementsCommand");
20
27
  const ListLensReviewsCommand_1 = require("./commands/ListLensReviewsCommand");
28
+ const ListLensSharesCommand_1 = require("./commands/ListLensSharesCommand");
21
29
  const ListMilestonesCommand_1 = require("./commands/ListMilestonesCommand");
22
30
  const ListNotificationsCommand_1 = require("./commands/ListNotificationsCommand");
23
31
  const ListShareInvitationsCommand_1 = require("./commands/ListShareInvitationsCommand");
@@ -48,6 +56,34 @@ class WellArchitected extends WellArchitectedClient_1.WellArchitectedClient {
48
56
  return this.send(command, optionsOrCb);
49
57
  }
50
58
  }
59
+ createLensShare(args, optionsOrCb, cb) {
60
+ const command = new CreateLensShareCommand_1.CreateLensShareCommand(args);
61
+ if (typeof optionsOrCb === "function") {
62
+ this.send(command, optionsOrCb);
63
+ }
64
+ else if (typeof cb === "function") {
65
+ if (typeof optionsOrCb !== "object")
66
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
67
+ this.send(command, optionsOrCb || {}, cb);
68
+ }
69
+ else {
70
+ return this.send(command, optionsOrCb);
71
+ }
72
+ }
73
+ createLensVersion(args, optionsOrCb, cb) {
74
+ const command = new CreateLensVersionCommand_1.CreateLensVersionCommand(args);
75
+ if (typeof optionsOrCb === "function") {
76
+ this.send(command, optionsOrCb);
77
+ }
78
+ else if (typeof cb === "function") {
79
+ if (typeof optionsOrCb !== "object")
80
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
81
+ this.send(command, optionsOrCb || {}, cb);
82
+ }
83
+ else {
84
+ return this.send(command, optionsOrCb);
85
+ }
86
+ }
51
87
  createMilestone(args, optionsOrCb, cb) {
52
88
  const command = new CreateMilestoneCommand_1.CreateMilestoneCommand(args);
53
89
  if (typeof optionsOrCb === "function") {
@@ -90,6 +126,34 @@ class WellArchitected extends WellArchitectedClient_1.WellArchitectedClient {
90
126
  return this.send(command, optionsOrCb);
91
127
  }
92
128
  }
129
+ deleteLens(args, optionsOrCb, cb) {
130
+ const command = new DeleteLensCommand_1.DeleteLensCommand(args);
131
+ if (typeof optionsOrCb === "function") {
132
+ this.send(command, optionsOrCb);
133
+ }
134
+ else if (typeof cb === "function") {
135
+ if (typeof optionsOrCb !== "object")
136
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
137
+ this.send(command, optionsOrCb || {}, cb);
138
+ }
139
+ else {
140
+ return this.send(command, optionsOrCb);
141
+ }
142
+ }
143
+ deleteLensShare(args, optionsOrCb, cb) {
144
+ const command = new DeleteLensShareCommand_1.DeleteLensShareCommand(args);
145
+ if (typeof optionsOrCb === "function") {
146
+ this.send(command, optionsOrCb);
147
+ }
148
+ else if (typeof cb === "function") {
149
+ if (typeof optionsOrCb !== "object")
150
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
151
+ this.send(command, optionsOrCb || {}, cb);
152
+ }
153
+ else {
154
+ return this.send(command, optionsOrCb);
155
+ }
156
+ }
93
157
  deleteWorkload(args, optionsOrCb, cb) {
94
158
  const command = new DeleteWorkloadCommand_1.DeleteWorkloadCommand(args);
95
159
  if (typeof optionsOrCb === "function") {
@@ -132,6 +196,20 @@ class WellArchitected extends WellArchitectedClient_1.WellArchitectedClient {
132
196
  return this.send(command, optionsOrCb);
133
197
  }
134
198
  }
199
+ exportLens(args, optionsOrCb, cb) {
200
+ const command = new ExportLensCommand_1.ExportLensCommand(args);
201
+ if (typeof optionsOrCb === "function") {
202
+ this.send(command, optionsOrCb);
203
+ }
204
+ else if (typeof cb === "function") {
205
+ if (typeof optionsOrCb !== "object")
206
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
207
+ this.send(command, optionsOrCb || {}, cb);
208
+ }
209
+ else {
210
+ return this.send(command, optionsOrCb);
211
+ }
212
+ }
135
213
  getAnswer(args, optionsOrCb, cb) {
136
214
  const command = new GetAnswerCommand_1.GetAnswerCommand(args);
137
215
  if (typeof optionsOrCb === "function") {
@@ -146,6 +224,20 @@ class WellArchitected extends WellArchitectedClient_1.WellArchitectedClient {
146
224
  return this.send(command, optionsOrCb);
147
225
  }
148
226
  }
227
+ getLens(args, optionsOrCb, cb) {
228
+ const command = new GetLensCommand_1.GetLensCommand(args);
229
+ if (typeof optionsOrCb === "function") {
230
+ this.send(command, optionsOrCb);
231
+ }
232
+ else if (typeof cb === "function") {
233
+ if (typeof optionsOrCb !== "object")
234
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
235
+ this.send(command, optionsOrCb || {}, cb);
236
+ }
237
+ else {
238
+ return this.send(command, optionsOrCb);
239
+ }
240
+ }
149
241
  getLensReview(args, optionsOrCb, cb) {
150
242
  const command = new GetLensReviewCommand_1.GetLensReviewCommand(args);
151
243
  if (typeof optionsOrCb === "function") {
@@ -216,6 +308,20 @@ class WellArchitected extends WellArchitectedClient_1.WellArchitectedClient {
216
308
  return this.send(command, optionsOrCb);
217
309
  }
218
310
  }
311
+ importLens(args, optionsOrCb, cb) {
312
+ const command = new ImportLensCommand_1.ImportLensCommand(args);
313
+ if (typeof optionsOrCb === "function") {
314
+ this.send(command, optionsOrCb);
315
+ }
316
+ else if (typeof cb === "function") {
317
+ if (typeof optionsOrCb !== "object")
318
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
319
+ this.send(command, optionsOrCb || {}, cb);
320
+ }
321
+ else {
322
+ return this.send(command, optionsOrCb);
323
+ }
324
+ }
219
325
  listAnswers(args, optionsOrCb, cb) {
220
326
  const command = new ListAnswersCommand_1.ListAnswersCommand(args);
221
327
  if (typeof optionsOrCb === "function") {
@@ -272,6 +378,20 @@ class WellArchitected extends WellArchitectedClient_1.WellArchitectedClient {
272
378
  return this.send(command, optionsOrCb);
273
379
  }
274
380
  }
381
+ listLensShares(args, optionsOrCb, cb) {
382
+ const command = new ListLensSharesCommand_1.ListLensSharesCommand(args);
383
+ if (typeof optionsOrCb === "function") {
384
+ this.send(command, optionsOrCb);
385
+ }
386
+ else if (typeof cb === "function") {
387
+ if (typeof optionsOrCb !== "object")
388
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
389
+ this.send(command, optionsOrCb || {}, cb);
390
+ }
391
+ else {
392
+ return this.send(command, optionsOrCb);
393
+ }
394
+ }
275
395
  listMilestones(args, optionsOrCb, cb) {
276
396
  const command = new ListMilestonesCommand_1.ListMilestonesCommand(args);
277
397
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLensShareCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateLensShareCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "CreateLensShareCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateLensShareInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateLensShareOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateLensShareCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateLensShareCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateLensShareCommand = CreateLensShareCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLensVersionCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateLensVersionCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "CreateLensVersionCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateLensVersionInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateLensVersionOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateLensVersionCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateLensVersionCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateLensVersionCommand = CreateLensVersionCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteLensCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteLensCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "DeleteLensCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DeleteLensCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteLensCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteLensCommand = DeleteLensCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteLensShareCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteLensShareCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "DeleteLensShareCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteLensShareInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DeleteLensShareCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteLensShareCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteLensShareCommand = DeleteLensShareCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExportLensCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ExportLensCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "ExportLensCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ExportLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ExportLensOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ExportLensCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ExportLensCommand(output, context);
34
+ }
35
+ }
36
+ exports.ExportLensCommand = ExportLensCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetLensCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetLensCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "GetLensCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetLensOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1GetLensCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1GetLensCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetLensCommand = GetLensCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImportLensCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ImportLensCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "ImportLensCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ImportLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ImportLensOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ImportLensCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ImportLensCommand(output, context);
34
+ }
35
+ }
36
+ exports.ImportLensCommand = ImportLensCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListLensSharesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListLensSharesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "WellArchitectedClient";
18
+ const commandName = "ListLensSharesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListLensSharesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListLensSharesOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListLensSharesCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListLensSharesCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListLensSharesCommand = ListLensSharesCommand;
@@ -2,21 +2,29 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AssociateLensesCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateLensShareCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateLensVersionCommand"), exports);
5
7
  tslib_1.__exportStar(require("./CreateMilestoneCommand"), exports);
6
8
  tslib_1.__exportStar(require("./CreateWorkloadCommand"), exports);
7
9
  tslib_1.__exportStar(require("./CreateWorkloadShareCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteLensCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteLensShareCommand"), exports);
8
12
  tslib_1.__exportStar(require("./DeleteWorkloadCommand"), exports);
9
13
  tslib_1.__exportStar(require("./DeleteWorkloadShareCommand"), exports);
10
14
  tslib_1.__exportStar(require("./DisassociateLensesCommand"), exports);
15
+ tslib_1.__exportStar(require("./ExportLensCommand"), exports);
11
16
  tslib_1.__exportStar(require("./GetAnswerCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetLensCommand"), exports);
12
18
  tslib_1.__exportStar(require("./GetLensReviewCommand"), exports);
13
19
  tslib_1.__exportStar(require("./GetLensReviewReportCommand"), exports);
14
20
  tslib_1.__exportStar(require("./GetLensVersionDifferenceCommand"), exports);
15
21
  tslib_1.__exportStar(require("./GetMilestoneCommand"), exports);
16
22
  tslib_1.__exportStar(require("./GetWorkloadCommand"), exports);
23
+ tslib_1.__exportStar(require("./ImportLensCommand"), exports);
17
24
  tslib_1.__exportStar(require("./ListAnswersCommand"), exports);
18
25
  tslib_1.__exportStar(require("./ListLensReviewImprovementsCommand"), exports);
19
26
  tslib_1.__exportStar(require("./ListLensReviewsCommand"), exports);
27
+ tslib_1.__exportStar(require("./ListLensSharesCommand"), exports);
20
28
  tslib_1.__exportStar(require("./ListLensesCommand"), exports);
21
29
  tslib_1.__exportStar(require("./ListMilestonesCommand"), exports);
22
30
  tslib_1.__exportStar(require("./ListNotificationsCommand"), exports);