@aws-sdk/client-wellarchitected 3.181.0 → 3.183.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 +8 -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 { ImportLensInputFilterSensitiveLog, ImportLensOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  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;
5
+ export class ImportLensCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ImportLensCommand.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 = "ImportLensCommand";
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 = "ImportLensCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ImportLensInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ImportLensOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ImportLensCommand(input, context);
33
- };
34
- ImportLensCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ImportLensCommand(output, context);
36
- };
37
- return ImportLensCommand;
38
- }($Command));
39
- export { ImportLensCommand };
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 { ListAnswersInputFilterSensitiveLog, ListAnswersOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAnswersCommand, serializeAws_restJson1ListAnswersCommand, } from "../protocols/Aws_restJson1";
6
- var ListAnswersCommand = (function (_super) {
7
- __extends(ListAnswersCommand, _super);
8
- function ListAnswersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAnswersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAnswersCommand.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 = "ListAnswersCommand";
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 = "ListAnswersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAnswersInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAnswersOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAnswersCommand.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_restJson1ListAnswersCommand(input, context);
33
- };
34
- ListAnswersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAnswersCommand(output, context);
36
- };
37
- return ListAnswersCommand;
38
- }($Command));
39
- export { ListAnswersCommand };
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 { ListLensReviewImprovementsInputFilterSensitiveLog, ListLensReviewImprovementsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListLensReviewImprovementsCommand, serializeAws_restJson1ListLensReviewImprovementsCommand, } from "../protocols/Aws_restJson1";
6
- var ListLensReviewImprovementsCommand = (function (_super) {
7
- __extends(ListLensReviewImprovementsCommand, _super);
8
- function ListLensReviewImprovementsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLensReviewImprovementsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLensReviewImprovementsCommand.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 = "ListLensReviewImprovementsCommand";
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 = "ListLensReviewImprovementsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLensReviewImprovementsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLensReviewImprovementsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLensReviewImprovementsCommand.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_restJson1ListLensReviewImprovementsCommand(input, context);
33
- };
34
- ListLensReviewImprovementsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListLensReviewImprovementsCommand(output, context);
36
- };
37
- return ListLensReviewImprovementsCommand;
38
- }($Command));
39
- export { ListLensReviewImprovementsCommand };
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 { ListLensReviewsInputFilterSensitiveLog, ListLensReviewsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListLensReviewsCommand, serializeAws_restJson1ListLensReviewsCommand, } from "../protocols/Aws_restJson1";
6
- var ListLensReviewsCommand = (function (_super) {
7
- __extends(ListLensReviewsCommand, _super);
8
- function ListLensReviewsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLensReviewsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLensReviewsCommand.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 = "ListLensReviewsCommand";
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 = "ListLensReviewsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLensReviewsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLensReviewsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLensReviewsCommand.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_restJson1ListLensReviewsCommand(input, context);
33
- };
34
- ListLensReviewsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListLensReviewsCommand(output, context);
36
- };
37
- return ListLensReviewsCommand;
38
- }($Command));
39
- export { ListLensReviewsCommand };
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 { ListLensSharesInputFilterSensitiveLog, ListLensSharesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  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;
5
+ export class ListLensSharesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLensSharesCommand.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 = "ListLensSharesCommand";
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 = "ListLensSharesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLensSharesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLensSharesOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListLensSharesCommand(input, context);
33
- };
34
- ListLensSharesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListLensSharesCommand(output, context);
36
- };
37
- return ListLensSharesCommand;
38
- }($Command));
39
- export { ListLensSharesCommand };
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 { ListLensesInputFilterSensitiveLog, ListLensesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListLensesCommand, serializeAws_restJson1ListLensesCommand, } from "../protocols/Aws_restJson1";
6
- var ListLensesCommand = (function (_super) {
7
- __extends(ListLensesCommand, _super);
8
- function ListLensesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLensesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLensesCommand.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 = "ListLensesCommand";
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 = "ListLensesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLensesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLensesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLensesCommand.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_restJson1ListLensesCommand(input, context);
33
- };
34
- ListLensesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListLensesCommand(output, context);
36
- };
37
- return ListLensesCommand;
38
- }($Command));
39
- export { ListLensesCommand };
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 { ListMilestonesInputFilterSensitiveLog, ListMilestonesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListMilestonesCommand, serializeAws_restJson1ListMilestonesCommand, } from "../protocols/Aws_restJson1";
6
- var ListMilestonesCommand = (function (_super) {
7
- __extends(ListMilestonesCommand, _super);
8
- function ListMilestonesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListMilestonesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListMilestonesCommand.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 = "ListMilestonesCommand";
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 = "ListMilestonesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListMilestonesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListMilestonesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListMilestonesCommand.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_restJson1ListMilestonesCommand(input, context);
33
- };
34
- ListMilestonesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListMilestonesCommand(output, context);
36
- };
37
- return ListMilestonesCommand;
38
- }($Command));
39
- export { ListMilestonesCommand };
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 { ListNotificationsInputFilterSensitiveLog, ListNotificationsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListNotificationsCommand, serializeAws_restJson1ListNotificationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListNotificationsCommand = (function (_super) {
7
- __extends(ListNotificationsCommand, _super);
8
- function ListNotificationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListNotificationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListNotificationsCommand.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 = "ListNotificationsCommand";
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 = "ListNotificationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListNotificationsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListNotificationsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListNotificationsCommand.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_restJson1ListNotificationsCommand(input, context);
33
- };
34
- ListNotificationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListNotificationsCommand(output, context);
36
- };
37
- return ListNotificationsCommand;
38
- }($Command));
39
- export { ListNotificationsCommand };
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 { ListShareInvitationsInputFilterSensitiveLog, ListShareInvitationsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListShareInvitationsCommand, serializeAws_restJson1ListShareInvitationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListShareInvitationsCommand = (function (_super) {
7
- __extends(ListShareInvitationsCommand, _super);
8
- function ListShareInvitationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListShareInvitationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListShareInvitationsCommand.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 = "ListShareInvitationsCommand";
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 = "ListShareInvitationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListShareInvitationsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListShareInvitationsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListShareInvitationsCommand.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_restJson1ListShareInvitationsCommand(input, context);
33
- };
34
- ListShareInvitationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListShareInvitationsCommand(output, context);
36
- };
37
- return ListShareInvitationsCommand;
38
- }($Command));
39
- export { ListShareInvitationsCommand };
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 { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.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_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }