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