@aws-sdk/client-connect 3.52.0 → 3.54.1

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.
@@ -1,9 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
  Message?: string;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
10
  }
8
11
 
9
12
  export interface AgentInfo {
@@ -76,50 +79,64 @@ export declare namespace AssociateApprovedOriginRequest {
76
79
  const filterSensitiveLog: (obj: AssociateApprovedOriginRequest) => any;
77
80
  }
78
81
 
79
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
80
- name: "InternalServiceException";
81
- $fault: "server";
82
+ export declare class InternalServiceException extends __BaseException {
83
+ readonly name: "InternalServiceException";
84
+ readonly $fault: "server";
82
85
 
83
86
  Message?: string;
87
+
88
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
84
89
  }
85
90
 
86
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
87
- name: "InvalidParameterException";
88
- $fault: "client";
91
+ export declare class InvalidParameterException extends __BaseException {
92
+ readonly name: "InvalidParameterException";
93
+ readonly $fault: "client";
89
94
 
90
95
  Message?: string;
96
+
97
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
91
98
  }
92
99
 
93
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
94
- name: "InvalidRequestException";
95
- $fault: "client";
100
+ export declare class InvalidRequestException extends __BaseException {
101
+ readonly name: "InvalidRequestException";
102
+ readonly $fault: "client";
96
103
 
97
104
  Message?: string;
105
+
106
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
98
107
  }
99
108
 
100
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
101
- name: "ResourceConflictException";
102
- $fault: "client";
109
+ export declare class ResourceConflictException extends __BaseException {
110
+ readonly name: "ResourceConflictException";
111
+ readonly $fault: "client";
103
112
  Message?: string;
113
+
114
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
104
115
  }
105
116
 
106
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
107
- name: "ResourceNotFoundException";
108
- $fault: "client";
117
+ export declare class ResourceNotFoundException extends __BaseException {
118
+ readonly name: "ResourceNotFoundException";
119
+ readonly $fault: "client";
109
120
 
110
121
  Message?: string;
122
+
123
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
111
124
  }
112
125
 
113
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
114
- name: "ServiceQuotaExceededException";
115
- $fault: "client";
126
+ export declare class ServiceQuotaExceededException extends __BaseException {
127
+ readonly name: "ServiceQuotaExceededException";
128
+ readonly $fault: "client";
116
129
  Message?: string;
130
+
131
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
117
132
  }
118
133
 
119
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
120
- name: "ThrottlingException";
121
- $fault: "client";
134
+ export declare class ThrottlingException extends __BaseException {
135
+ readonly name: "ThrottlingException";
136
+ readonly $fault: "client";
122
137
  Message?: string;
138
+
139
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
123
140
  }
124
141
 
125
142
  export interface LexBot {
@@ -154,11 +171,13 @@ export declare namespace AssociateBotRequest {
154
171
  const filterSensitiveLog: (obj: AssociateBotRequest) => any;
155
172
  }
156
173
 
157
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
158
- name: "LimitExceededException";
159
- $fault: "client";
174
+ export declare class LimitExceededException extends __BaseException {
175
+ readonly name: "LimitExceededException";
176
+ readonly $fault: "client";
160
177
 
161
178
  Message?: string;
179
+
180
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
162
181
  }
163
182
  export declare enum VocabularyLanguageCode {
164
183
  AR_AE = "ar-AE",
@@ -207,6 +226,7 @@ export declare enum InstanceStorageResourceType {
207
226
  CHAT_TRANSCRIPTS = "CHAT_TRANSCRIPTS",
208
227
  CONTACT_TRACE_RECORDS = "CONTACT_TRACE_RECORDS",
209
228
  MEDIA_STREAMS = "MEDIA_STREAMS",
229
+ REAL_TIME_CONTACT_ANALYSIS_SEGMENTS = "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",
210
230
  SCHEDULED_REPORTS = "SCHEDULED_REPORTS"
211
231
  }
212
232
 
@@ -434,10 +454,12 @@ export declare namespace CreateAgentStatusResponse {
434
454
  const filterSensitiveLog: (obj: CreateAgentStatusResponse) => any;
435
455
  }
436
456
 
437
- export interface DuplicateResourceException extends __SmithyException, $MetadataBearer {
438
- name: "DuplicateResourceException";
439
- $fault: "client";
457
+ export declare class DuplicateResourceException extends __BaseException {
458
+ readonly name: "DuplicateResourceException";
459
+ readonly $fault: "client";
440
460
  Message?: string;
461
+
462
+ constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
441
463
  }
442
464
  export declare enum ContactFlowType {
443
465
  AGENT_HOLD = "AGENT_HOLD",
@@ -490,11 +512,13 @@ export declare namespace ProblemDetail {
490
512
  const filterSensitiveLog: (obj: ProblemDetail) => any;
491
513
  }
492
514
 
493
- export interface InvalidContactFlowException extends __SmithyException, $MetadataBearer {
494
- name: "InvalidContactFlowException";
495
- $fault: "client";
515
+ export declare class InvalidContactFlowException extends __BaseException {
516
+ readonly name: "InvalidContactFlowException";
517
+ readonly $fault: "client";
496
518
 
497
519
  problems?: ProblemDetail[];
520
+
521
+ constructor(opts: __ExceptionOptionType<InvalidContactFlowException, __BaseException>);
498
522
  }
499
523
  export interface CreateContactFlowModuleRequest {
500
524
 
@@ -527,16 +551,20 @@ export declare namespace CreateContactFlowModuleResponse {
527
551
  const filterSensitiveLog: (obj: CreateContactFlowModuleResponse) => any;
528
552
  }
529
553
 
530
- export interface IdempotencyException extends __SmithyException, $MetadataBearer {
531
- name: "IdempotencyException";
532
- $fault: "client";
554
+ export declare class IdempotencyException extends __BaseException {
555
+ readonly name: "IdempotencyException";
556
+ readonly $fault: "client";
533
557
  Message?: string;
558
+
559
+ constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
534
560
  }
535
561
 
536
- export interface InvalidContactFlowModuleException extends __SmithyException, $MetadataBearer {
537
- name: "InvalidContactFlowModuleException";
538
- $fault: "client";
562
+ export declare class InvalidContactFlowModuleException extends __BaseException {
563
+ readonly name: "InvalidContactFlowModuleException";
564
+ readonly $fault: "client";
539
565
  Problems?: ProblemDetail[];
566
+
567
+ constructor(opts: __ExceptionOptionType<InvalidContactFlowModuleException, __BaseException>);
540
568
  }
541
569
  export declare enum HoursOfOperationDays {
542
570
  FRIDAY = "FRIDAY",
@@ -1122,14 +1150,16 @@ export declare enum ResourceType {
1122
1150
  USER = "USER"
1123
1151
  }
1124
1152
 
1125
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
1126
- name: "ResourceInUseException";
1127
- $fault: "client";
1153
+ export declare class ResourceInUseException extends __BaseException {
1154
+ readonly name: "ResourceInUseException";
1155
+ readonly $fault: "client";
1128
1156
  Message?: string;
1129
1157
 
1130
1158
  ResourceType?: ResourceType | string;
1131
1159
 
1132
1160
  ResourceId?: string;
1161
+
1162
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1133
1163
  }
1134
1164
  export interface DeleteUseCaseRequest {
1135
1165
 
@@ -1276,10 +1306,12 @@ export declare namespace DescribeContactResponse {
1276
1306
  const filterSensitiveLog: (obj: DescribeContactResponse) => any;
1277
1307
  }
1278
1308
 
1279
- export interface ContactFlowNotPublishedException extends __SmithyException, $MetadataBearer {
1280
- name: "ContactFlowNotPublishedException";
1281
- $fault: "client";
1309
+ export declare class ContactFlowNotPublishedException extends __BaseException {
1310
+ readonly name: "ContactFlowNotPublishedException";
1311
+ readonly $fault: "client";
1282
1312
  Message?: string;
1313
+
1314
+ constructor(opts: __ExceptionOptionType<ContactFlowNotPublishedException, __BaseException>);
1283
1315
  }
1284
1316
  export interface DescribeContactFlowRequest {
1285
1317
 
@@ -2174,10 +2206,12 @@ export declare namespace GetFederationTokenResponse {
2174
2206
  const filterSensitiveLog: (obj: GetFederationTokenResponse) => any;
2175
2207
  }
2176
2208
 
2177
- export interface UserNotFoundException extends __SmithyException, $MetadataBearer {
2178
- name: "UserNotFoundException";
2179
- $fault: "client";
2209
+ export declare class UserNotFoundException extends __BaseException {
2210
+ readonly name: "UserNotFoundException";
2211
+ readonly $fault: "client";
2180
2212
  Message?: string;
2213
+
2214
+ constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
2181
2215
  }
2182
2216
  export declare enum HistoricalMetricName {
2183
2217
  ABANDON_TIME = "ABANDON_TIME",
@@ -3702,9 +3736,11 @@ export declare namespace StartContactStreamingResponse {
3702
3736
  const filterSensitiveLog: (obj: StartContactStreamingResponse) => any;
3703
3737
  }
3704
3738
 
3705
- export interface DestinationNotAllowedException extends __SmithyException, $MetadataBearer {
3706
- name: "DestinationNotAllowedException";
3707
- $fault: "client";
3739
+ export declare class DestinationNotAllowedException extends __BaseException {
3740
+ readonly name: "DestinationNotAllowedException";
3741
+ readonly $fault: "client";
3708
3742
 
3709
3743
  Message?: string;
3744
+
3745
+ constructor(opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>);
3710
3746
  }
@@ -1,11 +1,14 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
2
3
  import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig } from "./models_0";
3
4
 
4
- export interface OutboundContactNotPermittedException extends __SmithyException, $MetadataBearer {
5
- name: "OutboundContactNotPermittedException";
6
- $fault: "client";
5
+ export declare class OutboundContactNotPermittedException extends __BaseException {
6
+ readonly name: "OutboundContactNotPermittedException";
7
+ readonly $fault: "client";
7
8
 
8
9
  Message?: string;
10
+
11
+ constructor(opts: __ExceptionOptionType<OutboundContactNotPermittedException, __BaseException>);
9
12
  }
10
13
 
11
14
  export interface AnswerMachineDetectionConfig {
@@ -106,11 +109,13 @@ export declare namespace StartTaskContactResponse {
106
109
  const filterSensitiveLog: (obj: StartTaskContactResponse) => any;
107
110
  }
108
111
 
109
- export interface ContactNotFoundException extends __SmithyException, $MetadataBearer {
110
- name: "ContactNotFoundException";
111
- $fault: "client";
112
+ export declare class ContactNotFoundException extends __BaseException {
113
+ readonly name: "ContactNotFoundException";
114
+ readonly $fault: "client";
112
115
 
113
116
  Message?: string;
117
+
118
+ constructor(opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>);
114
119
  }
115
120
  export interface StopContactRequest {
116
121
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.54.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",