@aws-sdk/client-connect 3.41.0 → 3.46.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 (196) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +2 -4
  3. package/dist-cjs/Connect.js +180 -0
  4. package/dist-cjs/commands/CreateContactFlowModuleCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteContactFlowCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +36 -0
  7. package/dist-cjs/commands/DescribeContactCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +36 -0
  9. package/dist-cjs/commands/ListContactFlowModulesCommand.js +36 -0
  10. package/dist-cjs/commands/ListContactReferencesCommand.js +36 -0
  11. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  12. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  13. package/dist-cjs/commands/UpdateAgentStatusCommand.js +2 -2
  14. package/dist-cjs/commands/UpdateContactAttributesCommand.js +3 -3
  15. package/dist-cjs/commands/UpdateContactCommand.js +36 -0
  16. package/dist-cjs/commands/UpdateContactFlowContentCommand.js +2 -2
  17. package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +36 -0
  19. package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +36 -0
  20. package/dist-cjs/commands/UpdateContactFlowNameCommand.js +2 -2
  21. package/dist-cjs/commands/UpdateContactScheduleCommand.js +36 -0
  22. package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +2 -2
  25. package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateQueueNameCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateQueueStatusCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +2 -2
  34. package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +2 -2
  35. package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +2 -2
  36. package/dist-cjs/commands/UpdateSecurityProfileCommand.js +2 -2
  37. package/dist-cjs/commands/UpdateUserHierarchyCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +2 -2
  39. package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +2 -2
  40. package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +2 -2
  41. package/dist-cjs/commands/index.js +12 -0
  42. package/dist-cjs/endpoints.js +1 -0
  43. package/dist-cjs/models/models_0.js +193 -178
  44. package/dist-cjs/models/models_1.js +223 -1
  45. package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +35 -0
  46. package/dist-cjs/pagination/ListContactReferencesPaginator.js +34 -0
  47. package/dist-cjs/pagination/index.js +2 -0
  48. package/dist-cjs/protocols/Aws_restJson1.js +1829 -169
  49. package/dist-cjs/runtimeConfig.js +0 -2
  50. package/dist-es/Connect.js +180 -0
  51. package/dist-es/commands/CreateContactFlowModuleCommand.js +39 -0
  52. package/dist-es/commands/DeleteContactFlowCommand.js +39 -0
  53. package/dist-es/commands/DeleteContactFlowModuleCommand.js +39 -0
  54. package/dist-es/commands/DescribeContactCommand.js +39 -0
  55. package/dist-es/commands/DescribeContactFlowModuleCommand.js +39 -0
  56. package/dist-es/commands/ListContactFlowModulesCommand.js +39 -0
  57. package/dist-es/commands/ListContactReferencesCommand.js +39 -0
  58. package/dist-es/commands/TagResourceCommand.js +1 -1
  59. package/dist-es/commands/UntagResourceCommand.js +1 -1
  60. package/dist-es/commands/UpdateAgentStatusCommand.js +1 -1
  61. package/dist-es/commands/UpdateContactAttributesCommand.js +1 -1
  62. package/dist-es/commands/UpdateContactCommand.js +39 -0
  63. package/dist-es/commands/UpdateContactFlowContentCommand.js +1 -1
  64. package/dist-es/commands/UpdateContactFlowMetadataCommand.js +39 -0
  65. package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +39 -0
  66. package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +39 -0
  67. package/dist-es/commands/UpdateContactFlowNameCommand.js +1 -1
  68. package/dist-es/commands/UpdateContactScheduleCommand.js +39 -0
  69. package/dist-es/commands/UpdateHoursOfOperationCommand.js +1 -1
  70. package/dist-es/commands/UpdateInstanceAttributeCommand.js +1 -1
  71. package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +1 -1
  72. package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +1 -1
  73. package/dist-es/commands/UpdateQueueMaxContactsCommand.js +1 -1
  74. package/dist-es/commands/UpdateQueueNameCommand.js +1 -1
  75. package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +1 -1
  76. package/dist-es/commands/UpdateQueueStatusCommand.js +1 -1
  77. package/dist-es/commands/UpdateQuickConnectConfigCommand.js +1 -1
  78. package/dist-es/commands/UpdateQuickConnectNameCommand.js +1 -1
  79. package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +1 -1
  80. package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +1 -1
  81. package/dist-es/commands/UpdateRoutingProfileNameCommand.js +1 -1
  82. package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +1 -1
  83. package/dist-es/commands/UpdateSecurityProfileCommand.js +1 -1
  84. package/dist-es/commands/UpdateUserHierarchyCommand.js +1 -1
  85. package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +1 -1
  86. package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +1 -1
  87. package/dist-es/commands/UpdateUserIdentityInfoCommand.js +1 -1
  88. package/dist-es/commands/index.js +12 -0
  89. package/dist-es/endpoints.js +1 -0
  90. package/dist-es/models/models_0.js +143 -116
  91. package/dist-es/models/models_1.js +148 -0
  92. package/dist-es/pagination/ListContactFlowModulesPaginator.js +74 -0
  93. package/dist-es/pagination/ListContactReferencesPaginator.js +73 -0
  94. package/dist-es/pagination/index.js +2 -0
  95. package/dist-es/protocols/Aws_restJson1.js +2179 -332
  96. package/dist-es/runtimeConfig.js +0 -2
  97. package/dist-types/Connect.d.ts +112 -14
  98. package/dist-types/ConnectClient.d.ts +17 -7
  99. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +35 -0
  100. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +2 -1
  101. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  102. package/dist-types/commands/DeleteContactFlowCommand.d.ts +35 -0
  103. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +35 -0
  104. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +2 -1
  105. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
  106. package/dist-types/commands/DescribeContactCommand.d.ts +40 -0
  107. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +35 -0
  108. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
  109. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +35 -0
  110. package/dist-types/commands/ListContactReferencesCommand.d.ts +37 -0
  111. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
  112. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -2
  113. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  114. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  115. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  116. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  117. package/dist-types/commands/UpdateContactCommand.d.ts +41 -0
  118. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  119. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +35 -0
  120. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +35 -0
  121. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +35 -0
  122. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  123. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +35 -0
  124. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +3 -2
  125. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  126. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  127. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  128. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  129. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  130. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  131. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  132. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  133. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  134. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  135. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  136. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  137. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  138. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  139. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  140. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  141. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  142. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  143. package/dist-types/commands/index.d.ts +12 -0
  144. package/dist-types/models/models_0.d.ts +592 -643
  145. package/dist-types/models/models_1.d.ts +771 -1
  146. package/dist-types/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
  147. package/dist-types/pagination/ListContactReferencesPaginator.d.ts +4 -0
  148. package/dist-types/pagination/index.d.ts +2 -0
  149. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  150. package/dist-types/ts3.4/Connect.d.ts +60 -0
  151. package/dist-types/ts3.4/ConnectClient.d.ts +14 -2
  152. package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  190. package/dist-types/ts3.4/models/models_0.d.ts +347 -359
  191. package/dist-types/ts3.4/models/models_1.d.ts +455 -1
  192. package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
  193. package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +4 -0
  194. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  195. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  196. package/package.json +36 -43
package/CHANGELOG.md CHANGED
@@ -3,6 +3,56 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
18
+
19
+
20
+
21
+
22
+
23
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
24
+
25
+
26
+ ### Features
27
+
28
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
35
+
36
+
37
+ ### Features
38
+
39
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
46
+
47
+
48
+ ### Features
49
+
50
+ * **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
51
+
52
+
53
+
54
+
55
+
6
56
  # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
57
 
8
58
 
package/README.md CHANGED
@@ -15,10 +15,8 @@ appropriate agents.</p>
15
15
  <p>There are limits to the number of Amazon Connect resources that you can create. There are also limits
16
16
  to the number of requests that you can make per second. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect
17
17
  Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
18
- <p>You can
19
- connect
20
- programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see
21
- <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
18
+ <p>You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect
19
+ endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
22
20
  Endpoints</a>.</p>
23
21
  <note>
24
22
  <p>Working with contact flows? Check out the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html">Amazon Connect Flow language</a>.</p>
@@ -11,6 +11,7 @@ const AssociateRoutingProfileQueuesCommand_1 = require("./commands/AssociateRout
11
11
  const AssociateSecurityKeyCommand_1 = require("./commands/AssociateSecurityKeyCommand");
12
12
  const CreateAgentStatusCommand_1 = require("./commands/CreateAgentStatusCommand");
13
13
  const CreateContactFlowCommand_1 = require("./commands/CreateContactFlowCommand");
14
+ const CreateContactFlowModuleCommand_1 = require("./commands/CreateContactFlowModuleCommand");
14
15
  const CreateHoursOfOperationCommand_1 = require("./commands/CreateHoursOfOperationCommand");
15
16
  const CreateInstanceCommand_1 = require("./commands/CreateInstanceCommand");
16
17
  const CreateIntegrationAssociationCommand_1 = require("./commands/CreateIntegrationAssociationCommand");
@@ -21,6 +22,8 @@ const CreateSecurityProfileCommand_1 = require("./commands/CreateSecurityProfile
21
22
  const CreateUseCaseCommand_1 = require("./commands/CreateUseCaseCommand");
22
23
  const CreateUserCommand_1 = require("./commands/CreateUserCommand");
23
24
  const CreateUserHierarchyGroupCommand_1 = require("./commands/CreateUserHierarchyGroupCommand");
25
+ const DeleteContactFlowCommand_1 = require("./commands/DeleteContactFlowCommand");
26
+ const DeleteContactFlowModuleCommand_1 = require("./commands/DeleteContactFlowModuleCommand");
24
27
  const DeleteHoursOfOperationCommand_1 = require("./commands/DeleteHoursOfOperationCommand");
25
28
  const DeleteInstanceCommand_1 = require("./commands/DeleteInstanceCommand");
26
29
  const DeleteIntegrationAssociationCommand_1 = require("./commands/DeleteIntegrationAssociationCommand");
@@ -30,7 +33,9 @@ const DeleteUseCaseCommand_1 = require("./commands/DeleteUseCaseCommand");
30
33
  const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
31
34
  const DeleteUserHierarchyGroupCommand_1 = require("./commands/DeleteUserHierarchyGroupCommand");
32
35
  const DescribeAgentStatusCommand_1 = require("./commands/DescribeAgentStatusCommand");
36
+ const DescribeContactCommand_1 = require("./commands/DescribeContactCommand");
33
37
  const DescribeContactFlowCommand_1 = require("./commands/DescribeContactFlowCommand");
38
+ const DescribeContactFlowModuleCommand_1 = require("./commands/DescribeContactFlowModuleCommand");
34
39
  const DescribeHoursOfOperationCommand_1 = require("./commands/DescribeHoursOfOperationCommand");
35
40
  const DescribeInstanceAttributeCommand_1 = require("./commands/DescribeInstanceAttributeCommand");
36
41
  const DescribeInstanceCommand_1 = require("./commands/DescribeInstanceCommand");
@@ -57,7 +62,9 @@ const GetMetricDataCommand_1 = require("./commands/GetMetricDataCommand");
57
62
  const ListAgentStatusesCommand_1 = require("./commands/ListAgentStatusesCommand");
58
63
  const ListApprovedOriginsCommand_1 = require("./commands/ListApprovedOriginsCommand");
59
64
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
65
+ const ListContactFlowModulesCommand_1 = require("./commands/ListContactFlowModulesCommand");
60
66
  const ListContactFlowsCommand_1 = require("./commands/ListContactFlowsCommand");
67
+ const ListContactReferencesCommand_1 = require("./commands/ListContactReferencesCommand");
61
68
  const ListHoursOfOperationsCommand_1 = require("./commands/ListHoursOfOperationsCommand");
62
69
  const ListInstanceAttributesCommand_1 = require("./commands/ListInstanceAttributesCommand");
63
70
  const ListInstancesCommand_1 = require("./commands/ListInstancesCommand");
@@ -93,8 +100,13 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
93
100
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
94
101
  const UpdateAgentStatusCommand_1 = require("./commands/UpdateAgentStatusCommand");
95
102
  const UpdateContactAttributesCommand_1 = require("./commands/UpdateContactAttributesCommand");
103
+ const UpdateContactCommand_1 = require("./commands/UpdateContactCommand");
96
104
  const UpdateContactFlowContentCommand_1 = require("./commands/UpdateContactFlowContentCommand");
105
+ const UpdateContactFlowMetadataCommand_1 = require("./commands/UpdateContactFlowMetadataCommand");
106
+ const UpdateContactFlowModuleContentCommand_1 = require("./commands/UpdateContactFlowModuleContentCommand");
107
+ const UpdateContactFlowModuleMetadataCommand_1 = require("./commands/UpdateContactFlowModuleMetadataCommand");
97
108
  const UpdateContactFlowNameCommand_1 = require("./commands/UpdateContactFlowNameCommand");
109
+ const UpdateContactScheduleCommand_1 = require("./commands/UpdateContactScheduleCommand");
98
110
  const UpdateHoursOfOperationCommand_1 = require("./commands/UpdateHoursOfOperationCommand");
99
111
  const UpdateInstanceAttributeCommand_1 = require("./commands/UpdateInstanceAttributeCommand");
100
112
  const UpdateInstanceStorageConfigCommand_1 = require("./commands/UpdateInstanceStorageConfigCommand");
@@ -259,6 +271,20 @@ class Connect extends ConnectClient_1.ConnectClient {
259
271
  return this.send(command, optionsOrCb);
260
272
  }
261
273
  }
274
+ createContactFlowModule(args, optionsOrCb, cb) {
275
+ const command = new CreateContactFlowModuleCommand_1.CreateContactFlowModuleCommand(args);
276
+ if (typeof optionsOrCb === "function") {
277
+ this.send(command, optionsOrCb);
278
+ }
279
+ else if (typeof cb === "function") {
280
+ if (typeof optionsOrCb !== "object")
281
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
282
+ this.send(command, optionsOrCb || {}, cb);
283
+ }
284
+ else {
285
+ return this.send(command, optionsOrCb);
286
+ }
287
+ }
262
288
  createHoursOfOperation(args, optionsOrCb, cb) {
263
289
  const command = new CreateHoursOfOperationCommand_1.CreateHoursOfOperationCommand(args);
264
290
  if (typeof optionsOrCb === "function") {
@@ -399,6 +425,34 @@ class Connect extends ConnectClient_1.ConnectClient {
399
425
  return this.send(command, optionsOrCb);
400
426
  }
401
427
  }
428
+ deleteContactFlow(args, optionsOrCb, cb) {
429
+ const command = new DeleteContactFlowCommand_1.DeleteContactFlowCommand(args);
430
+ if (typeof optionsOrCb === "function") {
431
+ this.send(command, optionsOrCb);
432
+ }
433
+ else if (typeof cb === "function") {
434
+ if (typeof optionsOrCb !== "object")
435
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
436
+ this.send(command, optionsOrCb || {}, cb);
437
+ }
438
+ else {
439
+ return this.send(command, optionsOrCb);
440
+ }
441
+ }
442
+ deleteContactFlowModule(args, optionsOrCb, cb) {
443
+ const command = new DeleteContactFlowModuleCommand_1.DeleteContactFlowModuleCommand(args);
444
+ if (typeof optionsOrCb === "function") {
445
+ this.send(command, optionsOrCb);
446
+ }
447
+ else if (typeof cb === "function") {
448
+ if (typeof optionsOrCb !== "object")
449
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
450
+ this.send(command, optionsOrCb || {}, cb);
451
+ }
452
+ else {
453
+ return this.send(command, optionsOrCb);
454
+ }
455
+ }
402
456
  deleteHoursOfOperation(args, optionsOrCb, cb) {
403
457
  const command = new DeleteHoursOfOperationCommand_1.DeleteHoursOfOperationCommand(args);
404
458
  if (typeof optionsOrCb === "function") {
@@ -525,6 +579,20 @@ class Connect extends ConnectClient_1.ConnectClient {
525
579
  return this.send(command, optionsOrCb);
526
580
  }
527
581
  }
582
+ describeContact(args, optionsOrCb, cb) {
583
+ const command = new DescribeContactCommand_1.DescribeContactCommand(args);
584
+ if (typeof optionsOrCb === "function") {
585
+ this.send(command, optionsOrCb);
586
+ }
587
+ else if (typeof cb === "function") {
588
+ if (typeof optionsOrCb !== "object")
589
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
590
+ this.send(command, optionsOrCb || {}, cb);
591
+ }
592
+ else {
593
+ return this.send(command, optionsOrCb);
594
+ }
595
+ }
528
596
  describeContactFlow(args, optionsOrCb, cb) {
529
597
  const command = new DescribeContactFlowCommand_1.DescribeContactFlowCommand(args);
530
598
  if (typeof optionsOrCb === "function") {
@@ -539,6 +607,20 @@ class Connect extends ConnectClient_1.ConnectClient {
539
607
  return this.send(command, optionsOrCb);
540
608
  }
541
609
  }
610
+ describeContactFlowModule(args, optionsOrCb, cb) {
611
+ const command = new DescribeContactFlowModuleCommand_1.DescribeContactFlowModuleCommand(args);
612
+ if (typeof optionsOrCb === "function") {
613
+ this.send(command, optionsOrCb);
614
+ }
615
+ else if (typeof cb === "function") {
616
+ if (typeof optionsOrCb !== "object")
617
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
618
+ this.send(command, optionsOrCb || {}, cb);
619
+ }
620
+ else {
621
+ return this.send(command, optionsOrCb);
622
+ }
623
+ }
542
624
  describeHoursOfOperation(args, optionsOrCb, cb) {
543
625
  const command = new DescribeHoursOfOperationCommand_1.DescribeHoursOfOperationCommand(args);
544
626
  if (typeof optionsOrCb === "function") {
@@ -903,6 +985,20 @@ class Connect extends ConnectClient_1.ConnectClient {
903
985
  return this.send(command, optionsOrCb);
904
986
  }
905
987
  }
988
+ listContactFlowModules(args, optionsOrCb, cb) {
989
+ const command = new ListContactFlowModulesCommand_1.ListContactFlowModulesCommand(args);
990
+ if (typeof optionsOrCb === "function") {
991
+ this.send(command, optionsOrCb);
992
+ }
993
+ else if (typeof cb === "function") {
994
+ if (typeof optionsOrCb !== "object")
995
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
996
+ this.send(command, optionsOrCb || {}, cb);
997
+ }
998
+ else {
999
+ return this.send(command, optionsOrCb);
1000
+ }
1001
+ }
906
1002
  listContactFlows(args, optionsOrCb, cb) {
907
1003
  const command = new ListContactFlowsCommand_1.ListContactFlowsCommand(args);
908
1004
  if (typeof optionsOrCb === "function") {
@@ -917,6 +1013,20 @@ class Connect extends ConnectClient_1.ConnectClient {
917
1013
  return this.send(command, optionsOrCb);
918
1014
  }
919
1015
  }
1016
+ listContactReferences(args, optionsOrCb, cb) {
1017
+ const command = new ListContactReferencesCommand_1.ListContactReferencesCommand(args);
1018
+ if (typeof optionsOrCb === "function") {
1019
+ this.send(command, optionsOrCb);
1020
+ }
1021
+ else if (typeof cb === "function") {
1022
+ if (typeof optionsOrCb !== "object")
1023
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1024
+ this.send(command, optionsOrCb || {}, cb);
1025
+ }
1026
+ else {
1027
+ return this.send(command, optionsOrCb);
1028
+ }
1029
+ }
920
1030
  listHoursOfOperations(args, optionsOrCb, cb) {
921
1031
  const command = new ListHoursOfOperationsCommand_1.ListHoursOfOperationsCommand(args);
922
1032
  if (typeof optionsOrCb === "function") {
@@ -1393,6 +1503,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1393
1503
  return this.send(command, optionsOrCb);
1394
1504
  }
1395
1505
  }
1506
+ updateContact(args, optionsOrCb, cb) {
1507
+ const command = new UpdateContactCommand_1.UpdateContactCommand(args);
1508
+ if (typeof optionsOrCb === "function") {
1509
+ this.send(command, optionsOrCb);
1510
+ }
1511
+ else if (typeof cb === "function") {
1512
+ if (typeof optionsOrCb !== "object")
1513
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1514
+ this.send(command, optionsOrCb || {}, cb);
1515
+ }
1516
+ else {
1517
+ return this.send(command, optionsOrCb);
1518
+ }
1519
+ }
1396
1520
  updateContactAttributes(args, optionsOrCb, cb) {
1397
1521
  const command = new UpdateContactAttributesCommand_1.UpdateContactAttributesCommand(args);
1398
1522
  if (typeof optionsOrCb === "function") {
@@ -1421,6 +1545,48 @@ class Connect extends ConnectClient_1.ConnectClient {
1421
1545
  return this.send(command, optionsOrCb);
1422
1546
  }
1423
1547
  }
1548
+ updateContactFlowMetadata(args, optionsOrCb, cb) {
1549
+ const command = new UpdateContactFlowMetadataCommand_1.UpdateContactFlowMetadataCommand(args);
1550
+ if (typeof optionsOrCb === "function") {
1551
+ this.send(command, optionsOrCb);
1552
+ }
1553
+ else if (typeof cb === "function") {
1554
+ if (typeof optionsOrCb !== "object")
1555
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1556
+ this.send(command, optionsOrCb || {}, cb);
1557
+ }
1558
+ else {
1559
+ return this.send(command, optionsOrCb);
1560
+ }
1561
+ }
1562
+ updateContactFlowModuleContent(args, optionsOrCb, cb) {
1563
+ const command = new UpdateContactFlowModuleContentCommand_1.UpdateContactFlowModuleContentCommand(args);
1564
+ if (typeof optionsOrCb === "function") {
1565
+ this.send(command, optionsOrCb);
1566
+ }
1567
+ else if (typeof cb === "function") {
1568
+ if (typeof optionsOrCb !== "object")
1569
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1570
+ this.send(command, optionsOrCb || {}, cb);
1571
+ }
1572
+ else {
1573
+ return this.send(command, optionsOrCb);
1574
+ }
1575
+ }
1576
+ updateContactFlowModuleMetadata(args, optionsOrCb, cb) {
1577
+ const command = new UpdateContactFlowModuleMetadataCommand_1.UpdateContactFlowModuleMetadataCommand(args);
1578
+ if (typeof optionsOrCb === "function") {
1579
+ this.send(command, optionsOrCb);
1580
+ }
1581
+ else if (typeof cb === "function") {
1582
+ if (typeof optionsOrCb !== "object")
1583
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1584
+ this.send(command, optionsOrCb || {}, cb);
1585
+ }
1586
+ else {
1587
+ return this.send(command, optionsOrCb);
1588
+ }
1589
+ }
1424
1590
  updateContactFlowName(args, optionsOrCb, cb) {
1425
1591
  const command = new UpdateContactFlowNameCommand_1.UpdateContactFlowNameCommand(args);
1426
1592
  if (typeof optionsOrCb === "function") {
@@ -1435,6 +1601,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1435
1601
  return this.send(command, optionsOrCb);
1436
1602
  }
1437
1603
  }
1604
+ updateContactSchedule(args, optionsOrCb, cb) {
1605
+ const command = new UpdateContactScheduleCommand_1.UpdateContactScheduleCommand(args);
1606
+ if (typeof optionsOrCb === "function") {
1607
+ this.send(command, optionsOrCb);
1608
+ }
1609
+ else if (typeof cb === "function") {
1610
+ if (typeof optionsOrCb !== "object")
1611
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1612
+ this.send(command, optionsOrCb || {}, cb);
1613
+ }
1614
+ else {
1615
+ return this.send(command, optionsOrCb);
1616
+ }
1617
+ }
1438
1618
  updateHoursOfOperation(args, optionsOrCb, cb) {
1439
1619
  const command = new UpdateHoursOfOperationCommand_1.UpdateHoursOfOperationCommand(args);
1440
1620
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateContactFlowModuleCommand = 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 CreateContactFlowModuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "CreateContactFlowModuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateContactFlowModuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateContactFlowModuleResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateContactFlowModuleCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateContactFlowModuleCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateContactFlowModuleCommand = CreateContactFlowModuleCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteContactFlowCommand = 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 DeleteContactFlowCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "DeleteContactFlowCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteContactFlowRequest.filterSensitiveLog,
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 Aws_restJson1_1.serializeAws_restJson1DeleteContactFlowCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteContactFlowCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteContactFlowCommand = DeleteContactFlowCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteContactFlowModuleCommand = 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 DeleteContactFlowModuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "DeleteContactFlowModuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteContactFlowModuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteContactFlowModuleResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DeleteContactFlowModuleCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteContactFlowModuleCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteContactFlowModuleCommand = DeleteContactFlowModuleCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeContactCommand = 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 DescribeContactCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "DescribeContactCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeContactRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeContactResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeContactCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeContactCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeContactCommand = DescribeContactCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeContactFlowModuleCommand = 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 DescribeContactFlowModuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "DescribeContactFlowModuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeContactFlowModuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeContactFlowModuleResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeContactFlowModuleCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeContactFlowModuleCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeContactFlowModuleCommand = DescribeContactFlowModuleCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListContactFlowModulesCommand = 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 ListContactFlowModulesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "ListContactFlowModulesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListContactFlowModulesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListContactFlowModulesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListContactFlowModulesCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListContactFlowModulesCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListContactFlowModulesCommand = ListContactFlowModulesCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListContactReferencesCommand = 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 ListContactReferencesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ConnectClient";
18
+ const commandName = "ListContactReferencesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListContactReferencesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListContactReferencesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListContactReferencesCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListContactReferencesCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListContactReferencesCommand = ListContactReferencesCommand;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class TagResourceCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,7 +20,7 @@ class TagResourceCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.TagResourceRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.TagResourceRequest.filterSensitiveLog,
24
24
  outputFilterSensitiveLog: (output) => output,
25
25
  };
26
26
  const { requestHandler } = configuration;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class UntagResourceCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,7 +20,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UntagResourceRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.UntagResourceRequest.filterSensitiveLog,
24
24
  outputFilterSensitiveLog: (output) => output,
25
25
  };
26
26
  const { requestHandler } = configuration;