@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,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchRelatedItemsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class SearchRelatedItemsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectCasesClient";
18
+ const commandName = "SearchRelatedItemsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SearchRelatedItemsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SearchRelatedItemsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SearchRelatedItemsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SearchRelatedItemsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.SearchRelatedItemsCommand = SearchRelatedItemsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class TagResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectCasesClient";
18
+ const commandName = "TagResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.TagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UntagResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectCasesClient";
18
+ const commandName = "UntagResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UntagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateCaseCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateCaseCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectCasesClient";
18
+ const commandName = "UpdateCaseCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateCaseRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateCaseResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateCaseCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateCaseCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateCaseCommand = UpdateCaseCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateFieldCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateFieldCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectCasesClient";
18
+ const commandName = "UpdateFieldCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateFieldRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateFieldResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFieldCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFieldCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateFieldCommand = UpdateFieldCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateLayoutCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateLayoutCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectCasesClient";
18
+ const commandName = "UpdateLayoutCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateLayoutRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateLayoutResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateLayoutCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateLayoutCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateLayoutCommand = UpdateLayoutCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateTemplateCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateTemplateCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectCasesClient";
18
+ const commandName = "UpdateTemplateCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateTemplateRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateTemplateResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateTemplateCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateTemplateCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateTemplateCommand = UpdateTemplateCommand;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./BatchGetFieldCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchPutFieldOptionsCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateCaseCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateDomainCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateFieldCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateLayoutCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateRelatedItemCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateTemplateCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetCaseCommand"), exports);
13
+ tslib_1.__exportStar(require("./GetCaseEventConfigurationCommand"), exports);
14
+ tslib_1.__exportStar(require("./GetDomainCommand"), exports);
15
+ tslib_1.__exportStar(require("./GetLayoutCommand"), exports);
16
+ tslib_1.__exportStar(require("./GetTemplateCommand"), exports);
17
+ tslib_1.__exportStar(require("./ListCasesForContactCommand"), exports);
18
+ tslib_1.__exportStar(require("./ListDomainsCommand"), exports);
19
+ tslib_1.__exportStar(require("./ListFieldOptionsCommand"), exports);
20
+ tslib_1.__exportStar(require("./ListFieldsCommand"), exports);
21
+ tslib_1.__exportStar(require("./ListLayoutsCommand"), exports);
22
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
23
+ tslib_1.__exportStar(require("./ListTemplatesCommand"), exports);
24
+ tslib_1.__exportStar(require("./PutCaseEventConfigurationCommand"), exports);
25
+ tslib_1.__exportStar(require("./SearchCasesCommand"), exports);
26
+ tslib_1.__exportStar(require("./SearchRelatedItemsCommand"), exports);
27
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
28
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
29
+ tslib_1.__exportStar(require("./UpdateCaseCommand"), exports);
30
+ tslib_1.__exportStar(require("./UpdateFieldCommand"), exports);
31
+ tslib_1.__exportStar(require("./UpdateLayoutCommand"), exports);
32
+ tslib_1.__exportStar(require("./UpdateTemplateCommand"), exports);
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultRegionInfoProvider = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const regionHash = {};
6
+ const partitionHash = {
7
+ aws: {
8
+ regions: [
9
+ "af-south-1",
10
+ "ap-east-1",
11
+ "ap-northeast-1",
12
+ "ap-northeast-2",
13
+ "ap-northeast-3",
14
+ "ap-south-1",
15
+ "ap-southeast-1",
16
+ "ap-southeast-2",
17
+ "ap-southeast-3",
18
+ "ca-central-1",
19
+ "eu-central-1",
20
+ "eu-north-1",
21
+ "eu-south-1",
22
+ "eu-west-1",
23
+ "eu-west-2",
24
+ "eu-west-3",
25
+ "me-central-1",
26
+ "me-south-1",
27
+ "sa-east-1",
28
+ "us-east-1",
29
+ "us-east-2",
30
+ "us-west-1",
31
+ "us-west-2",
32
+ ],
33
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
34
+ variants: [
35
+ {
36
+ hostname: "cases.{region}.amazonaws.com",
37
+ tags: [],
38
+ },
39
+ {
40
+ hostname: "cases-fips.{region}.amazonaws.com",
41
+ tags: ["fips"],
42
+ },
43
+ {
44
+ hostname: "cases-fips.{region}.api.aws",
45
+ tags: ["dualstack", "fips"],
46
+ },
47
+ {
48
+ hostname: "cases.{region}.api.aws",
49
+ tags: ["dualstack"],
50
+ },
51
+ ],
52
+ },
53
+ "aws-cn": {
54
+ regions: ["cn-north-1", "cn-northwest-1"],
55
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
56
+ variants: [
57
+ {
58
+ hostname: "cases.{region}.amazonaws.com.cn",
59
+ tags: [],
60
+ },
61
+ {
62
+ hostname: "cases-fips.{region}.amazonaws.com.cn",
63
+ tags: ["fips"],
64
+ },
65
+ {
66
+ hostname: "cases-fips.{region}.api.amazonwebservices.com.cn",
67
+ tags: ["dualstack", "fips"],
68
+ },
69
+ {
70
+ hostname: "cases.{region}.api.amazonwebservices.com.cn",
71
+ tags: ["dualstack"],
72
+ },
73
+ ],
74
+ },
75
+ "aws-iso": {
76
+ regions: ["us-iso-east-1", "us-iso-west-1"],
77
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
78
+ variants: [
79
+ {
80
+ hostname: "cases.{region}.c2s.ic.gov",
81
+ tags: [],
82
+ },
83
+ {
84
+ hostname: "cases-fips.{region}.c2s.ic.gov",
85
+ tags: ["fips"],
86
+ },
87
+ ],
88
+ },
89
+ "aws-iso-b": {
90
+ regions: ["us-isob-east-1"],
91
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
92
+ variants: [
93
+ {
94
+ hostname: "cases.{region}.sc2s.sgov.gov",
95
+ tags: [],
96
+ },
97
+ {
98
+ hostname: "cases-fips.{region}.sc2s.sgov.gov",
99
+ tags: ["fips"],
100
+ },
101
+ ],
102
+ },
103
+ "aws-us-gov": {
104
+ regions: ["us-gov-east-1", "us-gov-west-1"],
105
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
106
+ variants: [
107
+ {
108
+ hostname: "cases.{region}.amazonaws.com",
109
+ tags: [],
110
+ },
111
+ {
112
+ hostname: "cases-fips.{region}.amazonaws.com",
113
+ tags: ["fips"],
114
+ },
115
+ {
116
+ hostname: "cases-fips.{region}.api.aws",
117
+ tags: ["dualstack", "fips"],
118
+ },
119
+ {
120
+ hostname: "cases.{region}.api.aws",
121
+ tags: ["dualstack"],
122
+ },
123
+ ],
124
+ },
125
+ };
126
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
127
+ ...options,
128
+ signingService: "cases",
129
+ regionHash,
130
+ partitionHash,
131
+ });
132
+ exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectCasesServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./ConnectCases"), exports);
6
+ tslib_1.__exportStar(require("./ConnectCasesClient"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./models"), exports);
9
+ tslib_1.__exportStar(require("./pagination"), exports);
10
+ var ConnectCasesServiceException_1 = require("./models/ConnectCasesServiceException");
11
+ Object.defineProperty(exports, "ConnectCasesServiceException", { enumerable: true, get: function () { return ConnectCasesServiceException_1.ConnectCasesServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectCasesServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ConnectCasesServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ConnectCasesServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ConnectCasesServiceException = ConnectCasesServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);