@aws-sdk/client-connectcases 3.184.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 (216) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +210 -0
  4. package/dist-cjs/ConnectCases.js +442 -0
  5. package/dist-cjs/ConnectCasesClient.js +37 -0
  6. package/dist-cjs/commands/BatchGetFieldCommand.js +36 -0
  7. package/dist-cjs/commands/BatchPutFieldOptionsCommand.js +36 -0
  8. package/dist-cjs/commands/CreateCaseCommand.js +36 -0
  9. package/dist-cjs/commands/CreateDomainCommand.js +36 -0
  10. package/dist-cjs/commands/CreateFieldCommand.js +36 -0
  11. package/dist-cjs/commands/CreateLayoutCommand.js +36 -0
  12. package/dist-cjs/commands/CreateRelatedItemCommand.js +36 -0
  13. package/dist-cjs/commands/CreateTemplateCommand.js +36 -0
  14. package/dist-cjs/commands/GetCaseCommand.js +36 -0
  15. package/dist-cjs/commands/GetCaseEventConfigurationCommand.js +36 -0
  16. package/dist-cjs/commands/GetDomainCommand.js +36 -0
  17. package/dist-cjs/commands/GetLayoutCommand.js +36 -0
  18. package/dist-cjs/commands/GetTemplateCommand.js +36 -0
  19. package/dist-cjs/commands/ListCasesForContactCommand.js +36 -0
  20. package/dist-cjs/commands/ListDomainsCommand.js +36 -0
  21. package/dist-cjs/commands/ListFieldOptionsCommand.js +36 -0
  22. package/dist-cjs/commands/ListFieldsCommand.js +36 -0
  23. package/dist-cjs/commands/ListLayoutsCommand.js +36 -0
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  25. package/dist-cjs/commands/ListTemplatesCommand.js +36 -0
  26. package/dist-cjs/commands/PutCaseEventConfigurationCommand.js +36 -0
  27. package/dist-cjs/commands/SearchCasesCommand.js +36 -0
  28. package/dist-cjs/commands/SearchRelatedItemsCommand.js +36 -0
  29. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  30. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  31. package/dist-cjs/commands/UpdateCaseCommand.js +36 -0
  32. package/dist-cjs/commands/UpdateFieldCommand.js +36 -0
  33. package/dist-cjs/commands/UpdateLayoutCommand.js +36 -0
  34. package/dist-cjs/commands/UpdateTemplateCommand.js +36 -0
  35. package/dist-cjs/commands/index.js +32 -0
  36. package/dist-cjs/endpoints.js +132 -0
  37. package/dist-cjs/index.js +11 -0
  38. package/dist-cjs/models/ConnectCasesServiceException.js +11 -0
  39. package/dist-cjs/models/index.js +4 -0
  40. package/dist-cjs/models/models_0.js +661 -0
  41. package/dist-cjs/pagination/GetCasePaginator.js +35 -0
  42. package/dist-cjs/pagination/Interfaces.js +2 -0
  43. package/dist-cjs/pagination/ListCasesForContactPaginator.js +36 -0
  44. package/dist-cjs/pagination/ListDomainsPaginator.js +36 -0
  45. package/dist-cjs/pagination/ListFieldOptionsPaginator.js +36 -0
  46. package/dist-cjs/pagination/ListFieldsPaginator.js +36 -0
  47. package/dist-cjs/pagination/ListLayoutsPaginator.js +36 -0
  48. package/dist-cjs/pagination/ListTemplatesPaginator.js +36 -0
  49. package/dist-cjs/pagination/SearchCasesPaginator.js +36 -0
  50. package/dist-cjs/pagination/SearchRelatedItemsPaginator.js +36 -0
  51. package/dist-cjs/pagination/index.js +13 -0
  52. package/dist-cjs/protocols/Aws_restJson1.js +2920 -0
  53. package/dist-cjs/runtimeConfig.browser.js +45 -0
  54. package/dist-cjs/runtimeConfig.js +52 -0
  55. package/dist-cjs/runtimeConfig.native.js +16 -0
  56. package/dist-cjs/runtimeConfig.shared.js +17 -0
  57. package/dist-es/ConnectCases.js +438 -0
  58. package/dist-es/ConnectCasesClient.js +33 -0
  59. package/dist-es/commands/BatchGetFieldCommand.js +32 -0
  60. package/dist-es/commands/BatchPutFieldOptionsCommand.js +32 -0
  61. package/dist-es/commands/CreateCaseCommand.js +32 -0
  62. package/dist-es/commands/CreateDomainCommand.js +32 -0
  63. package/dist-es/commands/CreateFieldCommand.js +32 -0
  64. package/dist-es/commands/CreateLayoutCommand.js +32 -0
  65. package/dist-es/commands/CreateRelatedItemCommand.js +32 -0
  66. package/dist-es/commands/CreateTemplateCommand.js +32 -0
  67. package/dist-es/commands/GetCaseCommand.js +32 -0
  68. package/dist-es/commands/GetCaseEventConfigurationCommand.js +32 -0
  69. package/dist-es/commands/GetDomainCommand.js +32 -0
  70. package/dist-es/commands/GetLayoutCommand.js +32 -0
  71. package/dist-es/commands/GetTemplateCommand.js +32 -0
  72. package/dist-es/commands/ListCasesForContactCommand.js +32 -0
  73. package/dist-es/commands/ListDomainsCommand.js +32 -0
  74. package/dist-es/commands/ListFieldOptionsCommand.js +32 -0
  75. package/dist-es/commands/ListFieldsCommand.js +32 -0
  76. package/dist-es/commands/ListLayoutsCommand.js +32 -0
  77. package/dist-es/commands/ListTagsForResourceCommand.js +32 -0
  78. package/dist-es/commands/ListTemplatesCommand.js +32 -0
  79. package/dist-es/commands/PutCaseEventConfigurationCommand.js +32 -0
  80. package/dist-es/commands/SearchCasesCommand.js +32 -0
  81. package/dist-es/commands/SearchRelatedItemsCommand.js +32 -0
  82. package/dist-es/commands/TagResourceCommand.js +32 -0
  83. package/dist-es/commands/UntagResourceCommand.js +32 -0
  84. package/dist-es/commands/UpdateCaseCommand.js +32 -0
  85. package/dist-es/commands/UpdateFieldCommand.js +32 -0
  86. package/dist-es/commands/UpdateLayoutCommand.js +32 -0
  87. package/dist-es/commands/UpdateTemplateCommand.js +32 -0
  88. package/dist-es/commands/index.js +29 -0
  89. package/dist-es/endpoints.js +128 -0
  90. package/dist-es/index.js +6 -0
  91. package/dist-es/models/ConnectCasesServiceException.js +7 -0
  92. package/dist-es/models/index.js +1 -0
  93. package/dist-es/models/models_0.js +556 -0
  94. package/dist-es/pagination/GetCasePaginator.js +31 -0
  95. package/dist-es/pagination/Interfaces.js +1 -0
  96. package/dist-es/pagination/ListCasesForContactPaginator.js +32 -0
  97. package/dist-es/pagination/ListDomainsPaginator.js +32 -0
  98. package/dist-es/pagination/ListFieldOptionsPaginator.js +32 -0
  99. package/dist-es/pagination/ListFieldsPaginator.js +32 -0
  100. package/dist-es/pagination/ListLayoutsPaginator.js +32 -0
  101. package/dist-es/pagination/ListTemplatesPaginator.js +32 -0
  102. package/dist-es/pagination/SearchCasesPaginator.js +32 -0
  103. package/dist-es/pagination/SearchRelatedItemsPaginator.js +32 -0
  104. package/dist-es/pagination/index.js +10 -0
  105. package/dist-es/protocols/Aws_restJson1.js +2853 -0
  106. package/dist-es/runtimeConfig.browser.js +40 -0
  107. package/dist-es/runtimeConfig.js +48 -0
  108. package/dist-es/runtimeConfig.native.js +11 -0
  109. package/dist-es/runtimeConfig.shared.js +10 -0
  110. package/dist-types/ConnectCases.d.ts +276 -0
  111. package/dist-types/ConnectCasesClient.d.ts +178 -0
  112. package/dist-types/commands/BatchGetFieldCommand.d.ts +35 -0
  113. package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +36 -0
  114. package/dist-types/commands/CreateCaseCommand.d.ts +40 -0
  115. package/dist-types/commands/CreateDomainCommand.d.ts +42 -0
  116. package/dist-types/commands/CreateFieldCommand.d.ts +36 -0
  117. package/dist-types/commands/CreateLayoutCommand.d.ts +48 -0
  118. package/dist-types/commands/CreateRelatedItemCommand.d.ts +43 -0
  119. package/dist-types/commands/CreateTemplateCommand.d.ts +38 -0
  120. package/dist-types/commands/GetCaseCommand.d.ts +35 -0
  121. package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +35 -0
  122. package/dist-types/commands/GetDomainCommand.d.ts +35 -0
  123. package/dist-types/commands/GetLayoutCommand.d.ts +35 -0
  124. package/dist-types/commands/GetTemplateCommand.d.ts +35 -0
  125. package/dist-types/commands/ListCasesForContactCommand.d.ts +35 -0
  126. package/dist-types/commands/ListDomainsCommand.d.ts +36 -0
  127. package/dist-types/commands/ListFieldOptionsCommand.d.ts +35 -0
  128. package/dist-types/commands/ListFieldsCommand.d.ts +35 -0
  129. package/dist-types/commands/ListLayoutsCommand.d.ts +36 -0
  130. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  131. package/dist-types/commands/ListTemplatesCommand.d.ts +36 -0
  132. package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +35 -0
  133. package/dist-types/commands/SearchCasesCommand.d.ts +36 -0
  134. package/dist-types/commands/SearchRelatedItemsCommand.d.ts +39 -0
  135. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  136. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  137. package/dist-types/commands/UpdateCaseCommand.d.ts +38 -0
  138. package/dist-types/commands/UpdateFieldCommand.d.ts +35 -0
  139. package/dist-types/commands/UpdateLayoutCommand.d.ts +43 -0
  140. package/dist-types/commands/UpdateTemplateCommand.d.ts +39 -0
  141. package/dist-types/commands/index.d.ts +29 -0
  142. package/dist-types/endpoints.d.ts +2 -0
  143. package/dist-types/index.d.ts +6 -0
  144. package/dist-types/models/ConnectCasesServiceException.d.ts +10 -0
  145. package/dist-types/models/index.d.ts +1 -0
  146. package/dist-types/models/models_0.d.ts +1985 -0
  147. package/dist-types/pagination/GetCasePaginator.d.ts +4 -0
  148. package/dist-types/pagination/Interfaces.d.ts +6 -0
  149. package/dist-types/pagination/ListCasesForContactPaginator.d.ts +4 -0
  150. package/dist-types/pagination/ListDomainsPaginator.d.ts +4 -0
  151. package/dist-types/pagination/ListFieldOptionsPaginator.d.ts +4 -0
  152. package/dist-types/pagination/ListFieldsPaginator.d.ts +4 -0
  153. package/dist-types/pagination/ListLayoutsPaginator.d.ts +4 -0
  154. package/dist-types/pagination/ListTemplatesPaginator.d.ts +4 -0
  155. package/dist-types/pagination/SearchCasesPaginator.d.ts +4 -0
  156. package/dist-types/pagination/SearchRelatedItemsPaginator.d.ts +4 -0
  157. package/dist-types/pagination/index.d.ts +10 -0
  158. package/dist-types/protocols/Aws_restJson1.d.ts +89 -0
  159. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  160. package/dist-types/runtimeConfig.d.ts +40 -0
  161. package/dist-types/runtimeConfig.native.d.ts +39 -0
  162. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  163. package/dist-types/ts3.4/ConnectCases.d.ts +497 -0
  164. package/dist-types/ts3.4/ConnectCasesClient.d.ts +279 -0
  165. package/dist-types/ts3.4/commands/BatchGetFieldCommand.d.ts +35 -0
  166. package/dist-types/ts3.4/commands/BatchPutFieldOptionsCommand.d.ts +39 -0
  167. package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +32 -0
  168. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +32 -0
  169. package/dist-types/ts3.4/commands/CreateFieldCommand.d.ts +32 -0
  170. package/dist-types/ts3.4/commands/CreateLayoutCommand.d.ts +32 -0
  171. package/dist-types/ts3.4/commands/CreateRelatedItemCommand.d.ts +36 -0
  172. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +35 -0
  173. package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +32 -0
  174. package/dist-types/ts3.4/commands/GetCaseEventConfigurationCommand.d.ts +39 -0
  175. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +32 -0
  176. package/dist-types/ts3.4/commands/GetLayoutCommand.d.ts +32 -0
  177. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +32 -0
  178. package/dist-types/ts3.4/commands/ListCasesForContactCommand.d.ts +36 -0
  179. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +32 -0
  180. package/dist-types/ts3.4/commands/ListFieldOptionsCommand.d.ts +35 -0
  181. package/dist-types/ts3.4/commands/ListFieldsCommand.d.ts +32 -0
  182. package/dist-types/ts3.4/commands/ListLayoutsCommand.d.ts +32 -0
  183. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
  184. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +35 -0
  185. package/dist-types/ts3.4/commands/PutCaseEventConfigurationCommand.d.ts +39 -0
  186. package/dist-types/ts3.4/commands/SearchCasesCommand.d.ts +32 -0
  187. package/dist-types/ts3.4/commands/SearchRelatedItemsCommand.d.ts +36 -0
  188. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +30 -0
  189. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +30 -0
  190. package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +32 -0
  191. package/dist-types/ts3.4/commands/UpdateFieldCommand.d.ts +32 -0
  192. package/dist-types/ts3.4/commands/UpdateLayoutCommand.d.ts +32 -0
  193. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +35 -0
  194. package/dist-types/ts3.4/commands/index.d.ts +29 -0
  195. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  196. package/dist-types/ts3.4/index.d.ts +6 -0
  197. package/dist-types/ts3.4/models/ConnectCasesServiceException.d.ts +7 -0
  198. package/dist-types/ts3.4/models/index.d.ts +1 -0
  199. package/dist-types/ts3.4/models/models_0.d.ts +988 -0
  200. package/dist-types/ts3.4/pagination/GetCasePaginator.d.ts +11 -0
  201. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  202. package/dist-types/ts3.4/pagination/ListCasesForContactPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +11 -0
  204. package/dist-types/ts3.4/pagination/ListFieldOptionsPaginator.d.ts +11 -0
  205. package/dist-types/ts3.4/pagination/ListFieldsPaginator.d.ts +11 -0
  206. package/dist-types/ts3.4/pagination/ListLayoutsPaginator.d.ts +11 -0
  207. package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
  208. package/dist-types/ts3.4/pagination/SearchCasesPaginator.d.ts +11 -0
  209. package/dist-types/ts3.4/pagination/SearchRelatedItemsPaginator.d.ts +11 -0
  210. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  211. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +353 -0
  212. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -0
  213. package/dist-types/ts3.4/runtimeConfig.d.ts +67 -0
  214. package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -0
  215. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -0
  216. package/package.json +102 -0
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { BatchPutFieldOptionsRequestFilterSensitiveLog, BatchPutFieldOptionsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1BatchPutFieldOptionsCommand, serializeAws_restJson1BatchPutFieldOptionsCommand, } from "../protocols/Aws_restJson1";
5
+ export class BatchPutFieldOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "BatchPutFieldOptionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: BatchPutFieldOptionsRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: BatchPutFieldOptionsResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1BatchPutFieldOptionsCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1BatchPutFieldOptionsCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { CreateCaseRequestFilterSensitiveLog, CreateCaseResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1CreateCaseCommand, serializeAws_restJson1CreateCaseCommand, } from "../protocols/Aws_restJson1";
5
+ export class CreateCaseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "CreateCaseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: CreateCaseRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: CreateCaseResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1CreateCaseCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1CreateCaseCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { CreateDomainRequestFilterSensitiveLog, CreateDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1CreateDomainCommand, serializeAws_restJson1CreateDomainCommand, } from "../protocols/Aws_restJson1";
5
+ export class CreateDomainCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "CreateDomainCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: CreateDomainRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: CreateDomainResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1CreateDomainCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1CreateDomainCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { CreateFieldRequestFilterSensitiveLog, CreateFieldResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1CreateFieldCommand, serializeAws_restJson1CreateFieldCommand, } from "../protocols/Aws_restJson1";
5
+ export class CreateFieldCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "CreateFieldCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: CreateFieldRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: CreateFieldResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1CreateFieldCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1CreateFieldCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { CreateLayoutRequestFilterSensitiveLog, CreateLayoutResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1CreateLayoutCommand, serializeAws_restJson1CreateLayoutCommand, } from "../protocols/Aws_restJson1";
5
+ export class CreateLayoutCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "CreateLayoutCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: CreateLayoutRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: CreateLayoutResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1CreateLayoutCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1CreateLayoutCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { CreateRelatedItemRequestFilterSensitiveLog, CreateRelatedItemResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1CreateRelatedItemCommand, serializeAws_restJson1CreateRelatedItemCommand, } from "../protocols/Aws_restJson1";
5
+ export class CreateRelatedItemCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "CreateRelatedItemCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: CreateRelatedItemRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: CreateRelatedItemResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1CreateRelatedItemCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1CreateRelatedItemCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { CreateTemplateRequestFilterSensitiveLog, CreateTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1CreateTemplateCommand, serializeAws_restJson1CreateTemplateCommand, } from "../protocols/Aws_restJson1";
5
+ export class CreateTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "CreateTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: CreateTemplateRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: CreateTemplateResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1CreateTemplateCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1CreateTemplateCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { GetCaseRequestFilterSensitiveLog, GetCaseResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1GetCaseCommand, serializeAws_restJson1GetCaseCommand, } from "../protocols/Aws_restJson1";
5
+ export class GetCaseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "GetCaseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: GetCaseRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: GetCaseResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1GetCaseCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1GetCaseCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { GetCaseEventConfigurationRequestFilterSensitiveLog, GetCaseEventConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1GetCaseEventConfigurationCommand, serializeAws_restJson1GetCaseEventConfigurationCommand, } from "../protocols/Aws_restJson1";
5
+ export class GetCaseEventConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "GetCaseEventConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: GetCaseEventConfigurationRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: GetCaseEventConfigurationResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1GetCaseEventConfigurationCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1GetCaseEventConfigurationCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { GetDomainRequestFilterSensitiveLog, GetDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1GetDomainCommand, serializeAws_restJson1GetDomainCommand, } from "../protocols/Aws_restJson1";
5
+ export class GetDomainCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "GetDomainCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: GetDomainRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: GetDomainResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1GetDomainCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1GetDomainCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { GetLayoutRequestFilterSensitiveLog, GetLayoutResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1GetLayoutCommand, serializeAws_restJson1GetLayoutCommand, } from "../protocols/Aws_restJson1";
5
+ export class GetLayoutCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "GetLayoutCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: GetLayoutRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: GetLayoutResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1GetLayoutCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1GetLayoutCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { GetTemplateRequestFilterSensitiveLog, GetTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1GetTemplateCommand, serializeAws_restJson1GetTemplateCommand, } from "../protocols/Aws_restJson1";
5
+ export class GetTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "GetTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: GetTemplateRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: GetTemplateResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1GetTemplateCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1GetTemplateCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { ListCasesForContactRequestFilterSensitiveLog, ListCasesForContactResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1ListCasesForContactCommand, serializeAws_restJson1ListCasesForContactCommand, } from "../protocols/Aws_restJson1";
5
+ export class ListCasesForContactCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "ListCasesForContactCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: ListCasesForContactRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: ListCasesForContactResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1ListCasesForContactCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1ListCasesForContactCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { ListDomainsRequestFilterSensitiveLog, ListDomainsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1ListDomainsCommand, serializeAws_restJson1ListDomainsCommand, } from "../protocols/Aws_restJson1";
5
+ export class ListDomainsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "ListDomainsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: ListDomainsRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: ListDomainsResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1ListDomainsCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1ListDomainsCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { ListFieldOptionsRequestFilterSensitiveLog, ListFieldOptionsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1ListFieldOptionsCommand, serializeAws_restJson1ListFieldOptionsCommand, } from "../protocols/Aws_restJson1";
5
+ export class ListFieldOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "ListFieldOptionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: ListFieldOptionsRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: ListFieldOptionsResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1ListFieldOptionsCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1ListFieldOptionsCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { ListFieldsRequestFilterSensitiveLog, ListFieldsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1ListFieldsCommand, serializeAws_restJson1ListFieldsCommand, } from "../protocols/Aws_restJson1";
5
+ export class ListFieldsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "ListFieldsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: ListFieldsRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: ListFieldsResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1ListFieldsCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1ListFieldsCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { ListLayoutsRequestFilterSensitiveLog, ListLayoutsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1ListLayoutsCommand, serializeAws_restJson1ListLayoutsCommand, } from "../protocols/Aws_restJson1";
5
+ export class ListLayoutsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "ListLayoutsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: ListLayoutsRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: ListLayoutsResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1ListLayoutsCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1ListLayoutsCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { ListTemplatesRequestFilterSensitiveLog, ListTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { deserializeAws_restJson1ListTemplatesCommand, serializeAws_restJson1ListTemplatesCommand, } from "../protocols/Aws_restJson1";
5
+ export class ListTemplatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ resolveMiddleware(clientStack, configuration, options) {
11
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ConnectCasesClient";
15
+ const commandName = "ListTemplatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: ListTemplatesRequestFilterSensitiveLog,
21
+ outputFilterSensitiveLog: ListTemplatesResponseFilterSensitiveLog,
22
+ };
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
27
+ return serializeAws_restJson1ListTemplatesCommand(input, context);
28
+ }
29
+ deserialize(output, context) {
30
+ return deserializeAws_restJson1ListTemplatesCommand(output, context);
31
+ }
32
+ }