@aws-sdk/client-chime-sdk-voice 3.353.0 → 3.357.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.
|
@@ -2742,7 +2742,7 @@ const de_DeletePhoneNumberCommand = async (output, context) => {
|
|
|
2742
2742
|
const contents = (0, smithy_client_1.map)({
|
|
2743
2743
|
$metadata: deserializeMetadata(output),
|
|
2744
2744
|
});
|
|
2745
|
-
await collectBody(output.body, context);
|
|
2745
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2746
2746
|
return contents;
|
|
2747
2747
|
};
|
|
2748
2748
|
exports.de_DeletePhoneNumberCommand = de_DeletePhoneNumberCommand;
|
|
@@ -2790,7 +2790,7 @@ const de_DeleteProxySessionCommand = async (output, context) => {
|
|
|
2790
2790
|
const contents = (0, smithy_client_1.map)({
|
|
2791
2791
|
$metadata: deserializeMetadata(output),
|
|
2792
2792
|
});
|
|
2793
|
-
await collectBody(output.body, context);
|
|
2793
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2794
2794
|
return contents;
|
|
2795
2795
|
};
|
|
2796
2796
|
exports.de_DeleteProxySessionCommand = de_DeleteProxySessionCommand;
|
|
@@ -2838,7 +2838,7 @@ const de_DeleteSipMediaApplicationCommand = async (output, context) => {
|
|
|
2838
2838
|
const contents = (0, smithy_client_1.map)({
|
|
2839
2839
|
$metadata: deserializeMetadata(output),
|
|
2840
2840
|
});
|
|
2841
|
-
await collectBody(output.body, context);
|
|
2841
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2842
2842
|
return contents;
|
|
2843
2843
|
};
|
|
2844
2844
|
exports.de_DeleteSipMediaApplicationCommand = de_DeleteSipMediaApplicationCommand;
|
|
@@ -2889,7 +2889,7 @@ const de_DeleteSipRuleCommand = async (output, context) => {
|
|
|
2889
2889
|
const contents = (0, smithy_client_1.map)({
|
|
2890
2890
|
$metadata: deserializeMetadata(output),
|
|
2891
2891
|
});
|
|
2892
|
-
await collectBody(output.body, context);
|
|
2892
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2893
2893
|
return contents;
|
|
2894
2894
|
};
|
|
2895
2895
|
exports.de_DeleteSipRuleCommand = de_DeleteSipRuleCommand;
|
|
@@ -2940,7 +2940,7 @@ const de_DeleteVoiceConnectorCommand = async (output, context) => {
|
|
|
2940
2940
|
const contents = (0, smithy_client_1.map)({
|
|
2941
2941
|
$metadata: deserializeMetadata(output),
|
|
2942
2942
|
});
|
|
2943
|
-
await collectBody(output.body, context);
|
|
2943
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2944
2944
|
return contents;
|
|
2945
2945
|
};
|
|
2946
2946
|
exports.de_DeleteVoiceConnectorCommand = de_DeleteVoiceConnectorCommand;
|
|
@@ -2991,7 +2991,7 @@ const de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand = async (outpu
|
|
|
2991
2991
|
const contents = (0, smithy_client_1.map)({
|
|
2992
2992
|
$metadata: deserializeMetadata(output),
|
|
2993
2993
|
});
|
|
2994
|
-
await collectBody(output.body, context);
|
|
2994
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2995
2995
|
return contents;
|
|
2996
2996
|
};
|
|
2997
2997
|
exports.de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand = de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand;
|
|
@@ -3039,7 +3039,7 @@ const de_DeleteVoiceConnectorGroupCommand = async (output, context) => {
|
|
|
3039
3039
|
const contents = (0, smithy_client_1.map)({
|
|
3040
3040
|
$metadata: deserializeMetadata(output),
|
|
3041
3041
|
});
|
|
3042
|
-
await collectBody(output.body, context);
|
|
3042
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3043
3043
|
return contents;
|
|
3044
3044
|
};
|
|
3045
3045
|
exports.de_DeleteVoiceConnectorGroupCommand = de_DeleteVoiceConnectorGroupCommand;
|
|
@@ -3090,7 +3090,7 @@ const de_DeleteVoiceConnectorOriginationCommand = async (output, context) => {
|
|
|
3090
3090
|
const contents = (0, smithy_client_1.map)({
|
|
3091
3091
|
$metadata: deserializeMetadata(output),
|
|
3092
3092
|
});
|
|
3093
|
-
await collectBody(output.body, context);
|
|
3093
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3094
3094
|
return contents;
|
|
3095
3095
|
};
|
|
3096
3096
|
exports.de_DeleteVoiceConnectorOriginationCommand = de_DeleteVoiceConnectorOriginationCommand;
|
|
@@ -3138,7 +3138,7 @@ const de_DeleteVoiceConnectorProxyCommand = async (output, context) => {
|
|
|
3138
3138
|
const contents = (0, smithy_client_1.map)({
|
|
3139
3139
|
$metadata: deserializeMetadata(output),
|
|
3140
3140
|
});
|
|
3141
|
-
await collectBody(output.body, context);
|
|
3141
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3142
3142
|
return contents;
|
|
3143
3143
|
};
|
|
3144
3144
|
exports.de_DeleteVoiceConnectorProxyCommand = de_DeleteVoiceConnectorProxyCommand;
|
|
@@ -3186,7 +3186,7 @@ const de_DeleteVoiceConnectorStreamingConfigurationCommand = async (output, cont
|
|
|
3186
3186
|
const contents = (0, smithy_client_1.map)({
|
|
3187
3187
|
$metadata: deserializeMetadata(output),
|
|
3188
3188
|
});
|
|
3189
|
-
await collectBody(output.body, context);
|
|
3189
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3190
3190
|
return contents;
|
|
3191
3191
|
};
|
|
3192
3192
|
exports.de_DeleteVoiceConnectorStreamingConfigurationCommand = de_DeleteVoiceConnectorStreamingConfigurationCommand;
|
|
@@ -3234,7 +3234,7 @@ const de_DeleteVoiceConnectorTerminationCommand = async (output, context) => {
|
|
|
3234
3234
|
const contents = (0, smithy_client_1.map)({
|
|
3235
3235
|
$metadata: deserializeMetadata(output),
|
|
3236
3236
|
});
|
|
3237
|
-
await collectBody(output.body, context);
|
|
3237
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3238
3238
|
return contents;
|
|
3239
3239
|
};
|
|
3240
3240
|
exports.de_DeleteVoiceConnectorTerminationCommand = de_DeleteVoiceConnectorTerminationCommand;
|
|
@@ -3282,7 +3282,7 @@ const de_DeleteVoiceConnectorTerminationCredentialsCommand = async (output, cont
|
|
|
3282
3282
|
const contents = (0, smithy_client_1.map)({
|
|
3283
3283
|
$metadata: deserializeMetadata(output),
|
|
3284
3284
|
});
|
|
3285
|
-
await collectBody(output.body, context);
|
|
3285
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3286
3286
|
return contents;
|
|
3287
3287
|
};
|
|
3288
3288
|
exports.de_DeleteVoiceConnectorTerminationCredentialsCommand = de_DeleteVoiceConnectorTerminationCredentialsCommand;
|
|
@@ -3330,7 +3330,7 @@ const de_DeleteVoiceProfileCommand = async (output, context) => {
|
|
|
3330
3330
|
const contents = (0, smithy_client_1.map)({
|
|
3331
3331
|
$metadata: deserializeMetadata(output),
|
|
3332
3332
|
});
|
|
3333
|
-
await collectBody(output.body, context);
|
|
3333
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3334
3334
|
return contents;
|
|
3335
3335
|
};
|
|
3336
3336
|
exports.de_DeleteVoiceProfileCommand = de_DeleteVoiceProfileCommand;
|
|
@@ -3384,7 +3384,7 @@ const de_DeleteVoiceProfileDomainCommand = async (output, context) => {
|
|
|
3384
3384
|
const contents = (0, smithy_client_1.map)({
|
|
3385
3385
|
$metadata: deserializeMetadata(output),
|
|
3386
3386
|
});
|
|
3387
|
-
await collectBody(output.body, context);
|
|
3387
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3388
3388
|
return contents;
|
|
3389
3389
|
};
|
|
3390
3390
|
exports.de_DeleteVoiceProfileDomainCommand = de_DeleteVoiceProfileDomainCommand;
|
|
@@ -5785,7 +5785,7 @@ const de_PutVoiceConnectorTerminationCredentialsCommand = async (output, context
|
|
|
5785
5785
|
const contents = (0, smithy_client_1.map)({
|
|
5786
5786
|
$metadata: deserializeMetadata(output),
|
|
5787
5787
|
});
|
|
5788
|
-
await collectBody(output.body, context);
|
|
5788
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
5789
5789
|
return contents;
|
|
5790
5790
|
};
|
|
5791
5791
|
exports.de_PutVoiceConnectorTerminationCredentialsCommand = de_PutVoiceConnectorTerminationCredentialsCommand;
|
|
@@ -6075,7 +6075,7 @@ const de_StopSpeakerSearchTaskCommand = async (output, context) => {
|
|
|
6075
6075
|
const contents = (0, smithy_client_1.map)({
|
|
6076
6076
|
$metadata: deserializeMetadata(output),
|
|
6077
6077
|
});
|
|
6078
|
-
await collectBody(output.body, context);
|
|
6078
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6079
6079
|
return contents;
|
|
6080
6080
|
};
|
|
6081
6081
|
exports.de_StopSpeakerSearchTaskCommand = de_StopSpeakerSearchTaskCommand;
|
|
@@ -6132,7 +6132,7 @@ const de_StopVoiceToneAnalysisTaskCommand = async (output, context) => {
|
|
|
6132
6132
|
const contents = (0, smithy_client_1.map)({
|
|
6133
6133
|
$metadata: deserializeMetadata(output),
|
|
6134
6134
|
});
|
|
6135
|
-
await collectBody(output.body, context);
|
|
6135
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6136
6136
|
return contents;
|
|
6137
6137
|
};
|
|
6138
6138
|
exports.de_StopVoiceToneAnalysisTaskCommand = de_StopVoiceToneAnalysisTaskCommand;
|
|
@@ -6189,7 +6189,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
6189
6189
|
const contents = (0, smithy_client_1.map)({
|
|
6190
6190
|
$metadata: deserializeMetadata(output),
|
|
6191
6191
|
});
|
|
6192
|
-
await collectBody(output.body, context);
|
|
6192
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6193
6193
|
return contents;
|
|
6194
6194
|
};
|
|
6195
6195
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -6237,7 +6237,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
6237
6237
|
const contents = (0, smithy_client_1.map)({
|
|
6238
6238
|
$metadata: deserializeMetadata(output),
|
|
6239
6239
|
});
|
|
6240
|
-
await collectBody(output.body, context);
|
|
6240
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6241
6241
|
return contents;
|
|
6242
6242
|
};
|
|
6243
6243
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -6282,7 +6282,7 @@ const de_UpdateGlobalSettingsCommand = async (output, context) => {
|
|
|
6282
6282
|
const contents = (0, smithy_client_1.map)({
|
|
6283
6283
|
$metadata: deserializeMetadata(output),
|
|
6284
6284
|
});
|
|
6285
|
-
await collectBody(output.body, context);
|
|
6285
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6286
6286
|
return contents;
|
|
6287
6287
|
};
|
|
6288
6288
|
exports.de_UpdateGlobalSettingsCommand = de_UpdateGlobalSettingsCommand;
|
|
@@ -6382,7 +6382,7 @@ const de_UpdatePhoneNumberSettingsCommand = async (output, context) => {
|
|
|
6382
6382
|
const contents = (0, smithy_client_1.map)({
|
|
6383
6383
|
$metadata: deserializeMetadata(output),
|
|
6384
6384
|
});
|
|
6385
|
-
await collectBody(output.body, context);
|
|
6385
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6386
6386
|
return contents;
|
|
6387
6387
|
};
|
|
6388
6388
|
exports.de_UpdatePhoneNumberSettingsCommand = de_UpdatePhoneNumberSettingsCommand;
|
|
@@ -7361,13 +7361,7 @@ const deserializeMetadata = (output) => ({
|
|
|
7361
7361
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
7362
7362
|
cfId: output.headers["x-amz-cf-id"],
|
|
7363
7363
|
});
|
|
7364
|
-
const
|
|
7365
|
-
if (streamBody instanceof Uint8Array) {
|
|
7366
|
-
return Promise.resolve(streamBody);
|
|
7367
|
-
}
|
|
7368
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
7369
|
-
};
|
|
7370
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
7364
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
7371
7365
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
7372
7366
|
value !== null &&
|
|
7373
7367
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { ChimeSDKVoiceServiceException as __BaseException } from "../models/ChimeSDKVoiceServiceException";
|
|
4
4
|
import { AccessDeniedException, BadRequestException, ConflictException, ForbiddenException, GoneException, NotFoundException, ResourceLimitExceededException, ServiceFailureException, ServiceUnavailableException, ThrottledClientException, UnauthorizedClientException, UnprocessableEntityException, } from "../models/models_0";
|
|
@@ -7169,12 +7169,6 @@ const deserializeMetadata = (output) => ({
|
|
|
7169
7169
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
7170
7170
|
cfId: output.headers["x-amz-cf-id"],
|
|
7171
7171
|
});
|
|
7172
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
7173
|
-
if (streamBody instanceof Uint8Array) {
|
|
7174
|
-
return Promise.resolve(streamBody);
|
|
7175
|
-
}
|
|
7176
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
7177
|
-
};
|
|
7178
7172
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
7179
7173
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
7180
7174
|
value !== null &&
|
|
@@ -166,7 +166,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
166
166
|
*/
|
|
167
167
|
runtime?: string;
|
|
168
168
|
/**
|
|
169
|
-
* Disable
|
|
169
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
170
170
|
* trait of an operation.
|
|
171
171
|
*/
|
|
172
172
|
disableHostPrefix?: boolean;
|
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.357.0",
|
|
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",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|