@aws-sdk/client-connect 3.51.0 → 3.54.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.
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./ConnectClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ConnectServiceException } from "./models/ConnectServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ConnectServiceException = (function (_super) {
4
+ __extends(ConnectServiceException, _super);
5
+ function ConnectServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ConnectServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ConnectServiceException;
11
+ }(__ServiceException));
12
+ export { ConnectServiceException };
@@ -1,5 +1,19 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ _this.Message = opts.Message;
12
+ return _this;
13
+ }
14
+ return AccessDeniedException;
15
+ }(__BaseException));
16
+ export { AccessDeniedException };
3
17
  export var AgentInfo;
4
18
  (function (AgentInfo) {
5
19
  AgentInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -27,6 +41,97 @@ export var AssociateApprovedOriginRequest;
27
41
  (function (AssociateApprovedOriginRequest) {
28
42
  AssociateApprovedOriginRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
43
  })(AssociateApprovedOriginRequest || (AssociateApprovedOriginRequest = {}));
44
+ var InternalServiceException = (function (_super) {
45
+ __extends(InternalServiceException, _super);
46
+ function InternalServiceException(opts) {
47
+ var _this = _super.call(this, __assign({ name: "InternalServiceException", $fault: "server" }, opts)) || this;
48
+ _this.name = "InternalServiceException";
49
+ _this.$fault = "server";
50
+ Object.setPrototypeOf(_this, InternalServiceException.prototype);
51
+ _this.Message = opts.Message;
52
+ return _this;
53
+ }
54
+ return InternalServiceException;
55
+ }(__BaseException));
56
+ export { InternalServiceException };
57
+ var InvalidParameterException = (function (_super) {
58
+ __extends(InvalidParameterException, _super);
59
+ function InvalidParameterException(opts) {
60
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
61
+ _this.name = "InvalidParameterException";
62
+ _this.$fault = "client";
63
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
64
+ _this.Message = opts.Message;
65
+ return _this;
66
+ }
67
+ return InvalidParameterException;
68
+ }(__BaseException));
69
+ export { InvalidParameterException };
70
+ var InvalidRequestException = (function (_super) {
71
+ __extends(InvalidRequestException, _super);
72
+ function InvalidRequestException(opts) {
73
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
74
+ _this.name = "InvalidRequestException";
75
+ _this.$fault = "client";
76
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
77
+ _this.Message = opts.Message;
78
+ return _this;
79
+ }
80
+ return InvalidRequestException;
81
+ }(__BaseException));
82
+ export { InvalidRequestException };
83
+ var ResourceConflictException = (function (_super) {
84
+ __extends(ResourceConflictException, _super);
85
+ function ResourceConflictException(opts) {
86
+ var _this = _super.call(this, __assign({ name: "ResourceConflictException", $fault: "client" }, opts)) || this;
87
+ _this.name = "ResourceConflictException";
88
+ _this.$fault = "client";
89
+ Object.setPrototypeOf(_this, ResourceConflictException.prototype);
90
+ _this.Message = opts.Message;
91
+ return _this;
92
+ }
93
+ return ResourceConflictException;
94
+ }(__BaseException));
95
+ export { ResourceConflictException };
96
+ var ResourceNotFoundException = (function (_super) {
97
+ __extends(ResourceNotFoundException, _super);
98
+ function ResourceNotFoundException(opts) {
99
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
100
+ _this.name = "ResourceNotFoundException";
101
+ _this.$fault = "client";
102
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
103
+ _this.Message = opts.Message;
104
+ return _this;
105
+ }
106
+ return ResourceNotFoundException;
107
+ }(__BaseException));
108
+ export { ResourceNotFoundException };
109
+ var ServiceQuotaExceededException = (function (_super) {
110
+ __extends(ServiceQuotaExceededException, _super);
111
+ function ServiceQuotaExceededException(opts) {
112
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
113
+ _this.name = "ServiceQuotaExceededException";
114
+ _this.$fault = "client";
115
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
116
+ _this.Message = opts.Message;
117
+ return _this;
118
+ }
119
+ return ServiceQuotaExceededException;
120
+ }(__BaseException));
121
+ export { ServiceQuotaExceededException };
122
+ var ThrottlingException = (function (_super) {
123
+ __extends(ThrottlingException, _super);
124
+ function ThrottlingException(opts) {
125
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
126
+ _this.name = "ThrottlingException";
127
+ _this.$fault = "client";
128
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
129
+ _this.Message = opts.Message;
130
+ return _this;
131
+ }
132
+ return ThrottlingException;
133
+ }(__BaseException));
134
+ export { ThrottlingException };
30
135
  export var LexBot;
31
136
  (function (LexBot) {
32
137
  LexBot.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -39,6 +144,19 @@ export var AssociateBotRequest;
39
144
  (function (AssociateBotRequest) {
40
145
  AssociateBotRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
146
  })(AssociateBotRequest || (AssociateBotRequest = {}));
147
+ var LimitExceededException = (function (_super) {
148
+ __extends(LimitExceededException, _super);
149
+ function LimitExceededException(opts) {
150
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
151
+ _this.name = "LimitExceededException";
152
+ _this.$fault = "client";
153
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
154
+ _this.Message = opts.Message;
155
+ return _this;
156
+ }
157
+ return LimitExceededException;
158
+ }(__BaseException));
159
+ export { LimitExceededException };
42
160
  export var VocabularyLanguageCode;
43
161
  (function (VocabularyLanguageCode) {
44
162
  VocabularyLanguageCode["AR_AE"] = "ar-AE";
@@ -78,6 +196,7 @@ export var InstanceStorageResourceType;
78
196
  InstanceStorageResourceType["CHAT_TRANSCRIPTS"] = "CHAT_TRANSCRIPTS";
79
197
  InstanceStorageResourceType["CONTACT_TRACE_RECORDS"] = "CONTACT_TRACE_RECORDS";
80
198
  InstanceStorageResourceType["MEDIA_STREAMS"] = "MEDIA_STREAMS";
199
+ InstanceStorageResourceType["REAL_TIME_CONTACT_ANALYSIS_SEGMENTS"] = "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS";
81
200
  InstanceStorageResourceType["SCHEDULED_REPORTS"] = "SCHEDULED_REPORTS";
82
201
  })(InstanceStorageResourceType || (InstanceStorageResourceType = {}));
83
202
  export var KinesisFirehoseConfig;
@@ -169,6 +288,19 @@ export var CreateAgentStatusResponse;
169
288
  (function (CreateAgentStatusResponse) {
170
289
  CreateAgentStatusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
171
290
  })(CreateAgentStatusResponse || (CreateAgentStatusResponse = {}));
291
+ var DuplicateResourceException = (function (_super) {
292
+ __extends(DuplicateResourceException, _super);
293
+ function DuplicateResourceException(opts) {
294
+ var _this = _super.call(this, __assign({ name: "DuplicateResourceException", $fault: "client" }, opts)) || this;
295
+ _this.name = "DuplicateResourceException";
296
+ _this.$fault = "client";
297
+ Object.setPrototypeOf(_this, DuplicateResourceException.prototype);
298
+ _this.Message = opts.Message;
299
+ return _this;
300
+ }
301
+ return DuplicateResourceException;
302
+ }(__BaseException));
303
+ export { DuplicateResourceException };
172
304
  export var ContactFlowType;
173
305
  (function (ContactFlowType) {
174
306
  ContactFlowType["AGENT_HOLD"] = "AGENT_HOLD";
@@ -193,6 +325,19 @@ export var ProblemDetail;
193
325
  (function (ProblemDetail) {
194
326
  ProblemDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
195
327
  })(ProblemDetail || (ProblemDetail = {}));
328
+ var InvalidContactFlowException = (function (_super) {
329
+ __extends(InvalidContactFlowException, _super);
330
+ function InvalidContactFlowException(opts) {
331
+ var _this = _super.call(this, __assign({ name: "InvalidContactFlowException", $fault: "client" }, opts)) || this;
332
+ _this.name = "InvalidContactFlowException";
333
+ _this.$fault = "client";
334
+ Object.setPrototypeOf(_this, InvalidContactFlowException.prototype);
335
+ _this.problems = opts.problems;
336
+ return _this;
337
+ }
338
+ return InvalidContactFlowException;
339
+ }(__BaseException));
340
+ export { InvalidContactFlowException };
196
341
  export var CreateContactFlowModuleRequest;
197
342
  (function (CreateContactFlowModuleRequest) {
198
343
  CreateContactFlowModuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -201,6 +346,32 @@ export var CreateContactFlowModuleResponse;
201
346
  (function (CreateContactFlowModuleResponse) {
202
347
  CreateContactFlowModuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
203
348
  })(CreateContactFlowModuleResponse || (CreateContactFlowModuleResponse = {}));
349
+ var IdempotencyException = (function (_super) {
350
+ __extends(IdempotencyException, _super);
351
+ function IdempotencyException(opts) {
352
+ var _this = _super.call(this, __assign({ name: "IdempotencyException", $fault: "client" }, opts)) || this;
353
+ _this.name = "IdempotencyException";
354
+ _this.$fault = "client";
355
+ Object.setPrototypeOf(_this, IdempotencyException.prototype);
356
+ _this.Message = opts.Message;
357
+ return _this;
358
+ }
359
+ return IdempotencyException;
360
+ }(__BaseException));
361
+ export { IdempotencyException };
362
+ var InvalidContactFlowModuleException = (function (_super) {
363
+ __extends(InvalidContactFlowModuleException, _super);
364
+ function InvalidContactFlowModuleException(opts) {
365
+ var _this = _super.call(this, __assign({ name: "InvalidContactFlowModuleException", $fault: "client" }, opts)) || this;
366
+ _this.name = "InvalidContactFlowModuleException";
367
+ _this.$fault = "client";
368
+ Object.setPrototypeOf(_this, InvalidContactFlowModuleException.prototype);
369
+ _this.Problems = opts.Problems;
370
+ return _this;
371
+ }
372
+ return InvalidContactFlowModuleException;
373
+ }(__BaseException));
374
+ export { InvalidContactFlowModuleException };
204
375
  export var HoursOfOperationDays;
205
376
  (function (HoursOfOperationDays) {
206
377
  HoursOfOperationDays["FRIDAY"] = "FRIDAY";
@@ -423,6 +594,21 @@ export var ResourceType;
423
594
  ResourceType["PARTICIPANT"] = "PARTICIPANT";
424
595
  ResourceType["USER"] = "USER";
425
596
  })(ResourceType || (ResourceType = {}));
597
+ var ResourceInUseException = (function (_super) {
598
+ __extends(ResourceInUseException, _super);
599
+ function ResourceInUseException(opts) {
600
+ var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
601
+ _this.name = "ResourceInUseException";
602
+ _this.$fault = "client";
603
+ Object.setPrototypeOf(_this, ResourceInUseException.prototype);
604
+ _this.Message = opts.Message;
605
+ _this.ResourceType = opts.ResourceType;
606
+ _this.ResourceId = opts.ResourceId;
607
+ return _this;
608
+ }
609
+ return ResourceInUseException;
610
+ }(__BaseException));
611
+ export { ResourceInUseException };
426
612
  export var DeleteUseCaseRequest;
427
613
  (function (DeleteUseCaseRequest) {
428
614
  DeleteUseCaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -476,6 +662,19 @@ export var DescribeContactResponse;
476
662
  (function (DescribeContactResponse) {
477
663
  DescribeContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
478
664
  })(DescribeContactResponse || (DescribeContactResponse = {}));
665
+ var ContactFlowNotPublishedException = (function (_super) {
666
+ __extends(ContactFlowNotPublishedException, _super);
667
+ function ContactFlowNotPublishedException(opts) {
668
+ var _this = _super.call(this, __assign({ name: "ContactFlowNotPublishedException", $fault: "client" }, opts)) || this;
669
+ _this.name = "ContactFlowNotPublishedException";
670
+ _this.$fault = "client";
671
+ Object.setPrototypeOf(_this, ContactFlowNotPublishedException.prototype);
672
+ _this.Message = opts.Message;
673
+ return _this;
674
+ }
675
+ return ContactFlowNotPublishedException;
676
+ }(__BaseException));
677
+ export { ContactFlowNotPublishedException };
479
678
  export var DescribeContactFlowRequest;
480
679
  (function (DescribeContactFlowRequest) {
481
680
  DescribeContactFlowRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -803,6 +1002,19 @@ export var GetFederationTokenResponse;
803
1002
  (function (GetFederationTokenResponse) {
804
1003
  GetFederationTokenResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Credentials && { Credentials: Credentials.filterSensitiveLog(obj.Credentials) }))); };
805
1004
  })(GetFederationTokenResponse || (GetFederationTokenResponse = {}));
1005
+ var UserNotFoundException = (function (_super) {
1006
+ __extends(UserNotFoundException, _super);
1007
+ function UserNotFoundException(opts) {
1008
+ var _this = _super.call(this, __assign({ name: "UserNotFoundException", $fault: "client" }, opts)) || this;
1009
+ _this.name = "UserNotFoundException";
1010
+ _this.$fault = "client";
1011
+ Object.setPrototypeOf(_this, UserNotFoundException.prototype);
1012
+ _this.Message = opts.Message;
1013
+ return _this;
1014
+ }
1015
+ return UserNotFoundException;
1016
+ }(__BaseException));
1017
+ export { UserNotFoundException };
806
1018
  export var HistoricalMetricName;
807
1019
  (function (HistoricalMetricName) {
808
1020
  HistoricalMetricName["ABANDON_TIME"] = "ABANDON_TIME";
@@ -1519,3 +1731,16 @@ export var StartContactStreamingResponse;
1519
1731
  (function (StartContactStreamingResponse) {
1520
1732
  StartContactStreamingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1521
1733
  })(StartContactStreamingResponse || (StartContactStreamingResponse = {}));
1734
+ var DestinationNotAllowedException = (function (_super) {
1735
+ __extends(DestinationNotAllowedException, _super);
1736
+ function DestinationNotAllowedException(opts) {
1737
+ var _this = _super.call(this, __assign({ name: "DestinationNotAllowedException", $fault: "client" }, opts)) || this;
1738
+ _this.name = "DestinationNotAllowedException";
1739
+ _this.$fault = "client";
1740
+ Object.setPrototypeOf(_this, DestinationNotAllowedException.prototype);
1741
+ _this.Message = opts.Message;
1742
+ return _this;
1743
+ }
1744
+ return DestinationNotAllowedException;
1745
+ }(__BaseException));
1746
+ export { DestinationNotAllowedException };
@@ -1,4 +1,18 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
+ var OutboundContactNotPermittedException = (function (_super) {
4
+ __extends(OutboundContactNotPermittedException, _super);
5
+ function OutboundContactNotPermittedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "OutboundContactNotPermittedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "OutboundContactNotPermittedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, OutboundContactNotPermittedException.prototype);
10
+ _this.Message = opts.Message;
11
+ return _this;
12
+ }
13
+ return OutboundContactNotPermittedException;
14
+ }(__BaseException));
15
+ export { OutboundContactNotPermittedException };
2
16
  export var AnswerMachineDetectionConfig;
3
17
  (function (AnswerMachineDetectionConfig) {
4
18
  AnswerMachineDetectionConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -28,6 +42,19 @@ export var StartTaskContactResponse;
28
42
  (function (StartTaskContactResponse) {
29
43
  StartTaskContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
44
  })(StartTaskContactResponse || (StartTaskContactResponse = {}));
45
+ var ContactNotFoundException = (function (_super) {
46
+ __extends(ContactNotFoundException, _super);
47
+ function ContactNotFoundException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "ContactNotFoundException", $fault: "client" }, opts)) || this;
49
+ _this.name = "ContactNotFoundException";
50
+ _this.$fault = "client";
51
+ Object.setPrototypeOf(_this, ContactNotFoundException.prototype);
52
+ _this.Message = opts.Message;
53
+ return _this;
54
+ }
55
+ return ContactNotFoundException;
56
+ }(__BaseException));
57
+ export { ContactNotFoundException };
31
58
  export var StopContactRequest;
32
59
  (function (StopContactRequest) {
33
60
  StopContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };