@aws-sdk/client-chime-sdk-voice 3.716.0 → 3.723.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class ChimeSDKVoiceClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -19,14 +19,16 @@ export const ErrorCode = {
19
19
  VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
20
20
  };
21
21
  export class AccessDeniedException extends __BaseException {
22
+ name = "AccessDeniedException";
23
+ $fault = "client";
24
+ Code;
25
+ Message;
22
26
  constructor(opts) {
23
27
  super({
24
28
  name: "AccessDeniedException",
25
29
  $fault: "client",
26
30
  ...opts,
27
31
  });
28
- this.name = "AccessDeniedException";
29
- this.$fault = "client";
30
32
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
31
33
  this.Code = opts.Code;
32
34
  this.Message = opts.Message;
@@ -37,98 +39,112 @@ export const AlexaSkillStatus = {
37
39
  INACTIVE: "INACTIVE",
38
40
  };
39
41
  export class BadRequestException extends __BaseException {
42
+ name = "BadRequestException";
43
+ $fault = "client";
44
+ Code;
45
+ Message;
40
46
  constructor(opts) {
41
47
  super({
42
48
  name: "BadRequestException",
43
49
  $fault: "client",
44
50
  ...opts,
45
51
  });
46
- this.name = "BadRequestException";
47
- this.$fault = "client";
48
52
  Object.setPrototypeOf(this, BadRequestException.prototype);
49
53
  this.Code = opts.Code;
50
54
  this.Message = opts.Message;
51
55
  }
52
56
  }
53
57
  export class ForbiddenException extends __BaseException {
58
+ name = "ForbiddenException";
59
+ $fault = "client";
60
+ Code;
61
+ Message;
54
62
  constructor(opts) {
55
63
  super({
56
64
  name: "ForbiddenException",
57
65
  $fault: "client",
58
66
  ...opts,
59
67
  });
60
- this.name = "ForbiddenException";
61
- this.$fault = "client";
62
68
  Object.setPrototypeOf(this, ForbiddenException.prototype);
63
69
  this.Code = opts.Code;
64
70
  this.Message = opts.Message;
65
71
  }
66
72
  }
67
73
  export class NotFoundException extends __BaseException {
74
+ name = "NotFoundException";
75
+ $fault = "client";
76
+ Code;
77
+ Message;
68
78
  constructor(opts) {
69
79
  super({
70
80
  name: "NotFoundException",
71
81
  $fault: "client",
72
82
  ...opts,
73
83
  });
74
- this.name = "NotFoundException";
75
- this.$fault = "client";
76
84
  Object.setPrototypeOf(this, NotFoundException.prototype);
77
85
  this.Code = opts.Code;
78
86
  this.Message = opts.Message;
79
87
  }
80
88
  }
81
89
  export class ServiceFailureException extends __BaseException {
90
+ name = "ServiceFailureException";
91
+ $fault = "server";
92
+ Code;
93
+ Message;
82
94
  constructor(opts) {
83
95
  super({
84
96
  name: "ServiceFailureException",
85
97
  $fault: "server",
86
98
  ...opts,
87
99
  });
88
- this.name = "ServiceFailureException";
89
- this.$fault = "server";
90
100
  Object.setPrototypeOf(this, ServiceFailureException.prototype);
91
101
  this.Code = opts.Code;
92
102
  this.Message = opts.Message;
93
103
  }
94
104
  }
95
105
  export class ServiceUnavailableException extends __BaseException {
106
+ name = "ServiceUnavailableException";
107
+ $fault = "server";
108
+ Code;
109
+ Message;
96
110
  constructor(opts) {
97
111
  super({
98
112
  name: "ServiceUnavailableException",
99
113
  $fault: "server",
100
114
  ...opts,
101
115
  });
102
- this.name = "ServiceUnavailableException";
103
- this.$fault = "server";
104
116
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
105
117
  this.Code = opts.Code;
106
118
  this.Message = opts.Message;
107
119
  }
108
120
  }
109
121
  export class ThrottledClientException extends __BaseException {
122
+ name = "ThrottledClientException";
123
+ $fault = "client";
124
+ Code;
125
+ Message;
110
126
  constructor(opts) {
111
127
  super({
112
128
  name: "ThrottledClientException",
113
129
  $fault: "client",
114
130
  ...opts,
115
131
  });
116
- this.name = "ThrottledClientException";
117
- this.$fault = "client";
118
132
  Object.setPrototypeOf(this, ThrottledClientException.prototype);
119
133
  this.Code = opts.Code;
120
134
  this.Message = opts.Message;
121
135
  }
122
136
  }
123
137
  export class UnauthorizedClientException extends __BaseException {
138
+ name = "UnauthorizedClientException";
139
+ $fault = "client";
140
+ Code;
141
+ Message;
124
142
  constructor(opts) {
125
143
  super({
126
144
  name: "UnauthorizedClientException",
127
145
  $fault: "client",
128
146
  ...opts,
129
147
  });
130
- this.name = "UnauthorizedClientException";
131
- this.$fault = "client";
132
148
  Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
133
149
  this.Code = opts.Code;
134
150
  this.Message = opts.Message;
@@ -175,14 +191,16 @@ export const PhoneNumberOrderStatus = {
175
191
  Successful: "Successful",
176
192
  };
177
193
  export class ResourceLimitExceededException extends __BaseException {
194
+ name = "ResourceLimitExceededException";
195
+ $fault = "client";
196
+ Code;
197
+ Message;
178
198
  constructor(opts) {
179
199
  super({
180
200
  name: "ResourceLimitExceededException",
181
201
  $fault: "client",
182
202
  ...opts,
183
203
  });
184
- this.name = "ResourceLimitExceededException";
185
- this.$fault = "client";
186
204
  Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
187
205
  this.Code = opts.Code;
188
206
  this.Message = opts.Message;
@@ -202,14 +220,16 @@ export const ProxySessionStatus = {
202
220
  Open: "Open",
203
221
  };
204
222
  export class ConflictException extends __BaseException {
223
+ name = "ConflictException";
224
+ $fault = "client";
225
+ Code;
226
+ Message;
205
227
  constructor(opts) {
206
228
  super({
207
229
  name: "ConflictException",
208
230
  $fault: "client",
209
231
  ...opts,
210
232
  });
211
- this.name = "ConflictException";
212
- this.$fault = "client";
213
233
  Object.setPrototypeOf(this, ConflictException.prototype);
214
234
  this.Code = opts.Code;
215
235
  this.Message = opts.Message;
@@ -236,14 +256,16 @@ export const VoiceConnectorIntegrationType = {
236
256
  CONNECT_CALL_TRANSFER_CONNECTOR: "CONNECT_CALL_TRANSFER_CONNECTOR",
237
257
  };
238
258
  export class GoneException extends __BaseException {
259
+ name = "GoneException";
260
+ $fault = "client";
261
+ Code;
262
+ Message;
239
263
  constructor(opts) {
240
264
  super({
241
265
  name: "GoneException",
242
266
  $fault: "client",
243
267
  ...opts,
244
268
  });
245
- this.name = "GoneException";
246
- this.$fault = "client";
247
269
  Object.setPrototypeOf(this, GoneException.prototype);
248
270
  this.Code = opts.Code;
249
271
  this.Message = opts.Message;
@@ -294,14 +316,16 @@ export const NotificationTarget = {
294
316
  SQS: "SQS",
295
317
  };
296
318
  export class UnprocessableEntityException extends __BaseException {
319
+ name = "UnprocessableEntityException";
320
+ $fault = "client";
321
+ Code;
322
+ Message;
297
323
  constructor(opts) {
298
324
  super({
299
325
  name: "UnprocessableEntityException",
300
326
  $fault: "client",
301
327
  ...opts,
302
328
  });
303
- this.name = "UnprocessableEntityException";
304
- this.$fault = "client";
305
329
  Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
306
330
  this.Code = opts.Code;
307
331
  this.Message = opts.Message;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: ChimeSDKVoiceClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-voice",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Voice Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-chime-sdk-voice",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {