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