@aws-sdk/client-wellarchitected 3.183.0 → 3.186.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 (63) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/WellArchitected.js +169 -162
  4. package/dist-es/WellArchitectedClient.js +28 -22
  5. package/dist-es/commands/AssociateLensesCommand.js +29 -22
  6. package/dist-es/commands/CreateLensShareCommand.js +28 -21
  7. package/dist-es/commands/CreateLensVersionCommand.js +28 -21
  8. package/dist-es/commands/CreateMilestoneCommand.js +28 -21
  9. package/dist-es/commands/CreateWorkloadCommand.js +28 -21
  10. package/dist-es/commands/CreateWorkloadShareCommand.js +28 -21
  11. package/dist-es/commands/DeleteLensCommand.js +29 -22
  12. package/dist-es/commands/DeleteLensShareCommand.js +29 -22
  13. package/dist-es/commands/DeleteWorkloadCommand.js +29 -22
  14. package/dist-es/commands/DeleteWorkloadShareCommand.js +29 -22
  15. package/dist-es/commands/DisassociateLensesCommand.js +29 -22
  16. package/dist-es/commands/ExportLensCommand.js +28 -21
  17. package/dist-es/commands/GetAnswerCommand.js +28 -21
  18. package/dist-es/commands/GetLensCommand.js +28 -21
  19. package/dist-es/commands/GetLensReviewCommand.js +28 -21
  20. package/dist-es/commands/GetLensReviewReportCommand.js +28 -21
  21. package/dist-es/commands/GetLensVersionDifferenceCommand.js +28 -21
  22. package/dist-es/commands/GetMilestoneCommand.js +28 -21
  23. package/dist-es/commands/GetWorkloadCommand.js +28 -21
  24. package/dist-es/commands/ImportLensCommand.js +28 -21
  25. package/dist-es/commands/ListAnswersCommand.js +28 -21
  26. package/dist-es/commands/ListLensReviewImprovementsCommand.js +28 -21
  27. package/dist-es/commands/ListLensReviewsCommand.js +28 -21
  28. package/dist-es/commands/ListLensSharesCommand.js +28 -21
  29. package/dist-es/commands/ListLensesCommand.js +28 -21
  30. package/dist-es/commands/ListMilestonesCommand.js +28 -21
  31. package/dist-es/commands/ListNotificationsCommand.js +28 -21
  32. package/dist-es/commands/ListShareInvitationsCommand.js +28 -21
  33. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  34. package/dist-es/commands/ListWorkloadSharesCommand.js +28 -21
  35. package/dist-es/commands/ListWorkloadsCommand.js +28 -21
  36. package/dist-es/commands/TagResourceCommand.js +28 -21
  37. package/dist-es/commands/UntagResourceCommand.js +28 -21
  38. package/dist-es/commands/UpdateAnswerCommand.js +28 -21
  39. package/dist-es/commands/UpdateGlobalSettingsCommand.js +29 -22
  40. package/dist-es/commands/UpdateLensReviewCommand.js +28 -21
  41. package/dist-es/commands/UpdateShareInvitationCommand.js +28 -21
  42. package/dist-es/commands/UpdateWorkloadCommand.js +28 -21
  43. package/dist-es/commands/UpdateWorkloadShareCommand.js +28 -21
  44. package/dist-es/commands/UpgradeLensReviewCommand.js +29 -22
  45. package/dist-es/endpoints.js +8 -8
  46. package/dist-es/models/WellArchitectedServiceException.js +10 -5
  47. package/dist-es/models/models_0.js +200 -405
  48. package/dist-es/pagination/ListAnswersPaginator.js +68 -25
  49. package/dist-es/pagination/ListLensReviewImprovementsPaginator.js +68 -25
  50. package/dist-es/pagination/ListLensReviewsPaginator.js +68 -25
  51. package/dist-es/pagination/ListLensSharesPaginator.js +68 -25
  52. package/dist-es/pagination/ListLensesPaginator.js +68 -25
  53. package/dist-es/pagination/ListMilestonesPaginator.js +68 -25
  54. package/dist-es/pagination/ListNotificationsPaginator.js +68 -25
  55. package/dist-es/pagination/ListShareInvitationsPaginator.js +68 -25
  56. package/dist-es/pagination/ListWorkloadSharesPaginator.js +68 -25
  57. package/dist-es/pagination/ListWorkloadsPaginator.js +68 -25
  58. package/dist-es/protocols/Aws_restJson1.js +4391 -3150
  59. package/dist-es/runtimeConfig.browser.js +12 -26
  60. package/dist-es/runtimeConfig.js +12 -30
  61. package/dist-es/runtimeConfig.native.js +5 -8
  62. package/dist-es/runtimeConfig.shared.js +11 -8
  63. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListWorkloadSharesInputFilterSensitiveLog, ListWorkloadSharesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListWorkloadSharesCommand, serializeAws_restJson1ListWorkloadSharesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListWorkloadSharesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkloadSharesCommand = (function (_super) {
7
+ __extends(ListWorkloadSharesCommand, _super);
8
+ function ListWorkloadSharesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkloadSharesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "ListWorkloadSharesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "ListWorkloadSharesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWorkloadSharesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWorkloadSharesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkloadSharesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListWorkloadSharesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkloadSharesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListWorkloadSharesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkloadSharesCommand;
38
+ }($Command));
39
+ export { ListWorkloadSharesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListWorkloadsInputFilterSensitiveLog, ListWorkloadsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListWorkloadsCommand, serializeAws_restJson1ListWorkloadsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListWorkloadsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkloadsCommand = (function (_super) {
7
+ __extends(ListWorkloadsCommand, _super);
8
+ function ListWorkloadsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkloadsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "ListWorkloadsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "ListWorkloadsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWorkloadsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWorkloadsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkloadsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListWorkloadsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkloadsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListWorkloadsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkloadsCommand;
38
+ }($Command));
39
+ export { ListWorkloadsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateAnswerInputFilterSensitiveLog, UpdateAnswerOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateAnswerCommand, serializeAws_restJson1UpdateAnswerCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateAnswerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAnswerCommand = (function (_super) {
7
+ __extends(UpdateAnswerCommand, _super);
8
+ function UpdateAnswerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAnswerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "UpdateAnswerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "UpdateAnswerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAnswerInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateAnswerOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateAnswerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateAnswerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAnswerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateAnswerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAnswerCommand;
38
+ }($Command));
39
+ export { UpdateAnswerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateGlobalSettingsInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateGlobalSettingsCommand, serializeAws_restJson1UpdateGlobalSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateGlobalSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateGlobalSettingsCommand = (function (_super) {
7
+ __extends(UpdateGlobalSettingsCommand, _super);
8
+ function UpdateGlobalSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateGlobalSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "UpdateGlobalSettingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "UpdateGlobalSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateGlobalSettingsInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateGlobalSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateGlobalSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateGlobalSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateGlobalSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateGlobalSettingsCommand;
38
+ }($Command));
39
+ export { UpdateGlobalSettingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateLensReviewInputFilterSensitiveLog, UpdateLensReviewOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateLensReviewCommand, serializeAws_restJson1UpdateLensReviewCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateLensReviewCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateLensReviewCommand = (function (_super) {
7
+ __extends(UpdateLensReviewCommand, _super);
8
+ function UpdateLensReviewCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateLensReviewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "UpdateLensReviewCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "UpdateLensReviewCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateLensReviewInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateLensReviewOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateLensReviewCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateLensReviewCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateLensReviewCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateLensReviewCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateLensReviewCommand;
38
+ }($Command));
39
+ export { UpdateLensReviewCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateShareInvitationInputFilterSensitiveLog, UpdateShareInvitationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateShareInvitationCommand, serializeAws_restJson1UpdateShareInvitationCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateShareInvitationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateShareInvitationCommand = (function (_super) {
7
+ __extends(UpdateShareInvitationCommand, _super);
8
+ function UpdateShareInvitationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateShareInvitationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "UpdateShareInvitationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "UpdateShareInvitationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateShareInvitationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateShareInvitationOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateShareInvitationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateShareInvitationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateShareInvitationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateShareInvitationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateShareInvitationCommand;
38
+ }($Command));
39
+ export { UpdateShareInvitationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateWorkloadInputFilterSensitiveLog, UpdateWorkloadOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateWorkloadCommand, serializeAws_restJson1UpdateWorkloadCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateWorkloadCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateWorkloadCommand = (function (_super) {
7
+ __extends(UpdateWorkloadCommand, _super);
8
+ function UpdateWorkloadCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateWorkloadCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "UpdateWorkloadCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "UpdateWorkloadCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateWorkloadInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateWorkloadOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateWorkloadCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateWorkloadCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateWorkloadCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateWorkloadCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateWorkloadCommand;
38
+ }($Command));
39
+ export { UpdateWorkloadCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateWorkloadShareInputFilterSensitiveLog, UpdateWorkloadShareOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateWorkloadShareCommand, serializeAws_restJson1UpdateWorkloadShareCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateWorkloadShareCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateWorkloadShareCommand = (function (_super) {
7
+ __extends(UpdateWorkloadShareCommand, _super);
8
+ function UpdateWorkloadShareCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateWorkloadShareCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WellArchitectedClient";
15
- const commandName = "UpdateWorkloadShareCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WellArchitectedClient";
18
+ var commandName = "UpdateWorkloadShareCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateWorkloadShareInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateWorkloadShareOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateWorkloadShareCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateWorkloadShareCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateWorkloadShareCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateWorkloadShareCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateWorkloadShareCommand;
38
+ }($Command));
39
+ export { UpdateWorkloadShareCommand };