@aws-sdk/client-connect 3.100.0 → 3.109.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 (131) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist-cjs/Connect.js +105 -0
  3. package/dist-cjs/ConnectClient.js +2 -0
  4. package/dist-cjs/commands/CreateTaskTemplateCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteTaskTemplateCommand.js +36 -0
  6. package/dist-cjs/commands/GetCurrentUserDataCommand.js +36 -0
  7. package/dist-cjs/commands/GetTaskTemplateCommand.js +36 -0
  8. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  9. package/dist-cjs/commands/ListQuickConnectsCommand.js +3 -3
  10. package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
  11. package/dist-cjs/commands/ListRoutingProfilesCommand.js +3 -3
  12. package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
  13. package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
  14. package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  16. package/dist-cjs/commands/ListTaskTemplatesCommand.js +36 -0
  17. package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
  18. package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
  19. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  20. package/dist-cjs/commands/PutUserStatusCommand.js +3 -3
  21. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +2 -2
  22. package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
  23. package/dist-cjs/commands/TransferContactCommand.js +36 -0
  24. package/dist-cjs/commands/UpdateTaskTemplateCommand.js +36 -0
  25. package/dist-cjs/commands/index.js +7 -0
  26. package/dist-cjs/models/models_0.js +283 -236
  27. package/dist-cjs/models/models_1.js +254 -2
  28. package/dist-cjs/pagination/GetCurrentUserDataPaginator.js +36 -0
  29. package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +36 -0
  30. package/dist-cjs/pagination/index.js +2 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +1279 -34
  32. package/dist-es/Connect.js +105 -0
  33. package/dist-es/ConnectClient.js +2 -0
  34. package/dist-es/commands/CreateTaskTemplateCommand.js +39 -0
  35. package/dist-es/commands/DeleteTaskTemplateCommand.js +39 -0
  36. package/dist-es/commands/GetCurrentUserDataCommand.js +39 -0
  37. package/dist-es/commands/GetTaskTemplateCommand.js +39 -0
  38. package/dist-es/commands/ListQueuesCommand.js +1 -1
  39. package/dist-es/commands/ListQuickConnectsCommand.js +1 -1
  40. package/dist-es/commands/ListRoutingProfileQueuesCommand.js +1 -1
  41. package/dist-es/commands/ListRoutingProfilesCommand.js +1 -1
  42. package/dist-es/commands/ListSecurityKeysCommand.js +1 -1
  43. package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +1 -1
  44. package/dist-es/commands/ListSecurityProfilesCommand.js +1 -1
  45. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  46. package/dist-es/commands/ListTaskTemplatesCommand.js +39 -0
  47. package/dist-es/commands/ListUseCasesCommand.js +1 -1
  48. package/dist-es/commands/ListUserHierarchyGroupsCommand.js +1 -1
  49. package/dist-es/commands/ListUsersCommand.js +1 -1
  50. package/dist-es/commands/PutUserStatusCommand.js +1 -1
  51. package/dist-es/commands/ReleasePhoneNumberCommand.js +1 -1
  52. package/dist-es/commands/ResumeContactRecordingCommand.js +1 -1
  53. package/dist-es/commands/TransferContactCommand.js +39 -0
  54. package/dist-es/commands/UpdateTaskTemplateCommand.js +39 -0
  55. package/dist-es/commands/index.js +7 -0
  56. package/dist-es/models/models_0.js +214 -160
  57. package/dist-es/models/models_1.js +169 -0
  58. package/dist-es/pagination/GetCurrentUserDataPaginator.js +75 -0
  59. package/dist-es/pagination/ListTaskTemplatesPaginator.js +75 -0
  60. package/dist-es/pagination/index.js +2 -0
  61. package/dist-es/protocols/Aws_restJson1.js +1440 -63
  62. package/dist-types/Connect.d.ts +104 -22
  63. package/dist-types/ConnectClient.d.ts +9 -2
  64. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -1
  65. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +35 -0
  66. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +35 -0
  67. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -1
  68. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +35 -0
  69. package/dist-types/commands/GetTaskTemplateCommand.d.ts +35 -0
  70. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +1 -1
  71. package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
  72. package/dist-types/commands/ListQuickConnectsCommand.d.ts +1 -1
  73. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  74. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  75. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  76. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  77. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  78. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  79. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +35 -0
  80. package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
  81. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  82. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  83. package/dist-types/commands/PutUserStatusCommand.d.ts +5 -6
  84. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  85. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  86. package/dist-types/commands/SearchVocabulariesCommand.d.ts +2 -1
  87. package/dist-types/commands/StartChatContactCommand.d.ts +3 -3
  88. package/dist-types/commands/StartContactRecordingCommand.d.ts +9 -7
  89. package/dist-types/commands/StopContactCommand.d.ts +3 -1
  90. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  91. package/dist-types/commands/TransferContactCommand.d.ts +58 -0
  92. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
  93. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +37 -0
  94. package/dist-types/commands/index.d.ts +7 -0
  95. package/dist-types/models/models_0.d.ts +927 -850
  96. package/dist-types/models/models_1.d.ts +979 -50
  97. package/dist-types/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  98. package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  99. package/dist-types/pagination/index.d.ts +2 -0
  100. package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
  101. package/dist-types/ts3.4/Connect.d.ts +35 -0
  102. package/dist-types/ts3.4/ConnectClient.d.ts +9 -2
  103. package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +555 -517
  126. package/dist-types/ts3.4/models/models_1.d.ts +539 -26
  127. package/dist-types/ts3.4/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  128. package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  129. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  130. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +21 -0
  131. package/package.json +29 -28
package/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
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.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-connect
9
+
10
+
11
+
12
+
13
+
14
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-connect:** This release adds a new API, GetCurrentUserData, which returns real-time details about users' current activity. ([47e52de](https://github.com/aws/aws-sdk-js-v3/commit/47e52de9185916548d1e2b023b8c09e3b160467b))
20
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.104.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.103.0...v3.104.0) (2022-06-02)
27
+
28
+
29
+ ### Features
30
+
31
+ * **client-connect:** This release adds the following features: 1) New APIs to manage (create, list, update) task template resources, 2) Updates to startTaskContact API to support task templates, and 3) new TransferContact API to programmatically transfer in-progress tasks via a contact flow. ([e10c8ed](https://github.com/aws/aws-sdk-js-v3/commit/e10c8edbdff1c5c94d95951ed3bd175123f0bd0d))
32
+
33
+
34
+
35
+
36
+
6
37
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
38
 
8
39
  **Note:** Version bump only for package @aws-sdk/client-connect
@@ -22,6 +22,7 @@ const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
22
22
  const CreateQuickConnectCommand_1 = require("./commands/CreateQuickConnectCommand");
23
23
  const CreateRoutingProfileCommand_1 = require("./commands/CreateRoutingProfileCommand");
24
24
  const CreateSecurityProfileCommand_1 = require("./commands/CreateSecurityProfileCommand");
25
+ const CreateTaskTemplateCommand_1 = require("./commands/CreateTaskTemplateCommand");
25
26
  const CreateUseCaseCommand_1 = require("./commands/CreateUseCaseCommand");
26
27
  const CreateUserCommand_1 = require("./commands/CreateUserCommand");
27
28
  const CreateUserHierarchyGroupCommand_1 = require("./commands/CreateUserHierarchyGroupCommand");
@@ -33,6 +34,7 @@ const DeleteInstanceCommand_1 = require("./commands/DeleteInstanceCommand");
33
34
  const DeleteIntegrationAssociationCommand_1 = require("./commands/DeleteIntegrationAssociationCommand");
34
35
  const DeleteQuickConnectCommand_1 = require("./commands/DeleteQuickConnectCommand");
35
36
  const DeleteSecurityProfileCommand_1 = require("./commands/DeleteSecurityProfileCommand");
37
+ const DeleteTaskTemplateCommand_1 = require("./commands/DeleteTaskTemplateCommand");
36
38
  const DeleteUseCaseCommand_1 = require("./commands/DeleteUseCaseCommand");
37
39
  const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
38
40
  const DeleteUserHierarchyGroupCommand_1 = require("./commands/DeleteUserHierarchyGroupCommand");
@@ -65,8 +67,10 @@ const DisassociateRoutingProfileQueuesCommand_1 = require("./commands/Disassocia
65
67
  const DisassociateSecurityKeyCommand_1 = require("./commands/DisassociateSecurityKeyCommand");
66
68
  const GetContactAttributesCommand_1 = require("./commands/GetContactAttributesCommand");
67
69
  const GetCurrentMetricDataCommand_1 = require("./commands/GetCurrentMetricDataCommand");
70
+ const GetCurrentUserDataCommand_1 = require("./commands/GetCurrentUserDataCommand");
68
71
  const GetFederationTokenCommand_1 = require("./commands/GetFederationTokenCommand");
69
72
  const GetMetricDataCommand_1 = require("./commands/GetMetricDataCommand");
73
+ const GetTaskTemplateCommand_1 = require("./commands/GetTaskTemplateCommand");
70
74
  const ListAgentStatusesCommand_1 = require("./commands/ListAgentStatusesCommand");
71
75
  const ListApprovedOriginsCommand_1 = require("./commands/ListApprovedOriginsCommand");
72
76
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
@@ -93,6 +97,7 @@ const ListSecurityKeysCommand_1 = require("./commands/ListSecurityKeysCommand");
93
97
  const ListSecurityProfilePermissionsCommand_1 = require("./commands/ListSecurityProfilePermissionsCommand");
94
98
  const ListSecurityProfilesCommand_1 = require("./commands/ListSecurityProfilesCommand");
95
99
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
100
+ const ListTaskTemplatesCommand_1 = require("./commands/ListTaskTemplatesCommand");
96
101
  const ListUseCasesCommand_1 = require("./commands/ListUseCasesCommand");
97
102
  const ListUserHierarchyGroupsCommand_1 = require("./commands/ListUserHierarchyGroupsCommand");
98
103
  const ListUsersCommand_1 = require("./commands/ListUsersCommand");
@@ -112,6 +117,7 @@ const StopContactRecordingCommand_1 = require("./commands/StopContactRecordingCo
112
117
  const StopContactStreamingCommand_1 = require("./commands/StopContactStreamingCommand");
113
118
  const SuspendContactRecordingCommand_1 = require("./commands/SuspendContactRecordingCommand");
114
119
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
120
+ const TransferContactCommand_1 = require("./commands/TransferContactCommand");
115
121
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
116
122
  const UpdateAgentStatusCommand_1 = require("./commands/UpdateAgentStatusCommand");
117
123
  const UpdateContactAttributesCommand_1 = require("./commands/UpdateContactAttributesCommand");
@@ -138,6 +144,7 @@ const UpdateRoutingProfileDefaultOutboundQueueCommand_1 = require("./commands/Up
138
144
  const UpdateRoutingProfileNameCommand_1 = require("./commands/UpdateRoutingProfileNameCommand");
139
145
  const UpdateRoutingProfileQueuesCommand_1 = require("./commands/UpdateRoutingProfileQueuesCommand");
140
146
  const UpdateSecurityProfileCommand_1 = require("./commands/UpdateSecurityProfileCommand");
147
+ const UpdateTaskTemplateCommand_1 = require("./commands/UpdateTaskTemplateCommand");
141
148
  const UpdateUserHierarchyCommand_1 = require("./commands/UpdateUserHierarchyCommand");
142
149
  const UpdateUserHierarchyGroupNameCommand_1 = require("./commands/UpdateUserHierarchyGroupNameCommand");
143
150
  const UpdateUserHierarchyStructureCommand_1 = require("./commands/UpdateUserHierarchyStructureCommand");
@@ -441,6 +448,20 @@ class Connect extends ConnectClient_1.ConnectClient {
441
448
  return this.send(command, optionsOrCb);
442
449
  }
443
450
  }
451
+ createTaskTemplate(args, optionsOrCb, cb) {
452
+ const command = new CreateTaskTemplateCommand_1.CreateTaskTemplateCommand(args);
453
+ if (typeof optionsOrCb === "function") {
454
+ this.send(command, optionsOrCb);
455
+ }
456
+ else if (typeof cb === "function") {
457
+ if (typeof optionsOrCb !== "object")
458
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
459
+ this.send(command, optionsOrCb || {}, cb);
460
+ }
461
+ else {
462
+ return this.send(command, optionsOrCb);
463
+ }
464
+ }
444
465
  createUseCase(args, optionsOrCb, cb) {
445
466
  const command = new CreateUseCaseCommand_1.CreateUseCaseCommand(args);
446
467
  if (typeof optionsOrCb === "function") {
@@ -595,6 +616,20 @@ class Connect extends ConnectClient_1.ConnectClient {
595
616
  return this.send(command, optionsOrCb);
596
617
  }
597
618
  }
619
+ deleteTaskTemplate(args, optionsOrCb, cb) {
620
+ const command = new DeleteTaskTemplateCommand_1.DeleteTaskTemplateCommand(args);
621
+ if (typeof optionsOrCb === "function") {
622
+ this.send(command, optionsOrCb);
623
+ }
624
+ else if (typeof cb === "function") {
625
+ if (typeof optionsOrCb !== "object")
626
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
627
+ this.send(command, optionsOrCb || {}, cb);
628
+ }
629
+ else {
630
+ return this.send(command, optionsOrCb);
631
+ }
632
+ }
598
633
  deleteUseCase(args, optionsOrCb, cb) {
599
634
  const command = new DeleteUseCaseCommand_1.DeleteUseCaseCommand(args);
600
635
  if (typeof optionsOrCb === "function") {
@@ -1043,6 +1078,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1043
1078
  return this.send(command, optionsOrCb);
1044
1079
  }
1045
1080
  }
1081
+ getCurrentUserData(args, optionsOrCb, cb) {
1082
+ const command = new GetCurrentUserDataCommand_1.GetCurrentUserDataCommand(args);
1083
+ if (typeof optionsOrCb === "function") {
1084
+ this.send(command, optionsOrCb);
1085
+ }
1086
+ else if (typeof cb === "function") {
1087
+ if (typeof optionsOrCb !== "object")
1088
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1089
+ this.send(command, optionsOrCb || {}, cb);
1090
+ }
1091
+ else {
1092
+ return this.send(command, optionsOrCb);
1093
+ }
1094
+ }
1046
1095
  getFederationToken(args, optionsOrCb, cb) {
1047
1096
  const command = new GetFederationTokenCommand_1.GetFederationTokenCommand(args);
1048
1097
  if (typeof optionsOrCb === "function") {
@@ -1071,6 +1120,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1071
1120
  return this.send(command, optionsOrCb);
1072
1121
  }
1073
1122
  }
1123
+ getTaskTemplate(args, optionsOrCb, cb) {
1124
+ const command = new GetTaskTemplateCommand_1.GetTaskTemplateCommand(args);
1125
+ if (typeof optionsOrCb === "function") {
1126
+ this.send(command, optionsOrCb);
1127
+ }
1128
+ else if (typeof cb === "function") {
1129
+ if (typeof optionsOrCb !== "object")
1130
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1131
+ this.send(command, optionsOrCb || {}, cb);
1132
+ }
1133
+ else {
1134
+ return this.send(command, optionsOrCb);
1135
+ }
1136
+ }
1074
1137
  listAgentStatuses(args, optionsOrCb, cb) {
1075
1138
  const command = new ListAgentStatusesCommand_1.ListAgentStatusesCommand(args);
1076
1139
  if (typeof optionsOrCb === "function") {
@@ -1435,6 +1498,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1435
1498
  return this.send(command, optionsOrCb);
1436
1499
  }
1437
1500
  }
1501
+ listTaskTemplates(args, optionsOrCb, cb) {
1502
+ const command = new ListTaskTemplatesCommand_1.ListTaskTemplatesCommand(args);
1503
+ if (typeof optionsOrCb === "function") {
1504
+ this.send(command, optionsOrCb);
1505
+ }
1506
+ else if (typeof cb === "function") {
1507
+ if (typeof optionsOrCb !== "object")
1508
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1509
+ this.send(command, optionsOrCb || {}, cb);
1510
+ }
1511
+ else {
1512
+ return this.send(command, optionsOrCb);
1513
+ }
1514
+ }
1438
1515
  listUseCases(args, optionsOrCb, cb) {
1439
1516
  const command = new ListUseCasesCommand_1.ListUseCasesCommand(args);
1440
1517
  if (typeof optionsOrCb === "function") {
@@ -1701,6 +1778,20 @@ class Connect extends ConnectClient_1.ConnectClient {
1701
1778
  return this.send(command, optionsOrCb);
1702
1779
  }
1703
1780
  }
1781
+ transferContact(args, optionsOrCb, cb) {
1782
+ const command = new TransferContactCommand_1.TransferContactCommand(args);
1783
+ if (typeof optionsOrCb === "function") {
1784
+ this.send(command, optionsOrCb);
1785
+ }
1786
+ else if (typeof cb === "function") {
1787
+ if (typeof optionsOrCb !== "object")
1788
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1789
+ this.send(command, optionsOrCb || {}, cb);
1790
+ }
1791
+ else {
1792
+ return this.send(command, optionsOrCb);
1793
+ }
1794
+ }
1704
1795
  untagResource(args, optionsOrCb, cb) {
1705
1796
  const command = new UntagResourceCommand_1.UntagResourceCommand(args);
1706
1797
  if (typeof optionsOrCb === "function") {
@@ -2065,6 +2156,20 @@ class Connect extends ConnectClient_1.ConnectClient {
2065
2156
  return this.send(command, optionsOrCb);
2066
2157
  }
2067
2158
  }
2159
+ updateTaskTemplate(args, optionsOrCb, cb) {
2160
+ const command = new UpdateTaskTemplateCommand_1.UpdateTaskTemplateCommand(args);
2161
+ if (typeof optionsOrCb === "function") {
2162
+ this.send(command, optionsOrCb);
2163
+ }
2164
+ else if (typeof cb === "function") {
2165
+ if (typeof optionsOrCb !== "object")
2166
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2167
+ this.send(command, optionsOrCb || {}, cb);
2168
+ }
2169
+ else {
2170
+ return this.send(command, optionsOrCb);
2171
+ }
2172
+ }
2068
2173
  updateUserHierarchy(args, optionsOrCb, cb) {
2069
2174
  const command = new UpdateUserHierarchyCommand_1.UpdateUserHierarchyCommand(args);
2070
2175
  if (typeof optionsOrCb === "function") {
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class ConnectClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateTaskTemplateCommand = 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 CreateTaskTemplateCommand 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 = "ConnectClient";
18
+ const commandName = "CreateTaskTemplateCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateTaskTemplateRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateTaskTemplateResponse.filterSensitiveLog,
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_restJson1CreateTaskTemplateCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateTaskTemplateCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateTaskTemplateCommand = CreateTaskTemplateCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteTaskTemplateCommand = 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 DeleteTaskTemplateCommand 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 = "ConnectClient";
18
+ const commandName = "DeleteTaskTemplateCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteTaskTemplateRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteTaskTemplateResponse.filterSensitiveLog,
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_restJson1DeleteTaskTemplateCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteTaskTemplateCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteTaskTemplateCommand = DeleteTaskTemplateCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetCurrentUserDataCommand = 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 GetCurrentUserDataCommand 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 = "ConnectClient";
18
+ const commandName = "GetCurrentUserDataCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetCurrentUserDataRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetCurrentUserDataResponse.filterSensitiveLog,
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_restJson1GetCurrentUserDataCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetCurrentUserDataCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetCurrentUserDataCommand = GetCurrentUserDataCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTaskTemplateCommand = 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 GetTaskTemplateCommand 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 = "ConnectClient";
18
+ const commandName = "GetTaskTemplateCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetTaskTemplateRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetTaskTemplateResponse.filterSensitiveLog,
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_restJson1GetTaskTemplateCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetTaskTemplateCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetTaskTemplateCommand = GetTaskTemplateCommand;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListQueuesCommand = 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 ListQueuesCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListQueuesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListQueuesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListQueuesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListQueuesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListQueuesResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListQuickConnectsCommand = 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 ListQuickConnectsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListQuickConnectsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListQuickConnectsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListQuickConnectsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListQuickConnectsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListQuickConnectsResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListRoutingProfileQueuesCommand = 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 ListRoutingProfileQueuesCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListRoutingProfileQueuesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListRoutingProfileQueuesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListRoutingProfileQueuesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListRoutingProfileQueuesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListRoutingProfileQueuesResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListRoutingProfilesCommand = 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 ListRoutingProfilesCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListRoutingProfilesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListRoutingProfilesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListRoutingProfilesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListRoutingProfilesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListRoutingProfilesResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListSecurityKeysCommand = 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 ListSecurityKeysCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListSecurityKeysCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListSecurityKeysRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListSecurityKeysResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListSecurityKeysRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListSecurityKeysResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListSecurityProfilePermissionsCommand = 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 ListSecurityProfilePermissionsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListSecurityProfilePermissionsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListSecurityProfilePermissionsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListSecurityProfilePermissionsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListSecurityProfilePermissionsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListSecurityProfilePermissionsResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListSecurityProfilesCommand = 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 ListSecurityProfilesCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListSecurityProfilesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListSecurityProfilesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListSecurityProfilesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListSecurityProfilesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListSecurityProfilesResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsForResourceCommand = 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 ListTagsForResourceCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListTagsForResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListTagsForResourceResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTaskTemplatesCommand = 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_1_1 = require("../models/models_1");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListTaskTemplatesCommand 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 = "ConnectClient";
18
+ const commandName = "ListTaskTemplatesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_1_1.ListTaskTemplatesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListTaskTemplatesResponse.filterSensitiveLog,
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_restJson1ListTaskTemplatesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTaskTemplatesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTaskTemplatesCommand = ListTaskTemplatesCommand;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListUseCasesCommand = 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 ListUseCasesCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListUseCasesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListUseCasesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListUseCasesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListUseCasesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListUseCasesResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListUserHierarchyGroupsCommand = 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 ListUserHierarchyGroupsCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class ListUserHierarchyGroupsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListUserHierarchyGroupsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListUserHierarchyGroupsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.ListUserHierarchyGroupsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListUserHierarchyGroupsResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);