@aws-sdk/client-chime-sdk-voice 3.312.0 → 3.313.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/commands/CreateVoiceConnectorCommand.js +2 -1
- package/dist-cjs/models/models_0.js +14 -8
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/commands/CreateVoiceConnectorCommand.js +2 -1
- package/dist-es/models/models_0.js +10 -5
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateSipMediaApplicationCommand.d.ts +6 -0
- package/dist-types/commands/CreateVoiceConnectorCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +37 -21
- package/dist-types/ts3.4/models/models_0.d.ts +11 -5
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ exports.CreateVoiceConnectorCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class CreateVoiceConnectorCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -29,7 +30,7 @@ class CreateVoiceConnectorCommand extends smithy_client_1.Command {
|
|
|
29
30
|
logger,
|
|
30
31
|
clientName,
|
|
31
32
|
commandName,
|
|
32
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateVoiceConnectorRequestFilterSensitiveLog,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
34
35
|
};
|
|
35
36
|
const { requestHandler } = configuration;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateProxySessionResponseFilterSensitiveLog = exports.ProxySessionFilterSensitiveLog = exports.ParticipantFilterSensitiveLog = exports.CreateProxySessionRequestFilterSensitiveLog = exports.CreatePhoneNumberOrderResponseFilterSensitiveLog = exports.PhoneNumberOrderFilterSensitiveLog = exports.OrderedPhoneNumberFilterSensitiveLog = exports.CreatePhoneNumberOrderRequestFilterSensitiveLog = exports.CandidateAddressFilterSensitiveLog = exports.BatchUpdatePhoneNumberResponseFilterSensitiveLog = exports.BatchUpdatePhoneNumberRequestFilterSensitiveLog = exports.UpdatePhoneNumberRequestItemFilterSensitiveLog = exports.BatchDeletePhoneNumberResponseFilterSensitiveLog = exports.AssociatePhoneNumbersWithVoiceConnectorGroupResponseFilterSensitiveLog = exports.AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog = exports.AssociatePhoneNumbersWithVoiceConnectorResponseFilterSensitiveLog = exports.PhoneNumberErrorFilterSensitiveLog = exports.AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog = exports.AddressFilterSensitiveLog = exports.LanguageCode = exports.UnprocessableEntityException = exports.NotificationTarget = exports.OriginationRouteProtocol = exports.PhoneNumberType = exports.PhoneNumberStatus = exports.PhoneNumberAssociationName = exports.GoneException = exports.VoiceConnectorAwsRegion = exports.SipRuleTriggerType = exports.ConflictException = exports.ProxySessionStatus = exports.NumberSelectionBehavior = exports.GeoMatchLevel = exports.ResourceLimitExceededException = exports.PhoneNumberOrderStatus = exports.PhoneNumberOrderType = exports.OrderedPhoneNumberStatus = exports.Capability = exports.CallingNameStatus = exports.PhoneNumberProductType = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.BadRequestException = exports.AlexaSkillStatus = exports.AccessDeniedException = exports.ErrorCode = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.ValidateE911AddressResponseFilterSensitiveLog = exports.ValidateE911AddressRequestFilterSensitiveLog = exports.UpdateVoiceProfileDomainResponseFilterSensitiveLog = exports.UpdateVoiceProfileResponseFilterSensitiveLog = exports.UpdateSipMediaApplicationCallRequestFilterSensitiveLog = exports.UpdateSipMediaApplicationResponseFilterSensitiveLog = exports.UpdateSipMediaApplicationRequestFilterSensitiveLog = exports.UpdateProxySessionResponseFilterSensitiveLog = exports.UpdatePhoneNumberSettingsRequestFilterSensitiveLog = exports.UpdatePhoneNumberResponseFilterSensitiveLog = exports.UpdatePhoneNumberRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SearchAvailablePhoneNumbersResponseFilterSensitiveLog = exports.RestorePhoneNumberResponseFilterSensitiveLog = exports.RestorePhoneNumberRequestFilterSensitiveLog = exports.PutVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog = exports.CredentialFilterSensitiveLog = exports.PutVoiceConnectorTerminationResponseFilterSensitiveLog = exports.PutVoiceConnectorTerminationRequestFilterSensitiveLog = exports.PutVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog = exports.PutVoiceConnectorStreamingConfigurationRequestFilterSensitiveLog = exports.PutVoiceConnectorProxyResponseFilterSensitiveLog = exports.PutVoiceConnectorProxyRequestFilterSensitiveLog = exports.PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog = exports.PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog = exports.PutSipMediaApplicationAlexaSkillConfigurationResponseFilterSensitiveLog = exports.PutSipMediaApplicationAlexaSkillConfigurationRequestFilterSensitiveLog = void 0;
|
|
4
|
+
exports.VoiceProfileSummaryFilterSensitiveLog = exports.ListVoiceProfileDomainsResponseFilterSensitiveLog = exports.VoiceProfileDomainSummaryFilterSensitiveLog = exports.ListVoiceConnectorTerminationCredentialsResponseFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSipMediaApplicationsResponseFilterSensitiveLog = exports.ListProxySessionsResponseFilterSensitiveLog = exports.ListPhoneNumbersResponseFilterSensitiveLog = exports.ListPhoneNumberOrdersResponseFilterSensitiveLog = exports.GetVoiceProfileDomainResponseFilterSensitiveLog = exports.GetVoiceProfileResponseFilterSensitiveLog = exports.GetVoiceConnectorTerminationResponseFilterSensitiveLog = exports.TerminationFilterSensitiveLog = exports.GetVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog = exports.StreamingConfigurationFilterSensitiveLog = exports.MediaInsightsConfigurationFilterSensitiveLog = exports.GetVoiceConnectorProxyResponseFilterSensitiveLog = exports.ProxyFilterSensitiveLog = exports.GetVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog = exports.EmergencyCallingConfigurationFilterSensitiveLog = exports.DNISEmergencyCallingConfigurationFilterSensitiveLog = exports.GetSipMediaApplicationAlexaSkillConfigurationResponseFilterSensitiveLog = exports.SipMediaApplicationAlexaSkillConfigurationFilterSensitiveLog = exports.GetSipMediaApplicationResponseFilterSensitiveLog = exports.GetProxySessionResponseFilterSensitiveLog = exports.GetPhoneNumberSettingsResponseFilterSensitiveLog = exports.GetPhoneNumberOrderResponseFilterSensitiveLog = exports.GetPhoneNumberResponseFilterSensitiveLog = exports.PhoneNumberFilterSensitiveLog = exports.GetPhoneNumberRequestFilterSensitiveLog = exports.DisassociatePhoneNumbersFromVoiceConnectorGroupResponseFilterSensitiveLog = exports.DisassociatePhoneNumbersFromVoiceConnectorGroupRequestFilterSensitiveLog = exports.DisassociatePhoneNumbersFromVoiceConnectorResponseFilterSensitiveLog = exports.DisassociatePhoneNumbersFromVoiceConnectorRequestFilterSensitiveLog = exports.DeleteVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog = exports.DeletePhoneNumberRequestFilterSensitiveLog = exports.CreateVoiceProfileDomainResponseFilterSensitiveLog = exports.VoiceProfileDomainFilterSensitiveLog = exports.CreateVoiceProfileDomainRequestFilterSensitiveLog = exports.ServerSideEncryptionConfigurationFilterSensitiveLog = exports.CreateVoiceProfileResponseFilterSensitiveLog = exports.VoiceProfileFilterSensitiveLog = exports.CreateVoiceConnectorRequestFilterSensitiveLog = exports.CreateSipMediaApplicationCallRequestFilterSensitiveLog = exports.CreateSipMediaApplicationResponseFilterSensitiveLog = exports.SipMediaApplicationFilterSensitiveLog = exports.CreateSipMediaApplicationRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.SipMediaApplicationEndpointFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ValidateE911AddressResponseFilterSensitiveLog = exports.ValidateE911AddressRequestFilterSensitiveLog = exports.UpdateVoiceProfileDomainResponseFilterSensitiveLog = exports.UpdateVoiceProfileResponseFilterSensitiveLog = exports.UpdateSipMediaApplicationCallRequestFilterSensitiveLog = exports.UpdateSipMediaApplicationResponseFilterSensitiveLog = exports.UpdateSipMediaApplicationRequestFilterSensitiveLog = exports.UpdateProxySessionResponseFilterSensitiveLog = exports.UpdatePhoneNumberSettingsRequestFilterSensitiveLog = exports.UpdatePhoneNumberResponseFilterSensitiveLog = exports.UpdatePhoneNumberRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SearchAvailablePhoneNumbersResponseFilterSensitiveLog = exports.RestorePhoneNumberResponseFilterSensitiveLog = exports.RestorePhoneNumberRequestFilterSensitiveLog = exports.PutVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog = exports.CredentialFilterSensitiveLog = exports.PutVoiceConnectorTerminationResponseFilterSensitiveLog = exports.PutVoiceConnectorTerminationRequestFilterSensitiveLog = exports.PutVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog = exports.PutVoiceConnectorStreamingConfigurationRequestFilterSensitiveLog = exports.PutVoiceConnectorProxyResponseFilterSensitiveLog = exports.PutVoiceConnectorProxyRequestFilterSensitiveLog = exports.PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog = exports.PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog = exports.PutSipMediaApplicationAlexaSkillConfigurationResponseFilterSensitiveLog = exports.PutSipMediaApplicationAlexaSkillConfigurationRequestFilterSensitiveLog = exports.ListVoiceProfilesResponseFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const ChimeSDKVoiceServiceException_1 = require("./ChimeSDKVoiceServiceException");
|
|
8
8
|
exports.ErrorCode = {
|
|
@@ -436,9 +436,16 @@ const SipMediaApplicationEndpointFilterSensitiveLog = (obj) => ({
|
|
|
436
436
|
...(obj.LambdaArn && { LambdaArn: smithy_client_1.SENSITIVE_STRING }),
|
|
437
437
|
});
|
|
438
438
|
exports.SipMediaApplicationEndpointFilterSensitiveLog = SipMediaApplicationEndpointFilterSensitiveLog;
|
|
439
|
+
const TagFilterSensitiveLog = (obj) => ({
|
|
440
|
+
...obj,
|
|
441
|
+
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
442
|
+
...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }),
|
|
443
|
+
});
|
|
444
|
+
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
439
445
|
const CreateSipMediaApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
440
446
|
...obj,
|
|
441
447
|
...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => (0, exports.SipMediaApplicationEndpointFilterSensitiveLog)(item)) }),
|
|
448
|
+
...(obj.Tags && { Tags: obj.Tags.map((item) => (0, exports.TagFilterSensitiveLog)(item)) }),
|
|
442
449
|
});
|
|
443
450
|
exports.CreateSipMediaApplicationRequestFilterSensitiveLog = CreateSipMediaApplicationRequestFilterSensitiveLog;
|
|
444
451
|
const SipMediaApplicationFilterSensitiveLog = (obj) => ({
|
|
@@ -461,6 +468,11 @@ const CreateSipMediaApplicationCallRequestFilterSensitiveLog = (obj) => ({
|
|
|
461
468
|
...(obj.ArgumentsMap && { ArgumentsMap: smithy_client_1.SENSITIVE_STRING }),
|
|
462
469
|
});
|
|
463
470
|
exports.CreateSipMediaApplicationCallRequestFilterSensitiveLog = CreateSipMediaApplicationCallRequestFilterSensitiveLog;
|
|
471
|
+
const CreateVoiceConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
...(obj.Tags && { Tags: obj.Tags.map((item) => (0, exports.TagFilterSensitiveLog)(item)) }),
|
|
474
|
+
});
|
|
475
|
+
exports.CreateVoiceConnectorRequestFilterSensitiveLog = CreateVoiceConnectorRequestFilterSensitiveLog;
|
|
464
476
|
const VoiceProfileFilterSensitiveLog = (obj) => ({
|
|
465
477
|
...obj,
|
|
466
478
|
...(obj.VoiceProfileArn && { VoiceProfileArn: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -476,12 +488,6 @@ const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
476
488
|
...(obj.KmsKeyArn && { KmsKeyArn: smithy_client_1.SENSITIVE_STRING }),
|
|
477
489
|
});
|
|
478
490
|
exports.ServerSideEncryptionConfigurationFilterSensitiveLog = ServerSideEncryptionConfigurationFilterSensitiveLog;
|
|
479
|
-
const TagFilterSensitiveLog = (obj) => ({
|
|
480
|
-
...obj,
|
|
481
|
-
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
482
|
-
...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }),
|
|
483
|
-
});
|
|
484
|
-
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
485
491
|
const CreateVoiceProfileDomainRequestFilterSensitiveLog = (obj) => ({
|
|
486
492
|
...obj,
|
|
487
493
|
...(obj.ServerSideEncryptionConfiguration && {
|
|
@@ -185,6 +185,7 @@ const se_CreateSipMediaApplicationCommand = async (input, context) => {
|
|
|
185
185
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
186
186
|
...(input.Endpoints != null && { Endpoints: se_SipMediaApplicationEndpointList(input.Endpoints, context) }),
|
|
187
187
|
...(input.Name != null && { Name: input.Name }),
|
|
188
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
188
189
|
});
|
|
189
190
|
return new protocol_http_1.HttpRequest({
|
|
190
191
|
protocol,
|
|
@@ -261,6 +262,7 @@ const se_CreateVoiceConnectorCommand = async (input, context) => {
|
|
|
261
262
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
262
263
|
...(input.Name != null && { Name: input.Name }),
|
|
263
264
|
...(input.RequireEncryption != null && { RequireEncryption: input.RequireEncryption }),
|
|
265
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
264
266
|
});
|
|
265
267
|
return new protocol_http_1.HttpRequest({
|
|
266
268
|
protocol,
|
|
@@ -7867,6 +7869,7 @@ const de_SipMediaApplication = (output, context) => {
|
|
|
7867
7869
|
: undefined,
|
|
7868
7870
|
Endpoints: output.Endpoints != null ? de_SipMediaApplicationEndpointList(output.Endpoints, context) : undefined,
|
|
7869
7871
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7872
|
+
SipMediaApplicationArn: (0, smithy_client_1.expectString)(output.SipMediaApplicationArn),
|
|
7870
7873
|
SipMediaApplicationId: (0, smithy_client_1.expectString)(output.SipMediaApplicationId),
|
|
7871
7874
|
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
7872
7875
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTimestamp))
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateVoiceConnectorRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_CreateVoiceConnectorCommand, se_CreateVoiceConnectorCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export class CreateVoiceConnectorCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
@@ -26,7 +27,7 @@ export class CreateVoiceConnectorCommand extends $Command {
|
|
|
26
27
|
logger,
|
|
27
28
|
clientName,
|
|
28
29
|
commandName,
|
|
29
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: CreateVoiceConnectorRequestFilterSensitiveLog,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
31
32
|
};
|
|
32
33
|
const { requestHandler } = configuration;
|
|
@@ -399,9 +399,15 @@ export const SipMediaApplicationEndpointFilterSensitiveLog = (obj) => ({
|
|
|
399
399
|
...obj,
|
|
400
400
|
...(obj.LambdaArn && { LambdaArn: SENSITIVE_STRING }),
|
|
401
401
|
});
|
|
402
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
405
|
+
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
406
|
+
});
|
|
402
407
|
export const CreateSipMediaApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
403
408
|
...obj,
|
|
404
409
|
...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => SipMediaApplicationEndpointFilterSensitiveLog(item)) }),
|
|
410
|
+
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
405
411
|
});
|
|
406
412
|
export const SipMediaApplicationFilterSensitiveLog = (obj) => ({
|
|
407
413
|
...obj,
|
|
@@ -420,6 +426,10 @@ export const CreateSipMediaApplicationCallRequestFilterSensitiveLog = (obj) => (
|
|
|
420
426
|
...(obj.SipHeaders && { SipHeaders: SENSITIVE_STRING }),
|
|
421
427
|
...(obj.ArgumentsMap && { ArgumentsMap: SENSITIVE_STRING }),
|
|
422
428
|
});
|
|
429
|
+
export const CreateVoiceConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
430
|
+
...obj,
|
|
431
|
+
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
432
|
+
});
|
|
423
433
|
export const VoiceProfileFilterSensitiveLog = (obj) => ({
|
|
424
434
|
...obj,
|
|
425
435
|
...(obj.VoiceProfileArn && { VoiceProfileArn: SENSITIVE_STRING }),
|
|
@@ -432,11 +442,6 @@ export const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
432
442
|
...obj,
|
|
433
443
|
...(obj.KmsKeyArn && { KmsKeyArn: SENSITIVE_STRING }),
|
|
434
444
|
});
|
|
435
|
-
export const TagFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
438
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
439
|
-
});
|
|
440
445
|
export const CreateVoiceProfileDomainRequestFilterSensitiveLog = (obj) => ({
|
|
441
446
|
...obj,
|
|
442
447
|
...(obj.ServerSideEncryptionConfiguration && {
|
|
@@ -173,6 +173,7 @@ export const se_CreateSipMediaApplicationCommand = async (input, context) => {
|
|
|
173
173
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
174
174
|
...(input.Endpoints != null && { Endpoints: se_SipMediaApplicationEndpointList(input.Endpoints, context) }),
|
|
175
175
|
...(input.Name != null && { Name: input.Name }),
|
|
176
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
176
177
|
});
|
|
177
178
|
return new __HttpRequest({
|
|
178
179
|
protocol,
|
|
@@ -246,6 +247,7 @@ export const se_CreateVoiceConnectorCommand = async (input, context) => {
|
|
|
246
247
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
247
248
|
...(input.Name != null && { Name: input.Name }),
|
|
248
249
|
...(input.RequireEncryption != null && { RequireEncryption: input.RequireEncryption }),
|
|
250
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
249
251
|
});
|
|
250
252
|
return new __HttpRequest({
|
|
251
253
|
protocol,
|
|
@@ -7675,6 +7677,7 @@ const de_SipMediaApplication = (output, context) => {
|
|
|
7675
7677
|
: undefined,
|
|
7676
7678
|
Endpoints: output.Endpoints != null ? de_SipMediaApplicationEndpointList(output.Endpoints, context) : undefined,
|
|
7677
7679
|
Name: __expectString(output.Name),
|
|
7680
|
+
SipMediaApplicationArn: __expectString(output.SipMediaApplicationArn),
|
|
7678
7681
|
SipMediaApplicationId: __expectString(output.SipMediaApplicationId),
|
|
7679
7682
|
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
7680
7683
|
? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedTimestamp))
|
|
@@ -35,6 +35,12 @@ export interface CreateSipMediaApplicationCommandOutput extends CreateSipMediaAp
|
|
|
35
35
|
* LambdaArn: "STRING_VALUE",
|
|
36
36
|
* },
|
|
37
37
|
* ],
|
|
38
|
+
* Tags: [ // TagList
|
|
39
|
+
* { // Tag
|
|
40
|
+
* Key: "STRING_VALUE", // required
|
|
41
|
+
* Value: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
38
44
|
* };
|
|
39
45
|
* const command = new CreateSipMediaApplicationCommand(input);
|
|
40
46
|
* const response = await client.send(command);
|
|
@@ -33,6 +33,12 @@ export interface CreateVoiceConnectorCommandOutput extends CreateVoiceConnectorR
|
|
|
33
33
|
* Name: "STRING_VALUE", // required
|
|
34
34
|
* AwsRegion: "us-east-1" || "us-west-2" || "ca-central-1" || "eu-central-1" || "eu-west-1" || "eu-west-2" || "ap-northeast-2" || "ap-northeast-1" || "ap-southeast-1" || "ap-southeast-2",
|
|
35
35
|
* RequireEncryption: true || false, // required
|
|
36
|
+
* Tags: [ // TagList
|
|
37
|
+
* { // Tag
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
36
42
|
* };
|
|
37
43
|
* const command = new CreateVoiceConnectorCommand(input);
|
|
38
44
|
* const response = await client.send(command);
|
|
@@ -565,7 +565,7 @@ export type GeoMatchLevel = (typeof GeoMatchLevel)[keyof typeof GeoMatchLevel];
|
|
|
565
565
|
*/
|
|
566
566
|
export interface GeoMatchParams {
|
|
567
567
|
/**
|
|
568
|
-
* <p>The country
|
|
568
|
+
* <p>The country.</p>
|
|
569
569
|
*/
|
|
570
570
|
Country: string | undefined;
|
|
571
571
|
/**
|
|
@@ -742,6 +742,20 @@ export interface SipMediaApplicationEndpoint {
|
|
|
742
742
|
*/
|
|
743
743
|
LambdaArn?: string;
|
|
744
744
|
}
|
|
745
|
+
/**
|
|
746
|
+
* @public
|
|
747
|
+
* <p>Describes a tag applied to a resource.</p>
|
|
748
|
+
*/
|
|
749
|
+
export interface Tag {
|
|
750
|
+
/**
|
|
751
|
+
* <p>The tag's key.</p>
|
|
752
|
+
*/
|
|
753
|
+
Key: string | undefined;
|
|
754
|
+
/**
|
|
755
|
+
* <p>The tag's value.</p>
|
|
756
|
+
*/
|
|
757
|
+
Value: string | undefined;
|
|
758
|
+
}
|
|
745
759
|
/**
|
|
746
760
|
* @public
|
|
747
761
|
*/
|
|
@@ -758,6 +772,10 @@ export interface CreateSipMediaApplicationRequest {
|
|
|
758
772
|
* <p>List of endpoints (Lambda ARNs) specified for the SIP media application.</p>
|
|
759
773
|
*/
|
|
760
774
|
Endpoints: SipMediaApplicationEndpoint[] | undefined;
|
|
775
|
+
/**
|
|
776
|
+
* <p>The tags assigned to the SIP media application.</p>
|
|
777
|
+
*/
|
|
778
|
+
Tags?: Tag[];
|
|
761
779
|
}
|
|
762
780
|
/**
|
|
763
781
|
* @public
|
|
@@ -778,7 +796,7 @@ export interface SipMediaApplication {
|
|
|
778
796
|
*/
|
|
779
797
|
Name?: string;
|
|
780
798
|
/**
|
|
781
|
-
* <p>List of endpoints for SIP media application. Currently, only one endpoint per
|
|
799
|
+
* <p>List of endpoints for a SIP media application. Currently, only one endpoint per
|
|
782
800
|
* SIP media application is permitted.</p>
|
|
783
801
|
*/
|
|
784
802
|
Endpoints?: SipMediaApplicationEndpoint[];
|
|
@@ -790,6 +808,10 @@ export interface SipMediaApplication {
|
|
|
790
808
|
* <p>The time at which the SIP media application was updated.</p>
|
|
791
809
|
*/
|
|
792
810
|
UpdatedTimestamp?: Date;
|
|
811
|
+
/**
|
|
812
|
+
* <p>The ARN of the SIP media application.</p>
|
|
813
|
+
*/
|
|
814
|
+
SipMediaApplicationArn?: string;
|
|
793
815
|
}
|
|
794
816
|
/**
|
|
795
817
|
* @public
|
|
@@ -999,6 +1021,10 @@ export interface CreateVoiceConnectorRequest {
|
|
|
999
1021
|
* <p>Enables or disables encryption for the Voice Connector.</p>
|
|
1000
1022
|
*/
|
|
1001
1023
|
RequireEncryption: boolean | undefined;
|
|
1024
|
+
/**
|
|
1025
|
+
* <p>The tags assigned to the Voice Connector.</p>
|
|
1026
|
+
*/
|
|
1027
|
+
Tags?: Tag[];
|
|
1002
1028
|
}
|
|
1003
1029
|
/**
|
|
1004
1030
|
* @public
|
|
@@ -1199,20 +1225,6 @@ export interface ServerSideEncryptionConfiguration {
|
|
|
1199
1225
|
*/
|
|
1200
1226
|
KmsKeyArn: string | undefined;
|
|
1201
1227
|
}
|
|
1202
|
-
/**
|
|
1203
|
-
* @public
|
|
1204
|
-
* <p>Describes a tag applied to a resource.</p>
|
|
1205
|
-
*/
|
|
1206
|
-
export interface Tag {
|
|
1207
|
-
/**
|
|
1208
|
-
* <p>The tag's key.</p>
|
|
1209
|
-
*/
|
|
1210
|
-
Key: string | undefined;
|
|
1211
|
-
/**
|
|
1212
|
-
* <p>The tag's value.</p>
|
|
1213
|
-
*/
|
|
1214
|
-
Value: string | undefined;
|
|
1215
|
-
}
|
|
1216
1228
|
/**
|
|
1217
1229
|
* @public
|
|
1218
1230
|
*/
|
|
@@ -2000,7 +2012,7 @@ export interface GetVoiceConnectorLoggingConfigurationRequest {
|
|
|
2000
2012
|
*/
|
|
2001
2013
|
export interface LoggingConfiguration {
|
|
2002
2014
|
/**
|
|
2003
|
-
* <p>Boolean that enables sending SIP message logs to Amazon CloudWatch
|
|
2015
|
+
* <p>Boolean that enables sending SIP message logs to Amazon CloudWatch.</p>
|
|
2004
2016
|
*/
|
|
2005
2017
|
EnableSIPLogs?: boolean;
|
|
2006
2018
|
/**
|
|
@@ -3617,6 +3629,10 @@ export declare const CreateProxySessionResponseFilterSensitiveLog: (obj: CreateP
|
|
|
3617
3629
|
* @internal
|
|
3618
3630
|
*/
|
|
3619
3631
|
export declare const SipMediaApplicationEndpointFilterSensitiveLog: (obj: SipMediaApplicationEndpoint) => any;
|
|
3632
|
+
/**
|
|
3633
|
+
* @internal
|
|
3634
|
+
*/
|
|
3635
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
3620
3636
|
/**
|
|
3621
3637
|
* @internal
|
|
3622
3638
|
*/
|
|
@@ -3636,19 +3652,19 @@ export declare const CreateSipMediaApplicationCallRequestFilterSensitiveLog: (ob
|
|
|
3636
3652
|
/**
|
|
3637
3653
|
* @internal
|
|
3638
3654
|
*/
|
|
3639
|
-
export declare const
|
|
3655
|
+
export declare const CreateVoiceConnectorRequestFilterSensitiveLog: (obj: CreateVoiceConnectorRequest) => any;
|
|
3640
3656
|
/**
|
|
3641
3657
|
* @internal
|
|
3642
3658
|
*/
|
|
3643
|
-
export declare const
|
|
3659
|
+
export declare const VoiceProfileFilterSensitiveLog: (obj: VoiceProfile) => any;
|
|
3644
3660
|
/**
|
|
3645
3661
|
* @internal
|
|
3646
3662
|
*/
|
|
3647
|
-
export declare const
|
|
3663
|
+
export declare const CreateVoiceProfileResponseFilterSensitiveLog: (obj: CreateVoiceProfileResponse) => any;
|
|
3648
3664
|
/**
|
|
3649
3665
|
* @internal
|
|
3650
3666
|
*/
|
|
3651
|
-
export declare const
|
|
3667
|
+
export declare const ServerSideEncryptionConfigurationFilterSensitiveLog: (obj: ServerSideEncryptionConfiguration) => any;
|
|
3652
3668
|
/**
|
|
3653
3669
|
* @internal
|
|
3654
3670
|
*/
|
|
@@ -297,10 +297,15 @@ export declare class ConflictException extends __BaseException {
|
|
|
297
297
|
export interface SipMediaApplicationEndpoint {
|
|
298
298
|
LambdaArn?: string;
|
|
299
299
|
}
|
|
300
|
+
export interface Tag {
|
|
301
|
+
Key: string | undefined;
|
|
302
|
+
Value: string | undefined;
|
|
303
|
+
}
|
|
300
304
|
export interface CreateSipMediaApplicationRequest {
|
|
301
305
|
AwsRegion: string | undefined;
|
|
302
306
|
Name: string | undefined;
|
|
303
307
|
Endpoints: SipMediaApplicationEndpoint[] | undefined;
|
|
308
|
+
Tags?: Tag[];
|
|
304
309
|
}
|
|
305
310
|
export interface SipMediaApplication {
|
|
306
311
|
SipMediaApplicationId?: string;
|
|
@@ -309,6 +314,7 @@ export interface SipMediaApplication {
|
|
|
309
314
|
Endpoints?: SipMediaApplicationEndpoint[];
|
|
310
315
|
CreatedTimestamp?: Date;
|
|
311
316
|
UpdatedTimestamp?: Date;
|
|
317
|
+
SipMediaApplicationArn?: string;
|
|
312
318
|
}
|
|
313
319
|
export interface CreateSipMediaApplicationResponse {
|
|
314
320
|
SipMediaApplication?: SipMediaApplication;
|
|
@@ -375,6 +381,7 @@ export interface CreateVoiceConnectorRequest {
|
|
|
375
381
|
Name: string | undefined;
|
|
376
382
|
AwsRegion?: VoiceConnectorAwsRegion | string;
|
|
377
383
|
RequireEncryption: boolean | undefined;
|
|
384
|
+
Tags?: Tag[];
|
|
378
385
|
}
|
|
379
386
|
export interface VoiceConnector {
|
|
380
387
|
VoiceConnectorId?: string;
|
|
@@ -432,10 +439,6 @@ export declare class GoneException extends __BaseException {
|
|
|
432
439
|
export interface ServerSideEncryptionConfiguration {
|
|
433
440
|
KmsKeyArn: string | undefined;
|
|
434
441
|
}
|
|
435
|
-
export interface Tag {
|
|
436
|
-
Key: string | undefined;
|
|
437
|
-
Value: string | undefined;
|
|
438
|
-
}
|
|
439
442
|
export interface CreateVoiceProfileDomainRequest {
|
|
440
443
|
Name: string | undefined;
|
|
441
444
|
Description?: string;
|
|
@@ -1209,6 +1212,7 @@ export declare const CreateProxySessionResponseFilterSensitiveLog: (
|
|
|
1209
1212
|
export declare const SipMediaApplicationEndpointFilterSensitiveLog: (
|
|
1210
1213
|
obj: SipMediaApplicationEndpoint
|
|
1211
1214
|
) => any;
|
|
1215
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
1212
1216
|
export declare const CreateSipMediaApplicationRequestFilterSensitiveLog: (
|
|
1213
1217
|
obj: CreateSipMediaApplicationRequest
|
|
1214
1218
|
) => any;
|
|
@@ -1221,6 +1225,9 @@ export declare const CreateSipMediaApplicationResponseFilterSensitiveLog: (
|
|
|
1221
1225
|
export declare const CreateSipMediaApplicationCallRequestFilterSensitiveLog: (
|
|
1222
1226
|
obj: CreateSipMediaApplicationCallRequest
|
|
1223
1227
|
) => any;
|
|
1228
|
+
export declare const CreateVoiceConnectorRequestFilterSensitiveLog: (
|
|
1229
|
+
obj: CreateVoiceConnectorRequest
|
|
1230
|
+
) => any;
|
|
1224
1231
|
export declare const VoiceProfileFilterSensitiveLog: (obj: VoiceProfile) => any;
|
|
1225
1232
|
export declare const CreateVoiceProfileResponseFilterSensitiveLog: (
|
|
1226
1233
|
obj: CreateVoiceProfileResponse
|
|
@@ -1228,7 +1235,6 @@ export declare const CreateVoiceProfileResponseFilterSensitiveLog: (
|
|
|
1228
1235
|
export declare const ServerSideEncryptionConfigurationFilterSensitiveLog: (
|
|
1229
1236
|
obj: ServerSideEncryptionConfiguration
|
|
1230
1237
|
) => any;
|
|
1231
|
-
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
1232
1238
|
export declare const CreateVoiceProfileDomainRequestFilterSensitiveLog: (
|
|
1233
1239
|
obj: CreateVoiceProfileDomainRequest
|
|
1234
1240
|
) => any;
|
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.313.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",
|