@aws-sdk/client-wellarchitected 3.41.0 → 3.45.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 (67) 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 +1 -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 +1 -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 +10 -0
  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/CreateWorkloadCommand.d.ts +3 -3
  39. package/dist-types/commands/CreateWorkloadShareCommand.d.ts +3 -3
  40. package/dist-types/commands/DeleteLensCommand.d.ts +49 -0
  41. package/dist-types/commands/DeleteLensShareCommand.d.ts +48 -0
  42. package/dist-types/commands/DisassociateLensesCommand.d.ts +2 -1
  43. package/dist-types/commands/ExportLensCommand.d.ts +49 -0
  44. package/dist-types/commands/GetLensCommand.d.ts +35 -0
  45. package/dist-types/commands/ImportLensCommand.d.ts +53 -0
  46. package/dist-types/commands/ListLensSharesCommand.d.ts +35 -0
  47. package/dist-types/commands/index.d.ts +8 -0
  48. package/dist-types/models/models_0.d.ts +676 -118
  49. package/dist-types/pagination/ListLensSharesPaginator.d.ts +4 -0
  50. package/dist-types/pagination/index.d.ts +1 -0
  51. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  52. package/dist-types/ts3.4/WellArchitected.d.ts +40 -0
  53. package/dist-types/ts3.4/WellArchitectedClient.d.ts +10 -2
  54. package/dist-types/ts3.4/commands/CreateLensShareCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/CreateLensVersionCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/DeleteLensCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DeleteLensShareCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ExportLensCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetLensCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ImportLensCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListLensSharesCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +321 -24
  64. package/dist-types/ts3.4/pagination/ListLensSharesPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  67. package/package.json +5 -5
@@ -1,21 +1,29 @@
1
1
  import { __extends } from "tslib";
2
2
  import { AssociateLensesCommand, } from "./commands/AssociateLensesCommand";
3
+ import { CreateLensShareCommand, } from "./commands/CreateLensShareCommand";
4
+ import { CreateLensVersionCommand, } from "./commands/CreateLensVersionCommand";
3
5
  import { CreateMilestoneCommand, } from "./commands/CreateMilestoneCommand";
4
6
  import { CreateWorkloadCommand, } from "./commands/CreateWorkloadCommand";
5
7
  import { CreateWorkloadShareCommand, } from "./commands/CreateWorkloadShareCommand";
8
+ import { DeleteLensCommand } from "./commands/DeleteLensCommand";
9
+ import { DeleteLensShareCommand, } from "./commands/DeleteLensShareCommand";
6
10
  import { DeleteWorkloadCommand, } from "./commands/DeleteWorkloadCommand";
7
11
  import { DeleteWorkloadShareCommand, } from "./commands/DeleteWorkloadShareCommand";
8
12
  import { DisassociateLensesCommand, } from "./commands/DisassociateLensesCommand";
13
+ import { ExportLensCommand } from "./commands/ExportLensCommand";
9
14
  import { GetAnswerCommand } from "./commands/GetAnswerCommand";
15
+ import { GetLensCommand } from "./commands/GetLensCommand";
10
16
  import { GetLensReviewCommand, } from "./commands/GetLensReviewCommand";
11
17
  import { GetLensReviewReportCommand, } from "./commands/GetLensReviewReportCommand";
12
18
  import { GetLensVersionDifferenceCommand, } from "./commands/GetLensVersionDifferenceCommand";
13
19
  import { GetMilestoneCommand, } from "./commands/GetMilestoneCommand";
14
20
  import { GetWorkloadCommand } from "./commands/GetWorkloadCommand";
21
+ import { ImportLensCommand } from "./commands/ImportLensCommand";
15
22
  import { ListAnswersCommand } from "./commands/ListAnswersCommand";
16
23
  import { ListLensesCommand } from "./commands/ListLensesCommand";
17
24
  import { ListLensReviewImprovementsCommand, } from "./commands/ListLensReviewImprovementsCommand";
18
25
  import { ListLensReviewsCommand, } from "./commands/ListLensReviewsCommand";
26
+ import { ListLensSharesCommand, } from "./commands/ListLensSharesCommand";
19
27
  import { ListMilestonesCommand, } from "./commands/ListMilestonesCommand";
20
28
  import { ListNotificationsCommand, } from "./commands/ListNotificationsCommand";
21
29
  import { ListShareInvitationsCommand, } from "./commands/ListShareInvitationsCommand";
@@ -50,6 +58,34 @@ var WellArchitected = (function (_super) {
50
58
  return this.send(command, optionsOrCb);
51
59
  }
52
60
  };
61
+ WellArchitected.prototype.createLensShare = function (args, optionsOrCb, cb) {
62
+ var command = new CreateLensShareCommand(args);
63
+ if (typeof optionsOrCb === "function") {
64
+ this.send(command, optionsOrCb);
65
+ }
66
+ else if (typeof cb === "function") {
67
+ if (typeof optionsOrCb !== "object")
68
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
69
+ this.send(command, optionsOrCb || {}, cb);
70
+ }
71
+ else {
72
+ return this.send(command, optionsOrCb);
73
+ }
74
+ };
75
+ WellArchitected.prototype.createLensVersion = function (args, optionsOrCb, cb) {
76
+ var command = new CreateLensVersionCommand(args);
77
+ if (typeof optionsOrCb === "function") {
78
+ this.send(command, optionsOrCb);
79
+ }
80
+ else if (typeof cb === "function") {
81
+ if (typeof optionsOrCb !== "object")
82
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
83
+ this.send(command, optionsOrCb || {}, cb);
84
+ }
85
+ else {
86
+ return this.send(command, optionsOrCb);
87
+ }
88
+ };
53
89
  WellArchitected.prototype.createMilestone = function (args, optionsOrCb, cb) {
54
90
  var command = new CreateMilestoneCommand(args);
55
91
  if (typeof optionsOrCb === "function") {
@@ -92,6 +128,34 @@ var WellArchitected = (function (_super) {
92
128
  return this.send(command, optionsOrCb);
93
129
  }
94
130
  };
131
+ WellArchitected.prototype.deleteLens = function (args, optionsOrCb, cb) {
132
+ var command = new DeleteLensCommand(args);
133
+ if (typeof optionsOrCb === "function") {
134
+ this.send(command, optionsOrCb);
135
+ }
136
+ else if (typeof cb === "function") {
137
+ if (typeof optionsOrCb !== "object")
138
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
139
+ this.send(command, optionsOrCb || {}, cb);
140
+ }
141
+ else {
142
+ return this.send(command, optionsOrCb);
143
+ }
144
+ };
145
+ WellArchitected.prototype.deleteLensShare = function (args, optionsOrCb, cb) {
146
+ var command = new DeleteLensShareCommand(args);
147
+ if (typeof optionsOrCb === "function") {
148
+ this.send(command, optionsOrCb);
149
+ }
150
+ else if (typeof cb === "function") {
151
+ if (typeof optionsOrCb !== "object")
152
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
153
+ this.send(command, optionsOrCb || {}, cb);
154
+ }
155
+ else {
156
+ return this.send(command, optionsOrCb);
157
+ }
158
+ };
95
159
  WellArchitected.prototype.deleteWorkload = function (args, optionsOrCb, cb) {
96
160
  var command = new DeleteWorkloadCommand(args);
97
161
  if (typeof optionsOrCb === "function") {
@@ -134,6 +198,20 @@ var WellArchitected = (function (_super) {
134
198
  return this.send(command, optionsOrCb);
135
199
  }
136
200
  };
201
+ WellArchitected.prototype.exportLens = function (args, optionsOrCb, cb) {
202
+ var command = new ExportLensCommand(args);
203
+ if (typeof optionsOrCb === "function") {
204
+ this.send(command, optionsOrCb);
205
+ }
206
+ else if (typeof cb === "function") {
207
+ if (typeof optionsOrCb !== "object")
208
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
209
+ this.send(command, optionsOrCb || {}, cb);
210
+ }
211
+ else {
212
+ return this.send(command, optionsOrCb);
213
+ }
214
+ };
137
215
  WellArchitected.prototype.getAnswer = function (args, optionsOrCb, cb) {
138
216
  var command = new GetAnswerCommand(args);
139
217
  if (typeof optionsOrCb === "function") {
@@ -148,6 +226,20 @@ var WellArchitected = (function (_super) {
148
226
  return this.send(command, optionsOrCb);
149
227
  }
150
228
  };
229
+ WellArchitected.prototype.getLens = function (args, optionsOrCb, cb) {
230
+ var command = new GetLensCommand(args);
231
+ if (typeof optionsOrCb === "function") {
232
+ this.send(command, optionsOrCb);
233
+ }
234
+ else if (typeof cb === "function") {
235
+ if (typeof optionsOrCb !== "object")
236
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
237
+ this.send(command, optionsOrCb || {}, cb);
238
+ }
239
+ else {
240
+ return this.send(command, optionsOrCb);
241
+ }
242
+ };
151
243
  WellArchitected.prototype.getLensReview = function (args, optionsOrCb, cb) {
152
244
  var command = new GetLensReviewCommand(args);
153
245
  if (typeof optionsOrCb === "function") {
@@ -218,6 +310,20 @@ var WellArchitected = (function (_super) {
218
310
  return this.send(command, optionsOrCb);
219
311
  }
220
312
  };
313
+ WellArchitected.prototype.importLens = function (args, optionsOrCb, cb) {
314
+ var command = new ImportLensCommand(args);
315
+ if (typeof optionsOrCb === "function") {
316
+ this.send(command, optionsOrCb);
317
+ }
318
+ else if (typeof cb === "function") {
319
+ if (typeof optionsOrCb !== "object")
320
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
321
+ this.send(command, optionsOrCb || {}, cb);
322
+ }
323
+ else {
324
+ return this.send(command, optionsOrCb);
325
+ }
326
+ };
221
327
  WellArchitected.prototype.listAnswers = function (args, optionsOrCb, cb) {
222
328
  var command = new ListAnswersCommand(args);
223
329
  if (typeof optionsOrCb === "function") {
@@ -274,6 +380,20 @@ var WellArchitected = (function (_super) {
274
380
  return this.send(command, optionsOrCb);
275
381
  }
276
382
  };
383
+ WellArchitected.prototype.listLensShares = function (args, optionsOrCb, cb) {
384
+ var command = new ListLensSharesCommand(args);
385
+ if (typeof optionsOrCb === "function") {
386
+ this.send(command, optionsOrCb);
387
+ }
388
+ else if (typeof cb === "function") {
389
+ if (typeof optionsOrCb !== "object")
390
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
391
+ this.send(command, optionsOrCb || {}, cb);
392
+ }
393
+ else {
394
+ return this.send(command, optionsOrCb);
395
+ }
396
+ };
277
397
  WellArchitected.prototype.listMilestones = function (args, optionsOrCb, cb) {
278
398
  var command = new ListMilestonesCommand(args);
279
399
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateLensShareInput, CreateLensShareOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateLensShareCommand, serializeAws_restJson1CreateLensShareCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateLensShareCommand = (function (_super) {
7
+ __extends(CreateLensShareCommand, _super);
8
+ function CreateLensShareCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateLensShareCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "CreateLensShareCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateLensShareInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateLensShareOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateLensShareCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateLensShareCommand(input, context);
33
+ };
34
+ CreateLensShareCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateLensShareCommand(output, context);
36
+ };
37
+ return CreateLensShareCommand;
38
+ }($Command));
39
+ export { CreateLensShareCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateLensVersionInput, CreateLensVersionOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateLensVersionCommand, serializeAws_restJson1CreateLensVersionCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateLensVersionCommand = (function (_super) {
7
+ __extends(CreateLensVersionCommand, _super);
8
+ function CreateLensVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateLensVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "CreateLensVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateLensVersionInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateLensVersionOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateLensVersionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateLensVersionCommand(input, context);
33
+ };
34
+ CreateLensVersionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateLensVersionCommand(output, context);
36
+ };
37
+ return CreateLensVersionCommand;
38
+ }($Command));
39
+ export { CreateLensVersionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteLensInput } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteLensCommand, serializeAws_restJson1DeleteLensCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteLensCommand = (function (_super) {
7
+ __extends(DeleteLensCommand, _super);
8
+ function DeleteLensCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteLensCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "DeleteLensCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteLensCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteLensCommand(input, context);
33
+ };
34
+ DeleteLensCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteLensCommand(output, context);
36
+ };
37
+ return DeleteLensCommand;
38
+ }($Command));
39
+ export { DeleteLensCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteLensShareInput } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteLensShareCommand, serializeAws_restJson1DeleteLensShareCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteLensShareCommand = (function (_super) {
7
+ __extends(DeleteLensShareCommand, _super);
8
+ function DeleteLensShareCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteLensShareCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "DeleteLensShareCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteLensShareInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteLensShareCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteLensShareCommand(input, context);
33
+ };
34
+ DeleteLensShareCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteLensShareCommand(output, context);
36
+ };
37
+ return DeleteLensShareCommand;
38
+ }($Command));
39
+ export { DeleteLensShareCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ExportLensInput, ExportLensOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1ExportLensCommand, serializeAws_restJson1ExportLensCommand, } from "../protocols/Aws_restJson1";
6
+ var ExportLensCommand = (function (_super) {
7
+ __extends(ExportLensCommand, _super);
8
+ function ExportLensCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ExportLensCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "ExportLensCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ExportLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ExportLensOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ExportLensCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ExportLensCommand(input, context);
33
+ };
34
+ ExportLensCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ExportLensCommand(output, context);
36
+ };
37
+ return ExportLensCommand;
38
+ }($Command));
39
+ export { ExportLensCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetLensInput, GetLensOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetLensCommand, serializeAws_restJson1GetLensCommand, } from "../protocols/Aws_restJson1";
6
+ var GetLensCommand = (function (_super) {
7
+ __extends(GetLensCommand, _super);
8
+ function GetLensCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetLensCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "GetLensCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetLensOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLensCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetLensCommand(input, context);
33
+ };
34
+ GetLensCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetLensCommand(output, context);
36
+ };
37
+ return GetLensCommand;
38
+ }($Command));
39
+ export { GetLensCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ImportLensInput, ImportLensOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1ImportLensCommand, serializeAws_restJson1ImportLensCommand, } from "../protocols/Aws_restJson1";
6
+ var ImportLensCommand = (function (_super) {
7
+ __extends(ImportLensCommand, _super);
8
+ function ImportLensCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ImportLensCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "ImportLensCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ImportLensInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ImportLensOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ImportLensCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ImportLensCommand(input, context);
33
+ };
34
+ ImportLensCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ImportLensCommand(output, context);
36
+ };
37
+ return ImportLensCommand;
38
+ }($Command));
39
+ export { ImportLensCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListLensSharesInput, ListLensSharesOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListLensSharesCommand, serializeAws_restJson1ListLensSharesCommand, } from "../protocols/Aws_restJson1";
6
+ var ListLensSharesCommand = (function (_super) {
7
+ __extends(ListLensSharesCommand, _super);
8
+ function ListLensSharesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListLensSharesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "ListLensSharesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListLensSharesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListLensSharesOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListLensSharesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListLensSharesCommand(input, context);
33
+ };
34
+ ListLensSharesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListLensSharesCommand(output, context);
36
+ };
37
+ return ListLensSharesCommand;
38
+ }($Command));
39
+ export { ListLensSharesCommand };
@@ -1,19 +1,27 @@
1
1
  export * from "./AssociateLensesCommand";
2
+ export * from "./CreateLensShareCommand";
3
+ export * from "./CreateLensVersionCommand";
2
4
  export * from "./CreateMilestoneCommand";
3
5
  export * from "./CreateWorkloadCommand";
4
6
  export * from "./CreateWorkloadShareCommand";
7
+ export * from "./DeleteLensCommand";
8
+ export * from "./DeleteLensShareCommand";
5
9
  export * from "./DeleteWorkloadCommand";
6
10
  export * from "./DeleteWorkloadShareCommand";
7
11
  export * from "./DisassociateLensesCommand";
12
+ export * from "./ExportLensCommand";
8
13
  export * from "./GetAnswerCommand";
14
+ export * from "./GetLensCommand";
9
15
  export * from "./GetLensReviewCommand";
10
16
  export * from "./GetLensReviewReportCommand";
11
17
  export * from "./GetLensVersionDifferenceCommand";
12
18
  export * from "./GetMilestoneCommand";
13
19
  export * from "./GetWorkloadCommand";
20
+ export * from "./ImportLensCommand";
14
21
  export * from "./ListAnswersCommand";
15
22
  export * from "./ListLensReviewImprovementsCommand";
16
23
  export * from "./ListLensReviewsCommand";
24
+ export * from "./ListLensSharesCommand";
17
25
  export * from "./ListLensesCommand";
18
26
  export * from "./ListMilestonesCommand";
19
27
  export * from "./ListNotificationsCommand";
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",