@aws-sdk/client-connect 3.46.0 → 3.48.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.
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
5
5
  $fault: "client";
6
6
  Message?: string;
7
7
  }
8
- export declare namespace AccessDeniedException {
9
-
10
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
11
- }
12
8
 
13
9
  export interface AgentInfo {
14
10
 
@@ -86,10 +82,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
86
82
 
87
83
  Message?: string;
88
84
  }
89
- export declare namespace InternalServiceException {
90
-
91
- const filterSensitiveLog: (obj: InternalServiceException) => any;
92
- }
93
85
 
94
86
  export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
95
87
  name: "InvalidParameterException";
@@ -97,10 +89,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
97
89
 
98
90
  Message?: string;
99
91
  }
100
- export declare namespace InvalidParameterException {
101
-
102
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
103
- }
104
92
 
105
93
  export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
106
94
  name: "InvalidRequestException";
@@ -108,20 +96,12 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
108
96
 
109
97
  Message?: string;
110
98
  }
111
- export declare namespace InvalidRequestException {
112
-
113
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
114
- }
115
99
 
116
100
  export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
117
101
  name: "ResourceConflictException";
118
102
  $fault: "client";
119
103
  Message?: string;
120
104
  }
121
- export declare namespace ResourceConflictException {
122
-
123
- const filterSensitiveLog: (obj: ResourceConflictException) => any;
124
- }
125
105
 
126
106
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
127
107
  name: "ResourceNotFoundException";
@@ -129,30 +109,18 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
129
109
 
130
110
  Message?: string;
131
111
  }
132
- export declare namespace ResourceNotFoundException {
133
-
134
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
135
- }
136
112
 
137
113
  export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
138
114
  name: "ServiceQuotaExceededException";
139
115
  $fault: "client";
140
116
  Message?: string;
141
117
  }
142
- export declare namespace ServiceQuotaExceededException {
143
-
144
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
145
- }
146
118
 
147
119
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
148
120
  name: "ThrottlingException";
149
121
  $fault: "client";
150
122
  Message?: string;
151
123
  }
152
- export declare namespace ThrottlingException {
153
-
154
- const filterSensitiveLog: (obj: ThrottlingException) => any;
155
- }
156
124
 
157
125
  export interface LexBot {
158
126
 
@@ -192,10 +160,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
192
160
 
193
161
  Message?: string;
194
162
  }
195
- export declare namespace LimitExceededException {
196
-
197
- const filterSensitiveLog: (obj: LimitExceededException) => any;
198
- }
199
163
  export declare enum InstanceStorageResourceType {
200
164
  AGENT_EVENTS = "AGENT_EVENTS",
201
165
  CALL_RECORDINGS = "CALL_RECORDINGS",
@@ -434,10 +398,6 @@ export interface DuplicateResourceException extends __SmithyException, $Metadata
434
398
  $fault: "client";
435
399
  Message?: string;
436
400
  }
437
- export declare namespace DuplicateResourceException {
438
-
439
- const filterSensitiveLog: (obj: DuplicateResourceException) => any;
440
- }
441
401
  export declare enum ContactFlowType {
442
402
  AGENT_HOLD = "AGENT_HOLD",
443
403
  AGENT_TRANSFER = "AGENT_TRANSFER",
@@ -495,10 +455,6 @@ export interface InvalidContactFlowException extends __SmithyException, $Metadat
495
455
 
496
456
  problems?: ProblemDetail[];
497
457
  }
498
- export declare namespace InvalidContactFlowException {
499
-
500
- const filterSensitiveLog: (obj: InvalidContactFlowException) => any;
501
- }
502
458
  export interface CreateContactFlowModuleRequest {
503
459
 
504
460
  InstanceId: string | undefined;
@@ -535,20 +491,12 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
535
491
  $fault: "client";
536
492
  Message?: string;
537
493
  }
538
- export declare namespace IdempotencyException {
539
-
540
- const filterSensitiveLog: (obj: IdempotencyException) => any;
541
- }
542
494
 
543
495
  export interface InvalidContactFlowModuleException extends __SmithyException, $MetadataBearer {
544
496
  name: "InvalidContactFlowModuleException";
545
497
  $fault: "client";
546
498
  Problems?: ProblemDetail[];
547
499
  }
548
- export declare namespace InvalidContactFlowModuleException {
549
-
550
- const filterSensitiveLog: (obj: InvalidContactFlowModuleException) => any;
551
- }
552
500
  export declare enum HoursOfOperationDays {
553
501
  FRIDAY = "FRIDAY",
554
502
  MONDAY = "MONDAY",
@@ -992,6 +940,10 @@ export interface CreateUserHierarchyGroupRequest {
992
940
  ParentGroupId?: string;
993
941
 
994
942
  InstanceId: string | undefined;
943
+
944
+ Tags?: {
945
+ [key: string]: string;
946
+ };
995
947
  }
996
948
  export declare namespace CreateUserHierarchyGroupRequest {
997
949
 
@@ -1100,10 +1052,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
1100
1052
 
1101
1053
  ResourceId?: string;
1102
1054
  }
1103
- export declare namespace ResourceInUseException {
1104
-
1105
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
1106
- }
1107
1055
  export interface DeleteUseCaseRequest {
1108
1056
 
1109
1057
  InstanceId: string | undefined;
@@ -1232,10 +1180,6 @@ export interface ContactFlowNotPublishedException extends __SmithyException, $Me
1232
1180
  $fault: "client";
1233
1181
  Message?: string;
1234
1182
  }
1235
- export declare namespace ContactFlowNotPublishedException {
1236
-
1237
- const filterSensitiveLog: (obj: ContactFlowNotPublishedException) => any;
1238
- }
1239
1183
  export interface DescribeContactFlowRequest {
1240
1184
 
1241
1185
  InstanceId: string | undefined;
@@ -1759,6 +1703,10 @@ export interface HierarchyGroup {
1759
1703
  LevelId?: string;
1760
1704
 
1761
1705
  HierarchyPath?: HierarchyPath;
1706
+
1707
+ Tags?: {
1708
+ [key: string]: string;
1709
+ };
1762
1710
  }
1763
1711
  export declare namespace HierarchyGroup {
1764
1712
 
@@ -2085,10 +2033,6 @@ export interface UserNotFoundException extends __SmithyException, $MetadataBeare
2085
2033
  $fault: "client";
2086
2034
  Message?: string;
2087
2035
  }
2088
- export declare namespace UserNotFoundException {
2089
-
2090
- const filterSensitiveLog: (obj: UserNotFoundException) => any;
2091
- }
2092
2036
  export declare enum HistoricalMetricName {
2093
2037
  ABANDON_TIME = "ABANDON_TIME",
2094
2038
  AFTER_CONTACT_WORK_TIME = "AFTER_CONTACT_WORK_TIME",
@@ -3528,10 +3472,6 @@ export interface DestinationNotAllowedException extends __SmithyException, $Meta
3528
3472
 
3529
3473
  Message?: string;
3530
3474
  }
3531
- export declare namespace DestinationNotAllowedException {
3532
-
3533
- const filterSensitiveLog: (obj: DestinationNotAllowedException) => any;
3534
- }
3535
3475
 
3536
3476
  export interface OutboundContactNotPermittedException extends __SmithyException, $MetadataBearer {
3537
3477
  name: "OutboundContactNotPermittedException";
@@ -3539,10 +3479,6 @@ export interface OutboundContactNotPermittedException extends __SmithyException,
3539
3479
 
3540
3480
  Message?: string;
3541
3481
  }
3542
- export declare namespace OutboundContactNotPermittedException {
3543
-
3544
- const filterSensitiveLog: (obj: OutboundContactNotPermittedException) => any;
3545
- }
3546
3482
 
3547
3483
  export interface AnswerMachineDetectionConfig {
3548
3484
 
@@ -3648,10 +3584,6 @@ export interface ContactNotFoundException extends __SmithyException, $MetadataBe
3648
3584
 
3649
3585
  Message?: string;
3650
3586
  }
3651
- export declare namespace ContactNotFoundException {
3652
-
3653
- const filterSensitiveLog: (obj: ContactNotFoundException) => any;
3654
- }
3655
3587
  export interface StopContactRequest {
3656
3588
 
3657
3589
  ContactId: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { ConnectClientConfig } from "./ConnectClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { ConnectClientConfig } from "./ConnectClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,17 +1,15 @@
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.46.0",
4
+ "version": "3.48.0",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "yarn clean:dist && yarn clean:docs",
13
- "clean:dist": "rimraf ./dist-*",
14
- "clean:docs": "rimraf ./docs"
12
+ "clean": "rimraf ./dist-*"
15
13
  },
16
14
  "main": "./dist-cjs/index.js",
17
15
  "types": "./dist-types/index.d.ts",
@@ -20,39 +18,41 @@
20
18
  "dependencies": {
21
19
  "@aws-crypto/sha256-browser": "2.0.0",
22
20
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.46.0",
24
- "@aws-sdk/config-resolver": "3.46.0",
25
- "@aws-sdk/credential-provider-node": "3.46.0",
26
- "@aws-sdk/fetch-http-handler": "3.46.0",
27
- "@aws-sdk/hash-node": "3.46.0",
28
- "@aws-sdk/invalid-dependency": "3.46.0",
29
- "@aws-sdk/middleware-content-length": "3.46.0",
30
- "@aws-sdk/middleware-host-header": "3.46.0",
31
- "@aws-sdk/middleware-logger": "3.46.0",
32
- "@aws-sdk/middleware-retry": "3.46.0",
33
- "@aws-sdk/middleware-serde": "3.46.0",
34
- "@aws-sdk/middleware-signing": "3.46.0",
35
- "@aws-sdk/middleware-stack": "3.46.0",
36
- "@aws-sdk/middleware-user-agent": "3.46.0",
37
- "@aws-sdk/node-config-provider": "3.46.0",
38
- "@aws-sdk/node-http-handler": "3.46.0",
39
- "@aws-sdk/protocol-http": "3.46.0",
40
- "@aws-sdk/smithy-client": "3.46.0",
41
- "@aws-sdk/types": "3.46.0",
42
- "@aws-sdk/url-parser": "3.46.0",
43
- "@aws-sdk/util-base64-browser": "3.46.0",
44
- "@aws-sdk/util-base64-node": "3.46.0",
45
- "@aws-sdk/util-body-length-browser": "3.46.0",
46
- "@aws-sdk/util-body-length-node": "3.46.0",
47
- "@aws-sdk/util-user-agent-browser": "3.46.0",
48
- "@aws-sdk/util-user-agent-node": "3.46.0",
49
- "@aws-sdk/util-utf8-browser": "3.46.0",
50
- "@aws-sdk/util-utf8-node": "3.46.0",
21
+ "@aws-sdk/client-sts": "3.48.0",
22
+ "@aws-sdk/config-resolver": "3.47.2",
23
+ "@aws-sdk/credential-provider-node": "3.48.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.2",
25
+ "@aws-sdk/hash-node": "3.47.2",
26
+ "@aws-sdk/invalid-dependency": "3.47.2",
27
+ "@aws-sdk/middleware-content-length": "3.47.2",
28
+ "@aws-sdk/middleware-host-header": "3.47.2",
29
+ "@aws-sdk/middleware-logger": "3.47.2",
30
+ "@aws-sdk/middleware-retry": "3.47.2",
31
+ "@aws-sdk/middleware-serde": "3.47.2",
32
+ "@aws-sdk/middleware-signing": "3.47.2",
33
+ "@aws-sdk/middleware-stack": "3.47.2",
34
+ "@aws-sdk/middleware-user-agent": "3.47.2",
35
+ "@aws-sdk/node-config-provider": "3.47.2",
36
+ "@aws-sdk/node-http-handler": "3.47.2",
37
+ "@aws-sdk/protocol-http": "3.47.2",
38
+ "@aws-sdk/smithy-client": "3.47.2",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.2",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.2",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.2",
48
+ "@aws-sdk/util-user-agent-node": "3.47.2",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.2",
51
51
  "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.46.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "@types/uuid": "^8.3.0"
58
58
  },