@aws-sdk/client-connect 3.443.0 → 3.445.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 (51) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/BatchPutContactCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +19 -2
  6. package/dist-cjs/protocols/Aws_restJson1.js +83 -9
  7. package/dist-es/Connect.js +2 -0
  8. package/dist-es/commands/BatchPutContactCommand.js +47 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/models/models_0.js +17 -0
  11. package/dist-es/protocols/Aws_restJson1.js +72 -0
  12. package/dist-types/Connect.d.ts +7 -0
  13. package/dist-types/ConnectClient.d.ts +3 -2
  14. package/dist-types/commands/BatchPutContactCommand.d.ts +133 -0
  15. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -2
  18. package/dist-types/commands/StopContactCommand.d.ts +3 -0
  19. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  23. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/index.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +191 -329
  29. package/dist-types/models/models_1.d.ts +332 -195
  30. package/dist-types/models/models_2.d.ts +195 -1
  31. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  32. package/dist-types/ts3.4/Connect.d.ts +17 -0
  33. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  34. package/dist-types/ts3.4/commands/BatchPutContactCommand.d.ts +38 -0
  35. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  46. package/dist-types/ts3.4/index.d.ts +2 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +61 -70
  48. package/dist-types/ts3.4/models/models_1.d.ts +67 -49
  49. package/dist-types/ts3.4/models/models_2.d.ts +50 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  51. package/package.json +4 -4
@@ -1,5 +1,199 @@
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";
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
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
+ }
3
197
  /**
4
198
  * @public
5
199
  * @enum
@@ -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";
@@ -265,6 +266,10 @@ export declare const se_AssociateTrafficDistributionGroupUserCommand: (input: As
265
266
  * serializeAws_restJson1BatchGetFlowAssociationCommand
266
267
  */
267
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>;
268
273
  /**
269
274
  * serializeAws_restJson1ClaimPhoneNumberCommand
270
275
  */
@@ -1117,6 +1122,10 @@ export declare const de_AssociateTrafficDistributionGroupUserCommand: (output: _
1117
1122
  * deserializeAws_restJson1BatchGetFlowAssociationCommand
1118
1123
  */
1119
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>;
1120
1129
  /**
1121
1130
  * deserializeAws_restJson1ClaimPhoneNumberCommand
1122
1131
  */
@@ -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,
@@ -1028,6 +1032,19 @@ export interface Connect {
1028
1032
  options: __HttpHandlerOptions,
1029
1033
  cb: (err: any, data?: BatchGetFlowAssociationCommandOutput) => void
1030
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;
1031
1048
  claimPhoneNumber(
1032
1049
  args: ClaimPhoneNumberCommandInput,
1033
1050
  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,
@@ -918,6 +922,7 @@ export type ServiceInputTypes =
918
922
  | AssociateSecurityKeyCommandInput
919
923
  | AssociateTrafficDistributionGroupUserCommandInput
920
924
  | BatchGetFlowAssociationCommandInput
925
+ | BatchPutContactCommandInput
921
926
  | ClaimPhoneNumberCommandInput
922
927
  | CreateAgentStatusCommandInput
923
928
  | CreateContactFlowCommandInput
@@ -1132,6 +1137,7 @@ export type ServiceOutputTypes =
1132
1137
  | AssociateSecurityKeyCommandOutput
1133
1138
  | AssociateTrafficDistributionGroupUserCommandOutput
1134
1139
  | BatchGetFlowAssociationCommandOutput
1140
+ | BatchPutContactCommandOutput
1135
1141
  | ClaimPhoneNumberCommandOutput
1136
1142
  | CreateAgentStatusCommandOutput
1137
1143
  | CreateContactFlowCommandOutput
@@ -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
+ }
@@ -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
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { DescribeUserHierarchyGroupRequest } from "../models/models_0";
15
- import { DescribeUserHierarchyGroupResponse } from "../models/models_1";
14
+ import {
15
+ DescribeUserHierarchyGroupRequest,
16
+ DescribeUserHierarchyGroupResponse,
17
+ } from "../models/models_1";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface DescribeUserHierarchyGroupCommandInput
18
20
  extends DescribeUserHierarchyGroupRequest {}
@@ -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";
@@ -1,6 +1,8 @@
1
1
  export * from "./ConnectClient";
2
2
  export * from "./Connect";
3
3
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { ConnectExtensionConfiguration } from "./extensionConfiguration";
4
6
  export * from "./commands";
5
7
  export * from "./pagination";
6
8
  export * from "./models";
@@ -372,6 +372,67 @@ export interface FlowAssociationSummary {
372
372
  export interface BatchGetFlowAssociationResponse {
373
373
  FlowAssociationSummaryList?: FlowAssociationSummary[];
374
374
  }
375
+ export interface Campaign {
376
+ CampaignId?: string;
377
+ }
378
+ export declare const EndpointType: {
379
+ readonly CONTACT_FLOW: "CONTACT_FLOW";
380
+ readonly TELEPHONE_NUMBER: "TELEPHONE_NUMBER";
381
+ readonly VOIP: "VOIP";
382
+ };
383
+ export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
384
+ export interface Endpoint {
385
+ Type?: EndpointType;
386
+ Address?: string;
387
+ }
388
+ export interface ContactDataRequest {
389
+ SystemEndpoint?: Endpoint;
390
+ CustomerEndpoint?: Endpoint;
391
+ RequestIdentifier?: string;
392
+ QueueId?: string;
393
+ Attributes?: Record<string, string>;
394
+ Campaign?: Campaign;
395
+ }
396
+ export interface BatchPutContactRequest {
397
+ ClientToken?: string;
398
+ InstanceId: string | undefined;
399
+ ContactDataRequestList: ContactDataRequest[] | undefined;
400
+ }
401
+ export declare const FailureReasonCode: {
402
+ readonly IDEMPOTENCY_EXCEPTION: "IDEMPOTENCY_EXCEPTION";
403
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
404
+ readonly INVALID_ATTRIBUTE_KEY: "INVALID_ATTRIBUTE_KEY";
405
+ readonly INVALID_CUSTOMER_ENDPOINT: "INVALID_CUSTOMER_ENDPOINT";
406
+ readonly INVALID_QUEUE: "INVALID_QUEUE";
407
+ readonly INVALID_SYSTEM_ENDPOINT: "INVALID_SYSTEM_ENDPOINT";
408
+ readonly MISSING_CAMPAIGN: "MISSING_CAMPAIGN";
409
+ readonly MISSING_CUSTOMER_ENDPOINT: "MISSING_CUSTOMER_ENDPOINT";
410
+ readonly MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT: "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT";
411
+ readonly REQUEST_THROTTLED: "REQUEST_THROTTLED";
412
+ };
413
+ export type FailureReasonCode =
414
+ (typeof FailureReasonCode)[keyof typeof FailureReasonCode];
415
+ export interface FailedRequest {
416
+ RequestIdentifier?: string;
417
+ FailureReasonCode?: FailureReasonCode;
418
+ FailureReasonMessage?: string;
419
+ }
420
+ export interface SuccessfulRequest {
421
+ RequestIdentifier?: string;
422
+ ContactId?: string;
423
+ }
424
+ export interface BatchPutContactResponse {
425
+ SuccessfulRequestList?: SuccessfulRequest[];
426
+ FailedRequestList?: FailedRequest[];
427
+ }
428
+ export declare class IdempotencyException extends __BaseException {
429
+ readonly name: "IdempotencyException";
430
+ readonly $fault: "client";
431
+ Message?: string;
432
+ constructor(
433
+ opts: __ExceptionOptionType<IdempotencyException, __BaseException>
434
+ );
435
+ }
375
436
  export interface ClaimPhoneNumberRequest {
376
437
  TargetArn?: string;
377
438
  InstanceId?: string;
@@ -384,14 +445,6 @@ export interface ClaimPhoneNumberResponse {
384
445
  PhoneNumberId?: string;
385
446
  PhoneNumberArn?: string;
386
447
  }
387
- export declare class IdempotencyException extends __BaseException {
388
- readonly name: "IdempotencyException";
389
- readonly $fault: "client";
390
- Message?: string;
391
- constructor(
392
- opts: __ExceptionOptionType<IdempotencyException, __BaseException>
393
- );
394
- }
395
448
  export interface CreateAgentStatusRequest {
396
449
  InstanceId: string | undefined;
397
450
  Name: string | undefined;
@@ -2018,68 +2071,6 @@ export declare const TrafficDistributionGroupStatus: {
2018
2071
  };
2019
2072
  export type TrafficDistributionGroupStatus =
2020
2073
  (typeof TrafficDistributionGroupStatus)[keyof typeof TrafficDistributionGroupStatus];
2021
- export interface TrafficDistributionGroup {
2022
- Id?: string;
2023
- Arn?: string;
2024
- Name?: string;
2025
- Description?: string;
2026
- InstanceArn?: string;
2027
- Status?: TrafficDistributionGroupStatus;
2028
- Tags?: Record<string, string>;
2029
- IsDefault?: boolean;
2030
- }
2031
- export interface DescribeTrafficDistributionGroupResponse {
2032
- TrafficDistributionGroup?: TrafficDistributionGroup;
2033
- }
2034
- export interface DescribeUserRequest {
2035
- UserId: string | undefined;
2036
- InstanceId: string | undefined;
2037
- }
2038
- export interface User {
2039
- Id?: string;
2040
- Arn?: string;
2041
- Username?: string;
2042
- IdentityInfo?: UserIdentityInfo;
2043
- PhoneConfig?: UserPhoneConfig;
2044
- DirectoryUserId?: string;
2045
- SecurityProfileIds?: string[];
2046
- RoutingProfileId?: string;
2047
- HierarchyGroupId?: string;
2048
- Tags?: Record<string, string>;
2049
- LastModifiedTime?: Date;
2050
- LastModifiedRegion?: string;
2051
- }
2052
- export interface DescribeUserResponse {
2053
- User?: User;
2054
- }
2055
- export interface DescribeUserHierarchyGroupRequest {
2056
- HierarchyGroupId: string | undefined;
2057
- InstanceId: string | undefined;
2058
- }
2059
- export interface HierarchyGroupSummary {
2060
- Id?: string;
2061
- Arn?: string;
2062
- Name?: string;
2063
- LastModifiedTime?: Date;
2064
- LastModifiedRegion?: string;
2065
- }
2066
- export interface HierarchyPath {
2067
- LevelOne?: HierarchyGroupSummary;
2068
- LevelTwo?: HierarchyGroupSummary;
2069
- LevelThree?: HierarchyGroupSummary;
2070
- LevelFour?: HierarchyGroupSummary;
2071
- LevelFive?: HierarchyGroupSummary;
2072
- }
2073
- export interface HierarchyGroup {
2074
- Id?: string;
2075
- Arn?: string;
2076
- Name?: string;
2077
- LevelId?: string;
2078
- HierarchyPath?: HierarchyPath;
2079
- Tags?: Record<string, string>;
2080
- LastModifiedTime?: Date;
2081
- LastModifiedRegion?: string;
2082
- }
2083
2074
  export declare const CreateInstanceRequestFilterSensitiveLog: (
2084
2075
  obj: CreateInstanceRequest
2085
2076
  ) => any;