@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 { DeleteWorkloadShareInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteWorkloadShareCommand, serializeAws_restJson1DeleteWorkloadShareCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteWorkloadShareCommand = (function (_super) {
7
- __extends(DeleteWorkloadShareCommand, _super);
8
- function DeleteWorkloadShareCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteWorkloadShareCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteWorkloadShareCommand.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 = "DeleteWorkloadShareCommand";
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 = "DeleteWorkloadShareCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteWorkloadShareInputFilterSensitiveLog,
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
- DeleteWorkloadShareCommand.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_restJson1DeleteWorkloadShareCommand(input, context);
33
- };
34
- DeleteWorkloadShareCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteWorkloadShareCommand(output, context);
36
- };
37
- return DeleteWorkloadShareCommand;
38
- }($Command));
39
- export { DeleteWorkloadShareCommand };
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 { DisassociateLensesInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateLensesCommand, serializeAws_restJson1DisassociateLensesCommand, } from "../protocols/Aws_restJson1";
6
- var DisassociateLensesCommand = (function (_super) {
7
- __extends(DisassociateLensesCommand, _super);
8
- function DisassociateLensesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateLensesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateLensesCommand.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 = "DisassociateLensesCommand";
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 = "DisassociateLensesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateLensesInputFilterSensitiveLog,
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
- DisassociateLensesCommand.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_restJson1DisassociateLensesCommand(input, context);
33
- };
34
- DisassociateLensesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateLensesCommand(output, context);
36
- };
37
- return DisassociateLensesCommand;
38
- }($Command));
39
- export { DisassociateLensesCommand };
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 { ExportLensInputFilterSensitiveLog, ExportLensOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ExportLensCommand, serializeAws_restJson1ExportLensCommand, } from "../protocols/Aws_restJson1";
6
- var ExportLensCommand = (function (_super) {
7
- __extends(ExportLensCommand, _super);
8
- function ExportLensCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ExportLensCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ExportLensCommand.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 = "ExportLensCommand";
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 = "ExportLensCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ExportLensInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ExportLensOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ExportLensCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ExportLensCommand(input, context);
33
- };
34
- ExportLensCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ExportLensCommand(output, context);
36
- };
37
- return ExportLensCommand;
38
- }($Command));
39
- export { ExportLensCommand };
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 { GetAnswerInputFilterSensitiveLog, GetAnswerOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetAnswerCommand, serializeAws_restJson1GetAnswerCommand, } from "../protocols/Aws_restJson1";
6
- var GetAnswerCommand = (function (_super) {
7
- __extends(GetAnswerCommand, _super);
8
- function GetAnswerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAnswerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAnswerCommand.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 = "GetAnswerCommand";
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 = "GetAnswerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAnswerInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAnswerOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAnswerCommand.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_restJson1GetAnswerCommand(input, context);
33
- };
34
- GetAnswerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetAnswerCommand(output, context);
36
- };
37
- return GetAnswerCommand;
38
- }($Command));
39
- export { GetAnswerCommand };
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 { GetLensInputFilterSensitiveLog, GetLensOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetLensCommand, serializeAws_restJson1GetLensCommand, } from "../protocols/Aws_restJson1";
6
- var GetLensCommand = (function (_super) {
7
- __extends(GetLensCommand, _super);
8
- function GetLensCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLensCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLensCommand.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 = "GetLensCommand";
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 = "GetLensCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLensInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLensOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLensCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetLensCommand(input, context);
33
- };
34
- GetLensCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetLensCommand(output, context);
36
- };
37
- return GetLensCommand;
38
- }($Command));
39
- export { GetLensCommand };
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 { GetLensReviewInputFilterSensitiveLog, GetLensReviewOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetLensReviewCommand, serializeAws_restJson1GetLensReviewCommand, } from "../protocols/Aws_restJson1";
6
- var GetLensReviewCommand = (function (_super) {
7
- __extends(GetLensReviewCommand, _super);
8
- function GetLensReviewCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLensReviewCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLensReviewCommand.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 = "GetLensReviewCommand";
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 = "GetLensReviewCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLensReviewInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLensReviewOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLensReviewCommand.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_restJson1GetLensReviewCommand(input, context);
33
- };
34
- GetLensReviewCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetLensReviewCommand(output, context);
36
- };
37
- return GetLensReviewCommand;
38
- }($Command));
39
- export { GetLensReviewCommand };
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 { GetLensReviewReportInputFilterSensitiveLog, GetLensReviewReportOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetLensReviewReportCommand, serializeAws_restJson1GetLensReviewReportCommand, } from "../protocols/Aws_restJson1";
6
- var GetLensReviewReportCommand = (function (_super) {
7
- __extends(GetLensReviewReportCommand, _super);
8
- function GetLensReviewReportCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLensReviewReportCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLensReviewReportCommand.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 = "GetLensReviewReportCommand";
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 = "GetLensReviewReportCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLensReviewReportInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLensReviewReportOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLensReviewReportCommand.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_restJson1GetLensReviewReportCommand(input, context);
33
- };
34
- GetLensReviewReportCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetLensReviewReportCommand(output, context);
36
- };
37
- return GetLensReviewReportCommand;
38
- }($Command));
39
- export { GetLensReviewReportCommand };
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 { GetLensVersionDifferenceInputFilterSensitiveLog, GetLensVersionDifferenceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetLensVersionDifferenceCommand, serializeAws_restJson1GetLensVersionDifferenceCommand, } from "../protocols/Aws_restJson1";
6
- var GetLensVersionDifferenceCommand = (function (_super) {
7
- __extends(GetLensVersionDifferenceCommand, _super);
8
- function GetLensVersionDifferenceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLensVersionDifferenceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLensVersionDifferenceCommand.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 = "GetLensVersionDifferenceCommand";
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 = "GetLensVersionDifferenceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLensVersionDifferenceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLensVersionDifferenceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLensVersionDifferenceCommand.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_restJson1GetLensVersionDifferenceCommand(input, context);
33
- };
34
- GetLensVersionDifferenceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetLensVersionDifferenceCommand(output, context);
36
- };
37
- return GetLensVersionDifferenceCommand;
38
- }($Command));
39
- export { GetLensVersionDifferenceCommand };
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 { GetMilestoneInputFilterSensitiveLog, GetMilestoneOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetMilestoneCommand, serializeAws_restJson1GetMilestoneCommand, } from "../protocols/Aws_restJson1";
6
- var GetMilestoneCommand = (function (_super) {
7
- __extends(GetMilestoneCommand, _super);
8
- function GetMilestoneCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetMilestoneCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetMilestoneCommand.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 = "GetMilestoneCommand";
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 = "GetMilestoneCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetMilestoneInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetMilestoneOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetMilestoneCommand.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_restJson1GetMilestoneCommand(input, context);
33
- };
34
- GetMilestoneCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetMilestoneCommand(output, context);
36
- };
37
- return GetMilestoneCommand;
38
- }($Command));
39
- export { GetMilestoneCommand };
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 { GetWorkloadInputFilterSensitiveLog, GetWorkloadOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetWorkloadCommand, serializeAws_restJson1GetWorkloadCommand, } from "../protocols/Aws_restJson1";
6
- var GetWorkloadCommand = (function (_super) {
7
- __extends(GetWorkloadCommand, _super);
8
- function GetWorkloadCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetWorkloadCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetWorkloadCommand.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 = "GetWorkloadCommand";
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 = "GetWorkloadCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetWorkloadInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetWorkloadOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetWorkloadCommand.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_restJson1GetWorkloadCommand(input, context);
33
- };
34
- GetWorkloadCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetWorkloadCommand(output, context);
36
- };
37
- return GetWorkloadCommand;
38
- }($Command));
39
- export { GetWorkloadCommand };
31
+ }
32
+ }