@aws-sdk/client-chime-sdk-voice 3.899.0 → 3.901.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-cjs/index.js +8 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateVoiceConnectorCommand.d.ts +2 -0
- package/dist-types/commands/GetVoiceConnectorCommand.d.ts +1 -0
- package/dist-types/commands/ListVoiceConnectorsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateVoiceConnectorCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -155,6 +155,7 @@ __export(index_exports, {
|
|
|
155
155
|
ListVoiceProfilesCommand: () => ListVoiceProfilesCommand,
|
|
156
156
|
ListVoiceProfilesResponseFilterSensitiveLog: () => ListVoiceProfilesResponseFilterSensitiveLog,
|
|
157
157
|
MediaInsightsConfigurationFilterSensitiveLog: () => MediaInsightsConfigurationFilterSensitiveLog,
|
|
158
|
+
NetworkType: () => NetworkType,
|
|
158
159
|
NotFoundException: () => NotFoundException,
|
|
159
160
|
NotificationTarget: () => NotificationTarget,
|
|
160
161
|
NumberSelectionBehavior: () => NumberSelectionBehavior,
|
|
@@ -750,6 +751,10 @@ var VoiceConnectorIntegrationType = {
|
|
|
750
751
|
CONNECT_ANALYTICS_CONNECTOR: "CONNECT_ANALYTICS_CONNECTOR",
|
|
751
752
|
CONNECT_CALL_TRANSFER_CONNECTOR: "CONNECT_CALL_TRANSFER_CONNECTOR"
|
|
752
753
|
};
|
|
754
|
+
var NetworkType = {
|
|
755
|
+
DUAL_STACK: "DUAL_STACK",
|
|
756
|
+
IPV4_ONLY: "IPV4_ONLY"
|
|
757
|
+
};
|
|
753
758
|
var GoneException = class _GoneException extends ChimeSDKVoiceServiceException {
|
|
754
759
|
static {
|
|
755
760
|
__name(this, "GoneException");
|
|
@@ -1524,6 +1529,7 @@ var se_CreateVoiceConnectorCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1524
1529
|
AwsRegion: [],
|
|
1525
1530
|
IntegrationType: [],
|
|
1526
1531
|
Name: [],
|
|
1532
|
+
NetworkType: [],
|
|
1527
1533
|
RequireEncryption: [],
|
|
1528
1534
|
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
1529
1535
|
})
|
|
@@ -4283,6 +4289,7 @@ var de_VoiceConnector = /* @__PURE__ */ __name((output, context) => {
|
|
|
4283
4289
|
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedTimestamp"),
|
|
4284
4290
|
IntegrationType: import_smithy_client.expectString,
|
|
4285
4291
|
Name: import_smithy_client.expectString,
|
|
4292
|
+
NetworkType: import_smithy_client.expectString,
|
|
4286
4293
|
OutboundHostName: import_smithy_client.expectString,
|
|
4287
4294
|
RequireEncryption: import_smithy_client.expectBoolean,
|
|
4288
4295
|
UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "UpdatedTimestamp"),
|
|
@@ -6159,6 +6166,7 @@ var paginateSearchAvailablePhoneNumbers = (0, import_core.createPaginator)(Chime
|
|
|
6159
6166
|
SipRuleTriggerType,
|
|
6160
6167
|
VoiceConnectorAwsRegion,
|
|
6161
6168
|
VoiceConnectorIntegrationType,
|
|
6169
|
+
NetworkType,
|
|
6162
6170
|
GoneException,
|
|
6163
6171
|
PhoneNumberAssociationName,
|
|
6164
6172
|
PhoneNumberStatus,
|
|
@@ -255,6 +255,10 @@ export const VoiceConnectorIntegrationType = {
|
|
|
255
255
|
CONNECT_ANALYTICS_CONNECTOR: "CONNECT_ANALYTICS_CONNECTOR",
|
|
256
256
|
CONNECT_CALL_TRANSFER_CONNECTOR: "CONNECT_CALL_TRANSFER_CONNECTOR",
|
|
257
257
|
};
|
|
258
|
+
export const NetworkType = {
|
|
259
|
+
DUAL_STACK: "DUAL_STACK",
|
|
260
|
+
IPV4_ONLY: "IPV4_ONLY",
|
|
261
|
+
};
|
|
258
262
|
export class GoneException extends __BaseException {
|
|
259
263
|
name = "GoneException";
|
|
260
264
|
$fault = "client";
|
|
@@ -167,6 +167,7 @@ export const se_CreateVoiceConnectorCommand = async (input, context) => {
|
|
|
167
167
|
AwsRegion: [],
|
|
168
168
|
IntegrationType: [],
|
|
169
169
|
Name: [],
|
|
170
|
+
NetworkType: [],
|
|
170
171
|
RequireEncryption: [],
|
|
171
172
|
Tags: (_) => _json(_),
|
|
172
173
|
}));
|
|
@@ -2875,6 +2876,7 @@ const de_VoiceConnector = (output, context) => {
|
|
|
2875
2876
|
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2876
2877
|
IntegrationType: __expectString,
|
|
2877
2878
|
Name: __expectString,
|
|
2879
|
+
NetworkType: __expectString,
|
|
2878
2880
|
OutboundHostName: __expectString,
|
|
2879
2881
|
RequireEncryption: __expectBoolean,
|
|
2880
2882
|
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
@@ -50,6 +50,7 @@ declare const CreateVoiceConnectorCommand_base: {
|
|
|
50
50
|
* },
|
|
51
51
|
* ],
|
|
52
52
|
* IntegrationType: "CONNECT_CALL_TRANSFER_CONNECTOR" || "CONNECT_ANALYTICS_CONNECTOR",
|
|
53
|
+
* NetworkType: "IPV4_ONLY" || "DUAL_STACK",
|
|
53
54
|
* };
|
|
54
55
|
* const command = new CreateVoiceConnectorCommand(input);
|
|
55
56
|
* const response = await client.send(command);
|
|
@@ -64,6 +65,7 @@ declare const CreateVoiceConnectorCommand_base: {
|
|
|
64
65
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
65
66
|
* // VoiceConnectorArn: "STRING_VALUE",
|
|
66
67
|
* // IntegrationType: "CONNECT_CALL_TRANSFER_CONNECTOR" || "CONNECT_ANALYTICS_CONNECTOR",
|
|
68
|
+
* // NetworkType: "IPV4_ONLY" || "DUAL_STACK",
|
|
67
69
|
* // },
|
|
68
70
|
* // };
|
|
69
71
|
*
|
|
@@ -53,6 +53,7 @@ declare const GetVoiceConnectorCommand_base: {
|
|
|
53
53
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
54
54
|
* // VoiceConnectorArn: "STRING_VALUE",
|
|
55
55
|
* // IntegrationType: "CONNECT_CALL_TRANSFER_CONNECTOR" || "CONNECT_ANALYTICS_CONNECTOR",
|
|
56
|
+
* // NetworkType: "IPV4_ONLY" || "DUAL_STACK",
|
|
56
57
|
* // },
|
|
57
58
|
* // };
|
|
58
59
|
*
|
|
@@ -55,6 +55,7 @@ declare const ListVoiceConnectorsCommand_base: {
|
|
|
55
55
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
56
56
|
* // VoiceConnectorArn: "STRING_VALUE",
|
|
57
57
|
* // IntegrationType: "CONNECT_CALL_TRANSFER_CONNECTOR" || "CONNECT_ANALYTICS_CONNECTOR",
|
|
58
|
+
* // NetworkType: "IPV4_ONLY" || "DUAL_STACK",
|
|
58
59
|
* // },
|
|
59
60
|
* // ],
|
|
60
61
|
* // NextToken: "STRING_VALUE",
|
|
@@ -54,6 +54,7 @@ declare const UpdateVoiceConnectorCommand_base: {
|
|
|
54
54
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
55
55
|
* // VoiceConnectorArn: "STRING_VALUE",
|
|
56
56
|
* // IntegrationType: "CONNECT_CALL_TRANSFER_CONNECTOR" || "CONNECT_ANALYTICS_CONNECTOR",
|
|
57
|
+
* // NetworkType: "IPV4_ONLY" || "DUAL_STACK",
|
|
57
58
|
* // },
|
|
58
59
|
* // };
|
|
59
60
|
*
|
|
@@ -1159,6 +1159,18 @@ export declare const VoiceConnectorIntegrationType: {
|
|
|
1159
1159
|
* @public
|
|
1160
1160
|
*/
|
|
1161
1161
|
export type VoiceConnectorIntegrationType = (typeof VoiceConnectorIntegrationType)[keyof typeof VoiceConnectorIntegrationType];
|
|
1162
|
+
/**
|
|
1163
|
+
* @public
|
|
1164
|
+
* @enum
|
|
1165
|
+
*/
|
|
1166
|
+
export declare const NetworkType: {
|
|
1167
|
+
readonly DUAL_STACK: "DUAL_STACK";
|
|
1168
|
+
readonly IPV4_ONLY: "IPV4_ONLY";
|
|
1169
|
+
};
|
|
1170
|
+
/**
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
1162
1174
|
/**
|
|
1163
1175
|
* @public
|
|
1164
1176
|
*/
|
|
@@ -1217,6 +1229,11 @@ export interface CreateVoiceConnectorRequest {
|
|
|
1217
1229
|
* @public
|
|
1218
1230
|
*/
|
|
1219
1231
|
IntegrationType?: VoiceConnectorIntegrationType | undefined;
|
|
1232
|
+
/**
|
|
1233
|
+
* <p>The type of network for the Voice Connector. Either IPv4 only or dual-stack (IPv4 and IPv6).</p>
|
|
1234
|
+
* @public
|
|
1235
|
+
*/
|
|
1236
|
+
NetworkType?: NetworkType | undefined;
|
|
1220
1237
|
}
|
|
1221
1238
|
/**
|
|
1222
1239
|
* <p>The Amazon Chime SDK Voice Connector configuration, including outbound
|
|
@@ -1270,6 +1287,11 @@ export interface VoiceConnector {
|
|
|
1270
1287
|
* @public
|
|
1271
1288
|
*/
|
|
1272
1289
|
IntegrationType?: VoiceConnectorIntegrationType | undefined;
|
|
1290
|
+
/**
|
|
1291
|
+
* <p>The type of network of the Voice Connector. Either IPv4 only or dual-stack (IPv4 and IPv6).</p>
|
|
1292
|
+
* @public
|
|
1293
|
+
*/
|
|
1294
|
+
NetworkType?: NetworkType | undefined;
|
|
1273
1295
|
}
|
|
1274
1296
|
/**
|
|
1275
1297
|
* @public
|
|
@@ -391,12 +391,18 @@ export declare const VoiceConnectorIntegrationType: {
|
|
|
391
391
|
};
|
|
392
392
|
export type VoiceConnectorIntegrationType =
|
|
393
393
|
(typeof VoiceConnectorIntegrationType)[keyof typeof VoiceConnectorIntegrationType];
|
|
394
|
+
export declare const NetworkType: {
|
|
395
|
+
readonly DUAL_STACK: "DUAL_STACK";
|
|
396
|
+
readonly IPV4_ONLY: "IPV4_ONLY";
|
|
397
|
+
};
|
|
398
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
394
399
|
export interface CreateVoiceConnectorRequest {
|
|
395
400
|
Name: string | undefined;
|
|
396
401
|
AwsRegion?: VoiceConnectorAwsRegion | undefined;
|
|
397
402
|
RequireEncryption: boolean | undefined;
|
|
398
403
|
Tags?: Tag[] | undefined;
|
|
399
404
|
IntegrationType?: VoiceConnectorIntegrationType | undefined;
|
|
405
|
+
NetworkType?: NetworkType | undefined;
|
|
400
406
|
}
|
|
401
407
|
export interface VoiceConnector {
|
|
402
408
|
VoiceConnectorId?: string | undefined;
|
|
@@ -408,6 +414,7 @@ export interface VoiceConnector {
|
|
|
408
414
|
UpdatedTimestamp?: Date | undefined;
|
|
409
415
|
VoiceConnectorArn?: string | undefined;
|
|
410
416
|
IntegrationType?: VoiceConnectorIntegrationType | undefined;
|
|
417
|
+
NetworkType?: NetworkType | undefined;
|
|
411
418
|
}
|
|
412
419
|
export interface CreateVoiceConnectorResponse {
|
|
413
420
|
VoiceConnector?: VoiceConnector | undefined;
|
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.
|
|
4
|
+
"version": "3.901.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,42 +20,42 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.
|
|
37
|
-
"@smithy/hash-node": "^4.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.
|
|
41
|
-
"@smithy/middleware-retry": "^4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.
|
|
43
|
-
"@smithy/middleware-stack": "^4.
|
|
44
|
-
"@smithy/node-config-provider": "^4.
|
|
45
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
-
"@smithy/protocol-http": "^5.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.
|
|
50
|
-
"@smithy/util-base64": "^4.
|
|
51
|
-
"@smithy/util-body-length-browser": "^4.
|
|
52
|
-
"@smithy/util-body-length-node": "^4.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.
|
|
55
|
-
"@smithy/util-endpoints": "^3.
|
|
56
|
-
"@smithy/util-middleware": "^4.
|
|
57
|
-
"@smithy/util-retry": "^4.
|
|
58
|
-
"@smithy/util-utf8": "^4.
|
|
23
|
+
"@aws-sdk/core": "3.901.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.901.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.901.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.901.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.901.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.901.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.901.0",
|
|
30
|
+
"@aws-sdk/types": "3.901.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.901.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.901.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.901.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.3.0",
|
|
35
|
+
"@smithy/core": "^3.14.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.0",
|
|
37
|
+
"@smithy/hash-node": "^4.2.0",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.0",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.0",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.0",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.0",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.0",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.0",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.0",
|
|
45
|
+
"@smithy/node-http-handler": "^4.3.0",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.0",
|
|
47
|
+
"@smithy/smithy-client": "^4.7.0",
|
|
48
|
+
"@smithy/types": "^4.6.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.0",
|
|
50
|
+
"@smithy/util-base64": "^4.2.0",
|
|
51
|
+
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
|
+
"@smithy/util-body-length-node": "^4.2.0",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.2.0",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.0",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.0",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.0",
|
|
57
|
+
"@smithy/util-retry": "^4.2.0",
|
|
58
|
+
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|