@aws-sdk/client-connect 3.398.0 → 3.405.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 (144) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/Connect.js +18 -0
  3. package/dist-cjs/commands/CreateViewCommand.js +47 -0
  4. package/dist-cjs/commands/CreateViewVersionCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteViewCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteViewVersionCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeViewCommand.js +47 -0
  8. package/dist-cjs/commands/ListViewVersionsCommand.js +47 -0
  9. package/dist-cjs/commands/ListViewsCommand.js +47 -0
  10. package/dist-cjs/commands/UpdateViewContentCommand.js +47 -0
  11. package/dist-cjs/commands/UpdateViewMetadataCommand.js +47 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +66 -6
  14. package/dist-cjs/models/models_1.js +25 -1
  15. package/dist-cjs/models/models_2.js +18 -1
  16. package/dist-cjs/pagination/ListViewVersionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListViewsPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +713 -20
  20. package/dist-es/Connect.js +18 -0
  21. package/dist-es/commands/CreateViewCommand.js +43 -0
  22. package/dist-es/commands/CreateViewVersionCommand.js +43 -0
  23. package/dist-es/commands/DeleteViewCommand.js +42 -0
  24. package/dist-es/commands/DeleteViewVersionCommand.js +42 -0
  25. package/dist-es/commands/DescribeViewCommand.js +43 -0
  26. package/dist-es/commands/ListViewVersionsCommand.js +43 -0
  27. package/dist-es/commands/ListViewsCommand.js +43 -0
  28. package/dist-es/commands/UpdateViewContentCommand.js +43 -0
  29. package/dist-es/commands/UpdateViewMetadataCommand.js +43 -0
  30. package/dist-es/commands/index.js +9 -0
  31. package/dist-es/models/models_0.js +57 -5
  32. package/dist-es/models/models_1.js +20 -0
  33. package/dist-es/models/models_2.js +14 -0
  34. package/dist-es/pagination/ListViewVersionsPaginator.js +25 -0
  35. package/dist-es/pagination/ListViewsPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +2 -0
  37. package/dist-es/protocols/Aws_restJson1.js +687 -13
  38. package/dist-types/Connect.d.ts +63 -0
  39. package/dist-types/ConnectClient.d.ts +11 -2
  40. package/dist-types/commands/CreateQueueCommand.d.ts +20 -13
  41. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +8 -0
  42. package/dist-types/commands/CreateViewCommand.d.ts +140 -0
  43. package/dist-types/commands/CreateViewVersionCommand.d.ts +126 -0
  44. package/dist-types/commands/DeleteViewCommand.d.ts +93 -0
  45. package/dist-types/commands/DeleteViewVersionCommand.d.ts +94 -0
  46. package/dist-types/commands/DescribeViewCommand.d.ts +121 -0
  47. package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -1
  48. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  49. package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
  50. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
  53. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  54. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  55. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  57. package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  58. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  59. package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -2
  60. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +14 -4
  61. package/dist-types/commands/ListViewVersionsCommand.d.ts +106 -0
  62. package/dist-types/commands/ListViewsCommand.d.ts +105 -0
  63. package/dist-types/commands/StopContactCommand.d.ts +5 -3
  64. package/dist-types/commands/UpdatePromptCommand.d.ts +2 -1
  65. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +21 -14
  69. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -3
  81. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateViewContentCommand.d.ts +127 -0
  84. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +99 -0
  85. package/dist-types/commands/index.d.ts +9 -0
  86. package/dist-types/models/models_0.d.ts +359 -317
  87. package/dist-types/models/models_1.d.ts +478 -553
  88. package/dist-types/models/models_2.d.ts +632 -2
  89. package/dist-types/pagination/ListViewVersionsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/index.d.ts +2 -0
  92. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  93. package/dist-types/ts3.4/Connect.d.ts +153 -0
  94. package/dist-types/ts3.4/ConnectClient.d.ts +56 -2
  95. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +35 -0
  96. package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +35 -0
  98. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
  100. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -4
  101. package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +4 -2
  113. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +35 -0
  115. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +39 -0
  136. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  137. package/dist-types/ts3.4/models/models_0.d.ts +117 -90
  138. package/dist-types/ts3.4/models/models_1.d.ts +121 -135
  139. package/dist-types/ts3.4/models/models_2.d.ts +171 -1
  140. package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  144. package/package.json +7 -7
@@ -1,5 +1,555 @@
1
- import { Evaluation, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, UserIdentityInfo, UserPhoneConfig } from "./models_0";
2
- import { HierarchyGroupCondition, HierarchyLevelUpdate, HoursOfOperationSearchFilter, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, StringCondition, UserSearchFilter } from "./models_1";
1
+ import { AgentAvailabilityTimer, AgentConfig, Evaluation, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, ViewStatus } from "./models_0";
2
+ import { HierarchyGroupCondition, HoursOfOperationSearchFilter, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SignInConfig, StringCondition, TelephonyConfig, UserSearchFilter } from "./models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface UpdatePromptResponse {
7
+ /**
8
+ * @public
9
+ * <p>The Amazon Resource Name (ARN) of the prompt.</p>
10
+ */
11
+ PromptARN?: string;
12
+ /**
13
+ * @public
14
+ * <p>A unique identifier for the prompt.</p>
15
+ */
16
+ PromptId?: string;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface UpdateQueueHoursOfOperationRequest {
22
+ /**
23
+ * @public
24
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
25
+ */
26
+ InstanceId: string | undefined;
27
+ /**
28
+ * @public
29
+ * <p>The identifier for the queue.</p>
30
+ */
31
+ QueueId: string | undefined;
32
+ /**
33
+ * @public
34
+ * <p>The identifier for the hours of operation.</p>
35
+ */
36
+ HoursOfOperationId: string | undefined;
37
+ }
38
+ /**
39
+ * @public
40
+ */
41
+ export interface UpdateQueueMaxContactsRequest {
42
+ /**
43
+ * @public
44
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
45
+ */
46
+ InstanceId: string | undefined;
47
+ /**
48
+ * @public
49
+ * <p>The identifier for the queue.</p>
50
+ */
51
+ QueueId: string | undefined;
52
+ /**
53
+ * @public
54
+ * <p>The maximum number of contacts that can be in the queue before it is considered full.</p>
55
+ */
56
+ MaxContacts?: number;
57
+ }
58
+ /**
59
+ * @public
60
+ */
61
+ export interface UpdateQueueNameRequest {
62
+ /**
63
+ * @public
64
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
65
+ */
66
+ InstanceId: string | undefined;
67
+ /**
68
+ * @public
69
+ * <p>The identifier for the queue.</p>
70
+ */
71
+ QueueId: string | undefined;
72
+ /**
73
+ * @public
74
+ * <p>The name of the queue.</p>
75
+ */
76
+ Name?: string;
77
+ /**
78
+ * @public
79
+ * <p>The description of the queue.</p>
80
+ */
81
+ Description?: string;
82
+ }
83
+ /**
84
+ * @public
85
+ */
86
+ export interface UpdateQueueOutboundCallerConfigRequest {
87
+ /**
88
+ * @public
89
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
90
+ */
91
+ InstanceId: string | undefined;
92
+ /**
93
+ * @public
94
+ * <p>The identifier for the queue.</p>
95
+ */
96
+ QueueId: string | undefined;
97
+ /**
98
+ * @public
99
+ * <p>The outbound caller ID name, number, and outbound whisper flow.</p>
100
+ */
101
+ OutboundCallerConfig: OutboundCallerConfig | undefined;
102
+ }
103
+ /**
104
+ * @public
105
+ */
106
+ export interface UpdateQueueStatusRequest {
107
+ /**
108
+ * @public
109
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
110
+ */
111
+ InstanceId: string | undefined;
112
+ /**
113
+ * @public
114
+ * <p>The identifier for the queue.</p>
115
+ */
116
+ QueueId: string | undefined;
117
+ /**
118
+ * @public
119
+ * <p>The status of the queue.</p>
120
+ */
121
+ Status: QueueStatus | string | undefined;
122
+ }
123
+ /**
124
+ * @public
125
+ */
126
+ export interface UpdateQuickConnectConfigRequest {
127
+ /**
128
+ * @public
129
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
130
+ */
131
+ InstanceId: string | undefined;
132
+ /**
133
+ * @public
134
+ * <p>The identifier for the quick connect.</p>
135
+ */
136
+ QuickConnectId: string | undefined;
137
+ /**
138
+ * @public
139
+ * <p>Information about the configuration settings for the quick connect.</p>
140
+ */
141
+ QuickConnectConfig: QuickConnectConfig | undefined;
142
+ }
143
+ /**
144
+ * @public
145
+ */
146
+ export interface UpdateQuickConnectNameRequest {
147
+ /**
148
+ * @public
149
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
150
+ */
151
+ InstanceId: string | undefined;
152
+ /**
153
+ * @public
154
+ * <p>The identifier for the quick connect.</p>
155
+ */
156
+ QuickConnectId: string | undefined;
157
+ /**
158
+ * @public
159
+ * <p>The name of the quick connect.</p>
160
+ */
161
+ Name?: string;
162
+ /**
163
+ * @public
164
+ * <p>The description of the quick connect.</p>
165
+ */
166
+ Description?: string;
167
+ }
168
+ /**
169
+ * @public
170
+ */
171
+ export interface UpdateRoutingProfileAgentAvailabilityTimerRequest {
172
+ /**
173
+ * @public
174
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
175
+ */
176
+ InstanceId: string | undefined;
177
+ /**
178
+ * @public
179
+ * <p>The identifier of the routing profile.</p>
180
+ */
181
+ RoutingProfileId: string | undefined;
182
+ /**
183
+ * @public
184
+ * <p>Whether agents with this routing profile will have their routing order calculated based on
185
+ * <i>time since their last inbound contact</i> or <i>longest idle
186
+ * time</i>. </p>
187
+ */
188
+ AgentAvailabilityTimer: AgentAvailabilityTimer | string | undefined;
189
+ }
190
+ /**
191
+ * @public
192
+ */
193
+ export interface UpdateRoutingProfileConcurrencyRequest {
194
+ /**
195
+ * @public
196
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
197
+ */
198
+ InstanceId: string | undefined;
199
+ /**
200
+ * @public
201
+ * <p>The identifier of the routing profile.</p>
202
+ */
203
+ RoutingProfileId: string | undefined;
204
+ /**
205
+ * @public
206
+ * <p>The channels that agents can handle in the Contact Control Panel (CCP).</p>
207
+ */
208
+ MediaConcurrencies: MediaConcurrency[] | undefined;
209
+ }
210
+ /**
211
+ * @public
212
+ */
213
+ export interface UpdateRoutingProfileDefaultOutboundQueueRequest {
214
+ /**
215
+ * @public
216
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
217
+ */
218
+ InstanceId: string | undefined;
219
+ /**
220
+ * @public
221
+ * <p>The identifier of the routing profile.</p>
222
+ */
223
+ RoutingProfileId: string | undefined;
224
+ /**
225
+ * @public
226
+ * <p>The identifier for the default outbound queue.</p>
227
+ */
228
+ DefaultOutboundQueueId: string | undefined;
229
+ }
230
+ /**
231
+ * @public
232
+ */
233
+ export interface UpdateRoutingProfileNameRequest {
234
+ /**
235
+ * @public
236
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
237
+ */
238
+ InstanceId: string | undefined;
239
+ /**
240
+ * @public
241
+ * <p>The identifier of the routing profile.</p>
242
+ */
243
+ RoutingProfileId: string | undefined;
244
+ /**
245
+ * @public
246
+ * <p>The name of the routing profile. Must not be more than 127 characters.</p>
247
+ */
248
+ Name?: string;
249
+ /**
250
+ * @public
251
+ * <p>The description of the routing profile. Must not be more than 250 characters.</p>
252
+ */
253
+ Description?: string;
254
+ }
255
+ /**
256
+ * @public
257
+ */
258
+ export interface UpdateRoutingProfileQueuesRequest {
259
+ /**
260
+ * @public
261
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
262
+ */
263
+ InstanceId: string | undefined;
264
+ /**
265
+ * @public
266
+ * <p>The identifier of the routing profile.</p>
267
+ */
268
+ RoutingProfileId: string | undefined;
269
+ /**
270
+ * @public
271
+ * <p>The queues to be updated for this routing profile.
272
+ * Queues must first be associated to the routing
273
+ * profile. You can do this using AssociateRoutingProfileQueues.</p>
274
+ */
275
+ QueueConfigs: RoutingProfileQueueConfig[] | undefined;
276
+ }
277
+ /**
278
+ * @public
279
+ */
280
+ export interface UpdateRuleRequest {
281
+ /**
282
+ * @public
283
+ * <p>A unique identifier for the rule.</p>
284
+ */
285
+ RuleId: string | undefined;
286
+ /**
287
+ * @public
288
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
289
+ */
290
+ InstanceId: string | undefined;
291
+ /**
292
+ * @public
293
+ * <p>The name of the rule. You can change the name only if <code>TriggerEventSource</code> is one
294
+ * of the following values: <code>OnZendeskTicketCreate</code> |
295
+ * <code>OnZendeskTicketStatusUpdate</code> | <code>OnSalesforceCaseCreate</code>
296
+ * </p>
297
+ */
298
+ Name: string | undefined;
299
+ /**
300
+ * @public
301
+ * <p>The conditions of the rule.</p>
302
+ */
303
+ Function: string | undefined;
304
+ /**
305
+ * @public
306
+ * <p>A list of actions to be run when the rule is triggered.</p>
307
+ */
308
+ Actions: RuleAction[] | undefined;
309
+ /**
310
+ * @public
311
+ * <p>The publish status of the rule.</p>
312
+ */
313
+ PublishStatus: RulePublishStatus | string | undefined;
314
+ }
315
+ /**
316
+ * @public
317
+ */
318
+ export interface UpdateSecurityProfileRequest {
319
+ /**
320
+ * @public
321
+ * <p>The description of the security profile.</p>
322
+ */
323
+ Description?: string;
324
+ /**
325
+ * @public
326
+ * <p>The permissions granted to a security profile. For a list of valid permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security
327
+ * profile permissions</a>.</p>
328
+ */
329
+ Permissions?: string[];
330
+ /**
331
+ * @public
332
+ * <p>The identifier for the security profle.</p>
333
+ */
334
+ SecurityProfileId: string | undefined;
335
+ /**
336
+ * @public
337
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
338
+ */
339
+ InstanceId: string | undefined;
340
+ /**
341
+ * @public
342
+ * <p>The list of tags that a security profile uses to restrict access to resources in Amazon Connect.</p>
343
+ */
344
+ AllowedAccessControlTags?: Record<string, string>;
345
+ /**
346
+ * @public
347
+ * <p>The list of resources that a security profile applies tag restrictions to in Amazon Connect.</p>
348
+ */
349
+ TagRestrictedResources?: string[];
350
+ }
351
+ /**
352
+ * @public
353
+ */
354
+ export interface UpdateTaskTemplateRequest {
355
+ /**
356
+ * @public
357
+ * <p>A unique identifier for the task template.</p>
358
+ */
359
+ TaskTemplateId: string | undefined;
360
+ /**
361
+ * @public
362
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
363
+ */
364
+ InstanceId: string | undefined;
365
+ /**
366
+ * @public
367
+ * <p>The name of the task template.</p>
368
+ */
369
+ Name?: string;
370
+ /**
371
+ * @public
372
+ * <p>The description of the task template.</p>
373
+ */
374
+ Description?: string;
375
+ /**
376
+ * @public
377
+ * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
378
+ */
379
+ ContactFlowId?: string;
380
+ /**
381
+ * @public
382
+ * <p>Constraints that are applicable to the fields listed.</p>
383
+ */
384
+ Constraints?: TaskTemplateConstraints;
385
+ /**
386
+ * @public
387
+ * <p>The default values for fields when a task is created by referencing this template.</p>
388
+ */
389
+ Defaults?: TaskTemplateDefaults;
390
+ /**
391
+ * @public
392
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
393
+ * Tasks can only be created from <code>ACTIVE</code> templates.
394
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
395
+ */
396
+ Status?: TaskTemplateStatus | string;
397
+ /**
398
+ * @public
399
+ * <p>Fields that are part of the template.</p>
400
+ */
401
+ Fields?: TaskTemplateField[];
402
+ }
403
+ /**
404
+ * @public
405
+ */
406
+ export interface UpdateTaskTemplateResponse {
407
+ /**
408
+ * @public
409
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
410
+ */
411
+ InstanceId?: string;
412
+ /**
413
+ * @public
414
+ * <p>The identifier of the task template resource.</p>
415
+ */
416
+ Id?: string;
417
+ /**
418
+ * @public
419
+ * <p>The Amazon Resource Name (ARN) for the task template resource.</p>
420
+ */
421
+ Arn?: string;
422
+ /**
423
+ * @public
424
+ * <p>The name of the task template.</p>
425
+ */
426
+ Name?: string;
427
+ /**
428
+ * @public
429
+ * <p>The description of the task template.</p>
430
+ */
431
+ Description?: string;
432
+ /**
433
+ * @public
434
+ * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
435
+ */
436
+ ContactFlowId?: string;
437
+ /**
438
+ * @public
439
+ * <p>Constraints that are applicable to the fields listed.</p>
440
+ */
441
+ Constraints?: TaskTemplateConstraints;
442
+ /**
443
+ * @public
444
+ * <p>The default values for fields when a task is created by referencing this template.</p>
445
+ */
446
+ Defaults?: TaskTemplateDefaults;
447
+ /**
448
+ * @public
449
+ * <p>Fields that are part of the template.</p>
450
+ */
451
+ Fields?: TaskTemplateField[];
452
+ /**
453
+ * @public
454
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
455
+ * Tasks can only be created from <code>ACTIVE</code> templates.
456
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
457
+ */
458
+ Status?: TaskTemplateStatus | string;
459
+ /**
460
+ * @public
461
+ * <p>The timestamp when the task template was last modified.</p>
462
+ */
463
+ LastModifiedTime?: Date;
464
+ /**
465
+ * @public
466
+ * <p>The timestamp when the task template was created.</p>
467
+ */
468
+ CreatedTime?: Date;
469
+ }
470
+ /**
471
+ * @public
472
+ */
473
+ export interface UpdateTrafficDistributionRequest {
474
+ /**
475
+ * @public
476
+ * <p>The identifier of the traffic distribution group.
477
+ * This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
478
+ * The ARN must be provided if the call is from the replicated Region.</p>
479
+ */
480
+ Id: string | undefined;
481
+ /**
482
+ * @public
483
+ * <p>The distribution of traffic between the instance and its replica(s).</p>
484
+ */
485
+ TelephonyConfig?: TelephonyConfig;
486
+ /**
487
+ * @public
488
+ * <p>The distribution of allowing signing in to the instance and its replica(s).</p>
489
+ */
490
+ SignInConfig?: SignInConfig;
491
+ /**
492
+ * @public
493
+ * <p>The distribution of agents between the instance and its replica(s).</p>
494
+ */
495
+ AgentConfig?: AgentConfig;
496
+ }
497
+ /**
498
+ * @public
499
+ */
500
+ export interface UpdateTrafficDistributionResponse {
501
+ }
502
+ /**
503
+ * @public
504
+ */
505
+ export interface UpdateUserHierarchyRequest {
506
+ /**
507
+ * @public
508
+ * <p>The identifier of the hierarchy group.</p>
509
+ */
510
+ HierarchyGroupId?: string;
511
+ /**
512
+ * @public
513
+ * <p>The identifier of the user account.</p>
514
+ */
515
+ UserId: string | undefined;
516
+ /**
517
+ * @public
518
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
519
+ */
520
+ InstanceId: string | undefined;
521
+ }
522
+ /**
523
+ * @public
524
+ */
525
+ export interface UpdateUserHierarchyGroupNameRequest {
526
+ /**
527
+ * @public
528
+ * <p>The name of the hierarchy group. Must not be more than 100 characters.</p>
529
+ */
530
+ Name: string | undefined;
531
+ /**
532
+ * @public
533
+ * <p>The identifier of the hierarchy group.</p>
534
+ */
535
+ HierarchyGroupId: string | undefined;
536
+ /**
537
+ * @public
538
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
539
+ */
540
+ InstanceId: string | undefined;
541
+ }
542
+ /**
543
+ * @public
544
+ * <p>Contains information about the hierarchy level to update.</p>
545
+ */
546
+ export interface HierarchyLevelUpdate {
547
+ /**
548
+ * @public
549
+ * <p>The name of the user hierarchy level. Must not be more than 50 characters.</p>
550
+ */
551
+ Name: string | undefined;
552
+ }
3
553
  /**
4
554
  * @public
5
555
  * <p>Contains information about the level hierarchy to update.</p>
@@ -128,6 +678,74 @@ export interface UpdateUserSecurityProfilesRequest {
128
678
  */
129
679
  InstanceId: string | undefined;
130
680
  }
681
+ /**
682
+ * @public
683
+ */
684
+ export interface UpdateViewContentRequest {
685
+ /**
686
+ * @public
687
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
688
+ */
689
+ InstanceId: string | undefined;
690
+ /**
691
+ * @public
692
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
693
+ */
694
+ ViewId: string | undefined;
695
+ /**
696
+ * @public
697
+ * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
698
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
699
+ */
700
+ Status: ViewStatus | string | undefined;
701
+ /**
702
+ * @public
703
+ * <p>View content containing all content necessary to render a view except for runtime input data
704
+ * and the runtime input schema, which is auto-generated by this operation.</p>
705
+ * <p>The total uncompressed content has a maximum file size of 400kB.</p>
706
+ */
707
+ Content: ViewInputContent | undefined;
708
+ }
709
+ /**
710
+ * @public
711
+ */
712
+ export interface UpdateViewContentResponse {
713
+ /**
714
+ * @public
715
+ * <p>A view resource object. Contains metadata and content necessary to render the view.</p>
716
+ */
717
+ View?: View;
718
+ }
719
+ /**
720
+ * @public
721
+ */
722
+ export interface UpdateViewMetadataRequest {
723
+ /**
724
+ * @public
725
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
726
+ */
727
+ InstanceId: string | undefined;
728
+ /**
729
+ * @public
730
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
731
+ */
732
+ ViewId: string | undefined;
733
+ /**
734
+ * @public
735
+ * <p>The name of the view.</p>
736
+ */
737
+ Name?: string;
738
+ /**
739
+ * @public
740
+ * <p>The description of the view.</p>
741
+ */
742
+ Description?: string;
743
+ }
744
+ /**
745
+ * @public
746
+ */
747
+ export interface UpdateViewMetadataResponse {
748
+ }
131
749
  /**
132
750
  * @public
133
751
  * <p>Information about an item from an evaluation form. The item must be either a section or a
@@ -881,3 +1499,15 @@ export interface SearchUsersRequest {
881
1499
  */
882
1500
  SearchCriteria?: UserSearchCriteria;
883
1501
  }
1502
+ /**
1503
+ * @internal
1504
+ */
1505
+ export declare const UpdateViewContentRequestFilterSensitiveLog: (obj: UpdateViewContentRequest) => any;
1506
+ /**
1507
+ * @internal
1508
+ */
1509
+ export declare const UpdateViewContentResponseFilterSensitiveLog: (obj: UpdateViewContentResponse) => any;
1510
+ /**
1511
+ * @internal
1512
+ */
1513
+ export declare const UpdateViewMetadataRequestFilterSensitiveLog: (obj: UpdateViewMetadataRequest) => any;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListViewVersionsCommandInput, ListViewVersionsCommandOutput } from "../commands/ListViewVersionsCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListViewVersions(config: ConnectPaginationConfiguration, input: ListViewVersionsCommandInput, ...additionalArguments: any): Paginator<ListViewVersionsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListViewsCommandInput, ListViewsCommandOutput } from "../commands/ListViewsCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListViews(config: ConnectPaginationConfiguration, input: ListViewsCommandInput, ...additionalArguments: any): Paginator<ListViewsCommandOutput>;
@@ -38,6 +38,8 @@ export * from "./ListTrafficDistributionGroupsPaginator";
38
38
  export * from "./ListUseCasesPaginator";
39
39
  export * from "./ListUserHierarchyGroupsPaginator";
40
40
  export * from "./ListUsersPaginator";
41
+ export * from "./ListViewVersionsPaginator";
42
+ export * from "./ListViewsPaginator";
41
43
  export * from "./SearchAvailablePhoneNumbersPaginator";
42
44
  export * from "./SearchHoursOfOperationsPaginator";
43
45
  export * from "./SearchPromptsPaginator";