@aws-sdk/client-connect 3.568.0 → 3.569.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 (58) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +391 -81
  3. package/dist-es/Connect.js +10 -0
  4. package/dist-es/commands/BatchGetAttachedFileMetadataCommand.js +24 -0
  5. package/dist-es/commands/CompleteAttachedFileUploadCommand.js +24 -0
  6. package/dist-es/commands/DeleteAttachedFileCommand.js +24 -0
  7. package/dist-es/commands/DescribeInstanceCommand.js +1 -1
  8. package/dist-es/commands/GetAttachedFileCommand.js +24 -0
  9. package/dist-es/commands/ReplicateInstanceCommand.js +1 -1
  10. package/dist-es/commands/StartAttachedFileUploadCommand.js +24 -0
  11. package/dist-es/commands/index.js +5 -0
  12. package/dist-es/models/models_0.js +33 -26
  13. package/dist-es/models/models_1.js +26 -42
  14. package/dist-es/models/models_2.js +42 -1
  15. package/dist-es/protocols/Aws_restJson1.js +163 -0
  16. package/dist-types/Connect.d.ts +35 -0
  17. package/dist-types/ConnectClient.d.ts +7 -2
  18. package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +105 -0
  19. package/dist-types/commands/CompleteAttachedFileUploadCommand.d.ts +75 -0
  20. package/dist-types/commands/DeleteAttachedFileCommand.d.ts +78 -0
  21. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  26. package/dist-types/commands/GetAttachedFileCommand.d.ts +97 -0
  27. package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -1
  28. package/dist-types/commands/ResumeContactCommand.d.ts +1 -1
  29. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
  31. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +108 -0
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/models/models_0.d.ts +308 -239
  34. package/dist-types/models/models_1.d.ts +356 -344
  35. package/dist-types/models/models_2.d.ts +472 -2
  36. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  37. package/dist-types/ts3.4/Connect.d.ts +85 -0
  38. package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/BatchGetAttachedFileMetadataCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/CompleteAttachedFileUploadCommand.d.ts +39 -0
  41. package/dist-types/ts3.4/commands/DeleteAttachedFileCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/GetAttachedFileCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +109 -74
  55. package/dist-types/ts3.4/models/models_1.d.ts +101 -99
  56. package/dist-types/ts3.4/models/models_2.d.ts +127 -3
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  58. package/package.json +4 -2
package/dist-cjs/index.js CHANGED
@@ -42,9 +42,11 @@ __export(src_exports, {
42
42
  AssociateSecurityKeyCommand: () => AssociateSecurityKeyCommand,
43
43
  AssociateTrafficDistributionGroupUserCommand: () => AssociateTrafficDistributionGroupUserCommand,
44
44
  AssociateUserProficienciesCommand: () => AssociateUserProficienciesCommand,
45
+ AttachedFileInvalidRequestExceptionReason: () => AttachedFileInvalidRequestExceptionReason,
45
46
  AttendeeFilterSensitiveLog: () => AttendeeFilterSensitiveLog,
46
47
  BatchAssociateAnalyticsDataSetCommand: () => BatchAssociateAnalyticsDataSetCommand,
47
48
  BatchDisassociateAnalyticsDataSetCommand: () => BatchDisassociateAnalyticsDataSetCommand,
49
+ BatchGetAttachedFileMetadataCommand: () => BatchGetAttachedFileMetadataCommand,
48
50
  BatchGetFlowAssociationCommand: () => BatchGetFlowAssociationCommand,
49
51
  BatchPutContactCommand: () => BatchPutContactCommand,
50
52
  BehaviorType: () => BehaviorType,
@@ -52,6 +54,7 @@ __export(src_exports, {
52
54
  ChatEventType: () => ChatEventType,
53
55
  ClaimPhoneNumberCommand: () => ClaimPhoneNumberCommand,
54
56
  Comparison: () => Comparison,
57
+ CompleteAttachedFileUploadCommand: () => CompleteAttachedFileUploadCommand,
55
58
  ConflictException: () => ConflictException,
56
59
  Connect: () => Connect,
57
60
  ConnectClient: () => ConnectClient,
@@ -96,9 +99,11 @@ __export(src_exports, {
96
99
  CreateViewVersionCommand: () => CreateViewVersionCommand,
97
100
  CreateViewVersionResponseFilterSensitiveLog: () => CreateViewVersionResponseFilterSensitiveLog,
98
101
  CreateVocabularyCommand: () => CreateVocabularyCommand,
102
+ CreatedByInfo: () => CreatedByInfo,
99
103
  CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,
100
104
  CurrentMetricName: () => CurrentMetricName,
101
105
  DeactivateEvaluationFormCommand: () => DeactivateEvaluationFormCommand,
106
+ DeleteAttachedFileCommand: () => DeleteAttachedFileCommand,
102
107
  DeleteContactEvaluationCommand: () => DeleteContactEvaluationCommand,
103
108
  DeleteContactFlowCommand: () => DeleteContactFlowCommand,
104
109
  DeleteContactFlowModuleCommand: () => DeleteContactFlowModuleCommand,
@@ -181,7 +186,10 @@ __export(src_exports, {
181
186
  EvaluationStatus: () => EvaluationStatus,
182
187
  EventSourceName: () => EventSourceName,
183
188
  FailureReasonCode: () => FailureReasonCode,
189
+ FileStatusType: () => FileStatusType,
190
+ FileUseCaseType: () => FileUseCaseType,
184
191
  FlowAssociationResourceType: () => FlowAssociationResourceType,
192
+ GetAttachedFileCommand: () => GetAttachedFileCommand,
185
193
  GetContactAttributesCommand: () => GetContactAttributesCommand,
186
194
  GetCurrentMetricDataCommand: () => GetCurrentMetricDataCommand,
187
195
  GetCurrentUserDataCommand: () => GetCurrentUserDataCommand,
@@ -211,6 +219,7 @@ __export(src_exports, {
211
219
  InvalidContactFlowModuleException: () => InvalidContactFlowModuleException,
212
220
  InvalidParameterException: () => InvalidParameterException,
213
221
  InvalidRequestException: () => InvalidRequestException,
222
+ InvalidRequestExceptionReason: () => InvalidRequestExceptionReason,
214
223
  LexVersion: () => LexVersion,
215
224
  LimitExceededException: () => LimitExceededException,
216
225
  ListAgentStatusesCommand: () => ListAgentStatusesCommand,
@@ -334,6 +343,7 @@ __export(src_exports, {
334
343
  SortOrder: () => SortOrder,
335
344
  SortableFieldName: () => SortableFieldName,
336
345
  SourceType: () => SourceType,
346
+ StartAttachedFileUploadCommand: () => StartAttachedFileUploadCommand,
337
347
  StartChatContactCommand: () => StartChatContactCommand,
338
348
  StartContactEvaluationCommand: () => StartContactEvaluationCommand,
339
349
  StartContactRecordingCommand: () => StartContactRecordingCommand,
@@ -838,6 +848,19 @@ var MonitorCapability = {
838
848
  BARGE: "BARGE",
839
849
  SILENT_MONITOR: "SILENT_MONITOR"
840
850
  };
851
+ var AttachedFileInvalidRequestExceptionReason = {
852
+ INVALID_FILE_NAME: "INVALID_FILE_NAME",
853
+ INVALID_FILE_SIZE: "INVALID_FILE_SIZE",
854
+ INVALID_FILE_TYPE: "INVALID_FILE_TYPE"
855
+ };
856
+ var InvalidRequestExceptionReason;
857
+ ((InvalidRequestExceptionReason2) => {
858
+ InvalidRequestExceptionReason2.visit = /* @__PURE__ */ __name((value, visitor) => {
859
+ if (value.AttachedFileInvalidRequestExceptionReason !== void 0)
860
+ return visitor.AttachedFileInvalidRequestExceptionReason(value.AttachedFileInvalidRequestExceptionReason);
861
+ return visitor._(value.$unknown[0], value.$unknown[1]);
862
+ }, "visit");
863
+ })(InvalidRequestExceptionReason || (InvalidRequestExceptionReason = {}));
841
864
  var _InvalidRequestException = class _InvalidRequestException extends ConnectServiceException {
842
865
  /**
843
866
  * @internal
@@ -852,6 +875,7 @@ var _InvalidRequestException = class _InvalidRequestException extends ConnectSer
852
875
  this.$fault = "client";
853
876
  Object.setPrototypeOf(this, _InvalidRequestException.prototype);
854
877
  this.Message = opts.Message;
878
+ this.Reason = opts.Reason;
855
879
  }
856
880
  };
857
881
  __name(_InvalidRequestException, "InvalidRequestException");
@@ -943,6 +967,25 @@ var StorageType = {
943
967
  KINESIS_VIDEO_STREAM: "KINESIS_VIDEO_STREAM",
944
968
  S3: "S3"
945
969
  };
970
+ var CreatedByInfo;
971
+ ((CreatedByInfo5) => {
972
+ CreatedByInfo5.visit = /* @__PURE__ */ __name((value, visitor) => {
973
+ if (value.ConnectUserArn !== void 0)
974
+ return visitor.ConnectUserArn(value.ConnectUserArn);
975
+ if (value.AWSIdentityArn !== void 0)
976
+ return visitor.AWSIdentityArn(value.AWSIdentityArn);
977
+ return visitor._(value.$unknown[0], value.$unknown[1]);
978
+ }, "visit");
979
+ })(CreatedByInfo || (CreatedByInfo = {}));
980
+ var FileStatusType = {
981
+ APPROVED: "APPROVED",
982
+ FAILED: "FAILED",
983
+ PROCESSING: "PROCESSING",
984
+ REJECTED: "REJECTED"
985
+ };
986
+ var FileUseCaseType = {
987
+ ATTACHMENT: "ATTACHMENT"
988
+ };
946
989
  var ListFlowAssociationResourceType = {
947
990
  VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER"
948
991
  };
@@ -1375,24 +1418,6 @@ var EvaluationFormVersionStatus = {
1375
1418
  ACTIVE: "ACTIVE",
1376
1419
  DRAFT: "DRAFT"
1377
1420
  };
1378
- var InstanceStatus = {
1379
- ACTIVE: "ACTIVE",
1380
- CREATION_FAILED: "CREATION_FAILED",
1381
- CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS"
1382
- };
1383
- var InstanceAttributeType = {
1384
- AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES",
1385
- CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS",
1386
- CONTACT_LENS: "CONTACT_LENS",
1387
- EARLY_MEDIA: "EARLY_MEDIA",
1388
- ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING",
1389
- ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING",
1390
- HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND",
1391
- INBOUND_CALLS: "INBOUND_CALLS",
1392
- MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE",
1393
- OUTBOUND_CALLS: "OUTBOUND_CALLS",
1394
- USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES"
1395
- };
1396
1421
  var CreateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1397
1422
  ...obj,
1398
1423
  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
@@ -1445,17 +1470,27 @@ var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
1445
1470
  ...obj,
1446
1471
  ...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
1447
1472
  }), "DescribeContactResponseFilterSensitiveLog");
1448
- var InstanceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1449
- ...obj,
1450
- ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
1451
- }), "InstanceFilterSensitiveLog");
1452
- var DescribeInstanceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1453
- ...obj,
1454
- ...obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }
1455
- }), "DescribeInstanceResponseFilterSensitiveLog");
1456
1473
 
1457
1474
  // src/models/models_1.ts
1458
1475
 
1476
+ var InstanceStatus = {
1477
+ ACTIVE: "ACTIVE",
1478
+ CREATION_FAILED: "CREATION_FAILED",
1479
+ CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS"
1480
+ };
1481
+ var InstanceAttributeType = {
1482
+ AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES",
1483
+ CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS",
1484
+ CONTACT_LENS: "CONTACT_LENS",
1485
+ EARLY_MEDIA: "EARLY_MEDIA",
1486
+ ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING",
1487
+ ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING",
1488
+ HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND",
1489
+ INBOUND_CALLS: "INBOUND_CALLS",
1490
+ MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE",
1491
+ OUTBOUND_CALLS: "OUTBOUND_CALLS",
1492
+ USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES"
1493
+ };
1459
1494
  var PhoneNumberCountryCode = {
1460
1495
  AD: "AD",
1461
1496
  AE: "AE",
@@ -1932,18 +1967,14 @@ var _ConflictException = class _ConflictException extends ConnectServiceExceptio
1932
1967
  };
1933
1968
  __name(_ConflictException, "ConflictException");
1934
1969
  var ConflictException = _ConflictException;
1935
- var SearchContactsMatchType = {
1936
- MATCH_ALL: "MATCH_ALL",
1937
- MATCH_ANY: "MATCH_ANY"
1938
- };
1939
- var SortableFieldName = {
1940
- CHANNEL: "CHANNEL",
1941
- CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
1942
- DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
1943
- INITIATION_METHOD: "INITIATION_METHOD",
1944
- INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
1945
- SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP"
1946
- };
1970
+ var InstanceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1971
+ ...obj,
1972
+ ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
1973
+ }), "InstanceFilterSensitiveLog");
1974
+ var DescribeInstanceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1975
+ ...obj,
1976
+ ...obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }
1977
+ }), "DescribeInstanceResponseFilterSensitiveLog");
1947
1978
  var UserFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1948
1979
  ...obj,
1949
1980
  ...obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }
@@ -1999,39 +2030,21 @@ var ReplicateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
1999
2030
  ...obj,
2000
2031
  ...obj.ReplicaAlias && { ReplicaAlias: import_smithy_client.SENSITIVE_STRING }
2001
2032
  }), "ReplicateInstanceRequestFilterSensitiveLog");
2002
- var TranscriptCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2003
- ...obj,
2004
- ...obj.SearchText && { SearchText: import_smithy_client.SENSITIVE_STRING }
2005
- }), "TranscriptCriteriaFilterSensitiveLog");
2006
- var TranscriptFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2007
- ...obj,
2008
- ...obj.Criteria && { Criteria: obj.Criteria.map((item) => TranscriptCriteriaFilterSensitiveLog(item)) }
2009
- }), "TranscriptFilterSensitiveLog");
2010
- var ContactAnalysisFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2011
- ...obj,
2012
- ...obj.Transcript && { Transcript: TranscriptFilterSensitiveLog(obj.Transcript) }
2013
- }), "ContactAnalysisFilterSensitiveLog");
2014
- var SearchableContactAttributesCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2015
- ...obj,
2016
- ...obj.Key && { Key: import_smithy_client.SENSITIVE_STRING },
2017
- ...obj.Values && { Values: import_smithy_client.SENSITIVE_STRING }
2018
- }), "SearchableContactAttributesCriteriaFilterSensitiveLog");
2019
- var SearchableContactAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2020
- ...obj,
2021
- ...obj.Criteria && {
2022
- Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item))
2023
- }
2024
- }), "SearchableContactAttributesFilterSensitiveLog");
2025
- var SearchCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2026
- ...obj,
2027
- ...obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) },
2028
- ...obj.SearchableContactAttributes && {
2029
- SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes)
2030
- }
2031
- }), "SearchCriteriaFilterSensitiveLog");
2032
2033
 
2033
2034
  // src/models/models_2.ts
2034
2035
 
2036
+ var SearchContactsMatchType = {
2037
+ MATCH_ALL: "MATCH_ALL",
2038
+ MATCH_ANY: "MATCH_ANY"
2039
+ };
2040
+ var SortableFieldName = {
2041
+ CHANNEL: "CHANNEL",
2042
+ CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
2043
+ DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
2044
+ INITIATION_METHOD: "INITIATION_METHOD",
2045
+ INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
2046
+ SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP"
2047
+ };
2035
2048
  var SearchContactsTimeRangeType = {
2036
2049
  CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
2037
2050
  DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
@@ -2179,6 +2192,36 @@ var EvaluationFormItem;
2179
2192
  return visitor._(value.$unknown[0], value.$unknown[1]);
2180
2193
  }, "visit");
2181
2194
  })(EvaluationFormItem || (EvaluationFormItem = {}));
2195
+ var TranscriptCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2196
+ ...obj,
2197
+ ...obj.SearchText && { SearchText: import_smithy_client.SENSITIVE_STRING }
2198
+ }), "TranscriptCriteriaFilterSensitiveLog");
2199
+ var TranscriptFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2200
+ ...obj,
2201
+ ...obj.Criteria && { Criteria: obj.Criteria.map((item) => TranscriptCriteriaFilterSensitiveLog(item)) }
2202
+ }), "TranscriptFilterSensitiveLog");
2203
+ var ContactAnalysisFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2204
+ ...obj,
2205
+ ...obj.Transcript && { Transcript: TranscriptFilterSensitiveLog(obj.Transcript) }
2206
+ }), "ContactAnalysisFilterSensitiveLog");
2207
+ var SearchableContactAttributesCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2208
+ ...obj,
2209
+ ...obj.Key && { Key: import_smithy_client.SENSITIVE_STRING },
2210
+ ...obj.Values && { Values: import_smithy_client.SENSITIVE_STRING }
2211
+ }), "SearchableContactAttributesCriteriaFilterSensitiveLog");
2212
+ var SearchableContactAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2213
+ ...obj,
2214
+ ...obj.Criteria && {
2215
+ Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item))
2216
+ }
2217
+ }), "SearchableContactAttributesFilterSensitiveLog");
2218
+ var SearchCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2219
+ ...obj,
2220
+ ...obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) },
2221
+ ...obj.SearchableContactAttributes && {
2222
+ SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes)
2223
+ }
2224
+ }), "SearchCriteriaFilterSensitiveLog");
2182
2225
  var SearchContactsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2183
2226
  ...obj,
2184
2227
  ...obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }
@@ -2531,6 +2574,25 @@ var se_BatchDisassociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (
2531
2574
  b.m("POST").h(headers).b(body);
2532
2575
  return b.build();
2533
2576
  }, "se_BatchDisassociateAnalyticsDataSetCommand");
2577
+ var se_BatchGetAttachedFileMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
2578
+ const b = (0, import_core.requestBuilder)(input, context);
2579
+ const headers = {
2580
+ "content-type": "application/json"
2581
+ };
2582
+ b.bp("/attached-files/{InstanceId}");
2583
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
2584
+ const query = (0, import_smithy_client.map)({
2585
+ [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]
2586
+ });
2587
+ let body;
2588
+ body = JSON.stringify(
2589
+ (0, import_smithy_client.take)(input, {
2590
+ FileIds: (_) => (0, import_smithy_client._json)(_)
2591
+ })
2592
+ );
2593
+ b.m("POST").h(headers).q(query).b(body);
2594
+ return b.build();
2595
+ }, "se_BatchGetAttachedFileMetadataCommand");
2534
2596
  var se_BatchGetFlowAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
2535
2597
  const b = (0, import_core.requestBuilder)(input, context);
2536
2598
  const headers = {
@@ -2585,6 +2647,19 @@ var se_ClaimPhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) =
2585
2647
  b.m("POST").h(headers).b(body);
2586
2648
  return b.build();
2587
2649
  }, "se_ClaimPhoneNumberCommand");
2650
+ var se_CompleteAttachedFileUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
2651
+ const b = (0, import_core.requestBuilder)(input, context);
2652
+ const headers = {};
2653
+ b.bp("/attached-files/{InstanceId}/{FileId}");
2654
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
2655
+ b.p("FileId", () => input.FileId, "{FileId}", false);
2656
+ const query = (0, import_smithy_client.map)({
2657
+ [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]
2658
+ });
2659
+ let body;
2660
+ b.m("POST").h(headers).q(query).b(body);
2661
+ return b.build();
2662
+ }, "se_CompleteAttachedFileUploadCommand");
2588
2663
  var se_CreateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
2589
2664
  const b = (0, import_core.requestBuilder)(input, context);
2590
2665
  const headers = {
@@ -3086,6 +3161,19 @@ var se_DeactivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, co
3086
3161
  b.m("POST").h(headers).b(body);
3087
3162
  return b.build();
3088
3163
  }, "se_DeactivateEvaluationFormCommand");
3164
+ var se_DeleteAttachedFileCommand = /* @__PURE__ */ __name(async (input, context) => {
3165
+ const b = (0, import_core.requestBuilder)(input, context);
3166
+ const headers = {};
3167
+ b.bp("/attached-files/{InstanceId}/{FileId}");
3168
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3169
+ b.p("FileId", () => input.FileId, "{FileId}", false);
3170
+ const query = (0, import_smithy_client.map)({
3171
+ [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]
3172
+ });
3173
+ let body;
3174
+ b.m("DELETE").h(headers).q(query).b(body);
3175
+ return b.build();
3176
+ }, "se_DeleteAttachedFileCommand");
3089
3177
  var se_DeleteContactEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {
3090
3178
  const b = (0, import_core.requestBuilder)(input, context);
3091
3179
  const headers = {};
@@ -3749,6 +3837,20 @@ var se_DismissUserContactCommand = /* @__PURE__ */ __name(async (input, context)
3749
3837
  b.m("POST").h(headers).b(body);
3750
3838
  return b.build();
3751
3839
  }, "se_DismissUserContactCommand");
3840
+ var se_GetAttachedFileCommand = /* @__PURE__ */ __name(async (input, context) => {
3841
+ const b = (0, import_core.requestBuilder)(input, context);
3842
+ const headers = {};
3843
+ b.bp("/attached-files/{InstanceId}/{FileId}");
3844
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3845
+ b.p("FileId", () => input.FileId, "{FileId}", false);
3846
+ const query = (0, import_smithy_client.map)({
3847
+ [_uEIS]: [() => input.UrlExpiryInSeconds !== void 0, () => input[_UEIS].toString()],
3848
+ [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]
3849
+ });
3850
+ let body;
3851
+ b.m("GET").h(headers).q(query).b(body);
3852
+ return b.build();
3853
+ }, "se_GetAttachedFileCommand");
3752
3854
  var se_GetContactAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
3753
3855
  const b = (0, import_core.requestBuilder)(input, context);
3754
3856
  const headers = {};
@@ -4901,6 +5003,31 @@ var se_SendChatIntegrationEventCommand = /* @__PURE__ */ __name(async (input, co
4901
5003
  b.m("POST").h(headers).b(body);
4902
5004
  return b.build();
4903
5005
  }, "se_SendChatIntegrationEventCommand");
5006
+ var se_StartAttachedFileUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
5007
+ const b = (0, import_core.requestBuilder)(input, context);
5008
+ const headers = {
5009
+ "content-type": "application/json"
5010
+ };
5011
+ b.bp("/attached-files/{InstanceId}");
5012
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
5013
+ const query = (0, import_smithy_client.map)({
5014
+ [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]
5015
+ });
5016
+ let body;
5017
+ body = JSON.stringify(
5018
+ (0, import_smithy_client.take)(input, {
5019
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
5020
+ CreatedBy: (_) => (0, import_smithy_client._json)(_),
5021
+ FileName: [],
5022
+ FileSizeInBytes: [],
5023
+ FileUseCaseType: [],
5024
+ Tags: (_) => (0, import_smithy_client._json)(_),
5025
+ UrlExpiryInSeconds: []
5026
+ })
5027
+ );
5028
+ b.m("PUT").h(headers).q(query).b(body);
5029
+ return b.build();
5030
+ }, "se_StartAttachedFileUploadCommand");
4904
5031
  var se_StartChatContactCommand = /* @__PURE__ */ __name(async (input, context) => {
4905
5032
  const b = (0, import_core.requestBuilder)(input, context);
4906
5033
  const headers = {
@@ -6258,6 +6385,21 @@ var de_BatchDisassociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (
6258
6385
  Object.assign(contents, doc);
6259
6386
  return contents;
6260
6387
  }, "de_BatchDisassociateAnalyticsDataSetCommand");
6388
+ var de_BatchGetAttachedFileMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
6389
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6390
+ return de_CommandError(output, context);
6391
+ }
6392
+ const contents = (0, import_smithy_client.map)({
6393
+ $metadata: deserializeMetadata(output)
6394
+ });
6395
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
6396
+ const doc = (0, import_smithy_client.take)(data, {
6397
+ Errors: import_smithy_client._json,
6398
+ Files: import_smithy_client._json
6399
+ });
6400
+ Object.assign(contents, doc);
6401
+ return contents;
6402
+ }, "de_BatchGetAttachedFileMetadataCommand");
6261
6403
  var de_BatchGetFlowAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
6262
6404
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6263
6405
  return de_CommandError(output, context);
@@ -6302,6 +6444,16 @@ var de_ClaimPhoneNumberCommand = /* @__PURE__ */ __name(async (output, context)
6302
6444
  Object.assign(contents, doc);
6303
6445
  return contents;
6304
6446
  }, "de_ClaimPhoneNumberCommand");
6447
+ var de_CompleteAttachedFileUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
6448
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6449
+ return de_CommandError(output, context);
6450
+ }
6451
+ const contents = (0, import_smithy_client.map)({
6452
+ $metadata: deserializeMetadata(output)
6453
+ });
6454
+ await (0, import_smithy_client.collectBody)(output.body, context);
6455
+ return contents;
6456
+ }, "de_CompleteAttachedFileUploadCommand");
6305
6457
  var de_CreateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
6306
6458
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6307
6459
  return de_CommandError(output, context);
@@ -6671,6 +6823,16 @@ var de_DeactivateEvaluationFormCommand = /* @__PURE__ */ __name(async (output, c
6671
6823
  Object.assign(contents, doc);
6672
6824
  return contents;
6673
6825
  }, "de_DeactivateEvaluationFormCommand");
6826
+ var de_DeleteAttachedFileCommand = /* @__PURE__ */ __name(async (output, context) => {
6827
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6828
+ return de_CommandError(output, context);
6829
+ }
6830
+ const contents = (0, import_smithy_client.map)({
6831
+ $metadata: deserializeMetadata(output)
6832
+ });
6833
+ await (0, import_smithy_client.collectBody)(output.body, context);
6834
+ return contents;
6835
+ }, "de_DeleteAttachedFileCommand");
6674
6836
  var de_DeleteContactEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {
6675
6837
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6676
6838
  return de_CommandError(output, context);
@@ -7374,6 +7536,30 @@ var de_DismissUserContactCommand = /* @__PURE__ */ __name(async (output, context
7374
7536
  await (0, import_smithy_client.collectBody)(output.body, context);
7375
7537
  return contents;
7376
7538
  }, "de_DismissUserContactCommand");
7539
+ var de_GetAttachedFileCommand = /* @__PURE__ */ __name(async (output, context) => {
7540
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7541
+ return de_CommandError(output, context);
7542
+ }
7543
+ const contents = (0, import_smithy_client.map)({
7544
+ $metadata: deserializeMetadata(output)
7545
+ });
7546
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
7547
+ const doc = (0, import_smithy_client.take)(data, {
7548
+ AssociatedResourceArn: import_smithy_client.expectString,
7549
+ CreatedBy: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
7550
+ CreationTime: import_smithy_client.expectString,
7551
+ DownloadUrlMetadata: import_smithy_client._json,
7552
+ FileArn: import_smithy_client.expectString,
7553
+ FileId: import_smithy_client.expectString,
7554
+ FileName: import_smithy_client.expectString,
7555
+ FileSizeInBytes: import_smithy_client.expectLong,
7556
+ FileStatus: import_smithy_client.expectString,
7557
+ FileUseCaseType: import_smithy_client.expectString,
7558
+ Tags: import_smithy_client._json
7559
+ });
7560
+ Object.assign(contents, doc);
7561
+ return contents;
7562
+ }, "de_GetAttachedFileCommand");
7377
7563
  var de_GetContactAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
7378
7564
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7379
7565
  return de_CommandError(output, context);
@@ -8514,6 +8700,25 @@ var de_SendChatIntegrationEventCommand = /* @__PURE__ */ __name(async (output, c
8514
8700
  Object.assign(contents, doc);
8515
8701
  return contents;
8516
8702
  }, "de_SendChatIntegrationEventCommand");
8703
+ var de_StartAttachedFileUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
8704
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8705
+ return de_CommandError(output, context);
8706
+ }
8707
+ const contents = (0, import_smithy_client.map)({
8708
+ $metadata: deserializeMetadata(output)
8709
+ });
8710
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
8711
+ const doc = (0, import_smithy_client.take)(data, {
8712
+ CreatedBy: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
8713
+ CreationTime: import_smithy_client.expectString,
8714
+ FileArn: import_smithy_client.expectString,
8715
+ FileId: import_smithy_client.expectString,
8716
+ FileStatus: import_smithy_client.expectString,
8717
+ UploadUrlMetadata: import_smithy_client._json
8718
+ });
8719
+ Object.assign(contents, doc);
8720
+ return contents;
8721
+ }, "de_StartAttachedFileUploadCommand");
8517
8722
  var de_StartChatContactCommand = /* @__PURE__ */ __name(async (output, context) => {
8518
8723
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8519
8724
  return de_CommandError(output, context);
@@ -9464,7 +9669,8 @@ var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
9464
9669
  const contents = (0, import_smithy_client.map)({});
9465
9670
  const data = parsedOutput.body;
9466
9671
  const doc = (0, import_smithy_client.take)(data, {
9467
- Message: import_smithy_client.expectString
9672
+ Message: import_smithy_client.expectString,
9673
+ Reason: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_))
9468
9674
  });
9469
9675
  Object.assign(contents, doc);
9470
9676
  const exception = new InvalidRequestException({
@@ -10974,6 +11180,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
10974
11180
  extendedRequestId: output.headers["x-amz-id-2"],
10975
11181
  cfId: output.headers["x-amz-cf-id"]
10976
11182
  }), "deserializeMetadata");
11183
+ var _ARA = "AssociatedResourceArn";
10977
11184
  var _AST = "AgentStatusTypes";
10978
11185
  var _BN = "BotName";
10979
11186
  var _CFMS = "ContactFlowModuleState";
@@ -11004,7 +11211,9 @@ var _S = "Status";
11004
11211
  var _SV = "SnapshotVersion";
11005
11212
  var _T = "Type";
11006
11213
  var _TK = "TagKeys";
11214
+ var _UEIS = "UrlExpiryInSeconds";
11007
11215
  var _UI = "UserId";
11216
+ var _aRA = "associatedResourceArn";
11008
11217
  var _bN = "botName";
11009
11218
  var _cFT = "contactFlowTypes";
11010
11219
  var _cI = "contactId";
@@ -11031,6 +11240,7 @@ var _sV = "snapshotVersion";
11031
11240
  var _st = "status";
11032
11241
  var _t = "type";
11033
11242
  var _tK = "tagKeys";
11243
+ var _uEIS = "urlExpiryInSeconds";
11034
11244
  var _v = "version";
11035
11245
 
11036
11246
  // src/commands/ActivateEvaluationFormCommand.ts
@@ -11318,6 +11528,23 @@ var _BatchDisassociateAnalyticsDataSetCommand = class _BatchDisassociateAnalytic
11318
11528
  __name(_BatchDisassociateAnalyticsDataSetCommand, "BatchDisassociateAnalyticsDataSetCommand");
11319
11529
  var BatchDisassociateAnalyticsDataSetCommand = _BatchDisassociateAnalyticsDataSetCommand;
11320
11530
 
11531
+ // src/commands/BatchGetAttachedFileMetadataCommand.ts
11532
+
11533
+
11534
+
11535
+
11536
+ var _BatchGetAttachedFileMetadataCommand = class _BatchGetAttachedFileMetadataCommand extends import_smithy_client.Command.classBuilder().ep({
11537
+ ...commonParams
11538
+ }).m(function(Command, cs, config, o) {
11539
+ return [
11540
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11541
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11542
+ ];
11543
+ }).s("AmazonConnectService", "BatchGetAttachedFileMetadata", {}).n("ConnectClient", "BatchGetAttachedFileMetadataCommand").f(void 0, void 0).ser(se_BatchGetAttachedFileMetadataCommand).de(de_BatchGetAttachedFileMetadataCommand).build() {
11544
+ };
11545
+ __name(_BatchGetAttachedFileMetadataCommand, "BatchGetAttachedFileMetadataCommand");
11546
+ var BatchGetAttachedFileMetadataCommand = _BatchGetAttachedFileMetadataCommand;
11547
+
11321
11548
  // src/commands/BatchGetFlowAssociationCommand.ts
11322
11549
 
11323
11550
 
@@ -11369,6 +11596,23 @@ var _ClaimPhoneNumberCommand = class _ClaimPhoneNumberCommand extends import_smi
11369
11596
  __name(_ClaimPhoneNumberCommand, "ClaimPhoneNumberCommand");
11370
11597
  var ClaimPhoneNumberCommand = _ClaimPhoneNumberCommand;
11371
11598
 
11599
+ // src/commands/CompleteAttachedFileUploadCommand.ts
11600
+
11601
+
11602
+
11603
+
11604
+ var _CompleteAttachedFileUploadCommand = class _CompleteAttachedFileUploadCommand extends import_smithy_client.Command.classBuilder().ep({
11605
+ ...commonParams
11606
+ }).m(function(Command, cs, config, o) {
11607
+ return [
11608
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11609
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11610
+ ];
11611
+ }).s("AmazonConnectService", "CompleteAttachedFileUpload", {}).n("ConnectClient", "CompleteAttachedFileUploadCommand").f(void 0, void 0).ser(se_CompleteAttachedFileUploadCommand).de(de_CompleteAttachedFileUploadCommand).build() {
11612
+ };
11613
+ __name(_CompleteAttachedFileUploadCommand, "CompleteAttachedFileUploadCommand");
11614
+ var CompleteAttachedFileUploadCommand = _CompleteAttachedFileUploadCommand;
11615
+
11372
11616
  // src/commands/CreateAgentStatusCommand.ts
11373
11617
 
11374
11618
 
@@ -11794,6 +12038,23 @@ var _DeactivateEvaluationFormCommand = class _DeactivateEvaluationFormCommand ex
11794
12038
  __name(_DeactivateEvaluationFormCommand, "DeactivateEvaluationFormCommand");
11795
12039
  var DeactivateEvaluationFormCommand = _DeactivateEvaluationFormCommand;
11796
12040
 
12041
+ // src/commands/DeleteAttachedFileCommand.ts
12042
+
12043
+
12044
+
12045
+
12046
+ var _DeleteAttachedFileCommand = class _DeleteAttachedFileCommand extends import_smithy_client.Command.classBuilder().ep({
12047
+ ...commonParams
12048
+ }).m(function(Command, cs, config, o) {
12049
+ return [
12050
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
12051
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
12052
+ ];
12053
+ }).s("AmazonConnectService", "DeleteAttachedFile", {}).n("ConnectClient", "DeleteAttachedFileCommand").f(void 0, void 0).ser(se_DeleteAttachedFileCommand).de(de_DeleteAttachedFileCommand).build() {
12054
+ };
12055
+ __name(_DeleteAttachedFileCommand, "DeleteAttachedFileCommand");
12056
+ var DeleteAttachedFileCommand = _DeleteAttachedFileCommand;
12057
+
11797
12058
  // src/commands/DeleteContactEvaluationCommand.ts
11798
12059
 
11799
12060
 
@@ -12814,6 +13075,23 @@ var _DismissUserContactCommand = class _DismissUserContactCommand extends import
12814
13075
  __name(_DismissUserContactCommand, "DismissUserContactCommand");
12815
13076
  var DismissUserContactCommand = _DismissUserContactCommand;
12816
13077
 
13078
+ // src/commands/GetAttachedFileCommand.ts
13079
+
13080
+
13081
+
13082
+
13083
+ var _GetAttachedFileCommand = class _GetAttachedFileCommand extends import_smithy_client.Command.classBuilder().ep({
13084
+ ...commonParams
13085
+ }).m(function(Command, cs, config, o) {
13086
+ return [
13087
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
13088
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
13089
+ ];
13090
+ }).s("AmazonConnectService", "GetAttachedFile", {}).n("ConnectClient", "GetAttachedFileCommand").f(void 0, void 0).ser(se_GetAttachedFileCommand).de(de_GetAttachedFileCommand).build() {
13091
+ };
13092
+ __name(_GetAttachedFileCommand, "GetAttachedFileCommand");
13093
+ var GetAttachedFileCommand = _GetAttachedFileCommand;
13094
+
12817
13095
  // src/commands/GetContactAttributesCommand.ts
12818
13096
 
12819
13097
 
@@ -14089,6 +14367,23 @@ var _SendChatIntegrationEventCommand = class _SendChatIntegrationEventCommand ex
14089
14367
  __name(_SendChatIntegrationEventCommand, "SendChatIntegrationEventCommand");
14090
14368
  var SendChatIntegrationEventCommand = _SendChatIntegrationEventCommand;
14091
14369
 
14370
+ // src/commands/StartAttachedFileUploadCommand.ts
14371
+
14372
+
14373
+
14374
+
14375
+ var _StartAttachedFileUploadCommand = class _StartAttachedFileUploadCommand extends import_smithy_client.Command.classBuilder().ep({
14376
+ ...commonParams
14377
+ }).m(function(Command, cs, config, o) {
14378
+ return [
14379
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
14380
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
14381
+ ];
14382
+ }).s("AmazonConnectService", "StartAttachedFileUpload", {}).n("ConnectClient", "StartAttachedFileUploadCommand").f(void 0, void 0).ser(se_StartAttachedFileUploadCommand).de(de_StartAttachedFileUploadCommand).build() {
14383
+ };
14384
+ __name(_StartAttachedFileUploadCommand, "StartAttachedFileUploadCommand");
14385
+ var StartAttachedFileUploadCommand = _StartAttachedFileUploadCommand;
14386
+
14092
14387
  // src/commands/StartChatContactCommand.ts
14093
14388
 
14094
14389
 
@@ -15179,9 +15474,11 @@ var commands = {
15179
15474
  AssociateUserProficienciesCommand,
15180
15475
  BatchAssociateAnalyticsDataSetCommand,
15181
15476
  BatchDisassociateAnalyticsDataSetCommand,
15477
+ BatchGetAttachedFileMetadataCommand,
15182
15478
  BatchGetFlowAssociationCommand,
15183
15479
  BatchPutContactCommand,
15184
15480
  ClaimPhoneNumberCommand,
15481
+ CompleteAttachedFileUploadCommand,
15185
15482
  CreateAgentStatusCommand,
15186
15483
  CreateContactFlowCommand,
15187
15484
  CreateContactFlowModuleCommand,
@@ -15207,6 +15504,7 @@ var commands = {
15207
15504
  CreateViewVersionCommand,
15208
15505
  CreateVocabularyCommand,
15209
15506
  DeactivateEvaluationFormCommand,
15507
+ DeleteAttachedFileCommand,
15210
15508
  DeleteContactEvaluationCommand,
15211
15509
  DeleteContactFlowCommand,
15212
15510
  DeleteContactFlowModuleCommand,
@@ -15267,6 +15565,7 @@ var commands = {
15267
15565
  DisassociateTrafficDistributionGroupUserCommand,
15268
15566
  DisassociateUserProficienciesCommand,
15269
15567
  DismissUserContactCommand,
15568
+ GetAttachedFileCommand,
15270
15569
  GetContactAttributesCommand,
15271
15570
  GetCurrentMetricDataCommand,
15272
15571
  GetCurrentUserDataCommand,
@@ -15342,6 +15641,7 @@ var commands = {
15342
15641
  SearchUsersCommand,
15343
15642
  SearchVocabulariesCommand,
15344
15643
  SendChatIntegrationEventCommand,
15644
+ StartAttachedFileUploadCommand,
15345
15645
  StartChatContactCommand,
15346
15646
  StartContactEvaluationCommand,
15347
15647
  StartContactRecordingCommand,
@@ -15668,9 +15968,11 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
15668
15968
  AssociateUserProficienciesCommand,
15669
15969
  BatchAssociateAnalyticsDataSetCommand,
15670
15970
  BatchDisassociateAnalyticsDataSetCommand,
15971
+ BatchGetAttachedFileMetadataCommand,
15671
15972
  BatchGetFlowAssociationCommand,
15672
15973
  BatchPutContactCommand,
15673
15974
  ClaimPhoneNumberCommand,
15975
+ CompleteAttachedFileUploadCommand,
15674
15976
  CreateAgentStatusCommand,
15675
15977
  CreateContactFlowCommand,
15676
15978
  CreateContactFlowModuleCommand,
@@ -15696,6 +15998,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
15696
15998
  CreateViewVersionCommand,
15697
15999
  CreateVocabularyCommand,
15698
16000
  DeactivateEvaluationFormCommand,
16001
+ DeleteAttachedFileCommand,
15699
16002
  DeleteContactEvaluationCommand,
15700
16003
  DeleteContactFlowCommand,
15701
16004
  DeleteContactFlowModuleCommand,
@@ -15756,6 +16059,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
15756
16059
  DisassociateTrafficDistributionGroupUserCommand,
15757
16060
  DisassociateUserProficienciesCommand,
15758
16061
  DismissUserContactCommand,
16062
+ GetAttachedFileCommand,
15759
16063
  GetContactAttributesCommand,
15760
16064
  GetCurrentMetricDataCommand,
15761
16065
  GetCurrentUserDataCommand,
@@ -15831,6 +16135,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
15831
16135
  SearchUsersCommand,
15832
16136
  SearchVocabulariesCommand,
15833
16137
  SendChatIntegrationEventCommand,
16138
+ StartAttachedFileUploadCommand,
15834
16139
  StartChatContactCommand,
15835
16140
  StartContactEvaluationCommand,
15836
16141
  StartContactRecordingCommand,
@@ -15967,6 +16272,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
15967
16272
  AgentStatusType,
15968
16273
  VideoCapability,
15969
16274
  MonitorCapability,
16275
+ AttachedFileInvalidRequestExceptionReason,
16276
+ InvalidRequestExceptionReason,
15970
16277
  InvalidRequestException,
15971
16278
  ServiceQuotaExceededException,
15972
16279
  LimitExceededException,
@@ -15975,6 +16282,9 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
15975
16282
  InstanceStorageResourceType,
15976
16283
  EncryptionType,
15977
16284
  StorageType,
16285
+ CreatedByInfo,
16286
+ FileStatusType,
16287
+ FileUseCaseType,
15978
16288
  ListFlowAssociationResourceType,
15979
16289
  EndpointType,
15980
16290
  FailureReasonCode,
@@ -16026,8 +16336,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16026
16336
  ContactFlowModuleState,
16027
16337
  ContactFlowModuleStatus,
16028
16338
  EvaluationFormVersionStatus,
16029
- InstanceStatus,
16030
- InstanceAttributeType,
16031
16339
  CreateInstanceRequestFilterSensitiveLog,
16032
16340
  UserIdentityInfoFilterSensitiveLog,
16033
16341
  CreateUserRequestFilterSensitiveLog,
@@ -16039,8 +16347,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16039
16347
  CreateViewVersionResponseFilterSensitiveLog,
16040
16348
  ContactFilterSensitiveLog,
16041
16349
  DescribeContactResponseFilterSensitiveLog,
16042
- InstanceFilterSensitiveLog,
16043
- DescribeInstanceResponseFilterSensitiveLog,
16350
+ InstanceStatus,
16351
+ InstanceAttributeType,
16044
16352
  PhoneNumberCountryCode,
16045
16353
  PhoneNumberWorkflowStatus,
16046
16354
  PhoneNumberType,
@@ -16069,8 +16377,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16069
16377
  RealTimeContactAnalysisStatus,
16070
16378
  OutputTypeNotFoundException,
16071
16379
  ConflictException,
16072
- SearchContactsMatchType,
16073
- SortableFieldName,
16380
+ InstanceFilterSensitiveLog,
16381
+ DescribeInstanceResponseFilterSensitiveLog,
16074
16382
  UserFilterSensitiveLog,
16075
16383
  DescribeUserResponseFilterSensitiveLog,
16076
16384
  DescribeViewResponseFilterSensitiveLog,
@@ -16083,12 +16391,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16083
16391
  ViewVersionSummaryFilterSensitiveLog,
16084
16392
  ListViewVersionsResponseFilterSensitiveLog,
16085
16393
  ReplicateInstanceRequestFilterSensitiveLog,
16086
- TranscriptCriteriaFilterSensitiveLog,
16087
- TranscriptFilterSensitiveLog,
16088
- ContactAnalysisFilterSensitiveLog,
16089
- SearchableContactAttributesCriteriaFilterSensitiveLog,
16090
- SearchableContactAttributesFilterSensitiveLog,
16091
- SearchCriteriaFilterSensitiveLog,
16394
+ SearchContactsMatchType,
16395
+ SortableFieldName,
16092
16396
  SearchContactsTimeRangeType,
16093
16397
  StringComparisonType,
16094
16398
  SearchableQueueType,
@@ -16107,6 +16411,12 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16107
16411
  ParticipantTimerValue,
16108
16412
  UpdateParticipantRoleConfigChannelInfo,
16109
16413
  EvaluationFormItem,
16414
+ TranscriptCriteriaFilterSensitiveLog,
16415
+ TranscriptFilterSensitiveLog,
16416
+ ContactAnalysisFilterSensitiveLog,
16417
+ SearchableContactAttributesCriteriaFilterSensitiveLog,
16418
+ SearchableContactAttributesFilterSensitiveLog,
16419
+ SearchCriteriaFilterSensitiveLog,
16110
16420
  SearchContactsRequestFilterSensitiveLog,
16111
16421
  UserIdentityInfoLiteFilterSensitiveLog,
16112
16422
  UserSearchSummaryFilterSensitiveLog,