@aws-sdk/client-connect 3.442.0 → 3.444.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 (67) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Connect.js +4 -0
  3. package/dist-cjs/commands/BatchPutContactCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePersistentContactAssociationCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +23 -2
  7. package/dist-cjs/models/models_1.js +1 -13
  8. package/dist-cjs/models/models_2.js +9 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +158 -9
  10. package/dist-es/Connect.js +4 -0
  11. package/dist-es/commands/BatchPutContactCommand.js +47 -0
  12. package/dist-es/commands/CreatePersistentContactAssociationCommand.js +47 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +21 -0
  15. package/dist-es/models/models_1.js +0 -12
  16. package/dist-es/models/models_2.js +8 -0
  17. package/dist-es/protocols/Aws_restJson1.js +145 -0
  18. package/dist-types/Connect.d.ts +14 -0
  19. package/dist-types/ConnectClient.d.ts +4 -2
  20. package/dist-types/commands/BatchPutContactCommand.d.ts +133 -0
  21. package/dist-types/commands/CreatePersistentContactAssociationCommand.d.ts +98 -0
  22. package/dist-types/commands/CreateViewCommand.d.ts +7 -5
  23. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteViewCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +1 -2
  29. package/dist-types/commands/DescribeViewCommand.d.ts +4 -4
  30. package/dist-types/commands/ListViewVersionsCommand.d.ts +2 -1
  31. package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -3
  32. package/dist-types/commands/StopContactCommand.d.ts +3 -0
  33. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +3 -3
  34. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  38. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateViewContentCommand.d.ts +6 -4
  42. package/dist-types/commands/index.d.ts +2 -0
  43. package/dist-types/models/models_0.d.ts +368 -398
  44. package/dist-types/models/models_1.d.ts +409 -253
  45. package/dist-types/models/models_2.d.ts +229 -7
  46. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  47. package/dist-types/ts3.4/Connect.d.ts +40 -0
  48. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  49. package/dist-types/ts3.4/commands/BatchPutContactCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/CreatePersistentContactAssociationCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +77 -83
  64. package/dist-types/ts3.4/models/models_1.d.ts +81 -67
  65. package/dist-types/ts3.4/models/models_2.d.ts +62 -2
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  67. package/package.json +1 -1
@@ -1,5 +1,223 @@
1
- import { AgentAvailabilityTimer, AgentConfig, Application, 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, ParticipantTimerType, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SignInConfig, StringCondition, TelephonyConfig, TimerEligibleParticipantRoles, UserSearchFilter } from "./models_1";
1
+ import { AgentAvailabilityTimer, AgentConfig, Application, ContactFlowModuleState, Evaluation, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, 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 UpdateContactFlowModuleMetadataRequest {
7
+ /**
8
+ * @public
9
+ * <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>
10
+ */
11
+ InstanceId: string | undefined;
12
+ /**
13
+ * @public
14
+ * <p>The identifier of the flow module.</p>
15
+ */
16
+ ContactFlowModuleId: string | undefined;
17
+ /**
18
+ * @public
19
+ * <p>The name of the flow module.</p>
20
+ */
21
+ Name?: string;
22
+ /**
23
+ * @public
24
+ * <p>The description of the flow module.</p>
25
+ */
26
+ Description?: string;
27
+ /**
28
+ * @public
29
+ * <p>The state of flow module.</p>
30
+ */
31
+ State?: ContactFlowModuleState;
32
+ }
33
+ /**
34
+ * @public
35
+ */
36
+ export interface UpdateContactFlowModuleMetadataResponse {
37
+ }
38
+ /**
39
+ * @public
40
+ */
41
+ export interface UpdateContactFlowNameRequest {
42
+ /**
43
+ * @public
44
+ * <p>The identifier of the Amazon Connect instance.</p>
45
+ */
46
+ InstanceId: string | undefined;
47
+ /**
48
+ * @public
49
+ * <p>The identifier of the flow.</p>
50
+ */
51
+ ContactFlowId: string | undefined;
52
+ /**
53
+ * @public
54
+ * <p>The name of the flow.</p>
55
+ */
56
+ Name?: string;
57
+ /**
58
+ * @public
59
+ * <p>The description of the flow.</p>
60
+ */
61
+ Description?: string;
62
+ }
63
+ /**
64
+ * @public
65
+ */
66
+ export interface UpdateContactFlowNameResponse {
67
+ }
68
+ /**
69
+ * @public
70
+ */
71
+ export interface UpdateContactScheduleRequest {
72
+ /**
73
+ * @public
74
+ * <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>
75
+ */
76
+ InstanceId: string | undefined;
77
+ /**
78
+ * @public
79
+ * <p>The identifier of the contact.</p>
80
+ */
81
+ ContactId: string | undefined;
82
+ /**
83
+ * @public
84
+ * <p>The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future. </p>
85
+ */
86
+ ScheduledTime: Date | undefined;
87
+ }
88
+ /**
89
+ * @public
90
+ */
91
+ export interface UpdateContactScheduleResponse {
92
+ }
93
+ /**
94
+ * @public
95
+ */
96
+ export interface UpdateEvaluationFormResponse {
97
+ /**
98
+ * @public
99
+ * <p>The unique identifier for the evaluation form.</p>
100
+ */
101
+ EvaluationFormId: string | undefined;
102
+ /**
103
+ * @public
104
+ * <p>The Amazon Resource Name (ARN) for the contact evaluation resource.</p>
105
+ */
106
+ EvaluationFormArn: string | undefined;
107
+ /**
108
+ * @public
109
+ * <p>The version of the updated evaluation form resource.</p>
110
+ */
111
+ EvaluationFormVersion: number | undefined;
112
+ }
113
+ /**
114
+ * @public
115
+ */
116
+ export interface UpdateHoursOfOperationRequest {
117
+ /**
118
+ * @public
119
+ * <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>
120
+ */
121
+ InstanceId: string | undefined;
122
+ /**
123
+ * @public
124
+ * <p>The identifier of the hours of operation.</p>
125
+ */
126
+ HoursOfOperationId: string | undefined;
127
+ /**
128
+ * @public
129
+ * <p>The name of the hours of operation.</p>
130
+ */
131
+ Name?: string;
132
+ /**
133
+ * @public
134
+ * <p>The description of the hours of operation.</p>
135
+ */
136
+ Description?: string;
137
+ /**
138
+ * @public
139
+ * <p>The time zone of the hours of operation.</p>
140
+ */
141
+ TimeZone?: string;
142
+ /**
143
+ * @public
144
+ * <p>Configuration information of the hours of operation.</p>
145
+ */
146
+ Config?: HoursOfOperationConfig[];
147
+ }
148
+ /**
149
+ * @public
150
+ */
151
+ export interface UpdateInstanceAttributeRequest {
152
+ /**
153
+ * @public
154
+ * <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>
155
+ */
156
+ InstanceId: string | undefined;
157
+ /**
158
+ * @public
159
+ * <p>The type of attribute.</p>
160
+ * <note>
161
+ * <p>Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature,
162
+ * contact Amazon Web Services Support for allowlisting.</p>
163
+ * </note>
164
+ */
165
+ AttributeType: InstanceAttributeType | undefined;
166
+ /**
167
+ * @public
168
+ * <p>The value for the attribute. Maximum character limit is 100. </p>
169
+ */
170
+ Value: string | undefined;
171
+ }
172
+ /**
173
+ * @public
174
+ */
175
+ export interface UpdateInstanceStorageConfigRequest {
176
+ /**
177
+ * @public
178
+ * <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>
179
+ */
180
+ InstanceId: string | undefined;
181
+ /**
182
+ * @public
183
+ * <p>The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.</p>
184
+ */
185
+ AssociationId: string | undefined;
186
+ /**
187
+ * @public
188
+ * <p>A valid resource type.</p>
189
+ */
190
+ ResourceType: InstanceStorageResourceType | undefined;
191
+ /**
192
+ * @public
193
+ * <p>The storage configuration for the instance.</p>
194
+ */
195
+ StorageConfig: InstanceStorageConfig | undefined;
196
+ }
197
+ /**
198
+ * @public
199
+ * @enum
200
+ */
201
+ export declare const TimerEligibleParticipantRoles: {
202
+ readonly AGENT: "AGENT";
203
+ readonly CUSTOMER: "CUSTOMER";
204
+ };
205
+ /**
206
+ * @public
207
+ */
208
+ export type TimerEligibleParticipantRoles = (typeof TimerEligibleParticipantRoles)[keyof typeof TimerEligibleParticipantRoles];
209
+ /**
210
+ * @public
211
+ * @enum
212
+ */
213
+ export declare const ParticipantTimerType: {
214
+ readonly DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER";
215
+ readonly IDLE: "IDLE";
216
+ };
217
+ /**
218
+ * @public
219
+ */
220
+ export type ParticipantTimerType = (typeof ParticipantTimerType)[keyof typeof ParticipantTimerType];
3
221
  /**
4
222
  * @public
5
223
  * @enum
@@ -943,18 +1161,20 @@ export interface UpdateUserSecurityProfilesRequest {
943
1161
  export interface UpdateViewContentRequest {
944
1162
  /**
945
1163
  * @public
946
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
1164
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
1165
+ * the instance.</p>
947
1166
  */
948
1167
  InstanceId: string | undefined;
949
1168
  /**
950
1169
  * @public
951
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
1170
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
1171
+ * used.</p>
952
1172
  */
953
1173
  ViewId: string | undefined;
954
1174
  /**
955
1175
  * @public
956
1176
  * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
957
- * <code>PUBLISHED</code> status will initiate validation on the content.</p>
1177
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
958
1178
  */
959
1179
  Status: ViewStatus | undefined;
960
1180
  /**
@@ -981,12 +1201,14 @@ export interface UpdateViewContentResponse {
981
1201
  export interface UpdateViewMetadataRequest {
982
1202
  /**
983
1203
  * @public
984
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
1204
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
1205
+ * the instance.</p>
985
1206
  */
986
1207
  InstanceId: string | undefined;
987
1208
  /**
988
1209
  * @public
989
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
1210
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
1211
+ * used.</p>
990
1212
  */
991
1213
  ViewId: string | undefined;
992
1214
  /**
@@ -13,6 +13,7 @@ import { AssociateRoutingProfileQueuesCommandInput, AssociateRoutingProfileQueue
13
13
  import { AssociateSecurityKeyCommandInput, AssociateSecurityKeyCommandOutput } from "../commands/AssociateSecurityKeyCommand";
14
14
  import { AssociateTrafficDistributionGroupUserCommandInput, AssociateTrafficDistributionGroupUserCommandOutput } from "../commands/AssociateTrafficDistributionGroupUserCommand";
15
15
  import { BatchGetFlowAssociationCommandInput, BatchGetFlowAssociationCommandOutput } from "../commands/BatchGetFlowAssociationCommand";
16
+ import { BatchPutContactCommandInput, BatchPutContactCommandOutput } from "../commands/BatchPutContactCommand";
16
17
  import { ClaimPhoneNumberCommandInput, ClaimPhoneNumberCommandOutput } from "../commands/ClaimPhoneNumberCommand";
17
18
  import { CreateAgentStatusCommandInput, CreateAgentStatusCommandOutput } from "../commands/CreateAgentStatusCommand";
18
19
  import { CreateContactFlowCommandInput, CreateContactFlowCommandOutput } from "../commands/CreateContactFlowCommand";
@@ -22,6 +23,7 @@ import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput
22
23
  import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "../commands/CreateInstanceCommand";
23
24
  import { CreateIntegrationAssociationCommandInput, CreateIntegrationAssociationCommandOutput } from "../commands/CreateIntegrationAssociationCommand";
24
25
  import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from "../commands/CreateParticipantCommand";
26
+ import { CreatePersistentContactAssociationCommandInput, CreatePersistentContactAssociationCommandOutput } from "../commands/CreatePersistentContactAssociationCommand";
25
27
  import { CreatePromptCommandInput, CreatePromptCommandOutput } from "../commands/CreatePromptCommand";
26
28
  import { CreateQueueCommandInput, CreateQueueCommandOutput } from "../commands/CreateQueueCommand";
27
29
  import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "../commands/CreateQuickConnectCommand";
@@ -264,6 +266,10 @@ export declare const se_AssociateTrafficDistributionGroupUserCommand: (input: As
264
266
  * serializeAws_restJson1BatchGetFlowAssociationCommand
265
267
  */
266
268
  export declare const se_BatchGetFlowAssociationCommand: (input: BatchGetFlowAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
269
+ /**
270
+ * serializeAws_restJson1BatchPutContactCommand
271
+ */
272
+ export declare const se_BatchPutContactCommand: (input: BatchPutContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
267
273
  /**
268
274
  * serializeAws_restJson1ClaimPhoneNumberCommand
269
275
  */
@@ -300,6 +306,10 @@ export declare const se_CreateIntegrationAssociationCommand: (input: CreateInteg
300
306
  * serializeAws_restJson1CreateParticipantCommand
301
307
  */
302
308
  export declare const se_CreateParticipantCommand: (input: CreateParticipantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
309
+ /**
310
+ * serializeAws_restJson1CreatePersistentContactAssociationCommand
311
+ */
312
+ export declare const se_CreatePersistentContactAssociationCommand: (input: CreatePersistentContactAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
303
313
  /**
304
314
  * serializeAws_restJson1CreatePromptCommand
305
315
  */
@@ -1112,6 +1122,10 @@ export declare const de_AssociateTrafficDistributionGroupUserCommand: (output: _
1112
1122
  * deserializeAws_restJson1BatchGetFlowAssociationCommand
1113
1123
  */
1114
1124
  export declare const de_BatchGetFlowAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetFlowAssociationCommandOutput>;
1125
+ /**
1126
+ * deserializeAws_restJson1BatchPutContactCommand
1127
+ */
1128
+ export declare const de_BatchPutContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutContactCommandOutput>;
1115
1129
  /**
1116
1130
  * deserializeAws_restJson1ClaimPhoneNumberCommand
1117
1131
  */
@@ -1148,6 +1162,10 @@ export declare const de_CreateIntegrationAssociationCommand: (output: __HttpResp
1148
1162
  * deserializeAws_restJson1CreateParticipantCommand
1149
1163
  */
1150
1164
  export declare const de_CreateParticipantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateParticipantCommandOutput>;
1165
+ /**
1166
+ * deserializeAws_restJson1CreatePersistentContactAssociationCommand
1167
+ */
1168
+ export declare const de_CreatePersistentContactAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePersistentContactAssociationCommandOutput>;
1151
1169
  /**
1152
1170
  * deserializeAws_restJson1CreatePromptCommand
1153
1171
  */
@@ -51,6 +51,10 @@ import {
51
51
  BatchGetFlowAssociationCommandInput,
52
52
  BatchGetFlowAssociationCommandOutput,
53
53
  } from "./commands/BatchGetFlowAssociationCommand";
54
+ import {
55
+ BatchPutContactCommandInput,
56
+ BatchPutContactCommandOutput,
57
+ } from "./commands/BatchPutContactCommand";
54
58
  import {
55
59
  ClaimPhoneNumberCommandInput,
56
60
  ClaimPhoneNumberCommandOutput,
@@ -87,6 +91,10 @@ import {
87
91
  CreateParticipantCommandInput,
88
92
  CreateParticipantCommandOutput,
89
93
  } from "./commands/CreateParticipantCommand";
94
+ import {
95
+ CreatePersistentContactAssociationCommandInput,
96
+ CreatePersistentContactAssociationCommandOutput,
97
+ } from "./commands/CreatePersistentContactAssociationCommand";
90
98
  import {
91
99
  CreatePromptCommandInput,
92
100
  CreatePromptCommandOutput,
@@ -1024,6 +1032,19 @@ export interface Connect {
1024
1032
  options: __HttpHandlerOptions,
1025
1033
  cb: (err: any, data?: BatchGetFlowAssociationCommandOutput) => void
1026
1034
  ): void;
1035
+ batchPutContact(
1036
+ args: BatchPutContactCommandInput,
1037
+ options?: __HttpHandlerOptions
1038
+ ): Promise<BatchPutContactCommandOutput>;
1039
+ batchPutContact(
1040
+ args: BatchPutContactCommandInput,
1041
+ cb: (err: any, data?: BatchPutContactCommandOutput) => void
1042
+ ): void;
1043
+ batchPutContact(
1044
+ args: BatchPutContactCommandInput,
1045
+ options: __HttpHandlerOptions,
1046
+ cb: (err: any, data?: BatchPutContactCommandOutput) => void
1047
+ ): void;
1027
1048
  claimPhoneNumber(
1028
1049
  args: ClaimPhoneNumberCommandInput,
1029
1050
  options?: __HttpHandlerOptions
@@ -1141,6 +1162,25 @@ export interface Connect {
1141
1162
  options: __HttpHandlerOptions,
1142
1163
  cb: (err: any, data?: CreateParticipantCommandOutput) => void
1143
1164
  ): void;
1165
+ createPersistentContactAssociation(
1166
+ args: CreatePersistentContactAssociationCommandInput,
1167
+ options?: __HttpHandlerOptions
1168
+ ): Promise<CreatePersistentContactAssociationCommandOutput>;
1169
+ createPersistentContactAssociation(
1170
+ args: CreatePersistentContactAssociationCommandInput,
1171
+ cb: (
1172
+ err: any,
1173
+ data?: CreatePersistentContactAssociationCommandOutput
1174
+ ) => void
1175
+ ): void;
1176
+ createPersistentContactAssociation(
1177
+ args: CreatePersistentContactAssociationCommandInput,
1178
+ options: __HttpHandlerOptions,
1179
+ cb: (
1180
+ err: any,
1181
+ data?: CreatePersistentContactAssociationCommandOutput
1182
+ ) => void
1183
+ ): void;
1144
1184
  createPrompt(
1145
1185
  args: CreatePromptCommandInput,
1146
1186
  options?: __HttpHandlerOptions
@@ -97,6 +97,10 @@ import {
97
97
  BatchGetFlowAssociationCommandInput,
98
98
  BatchGetFlowAssociationCommandOutput,
99
99
  } from "./commands/BatchGetFlowAssociationCommand";
100
+ import {
101
+ BatchPutContactCommandInput,
102
+ BatchPutContactCommandOutput,
103
+ } from "./commands/BatchPutContactCommand";
100
104
  import {
101
105
  ClaimPhoneNumberCommandInput,
102
106
  ClaimPhoneNumberCommandOutput,
@@ -133,6 +137,10 @@ import {
133
137
  CreateParticipantCommandInput,
134
138
  CreateParticipantCommandOutput,
135
139
  } from "./commands/CreateParticipantCommand";
140
+ import {
141
+ CreatePersistentContactAssociationCommandInput,
142
+ CreatePersistentContactAssociationCommandOutput,
143
+ } from "./commands/CreatePersistentContactAssociationCommand";
136
144
  import {
137
145
  CreatePromptCommandInput,
138
146
  CreatePromptCommandOutput,
@@ -914,6 +922,7 @@ export type ServiceInputTypes =
914
922
  | AssociateSecurityKeyCommandInput
915
923
  | AssociateTrafficDistributionGroupUserCommandInput
916
924
  | BatchGetFlowAssociationCommandInput
925
+ | BatchPutContactCommandInput
917
926
  | ClaimPhoneNumberCommandInput
918
927
  | CreateAgentStatusCommandInput
919
928
  | CreateContactFlowCommandInput
@@ -923,6 +932,7 @@ export type ServiceInputTypes =
923
932
  | CreateInstanceCommandInput
924
933
  | CreateIntegrationAssociationCommandInput
925
934
  | CreateParticipantCommandInput
935
+ | CreatePersistentContactAssociationCommandInput
926
936
  | CreatePromptCommandInput
927
937
  | CreateQueueCommandInput
928
938
  | CreateQuickConnectCommandInput
@@ -1127,6 +1137,7 @@ export type ServiceOutputTypes =
1127
1137
  | AssociateSecurityKeyCommandOutput
1128
1138
  | AssociateTrafficDistributionGroupUserCommandOutput
1129
1139
  | BatchGetFlowAssociationCommandOutput
1140
+ | BatchPutContactCommandOutput
1130
1141
  | ClaimPhoneNumberCommandOutput
1131
1142
  | CreateAgentStatusCommandOutput
1132
1143
  | CreateContactFlowCommandOutput
@@ -1136,6 +1147,7 @@ export type ServiceOutputTypes =
1136
1147
  | CreateInstanceCommandOutput
1137
1148
  | CreateIntegrationAssociationCommandOutput
1138
1149
  | CreateParticipantCommandOutput
1150
+ | CreatePersistentContactAssociationCommandOutput
1139
1151
  | CreatePromptCommandOutput
1140
1152
  | CreateQueueCommandOutput
1141
1153
  | CreateQuickConnectCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ConnectClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ConnectClient";
14
+ import {
15
+ BatchPutContactRequest,
16
+ BatchPutContactResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchPutContactCommandInput extends BatchPutContactRequest {}
20
+ export interface BatchPutContactCommandOutput
21
+ extends BatchPutContactResponse,
22
+ __MetadataBearer {}
23
+ export declare class BatchPutContactCommand extends $Command<
24
+ BatchPutContactCommandInput,
25
+ BatchPutContactCommandOutput,
26
+ ConnectClientResolvedConfig
27
+ > {
28
+ readonly input: BatchPutContactCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: BatchPutContactCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ConnectClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<BatchPutContactCommandInput, BatchPutContactCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ConnectClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ConnectClient";
14
+ import {
15
+ CreatePersistentContactAssociationRequest,
16
+ CreatePersistentContactAssociationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreatePersistentContactAssociationCommandInput
20
+ extends CreatePersistentContactAssociationRequest {}
21
+ export interface CreatePersistentContactAssociationCommandOutput
22
+ extends CreatePersistentContactAssociationResponse,
23
+ __MetadataBearer {}
24
+ export declare class CreatePersistentContactAssociationCommand extends $Command<
25
+ CreatePersistentContactAssociationCommandInput,
26
+ CreatePersistentContactAssociationCommandOutput,
27
+ ConnectClientResolvedConfig
28
+ > {
29
+ readonly input: CreatePersistentContactAssociationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: CreatePersistentContactAssociationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: ConnectClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ CreatePersistentContactAssociationCommandInput,
38
+ CreatePersistentContactAssociationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import {
15
- DescribeTrafficDistributionGroupRequest,
16
- DescribeTrafficDistributionGroupResponse,
17
- } from "../models/models_0";
14
+ import { DescribeTrafficDistributionGroupRequest } from "../models/models_0";
15
+ import { DescribeTrafficDistributionGroupResponse } from "../models/models_1";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface DescribeTrafficDistributionGroupCommandInput
20
18
  extends DescribeTrafficDistributionGroupRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { DescribeUserRequest, DescribeUserResponse } from "../models/models_0";
14
+ import { DescribeUserRequest, DescribeUserResponse } from "../models/models_1";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface DescribeUserCommandInput extends DescribeUserRequest {}
17
17
  export interface DescribeUserCommandOutput
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeUserHierarchyGroupRequest,
16
16
  DescribeUserHierarchyGroupResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeUserHierarchyGroupCommandInput
20
20
  extends DescribeUserHierarchyGroupRequest {}
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { DescribeUserHierarchyStructureRequest } from "../models/models_0";
15
- import { DescribeUserHierarchyStructureResponse } from "../models/models_1";
14
+ import {
15
+ DescribeUserHierarchyStructureRequest,
16
+ DescribeUserHierarchyStructureResponse,
17
+ } from "../models/models_1";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface DescribeUserHierarchyStructureCommandInput
18
20
  extends DescribeUserHierarchyStructureRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UpdateContactFlowModuleMetadataRequest,
16
16
  UpdateContactFlowModuleMetadataResponse,
17
- } from "../models/models_1";
17
+ } from "../models/models_2";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface UpdateContactFlowModuleMetadataCommandInput
20
20
  extends UpdateContactFlowModuleMetadataRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UpdateContactFlowNameRequest,
16
16
  UpdateContactFlowNameResponse,
17
- } from "../models/models_1";
17
+ } from "../models/models_2";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface UpdateContactFlowNameCommandInput
20
20
  extends UpdateContactFlowNameRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UpdateContactScheduleRequest,
16
16
  UpdateContactScheduleResponse,
17
- } from "../models/models_1";
17
+ } from "../models/models_2";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface UpdateContactScheduleCommandInput
20
20
  extends UpdateContactScheduleRequest {}
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { UpdateEvaluationFormResponse } from "../models/models_1";
15
- import { UpdateEvaluationFormRequest } from "../models/models_2";
14
+ import {
15
+ UpdateEvaluationFormRequest,
16
+ UpdateEvaluationFormResponse,
17
+ } from "../models/models_2";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface UpdateEvaluationFormCommandInput
18
20
  extends UpdateEvaluationFormRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { UpdateHoursOfOperationRequest } from "../models/models_1";
14
+ import { UpdateHoursOfOperationRequest } from "../models/models_2";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface UpdateHoursOfOperationCommandInput
17
17
  extends UpdateHoursOfOperationRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { UpdateInstanceAttributeRequest } from "../models/models_1";
14
+ import { UpdateInstanceAttributeRequest } from "../models/models_2";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface UpdateInstanceAttributeCommandInput
17
17
  extends UpdateInstanceAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { UpdateInstanceStorageConfigRequest } from "../models/models_1";
14
+ import { UpdateInstanceStorageConfigRequest } from "../models/models_2";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface UpdateInstanceStorageConfigCommandInput
17
17
  extends UpdateInstanceStorageConfigRequest {}
@@ -11,6 +11,7 @@ export * from "./AssociateRoutingProfileQueuesCommand";
11
11
  export * from "./AssociateSecurityKeyCommand";
12
12
  export * from "./AssociateTrafficDistributionGroupUserCommand";
13
13
  export * from "./BatchGetFlowAssociationCommand";
14
+ export * from "./BatchPutContactCommand";
14
15
  export * from "./ClaimPhoneNumberCommand";
15
16
  export * from "./CreateAgentStatusCommand";
16
17
  export * from "./CreateContactFlowCommand";
@@ -20,6 +21,7 @@ export * from "./CreateHoursOfOperationCommand";
20
21
  export * from "./CreateInstanceCommand";
21
22
  export * from "./CreateIntegrationAssociationCommand";
22
23
  export * from "./CreateParticipantCommand";
24
+ export * from "./CreatePersistentContactAssociationCommand";
23
25
  export * from "./CreatePromptCommand";
24
26
  export * from "./CreateQueueCommand";
25
27
  export * from "./CreateQuickConnectCommand";