@aws-sdk/client-wellarchitected 3.423.0 → 3.424.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 (99) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/WellArchitected.js +28 -0
  3. package/dist-cjs/commands/CreateReviewTemplateCommand.js +51 -0
  4. package/dist-cjs/commands/CreateTemplateShareCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteReviewTemplateCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteTemplateShareCommand.js +51 -0
  7. package/dist-cjs/commands/GetReviewTemplateAnswerCommand.js +51 -0
  8. package/dist-cjs/commands/GetReviewTemplateCommand.js +51 -0
  9. package/dist-cjs/commands/GetReviewTemplateLensReviewCommand.js +51 -0
  10. package/dist-cjs/commands/ListReviewTemplateAnswersCommand.js +51 -0
  11. package/dist-cjs/commands/ListReviewTemplatesCommand.js +51 -0
  12. package/dist-cjs/commands/ListTemplateSharesCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateReviewTemplateAnswerCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateReviewTemplateCommand.js +51 -0
  15. package/dist-cjs/commands/UpdateReviewTemplateLensReviewCommand.js +51 -0
  16. package/dist-cjs/commands/UpgradeReviewTemplateLensReviewCommand.js +51 -0
  17. package/dist-cjs/commands/index.js +14 -0
  18. package/dist-cjs/models/models_0.js +14 -1
  19. package/dist-cjs/pagination/ListReviewTemplateAnswersPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListReviewTemplatesPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListTemplateSharesPaginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +3 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +1098 -53
  24. package/dist-es/WellArchitected.js +28 -0
  25. package/dist-es/commands/CreateReviewTemplateCommand.js +47 -0
  26. package/dist-es/commands/CreateTemplateShareCommand.js +47 -0
  27. package/dist-es/commands/DeleteReviewTemplateCommand.js +47 -0
  28. package/dist-es/commands/DeleteTemplateShareCommand.js +47 -0
  29. package/dist-es/commands/GetReviewTemplateAnswerCommand.js +47 -0
  30. package/dist-es/commands/GetReviewTemplateCommand.js +47 -0
  31. package/dist-es/commands/GetReviewTemplateLensReviewCommand.js +47 -0
  32. package/dist-es/commands/ListReviewTemplateAnswersCommand.js +47 -0
  33. package/dist-es/commands/ListReviewTemplatesCommand.js +47 -0
  34. package/dist-es/commands/ListTemplateSharesCommand.js +47 -0
  35. package/dist-es/commands/UpdateReviewTemplateAnswerCommand.js +47 -0
  36. package/dist-es/commands/UpdateReviewTemplateCommand.js +47 -0
  37. package/dist-es/commands/UpdateReviewTemplateLensReviewCommand.js +47 -0
  38. package/dist-es/commands/UpgradeReviewTemplateLensReviewCommand.js +47 -0
  39. package/dist-es/commands/index.js +14 -0
  40. package/dist-es/models/models_0.js +13 -0
  41. package/dist-es/pagination/ListReviewTemplateAnswersPaginator.js +25 -0
  42. package/dist-es/pagination/ListReviewTemplatesPaginator.js +25 -0
  43. package/dist-es/pagination/ListTemplateSharesPaginator.js +25 -0
  44. package/dist-es/pagination/index.js +3 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1065 -48
  46. package/dist-types/WellArchitected.d.ts +98 -0
  47. package/dist-types/WellArchitectedClient.d.ts +16 -2
  48. package/dist-types/commands/CreateReviewTemplateCommand.d.ts +114 -0
  49. package/dist-types/commands/CreateTemplateShareCommand.d.ts +111 -0
  50. package/dist-types/commands/CreateWorkloadCommand.d.ts +26 -0
  51. package/dist-types/commands/DeleteReviewTemplateCommand.d.ts +94 -0
  52. package/dist-types/commands/DeleteTemplateShareCommand.d.ts +94 -0
  53. package/dist-types/commands/GetReviewTemplateAnswerCommand.d.ts +141 -0
  54. package/dist-types/commands/GetReviewTemplateCommand.d.ts +106 -0
  55. package/dist-types/commands/GetReviewTemplateLensReviewCommand.d.ts +112 -0
  56. package/dist-types/commands/ListNotificationsCommand.d.ts +3 -0
  57. package/dist-types/commands/ListReviewTemplateAnswersCommand.d.ts +141 -0
  58. package/dist-types/commands/ListReviewTemplatesCommand.d.ts +99 -0
  59. package/dist-types/commands/ListShareInvitationsCommand.d.ts +10 -3
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  61. package/dist-types/commands/ListTemplateSharesCommand.d.ts +101 -0
  62. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateReviewTemplateAnswerCommand.d.ts +157 -0
  65. package/dist-types/commands/UpdateReviewTemplateCommand.d.ts +118 -0
  66. package/dist-types/commands/UpdateReviewTemplateLensReviewCommand.d.ts +119 -0
  67. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
  68. package/dist-types/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +91 -0
  69. package/dist-types/commands/index.d.ts +14 -0
  70. package/dist-types/models/models_0.d.ts +1206 -103
  71. package/dist-types/pagination/ListReviewTemplateAnswersPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListReviewTemplatesPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListTemplateSharesPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +3 -0
  75. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  76. package/dist-types/ts3.4/WellArchitected.d.ts +238 -0
  77. package/dist-types/ts3.4/WellArchitectedClient.d.ts +86 -2
  78. package/dist-types/ts3.4/commands/CreateReviewTemplateCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/CreateTemplateShareCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/DeleteReviewTemplateCommand.d.ts +37 -0
  81. package/dist-types/ts3.4/commands/DeleteTemplateShareCommand.d.ts +34 -0
  82. package/dist-types/ts3.4/commands/GetReviewTemplateAnswerCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/GetReviewTemplateCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/GetReviewTemplateLensReviewCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/ListReviewTemplateAnswersCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/ListReviewTemplatesCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/ListTemplateSharesCommand.d.ts +39 -0
  88. package/dist-types/ts3.4/commands/UpdateReviewTemplateAnswerCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/UpdateReviewTemplateCommand.d.ts +42 -0
  90. package/dist-types/ts3.4/commands/UpdateReviewTemplateLensReviewCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +38 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +227 -0
  94. package/dist-types/ts3.4/pagination/ListReviewTemplateAnswersPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/ListReviewTemplatesPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListTemplateSharesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  99. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListReviewTemplateAnswersCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListReviewTemplateAnswersCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListReviewTemplateAnswersCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WellArchitectedClient";
29
+ const commandName = "ListReviewTemplateAnswersCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WellArchitectedApiServiceLambda",
38
+ operation: "ListReviewTemplateAnswers",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListReviewTemplateAnswersCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListReviewTemplateAnswersCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListReviewTemplateAnswersCommand = ListReviewTemplateAnswersCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListReviewTemplatesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListReviewTemplatesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListReviewTemplatesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WellArchitectedClient";
29
+ const commandName = "ListReviewTemplatesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WellArchitectedApiServiceLambda",
38
+ operation: "ListReviewTemplates",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListReviewTemplatesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListReviewTemplatesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListReviewTemplatesCommand = ListReviewTemplatesCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTemplateSharesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListTemplateSharesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTemplateSharesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WellArchitectedClient";
29
+ const commandName = "ListTemplateSharesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WellArchitectedApiServiceLambda",
38
+ operation: "ListTemplateShares",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListTemplateSharesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListTemplateSharesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListTemplateSharesCommand = ListTemplateSharesCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateReviewTemplateAnswerCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateReviewTemplateAnswerCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateReviewTemplateAnswerCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WellArchitectedClient";
29
+ const commandName = "UpdateReviewTemplateAnswerCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WellArchitectedApiServiceLambda",
38
+ operation: "UpdateReviewTemplateAnswer",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpdateReviewTemplateAnswerCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpdateReviewTemplateAnswerCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdateReviewTemplateAnswerCommand = UpdateReviewTemplateAnswerCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateReviewTemplateCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateReviewTemplateCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateReviewTemplateCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WellArchitectedClient";
29
+ const commandName = "UpdateReviewTemplateCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WellArchitectedApiServiceLambda",
38
+ operation: "UpdateReviewTemplate",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpdateReviewTemplateCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpdateReviewTemplateCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdateReviewTemplateCommand = UpdateReviewTemplateCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateReviewTemplateLensReviewCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateReviewTemplateLensReviewCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateReviewTemplateLensReviewCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WellArchitectedClient";
29
+ const commandName = "UpdateReviewTemplateLensReviewCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WellArchitectedApiServiceLambda",
38
+ operation: "UpdateReviewTemplateLensReview",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpdateReviewTemplateLensReviewCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpdateReviewTemplateLensReviewCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdateReviewTemplateLensReviewCommand = UpdateReviewTemplateLensReviewCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpgradeReviewTemplateLensReviewCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpgradeReviewTemplateLensReviewCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpgradeReviewTemplateLensReviewCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WellArchitectedClient";
29
+ const commandName = "UpgradeReviewTemplateLensReviewCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WellArchitectedApiServiceLambda",
38
+ operation: "UpgradeReviewTemplateLensReview",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpgradeReviewTemplateLensReviewCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpgradeReviewTemplateLensReviewCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpgradeReviewTemplateLensReviewCommand = UpgradeReviewTemplateLensReviewCommand;
@@ -8,12 +8,16 @@ tslib_1.__exportStar(require("./CreateLensVersionCommand"), exports);
8
8
  tslib_1.__exportStar(require("./CreateMilestoneCommand"), exports);
9
9
  tslib_1.__exportStar(require("./CreateProfileCommand"), exports);
10
10
  tslib_1.__exportStar(require("./CreateProfileShareCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateReviewTemplateCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateTemplateShareCommand"), exports);
11
13
  tslib_1.__exportStar(require("./CreateWorkloadCommand"), exports);
12
14
  tslib_1.__exportStar(require("./CreateWorkloadShareCommand"), exports);
13
15
  tslib_1.__exportStar(require("./DeleteLensCommand"), exports);
14
16
  tslib_1.__exportStar(require("./DeleteLensShareCommand"), exports);
15
17
  tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
16
18
  tslib_1.__exportStar(require("./DeleteProfileShareCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteReviewTemplateCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeleteTemplateShareCommand"), exports);
17
21
  tslib_1.__exportStar(require("./DeleteWorkloadCommand"), exports);
18
22
  tslib_1.__exportStar(require("./DeleteWorkloadShareCommand"), exports);
19
23
  tslib_1.__exportStar(require("./DisassociateLensesCommand"), exports);
@@ -28,6 +32,9 @@ tslib_1.__exportStar(require("./GetLensVersionDifferenceCommand"), exports);
28
32
  tslib_1.__exportStar(require("./GetMilestoneCommand"), exports);
29
33
  tslib_1.__exportStar(require("./GetProfileCommand"), exports);
30
34
  tslib_1.__exportStar(require("./GetProfileTemplateCommand"), exports);
35
+ tslib_1.__exportStar(require("./GetReviewTemplateAnswerCommand"), exports);
36
+ tslib_1.__exportStar(require("./GetReviewTemplateCommand"), exports);
37
+ tslib_1.__exportStar(require("./GetReviewTemplateLensReviewCommand"), exports);
31
38
  tslib_1.__exportStar(require("./GetWorkloadCommand"), exports);
32
39
  tslib_1.__exportStar(require("./ImportLensCommand"), exports);
33
40
  tslib_1.__exportStar(require("./ListAnswersCommand"), exports);
@@ -42,8 +49,11 @@ tslib_1.__exportStar(require("./ListNotificationsCommand"), exports);
42
49
  tslib_1.__exportStar(require("./ListProfileNotificationsCommand"), exports);
43
50
  tslib_1.__exportStar(require("./ListProfileSharesCommand"), exports);
44
51
  tslib_1.__exportStar(require("./ListProfilesCommand"), exports);
52
+ tslib_1.__exportStar(require("./ListReviewTemplateAnswersCommand"), exports);
53
+ tslib_1.__exportStar(require("./ListReviewTemplatesCommand"), exports);
45
54
  tslib_1.__exportStar(require("./ListShareInvitationsCommand"), exports);
46
55
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
56
+ tslib_1.__exportStar(require("./ListTemplateSharesCommand"), exports);
47
57
  tslib_1.__exportStar(require("./ListWorkloadSharesCommand"), exports);
48
58
  tslib_1.__exportStar(require("./ListWorkloadsCommand"), exports);
49
59
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
@@ -52,8 +62,12 @@ tslib_1.__exportStar(require("./UpdateAnswerCommand"), exports);
52
62
  tslib_1.__exportStar(require("./UpdateGlobalSettingsCommand"), exports);
53
63
  tslib_1.__exportStar(require("./UpdateLensReviewCommand"), exports);
54
64
  tslib_1.__exportStar(require("./UpdateProfileCommand"), exports);
65
+ tslib_1.__exportStar(require("./UpdateReviewTemplateAnswerCommand"), exports);
66
+ tslib_1.__exportStar(require("./UpdateReviewTemplateCommand"), exports);
67
+ tslib_1.__exportStar(require("./UpdateReviewTemplateLensReviewCommand"), exports);
55
68
  tslib_1.__exportStar(require("./UpdateShareInvitationCommand"), exports);
56
69
  tslib_1.__exportStar(require("./UpdateWorkloadCommand"), exports);
57
70
  tslib_1.__exportStar(require("./UpdateWorkloadShareCommand"), exports);
58
71
  tslib_1.__exportStar(require("./UpgradeLensReviewCommand"), exports);
59
72
  tslib_1.__exportStar(require("./UpgradeProfileVersionCommand"), exports);
73
+ tslib_1.__exportStar(require("./UpgradeReviewTemplateLensReviewCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShareInvitationAction = exports.OrganizationSharingStatus = exports.ShareResourceType = exports.ProfileOwnerType = exports.ProfileNotificationType = exports.NotificationType = exports.QuestionPriority = exports.LensType = exports.ShareStatus = exports.ImportLensStatus = exports.WorkloadImprovementStatus = exports.LensStatus = exports.ReportFormat = exports.DiscoveryIntegrationStatus = exports.DifferenceStatus = exports.LensStatusType = exports.PermissionType = exports.WorkloadEnvironment = exports.DefinitionType = exports.TrustedAdvisorIntegrationStatus = exports.ServiceQuotaExceededException = exports.MetricType = exports.CheckFailureReason = exports.CheckProvider = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.QuestionType = exports.Risk = exports.AnswerReason = exports.ChoiceStatus = exports.ChoiceReason = exports.AdditionalResourceType = exports.CheckStatus = exports.AccessDeniedException = void 0;
3
+ exports.ShareInvitationAction = exports.OrganizationSharingStatus = exports.ShareResourceType = exports.ProfileOwnerType = exports.ProfileNotificationType = exports.NotificationType = exports.QuestionPriority = exports.LensType = exports.ShareStatus = exports.ImportLensStatus = exports.ReviewTemplateAnswerStatus = exports.ReviewTemplateUpdateStatus = exports.Question = exports.WorkloadImprovementStatus = exports.LensStatus = exports.ReportFormat = exports.DiscoveryIntegrationStatus = exports.DifferenceStatus = exports.LensStatusType = exports.PermissionType = exports.WorkloadEnvironment = exports.DefinitionType = exports.TrustedAdvisorIntegrationStatus = exports.ServiceQuotaExceededException = exports.MetricType = exports.CheckFailureReason = exports.CheckProvider = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.QuestionType = exports.Risk = exports.AnswerReason = exports.ChoiceStatus = exports.ChoiceReason = exports.AdditionalResourceType = exports.CheckStatus = exports.AccessDeniedException = void 0;
4
4
  const WellArchitectedServiceException_1 = require("./WellArchitectedServiceException");
5
5
  class AccessDeniedException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
6
6
  constructor(opts) {
@@ -219,6 +219,18 @@ exports.WorkloadImprovementStatus = {
219
219
  NOT_STARTED: "NOT_STARTED",
220
220
  RISK_ACKNOWLEDGED: "RISK_ACKNOWLEDGED",
221
221
  };
222
+ exports.Question = {
223
+ ANSWERED: "ANSWERED",
224
+ UNANSWERED: "UNANSWERED",
225
+ };
226
+ exports.ReviewTemplateUpdateStatus = {
227
+ CURRENT: "CURRENT",
228
+ LENS_NOT_CURRENT: "LENS_NOT_CURRENT",
229
+ };
230
+ exports.ReviewTemplateAnswerStatus = {
231
+ ANSWERED: "ANSWERED",
232
+ UNANSWERED: "UNANSWERED",
233
+ };
222
234
  exports.ImportLensStatus = {
223
235
  COMPLETE: "COMPLETE",
224
236
  ERROR: "ERROR",
@@ -258,6 +270,7 @@ exports.ProfileOwnerType = {
258
270
  exports.ShareResourceType = {
259
271
  LENS: "LENS",
260
272
  PROFILE: "PROFILE",
273
+ TEMPLATE: "TEMPLATE",
261
274
  WORKLOAD: "WORKLOAD",
262
275
  };
263
276
  exports.OrganizationSharingStatus = {
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListReviewTemplateAnswers = void 0;
4
+ const ListReviewTemplateAnswersCommand_1 = require("../commands/ListReviewTemplateAnswersCommand");
5
+ const WellArchitectedClient_1 = require("../WellArchitectedClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListReviewTemplateAnswersCommand_1.ListReviewTemplateAnswersCommand(input), ...args);
8
+ };
9
+ async function* paginateListReviewTemplateAnswers(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof WellArchitectedClient_1.WellArchitectedClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListReviewTemplateAnswers = paginateListReviewTemplateAnswers;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListReviewTemplates = void 0;
4
+ const ListReviewTemplatesCommand_1 = require("../commands/ListReviewTemplatesCommand");
5
+ const WellArchitectedClient_1 = require("../WellArchitectedClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListReviewTemplatesCommand_1.ListReviewTemplatesCommand(input), ...args);
8
+ };
9
+ async function* paginateListReviewTemplates(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof WellArchitectedClient_1.WellArchitectedClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListReviewTemplates = paginateListReviewTemplates;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListTemplateShares = void 0;
4
+ const ListTemplateSharesCommand_1 = require("../commands/ListTemplateSharesCommand");
5
+ const WellArchitectedClient_1 = require("../WellArchitectedClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListTemplateSharesCommand_1.ListTemplateSharesCommand(input), ...args);
8
+ };
9
+ async function* paginateListTemplateShares(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof WellArchitectedClient_1.WellArchitectedClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListTemplateShares = paginateListTemplateShares;
@@ -15,6 +15,9 @@ tslib_1.__exportStar(require("./ListNotificationsPaginator"), exports);
15
15
  tslib_1.__exportStar(require("./ListProfileNotificationsPaginator"), exports);
16
16
  tslib_1.__exportStar(require("./ListProfileSharesPaginator"), exports);
17
17
  tslib_1.__exportStar(require("./ListProfilesPaginator"), exports);
18
+ tslib_1.__exportStar(require("./ListReviewTemplateAnswersPaginator"), exports);
19
+ tslib_1.__exportStar(require("./ListReviewTemplatesPaginator"), exports);
18
20
  tslib_1.__exportStar(require("./ListShareInvitationsPaginator"), exports);
21
+ tslib_1.__exportStar(require("./ListTemplateSharesPaginator"), exports);
19
22
  tslib_1.__exportStar(require("./ListWorkloadSharesPaginator"), exports);
20
23
  tslib_1.__exportStar(require("./ListWorkloadsPaginator"), exports);