@aws-sdk/client-chime 3.28.0 → 3.32.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/CHANGELOG.md +35 -0
- package/Chime.ts +1 -1
- package/commands/StartMeetingTranscriptionCommand.ts +1 -1
- package/dist/cjs/commands/StartMeetingTranscriptionCommand.js +1 -1
- package/dist/cjs/models/models_0.js +1 -0
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/models/models_1.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +234 -207
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/commands/StartMeetingTranscriptionCommand.js +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +1 -1
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/models/models_1.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +992 -683
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/Chime.d.ts +1 -1
- package/dist/types/commands/StartMeetingTranscriptionCommand.d.ts +1 -1
- package/dist/types/models/models_0.d.ts +6 -0
- package/dist/types/models/models_1.d.ts +9 -3
- package/dist/types/ts3.4/Chime.d.ts +1 -1
- package/dist/types/ts3.4/commands/StartMeetingTranscriptionCommand.d.ts +1 -1
- package/dist/types/ts3.4/models/models_0.d.ts +6 -0
- package/dist/types/ts3.4/models/models_1.d.ts +9 -3
- package/models/models_0.ts +6 -0
- package/models/models_1.ts +9 -3
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +247 -208
|
@@ -645,9 +645,14 @@ import {
|
|
|
645
645
|
} from "@aws-sdk/protocol-http";
|
|
646
646
|
import {
|
|
647
647
|
expectBoolean as __expectBoolean,
|
|
648
|
-
|
|
648
|
+
expectInt32 as __expectInt32,
|
|
649
|
+
expectNonNull as __expectNonNull,
|
|
650
|
+
expectNumber as __expectNumber,
|
|
651
|
+
expectObject as __expectObject,
|
|
649
652
|
expectString as __expectString,
|
|
650
653
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
654
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
655
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
651
656
|
} from "@aws-sdk/smithy-client";
|
|
652
657
|
import {
|
|
653
658
|
Endpoint as __Endpoint,
|
|
@@ -1895,6 +1900,8 @@ export const serializeAws_restJson1CreateSipMediaApplicationCallCommand = async
|
|
|
1895
1900
|
body = JSON.stringify({
|
|
1896
1901
|
...(input.FromPhoneNumber !== undefined &&
|
|
1897
1902
|
input.FromPhoneNumber !== null && { FromPhoneNumber: input.FromPhoneNumber }),
|
|
1903
|
+
...(input.SipHeaders !== undefined &&
|
|
1904
|
+
input.SipHeaders !== null && { SipHeaders: serializeAws_restJson1SipHeadersMap(input.SipHeaders, context) }),
|
|
1898
1905
|
...(input.ToPhoneNumber !== undefined && input.ToPhoneNumber !== null && { ToPhoneNumber: input.ToPhoneNumber }),
|
|
1899
1906
|
});
|
|
1900
1907
|
return new __HttpRequest({
|
|
@@ -7677,7 +7684,7 @@ export const deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorComm
|
|
|
7677
7684
|
$metadata: deserializeMetadata(output),
|
|
7678
7685
|
PhoneNumberErrors: undefined,
|
|
7679
7686
|
};
|
|
7680
|
-
const data: any = await parseBody(output.body, context);
|
|
7687
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7681
7688
|
if (data.PhoneNumberErrors !== undefined && data.PhoneNumberErrors !== null) {
|
|
7682
7689
|
contents.PhoneNumberErrors = deserializeAws_restJson1PhoneNumberErrorList(data.PhoneNumberErrors, context);
|
|
7683
7690
|
}
|
|
@@ -7788,7 +7795,7 @@ export const deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGrou
|
|
|
7788
7795
|
$metadata: deserializeMetadata(output),
|
|
7789
7796
|
PhoneNumberErrors: undefined,
|
|
7790
7797
|
};
|
|
7791
|
-
const data: any = await parseBody(output.body, context);
|
|
7798
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7792
7799
|
if (data.PhoneNumberErrors !== undefined && data.PhoneNumberErrors !== null) {
|
|
7793
7800
|
contents.PhoneNumberErrors = deserializeAws_restJson1PhoneNumberErrorList(data.PhoneNumberErrors, context);
|
|
7794
7801
|
}
|
|
@@ -8106,7 +8113,7 @@ export const deserializeAws_restJson1BatchCreateAttendeeCommand = async (
|
|
|
8106
8113
|
Attendees: undefined,
|
|
8107
8114
|
Errors: undefined,
|
|
8108
8115
|
};
|
|
8109
|
-
const data: any = await parseBody(output.body, context);
|
|
8116
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8110
8117
|
if (data.Attendees !== undefined && data.Attendees !== null) {
|
|
8111
8118
|
contents.Attendees = deserializeAws_restJson1AttendeeList(data.Attendees, context);
|
|
8112
8119
|
}
|
|
@@ -8221,7 +8228,7 @@ export const deserializeAws_restJson1BatchCreateChannelMembershipCommand = async
|
|
|
8221
8228
|
BatchChannelMemberships: undefined,
|
|
8222
8229
|
Errors: undefined,
|
|
8223
8230
|
};
|
|
8224
|
-
const data: any = await parseBody(output.body, context);
|
|
8231
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8225
8232
|
if (data.BatchChannelMemberships !== undefined && data.BatchChannelMemberships !== null) {
|
|
8226
8233
|
contents.BatchChannelMemberships = deserializeAws_restJson1BatchChannelMemberships(
|
|
8227
8234
|
data.BatchChannelMemberships,
|
|
@@ -8322,7 +8329,7 @@ export const deserializeAws_restJson1BatchCreateRoomMembershipCommand = async (
|
|
|
8322
8329
|
$metadata: deserializeMetadata(output),
|
|
8323
8330
|
Errors: undefined,
|
|
8324
8331
|
};
|
|
8325
|
-
const data: any = await parseBody(output.body, context);
|
|
8332
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8326
8333
|
if (data.Errors !== undefined && data.Errors !== null) {
|
|
8327
8334
|
contents.Errors = deserializeAws_restJson1MemberErrorList(data.Errors, context);
|
|
8328
8335
|
}
|
|
@@ -8425,7 +8432,7 @@ export const deserializeAws_restJson1BatchDeletePhoneNumberCommand = async (
|
|
|
8425
8432
|
$metadata: deserializeMetadata(output),
|
|
8426
8433
|
PhoneNumberErrors: undefined,
|
|
8427
8434
|
};
|
|
8428
|
-
const data: any = await parseBody(output.body, context);
|
|
8435
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8429
8436
|
if (data.PhoneNumberErrors !== undefined && data.PhoneNumberErrors !== null) {
|
|
8430
8437
|
contents.PhoneNumberErrors = deserializeAws_restJson1PhoneNumberErrorList(data.PhoneNumberErrors, context);
|
|
8431
8438
|
}
|
|
@@ -8528,7 +8535,7 @@ export const deserializeAws_restJson1BatchSuspendUserCommand = async (
|
|
|
8528
8535
|
$metadata: deserializeMetadata(output),
|
|
8529
8536
|
UserErrors: undefined,
|
|
8530
8537
|
};
|
|
8531
|
-
const data: any = await parseBody(output.body, context);
|
|
8538
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8532
8539
|
if (data.UserErrors !== undefined && data.UserErrors !== null) {
|
|
8533
8540
|
contents.UserErrors = deserializeAws_restJson1UserErrorList(data.UserErrors, context);
|
|
8534
8541
|
}
|
|
@@ -8631,7 +8638,7 @@ export const deserializeAws_restJson1BatchUnsuspendUserCommand = async (
|
|
|
8631
8638
|
$metadata: deserializeMetadata(output),
|
|
8632
8639
|
UserErrors: undefined,
|
|
8633
8640
|
};
|
|
8634
|
-
const data: any = await parseBody(output.body, context);
|
|
8641
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8635
8642
|
if (data.UserErrors !== undefined && data.UserErrors !== null) {
|
|
8636
8643
|
contents.UserErrors = deserializeAws_restJson1UserErrorList(data.UserErrors, context);
|
|
8637
8644
|
}
|
|
@@ -8734,7 +8741,7 @@ export const deserializeAws_restJson1BatchUpdatePhoneNumberCommand = async (
|
|
|
8734
8741
|
$metadata: deserializeMetadata(output),
|
|
8735
8742
|
PhoneNumberErrors: undefined,
|
|
8736
8743
|
};
|
|
8737
|
-
const data: any = await parseBody(output.body, context);
|
|
8744
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8738
8745
|
if (data.PhoneNumberErrors !== undefined && data.PhoneNumberErrors !== null) {
|
|
8739
8746
|
contents.PhoneNumberErrors = deserializeAws_restJson1PhoneNumberErrorList(data.PhoneNumberErrors, context);
|
|
8740
8747
|
}
|
|
@@ -8837,7 +8844,7 @@ export const deserializeAws_restJson1BatchUpdateUserCommand = async (
|
|
|
8837
8844
|
$metadata: deserializeMetadata(output),
|
|
8838
8845
|
UserErrors: undefined,
|
|
8839
8846
|
};
|
|
8840
|
-
const data: any = await parseBody(output.body, context);
|
|
8847
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8841
8848
|
if (data.UserErrors !== undefined && data.UserErrors !== null) {
|
|
8842
8849
|
contents.UserErrors = deserializeAws_restJson1UserErrorList(data.UserErrors, context);
|
|
8843
8850
|
}
|
|
@@ -8940,7 +8947,7 @@ export const deserializeAws_restJson1CreateAccountCommand = async (
|
|
|
8940
8947
|
$metadata: deserializeMetadata(output),
|
|
8941
8948
|
Account: undefined,
|
|
8942
8949
|
};
|
|
8943
|
-
const data: any = await parseBody(output.body, context);
|
|
8950
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8944
8951
|
if (data.Account !== undefined && data.Account !== null) {
|
|
8945
8952
|
contents.Account = deserializeAws_restJson1Account(data.Account, context);
|
|
8946
8953
|
}
|
|
@@ -9043,7 +9050,7 @@ export const deserializeAws_restJson1CreateAppInstanceCommand = async (
|
|
|
9043
9050
|
$metadata: deserializeMetadata(output),
|
|
9044
9051
|
AppInstanceArn: undefined,
|
|
9045
9052
|
};
|
|
9046
|
-
const data: any = await parseBody(output.body, context);
|
|
9053
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9047
9054
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
9048
9055
|
contents.AppInstanceArn = __expectString(data.AppInstanceArn);
|
|
9049
9056
|
}
|
|
@@ -9155,7 +9162,7 @@ export const deserializeAws_restJson1CreateAppInstanceAdminCommand = async (
|
|
|
9155
9162
|
AppInstanceAdmin: undefined,
|
|
9156
9163
|
AppInstanceArn: undefined,
|
|
9157
9164
|
};
|
|
9158
|
-
const data: any = await parseBody(output.body, context);
|
|
9165
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9159
9166
|
if (data.AppInstanceAdmin !== undefined && data.AppInstanceAdmin !== null) {
|
|
9160
9167
|
contents.AppInstanceAdmin = deserializeAws_restJson1Identity(data.AppInstanceAdmin, context);
|
|
9161
9168
|
}
|
|
@@ -9269,7 +9276,7 @@ export const deserializeAws_restJson1CreateAppInstanceUserCommand = async (
|
|
|
9269
9276
|
$metadata: deserializeMetadata(output),
|
|
9270
9277
|
AppInstanceUserArn: undefined,
|
|
9271
9278
|
};
|
|
9272
|
-
const data: any = await parseBody(output.body, context);
|
|
9279
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9273
9280
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
9274
9281
|
contents.AppInstanceUserArn = __expectString(data.AppInstanceUserArn);
|
|
9275
9282
|
}
|
|
@@ -9380,7 +9387,7 @@ export const deserializeAws_restJson1CreateAttendeeCommand = async (
|
|
|
9380
9387
|
$metadata: deserializeMetadata(output),
|
|
9381
9388
|
Attendee: undefined,
|
|
9382
9389
|
};
|
|
9383
|
-
const data: any = await parseBody(output.body, context);
|
|
9390
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9384
9391
|
if (data.Attendee !== undefined && data.Attendee !== null) {
|
|
9385
9392
|
contents.Attendee = deserializeAws_restJson1Attendee(data.Attendee, context);
|
|
9386
9393
|
}
|
|
@@ -9491,7 +9498,7 @@ export const deserializeAws_restJson1CreateBotCommand = async (
|
|
|
9491
9498
|
$metadata: deserializeMetadata(output),
|
|
9492
9499
|
Bot: undefined,
|
|
9493
9500
|
};
|
|
9494
|
-
const data: any = await parseBody(output.body, context);
|
|
9501
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9495
9502
|
if (data.Bot !== undefined && data.Bot !== null) {
|
|
9496
9503
|
contents.Bot = deserializeAws_restJson1Bot(data.Bot, context);
|
|
9497
9504
|
}
|
|
@@ -9602,7 +9609,7 @@ export const deserializeAws_restJson1CreateChannelCommand = async (
|
|
|
9602
9609
|
$metadata: deserializeMetadata(output),
|
|
9603
9610
|
ChannelArn: undefined,
|
|
9604
9611
|
};
|
|
9605
|
-
const data: any = await parseBody(output.body, context);
|
|
9612
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9606
9613
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
9607
9614
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
9608
9615
|
}
|
|
@@ -9714,7 +9721,7 @@ export const deserializeAws_restJson1CreateChannelBanCommand = async (
|
|
|
9714
9721
|
ChannelArn: undefined,
|
|
9715
9722
|
Member: undefined,
|
|
9716
9723
|
};
|
|
9717
|
-
const data: any = await parseBody(output.body, context);
|
|
9724
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9718
9725
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
9719
9726
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
9720
9727
|
}
|
|
@@ -9829,7 +9836,7 @@ export const deserializeAws_restJson1CreateChannelMembershipCommand = async (
|
|
|
9829
9836
|
ChannelArn: undefined,
|
|
9830
9837
|
Member: undefined,
|
|
9831
9838
|
};
|
|
9832
|
-
const data: any = await parseBody(output.body, context);
|
|
9839
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9833
9840
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
9834
9841
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
9835
9842
|
}
|
|
@@ -9944,7 +9951,7 @@ export const deserializeAws_restJson1CreateChannelModeratorCommand = async (
|
|
|
9944
9951
|
ChannelArn: undefined,
|
|
9945
9952
|
ChannelModerator: undefined,
|
|
9946
9953
|
};
|
|
9947
|
-
const data: any = await parseBody(output.body, context);
|
|
9954
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9948
9955
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
9949
9956
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
9950
9957
|
}
|
|
@@ -10058,7 +10065,7 @@ export const deserializeAws_restJson1CreateMediaCapturePipelineCommand = async (
|
|
|
10058
10065
|
$metadata: deserializeMetadata(output),
|
|
10059
10066
|
MediaCapturePipeline: undefined,
|
|
10060
10067
|
};
|
|
10061
|
-
const data: any = await parseBody(output.body, context);
|
|
10068
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10062
10069
|
if (data.MediaCapturePipeline !== undefined && data.MediaCapturePipeline !== null) {
|
|
10063
10070
|
contents.MediaCapturePipeline = deserializeAws_restJson1MediaCapturePipeline(data.MediaCapturePipeline, context);
|
|
10064
10071
|
}
|
|
@@ -10161,7 +10168,7 @@ export const deserializeAws_restJson1CreateMeetingCommand = async (
|
|
|
10161
10168
|
$metadata: deserializeMetadata(output),
|
|
10162
10169
|
Meeting: undefined,
|
|
10163
10170
|
};
|
|
10164
|
-
const data: any = await parseBody(output.body, context);
|
|
10171
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10165
10172
|
if (data.Meeting !== undefined && data.Meeting !== null) {
|
|
10166
10173
|
contents.Meeting = deserializeAws_restJson1Meeting(data.Meeting, context);
|
|
10167
10174
|
}
|
|
@@ -10264,7 +10271,7 @@ export const deserializeAws_restJson1CreateMeetingDialOutCommand = async (
|
|
|
10264
10271
|
$metadata: deserializeMetadata(output),
|
|
10265
10272
|
TransactionId: undefined,
|
|
10266
10273
|
};
|
|
10267
|
-
const data: any = await parseBody(output.body, context);
|
|
10274
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10268
10275
|
if (data.TransactionId !== undefined && data.TransactionId !== null) {
|
|
10269
10276
|
contents.TransactionId = __expectString(data.TransactionId);
|
|
10270
10277
|
}
|
|
@@ -10369,7 +10376,7 @@ export const deserializeAws_restJson1CreateMeetingWithAttendeesCommand = async (
|
|
|
10369
10376
|
Errors: undefined,
|
|
10370
10377
|
Meeting: undefined,
|
|
10371
10378
|
};
|
|
10372
|
-
const data: any = await parseBody(output.body, context);
|
|
10379
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10373
10380
|
if (data.Attendees !== undefined && data.Attendees !== null) {
|
|
10374
10381
|
contents.Attendees = deserializeAws_restJson1AttendeeList(data.Attendees, context);
|
|
10375
10382
|
}
|
|
@@ -10478,7 +10485,7 @@ export const deserializeAws_restJson1CreatePhoneNumberOrderCommand = async (
|
|
|
10478
10485
|
$metadata: deserializeMetadata(output),
|
|
10479
10486
|
PhoneNumberOrder: undefined,
|
|
10480
10487
|
};
|
|
10481
|
-
const data: any = await parseBody(output.body, context);
|
|
10488
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10482
10489
|
if (data.PhoneNumberOrder !== undefined && data.PhoneNumberOrder !== null) {
|
|
10483
10490
|
contents.PhoneNumberOrder = deserializeAws_restJson1PhoneNumberOrder(data.PhoneNumberOrder, context);
|
|
10484
10491
|
}
|
|
@@ -10589,7 +10596,7 @@ export const deserializeAws_restJson1CreateProxySessionCommand = async (
|
|
|
10589
10596
|
$metadata: deserializeMetadata(output),
|
|
10590
10597
|
ProxySession: undefined,
|
|
10591
10598
|
};
|
|
10592
|
-
const data: any = await parseBody(output.body, context);
|
|
10599
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10593
10600
|
if (data.ProxySession !== undefined && data.ProxySession !== null) {
|
|
10594
10601
|
contents.ProxySession = deserializeAws_restJson1ProxySession(data.ProxySession, context);
|
|
10595
10602
|
}
|
|
@@ -10692,7 +10699,7 @@ export const deserializeAws_restJson1CreateRoomCommand = async (
|
|
|
10692
10699
|
$metadata: deserializeMetadata(output),
|
|
10693
10700
|
Room: undefined,
|
|
10694
10701
|
};
|
|
10695
|
-
const data: any = await parseBody(output.body, context);
|
|
10702
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10696
10703
|
if (data.Room !== undefined && data.Room !== null) {
|
|
10697
10704
|
contents.Room = deserializeAws_restJson1Room(data.Room, context);
|
|
10698
10705
|
}
|
|
@@ -10803,7 +10810,7 @@ export const deserializeAws_restJson1CreateRoomMembershipCommand = async (
|
|
|
10803
10810
|
$metadata: deserializeMetadata(output),
|
|
10804
10811
|
RoomMembership: undefined,
|
|
10805
10812
|
};
|
|
10806
|
-
const data: any = await parseBody(output.body, context);
|
|
10813
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10807
10814
|
if (data.RoomMembership !== undefined && data.RoomMembership !== null) {
|
|
10808
10815
|
contents.RoomMembership = deserializeAws_restJson1RoomMembership(data.RoomMembership, context);
|
|
10809
10816
|
}
|
|
@@ -10922,7 +10929,7 @@ export const deserializeAws_restJson1CreateSipMediaApplicationCommand = async (
|
|
|
10922
10929
|
$metadata: deserializeMetadata(output),
|
|
10923
10930
|
SipMediaApplication: undefined,
|
|
10924
10931
|
};
|
|
10925
|
-
const data: any = await parseBody(output.body, context);
|
|
10932
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10926
10933
|
if (data.SipMediaApplication !== undefined && data.SipMediaApplication !== null) {
|
|
10927
10934
|
contents.SipMediaApplication = deserializeAws_restJson1SipMediaApplication(data.SipMediaApplication, context);
|
|
10928
10935
|
}
|
|
@@ -11041,7 +11048,7 @@ export const deserializeAws_restJson1CreateSipMediaApplicationCallCommand = asyn
|
|
|
11041
11048
|
$metadata: deserializeMetadata(output),
|
|
11042
11049
|
SipMediaApplicationCall: undefined,
|
|
11043
11050
|
};
|
|
11044
|
-
const data: any = await parseBody(output.body, context);
|
|
11051
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11045
11052
|
if (data.SipMediaApplicationCall !== undefined && data.SipMediaApplicationCall !== null) {
|
|
11046
11053
|
contents.SipMediaApplicationCall = deserializeAws_restJson1SipMediaApplicationCall(
|
|
11047
11054
|
data.SipMediaApplicationCall,
|
|
@@ -11063,6 +11070,14 @@ const deserializeAws_restJson1CreateSipMediaApplicationCallCommandError = async
|
|
|
11063
11070
|
let errorCode: string = "UnknownError";
|
|
11064
11071
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11065
11072
|
switch (errorCode) {
|
|
11073
|
+
case "AccessDeniedException":
|
|
11074
|
+
case "com.amazonaws.chime#AccessDeniedException":
|
|
11075
|
+
response = {
|
|
11076
|
+
...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)),
|
|
11077
|
+
name: errorCode,
|
|
11078
|
+
$metadata: deserializeMetadata(output),
|
|
11079
|
+
};
|
|
11080
|
+
break;
|
|
11066
11081
|
case "BadRequestException":
|
|
11067
11082
|
case "com.amazonaws.chime#BadRequestException":
|
|
11068
11083
|
response = {
|
|
@@ -11147,7 +11162,7 @@ export const deserializeAws_restJson1CreateSipRuleCommand = async (
|
|
|
11147
11162
|
$metadata: deserializeMetadata(output),
|
|
11148
11163
|
SipRule: undefined,
|
|
11149
11164
|
};
|
|
11150
|
-
const data: any = await parseBody(output.body, context);
|
|
11165
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11151
11166
|
if (data.SipRule !== undefined && data.SipRule !== null) {
|
|
11152
11167
|
contents.SipRule = deserializeAws_restJson1SipRule(data.SipRule, context);
|
|
11153
11168
|
}
|
|
@@ -11266,7 +11281,7 @@ export const deserializeAws_restJson1CreateUserCommand = async (
|
|
|
11266
11281
|
$metadata: deserializeMetadata(output),
|
|
11267
11282
|
User: undefined,
|
|
11268
11283
|
};
|
|
11269
|
-
const data: any = await parseBody(output.body, context);
|
|
11284
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11270
11285
|
if (data.User !== undefined && data.User !== null) {
|
|
11271
11286
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
11272
11287
|
}
|
|
@@ -11377,7 +11392,7 @@ export const deserializeAws_restJson1CreateVoiceConnectorCommand = async (
|
|
|
11377
11392
|
$metadata: deserializeMetadata(output),
|
|
11378
11393
|
VoiceConnector: undefined,
|
|
11379
11394
|
};
|
|
11380
|
-
const data: any = await parseBody(output.body, context);
|
|
11395
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11381
11396
|
if (data.VoiceConnector !== undefined && data.VoiceConnector !== null) {
|
|
11382
11397
|
contents.VoiceConnector = deserializeAws_restJson1VoiceConnector(data.VoiceConnector, context);
|
|
11383
11398
|
}
|
|
@@ -11488,7 +11503,7 @@ export const deserializeAws_restJson1CreateVoiceConnectorGroupCommand = async (
|
|
|
11488
11503
|
$metadata: deserializeMetadata(output),
|
|
11489
11504
|
VoiceConnectorGroup: undefined,
|
|
11490
11505
|
};
|
|
11491
|
-
const data: any = await parseBody(output.body, context);
|
|
11506
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11492
11507
|
if (data.VoiceConnectorGroup !== undefined && data.VoiceConnectorGroup !== null) {
|
|
11493
11508
|
contents.VoiceConnectorGroup = deserializeAws_restJson1VoiceConnectorGroup(data.VoiceConnectorGroup, context);
|
|
11494
11509
|
}
|
|
@@ -14355,7 +14370,7 @@ export const deserializeAws_restJson1DescribeAppInstanceCommand = async (
|
|
|
14355
14370
|
$metadata: deserializeMetadata(output),
|
|
14356
14371
|
AppInstance: undefined,
|
|
14357
14372
|
};
|
|
14358
|
-
const data: any = await parseBody(output.body, context);
|
|
14373
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14359
14374
|
if (data.AppInstance !== undefined && data.AppInstance !== null) {
|
|
14360
14375
|
contents.AppInstance = deserializeAws_restJson1AppInstance(data.AppInstance, context);
|
|
14361
14376
|
}
|
|
@@ -14450,7 +14465,7 @@ export const deserializeAws_restJson1DescribeAppInstanceAdminCommand = async (
|
|
|
14450
14465
|
$metadata: deserializeMetadata(output),
|
|
14451
14466
|
AppInstanceAdmin: undefined,
|
|
14452
14467
|
};
|
|
14453
|
-
const data: any = await parseBody(output.body, context);
|
|
14468
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14454
14469
|
if (data.AppInstanceAdmin !== undefined && data.AppInstanceAdmin !== null) {
|
|
14455
14470
|
contents.AppInstanceAdmin = deserializeAws_restJson1AppInstanceAdmin(data.AppInstanceAdmin, context);
|
|
14456
14471
|
}
|
|
@@ -14545,7 +14560,7 @@ export const deserializeAws_restJson1DescribeAppInstanceUserCommand = async (
|
|
|
14545
14560
|
$metadata: deserializeMetadata(output),
|
|
14546
14561
|
AppInstanceUser: undefined,
|
|
14547
14562
|
};
|
|
14548
|
-
const data: any = await parseBody(output.body, context);
|
|
14563
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14549
14564
|
if (data.AppInstanceUser !== undefined && data.AppInstanceUser !== null) {
|
|
14550
14565
|
contents.AppInstanceUser = deserializeAws_restJson1AppInstanceUser(data.AppInstanceUser, context);
|
|
14551
14566
|
}
|
|
@@ -14640,7 +14655,7 @@ export const deserializeAws_restJson1DescribeChannelCommand = async (
|
|
|
14640
14655
|
$metadata: deserializeMetadata(output),
|
|
14641
14656
|
Channel: undefined,
|
|
14642
14657
|
};
|
|
14643
|
-
const data: any = await parseBody(output.body, context);
|
|
14658
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14644
14659
|
if (data.Channel !== undefined && data.Channel !== null) {
|
|
14645
14660
|
contents.Channel = deserializeAws_restJson1Channel(data.Channel, context);
|
|
14646
14661
|
}
|
|
@@ -14735,7 +14750,7 @@ export const deserializeAws_restJson1DescribeChannelBanCommand = async (
|
|
|
14735
14750
|
$metadata: deserializeMetadata(output),
|
|
14736
14751
|
ChannelBan: undefined,
|
|
14737
14752
|
};
|
|
14738
|
-
const data: any = await parseBody(output.body, context);
|
|
14753
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14739
14754
|
if (data.ChannelBan !== undefined && data.ChannelBan !== null) {
|
|
14740
14755
|
contents.ChannelBan = deserializeAws_restJson1ChannelBan(data.ChannelBan, context);
|
|
14741
14756
|
}
|
|
@@ -14838,7 +14853,7 @@ export const deserializeAws_restJson1DescribeChannelMembershipCommand = async (
|
|
|
14838
14853
|
$metadata: deserializeMetadata(output),
|
|
14839
14854
|
ChannelMembership: undefined,
|
|
14840
14855
|
};
|
|
14841
|
-
const data: any = await parseBody(output.body, context);
|
|
14856
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14842
14857
|
if (data.ChannelMembership !== undefined && data.ChannelMembership !== null) {
|
|
14843
14858
|
contents.ChannelMembership = deserializeAws_restJson1ChannelMembership(data.ChannelMembership, context);
|
|
14844
14859
|
}
|
|
@@ -14941,7 +14956,7 @@ export const deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUser
|
|
|
14941
14956
|
$metadata: deserializeMetadata(output),
|
|
14942
14957
|
ChannelMembership: undefined,
|
|
14943
14958
|
};
|
|
14944
|
-
const data: any = await parseBody(output.body, context);
|
|
14959
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
14945
14960
|
if (data.ChannelMembership !== undefined && data.ChannelMembership !== null) {
|
|
14946
14961
|
contents.ChannelMembership = deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummary(
|
|
14947
14962
|
data.ChannelMembership,
|
|
@@ -15039,7 +15054,7 @@ export const deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCo
|
|
|
15039
15054
|
$metadata: deserializeMetadata(output),
|
|
15040
15055
|
Channel: undefined,
|
|
15041
15056
|
};
|
|
15042
|
-
const data: any = await parseBody(output.body, context);
|
|
15057
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15043
15058
|
if (data.Channel !== undefined && data.Channel !== null) {
|
|
15044
15059
|
contents.Channel = deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummary(data.Channel, context);
|
|
15045
15060
|
}
|
|
@@ -15134,7 +15149,7 @@ export const deserializeAws_restJson1DescribeChannelModeratorCommand = async (
|
|
|
15134
15149
|
$metadata: deserializeMetadata(output),
|
|
15135
15150
|
ChannelModerator: undefined,
|
|
15136
15151
|
};
|
|
15137
|
-
const data: any = await parseBody(output.body, context);
|
|
15152
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15138
15153
|
if (data.ChannelModerator !== undefined && data.ChannelModerator !== null) {
|
|
15139
15154
|
contents.ChannelModerator = deserializeAws_restJson1ChannelModerator(data.ChannelModerator, context);
|
|
15140
15155
|
}
|
|
@@ -15336,7 +15351,7 @@ export const deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorC
|
|
|
15336
15351
|
$metadata: deserializeMetadata(output),
|
|
15337
15352
|
PhoneNumberErrors: undefined,
|
|
15338
15353
|
};
|
|
15339
|
-
const data: any = await parseBody(output.body, context);
|
|
15354
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15340
15355
|
if (data.PhoneNumberErrors !== undefined && data.PhoneNumberErrors !== null) {
|
|
15341
15356
|
contents.PhoneNumberErrors = deserializeAws_restJson1PhoneNumberErrorList(data.PhoneNumberErrors, context);
|
|
15342
15357
|
}
|
|
@@ -15439,7 +15454,7 @@ export const deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorG
|
|
|
15439
15454
|
$metadata: deserializeMetadata(output),
|
|
15440
15455
|
PhoneNumberErrors: undefined,
|
|
15441
15456
|
};
|
|
15442
|
-
const data: any = await parseBody(output.body, context);
|
|
15457
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15443
15458
|
if (data.PhoneNumberErrors !== undefined && data.PhoneNumberErrors !== null) {
|
|
15444
15459
|
contents.PhoneNumberErrors = deserializeAws_restJson1PhoneNumberErrorList(data.PhoneNumberErrors, context);
|
|
15445
15460
|
}
|
|
@@ -15641,7 +15656,7 @@ export const deserializeAws_restJson1GetAccountCommand = async (
|
|
|
15641
15656
|
$metadata: deserializeMetadata(output),
|
|
15642
15657
|
Account: undefined,
|
|
15643
15658
|
};
|
|
15644
|
-
const data: any = await parseBody(output.body, context);
|
|
15659
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15645
15660
|
if (data.Account !== undefined && data.Account !== null) {
|
|
15646
15661
|
contents.Account = deserializeAws_restJson1Account(data.Account, context);
|
|
15647
15662
|
}
|
|
@@ -15744,7 +15759,7 @@ export const deserializeAws_restJson1GetAccountSettingsCommand = async (
|
|
|
15744
15759
|
$metadata: deserializeMetadata(output),
|
|
15745
15760
|
AccountSettings: undefined,
|
|
15746
15761
|
};
|
|
15747
|
-
const data: any = await parseBody(output.body, context);
|
|
15762
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15748
15763
|
if (data.AccountSettings !== undefined && data.AccountSettings !== null) {
|
|
15749
15764
|
contents.AccountSettings = deserializeAws_restJson1AccountSettings(data.AccountSettings, context);
|
|
15750
15765
|
}
|
|
@@ -15848,7 +15863,7 @@ export const deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand = as
|
|
|
15848
15863
|
AppInstanceRetentionSettings: undefined,
|
|
15849
15864
|
InitiateDeletionTimestamp: undefined,
|
|
15850
15865
|
};
|
|
15851
|
-
const data: any = await parseBody(output.body, context);
|
|
15866
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15852
15867
|
if (data.AppInstanceRetentionSettings !== undefined && data.AppInstanceRetentionSettings !== null) {
|
|
15853
15868
|
contents.AppInstanceRetentionSettings = deserializeAws_restJson1AppInstanceRetentionSettings(
|
|
15854
15869
|
data.AppInstanceRetentionSettings,
|
|
@@ -15856,7 +15871,9 @@ export const deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand = as
|
|
|
15856
15871
|
);
|
|
15857
15872
|
}
|
|
15858
15873
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
15859
|
-
contents.InitiateDeletionTimestamp =
|
|
15874
|
+
contents.InitiateDeletionTimestamp = __expectNonNull(
|
|
15875
|
+
__parseEpochTimestamp(__expectNumber(data.InitiateDeletionTimestamp))
|
|
15876
|
+
);
|
|
15860
15877
|
}
|
|
15861
15878
|
return Promise.resolve(contents);
|
|
15862
15879
|
};
|
|
@@ -15957,7 +15974,7 @@ export const deserializeAws_restJson1GetAppInstanceStreamingConfigurationsComman
|
|
|
15957
15974
|
$metadata: deserializeMetadata(output),
|
|
15958
15975
|
AppInstanceStreamingConfigurations: undefined,
|
|
15959
15976
|
};
|
|
15960
|
-
const data: any = await parseBody(output.body, context);
|
|
15977
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
15961
15978
|
if (data.AppInstanceStreamingConfigurations !== undefined && data.AppInstanceStreamingConfigurations !== null) {
|
|
15962
15979
|
contents.AppInstanceStreamingConfigurations = deserializeAws_restJson1AppInstanceStreamingConfigurationList(
|
|
15963
15980
|
data.AppInstanceStreamingConfigurations,
|
|
@@ -16063,7 +16080,7 @@ export const deserializeAws_restJson1GetAttendeeCommand = async (
|
|
|
16063
16080
|
$metadata: deserializeMetadata(output),
|
|
16064
16081
|
Attendee: undefined,
|
|
16065
16082
|
};
|
|
16066
|
-
const data: any = await parseBody(output.body, context);
|
|
16083
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16067
16084
|
if (data.Attendee !== undefined && data.Attendee !== null) {
|
|
16068
16085
|
contents.Attendee = deserializeAws_restJson1Attendee(data.Attendee, context);
|
|
16069
16086
|
}
|
|
@@ -16166,7 +16183,7 @@ export const deserializeAws_restJson1GetBotCommand = async (
|
|
|
16166
16183
|
$metadata: deserializeMetadata(output),
|
|
16167
16184
|
Bot: undefined,
|
|
16168
16185
|
};
|
|
16169
|
-
const data: any = await parseBody(output.body, context);
|
|
16186
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16170
16187
|
if (data.Bot !== undefined && data.Bot !== null) {
|
|
16171
16188
|
contents.Bot = deserializeAws_restJson1Bot(data.Bot, context);
|
|
16172
16189
|
}
|
|
@@ -16269,7 +16286,7 @@ export const deserializeAws_restJson1GetChannelMessageCommand = async (
|
|
|
16269
16286
|
$metadata: deserializeMetadata(output),
|
|
16270
16287
|
ChannelMessage: undefined,
|
|
16271
16288
|
};
|
|
16272
|
-
const data: any = await parseBody(output.body, context);
|
|
16289
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16273
16290
|
if (data.ChannelMessage !== undefined && data.ChannelMessage !== null) {
|
|
16274
16291
|
contents.ChannelMessage = deserializeAws_restJson1ChannelMessage(data.ChannelMessage, context);
|
|
16275
16292
|
}
|
|
@@ -16372,7 +16389,7 @@ export const deserializeAws_restJson1GetEventsConfigurationCommand = async (
|
|
|
16372
16389
|
$metadata: deserializeMetadata(output),
|
|
16373
16390
|
EventsConfiguration: undefined,
|
|
16374
16391
|
};
|
|
16375
|
-
const data: any = await parseBody(output.body, context);
|
|
16392
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16376
16393
|
if (data.EventsConfiguration !== undefined && data.EventsConfiguration !== null) {
|
|
16377
16394
|
contents.EventsConfiguration = deserializeAws_restJson1EventsConfiguration(data.EventsConfiguration, context);
|
|
16378
16395
|
}
|
|
@@ -16476,7 +16493,7 @@ export const deserializeAws_restJson1GetGlobalSettingsCommand = async (
|
|
|
16476
16493
|
BusinessCalling: undefined,
|
|
16477
16494
|
VoiceConnector: undefined,
|
|
16478
16495
|
};
|
|
16479
|
-
const data: any = await parseBody(output.body, context);
|
|
16496
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16480
16497
|
if (data.BusinessCalling !== undefined && data.BusinessCalling !== null) {
|
|
16481
16498
|
contents.BusinessCalling = deserializeAws_restJson1BusinessCallingSettings(data.BusinessCalling, context);
|
|
16482
16499
|
}
|
|
@@ -16574,7 +16591,7 @@ export const deserializeAws_restJson1GetMediaCapturePipelineCommand = async (
|
|
|
16574
16591
|
$metadata: deserializeMetadata(output),
|
|
16575
16592
|
MediaCapturePipeline: undefined,
|
|
16576
16593
|
};
|
|
16577
|
-
const data: any = await parseBody(output.body, context);
|
|
16594
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16578
16595
|
if (data.MediaCapturePipeline !== undefined && data.MediaCapturePipeline !== null) {
|
|
16579
16596
|
contents.MediaCapturePipeline = deserializeAws_restJson1MediaCapturePipeline(data.MediaCapturePipeline, context);
|
|
16580
16597
|
}
|
|
@@ -16677,7 +16694,7 @@ export const deserializeAws_restJson1GetMeetingCommand = async (
|
|
|
16677
16694
|
$metadata: deserializeMetadata(output),
|
|
16678
16695
|
Meeting: undefined,
|
|
16679
16696
|
};
|
|
16680
|
-
const data: any = await parseBody(output.body, context);
|
|
16697
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16681
16698
|
if (data.Meeting !== undefined && data.Meeting !== null) {
|
|
16682
16699
|
contents.Meeting = deserializeAws_restJson1Meeting(data.Meeting, context);
|
|
16683
16700
|
}
|
|
@@ -16780,7 +16797,7 @@ export const deserializeAws_restJson1GetMessagingSessionEndpointCommand = async
|
|
|
16780
16797
|
$metadata: deserializeMetadata(output),
|
|
16781
16798
|
Endpoint: undefined,
|
|
16782
16799
|
};
|
|
16783
|
-
const data: any = await parseBody(output.body, context);
|
|
16800
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16784
16801
|
if (data.Endpoint !== undefined && data.Endpoint !== null) {
|
|
16785
16802
|
contents.Endpoint = deserializeAws_restJson1MessagingSessionEndpoint(data.Endpoint, context);
|
|
16786
16803
|
}
|
|
@@ -16867,7 +16884,7 @@ export const deserializeAws_restJson1GetPhoneNumberCommand = async (
|
|
|
16867
16884
|
$metadata: deserializeMetadata(output),
|
|
16868
16885
|
PhoneNumber: undefined,
|
|
16869
16886
|
};
|
|
16870
|
-
const data: any = await parseBody(output.body, context);
|
|
16887
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16871
16888
|
if (data.PhoneNumber !== undefined && data.PhoneNumber !== null) {
|
|
16872
16889
|
contents.PhoneNumber = deserializeAws_restJson1PhoneNumber(data.PhoneNumber, context);
|
|
16873
16890
|
}
|
|
@@ -16970,7 +16987,7 @@ export const deserializeAws_restJson1GetPhoneNumberOrderCommand = async (
|
|
|
16970
16987
|
$metadata: deserializeMetadata(output),
|
|
16971
16988
|
PhoneNumberOrder: undefined,
|
|
16972
16989
|
};
|
|
16973
|
-
const data: any = await parseBody(output.body, context);
|
|
16990
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
16974
16991
|
if (data.PhoneNumberOrder !== undefined && data.PhoneNumberOrder !== null) {
|
|
16975
16992
|
contents.PhoneNumberOrder = deserializeAws_restJson1PhoneNumberOrder(data.PhoneNumberOrder, context);
|
|
16976
16993
|
}
|
|
@@ -17074,12 +17091,12 @@ export const deserializeAws_restJson1GetPhoneNumberSettingsCommand = async (
|
|
|
17074
17091
|
CallingName: undefined,
|
|
17075
17092
|
CallingNameUpdatedTimestamp: undefined,
|
|
17076
17093
|
};
|
|
17077
|
-
const data: any = await parseBody(output.body, context);
|
|
17094
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17078
17095
|
if (data.CallingName !== undefined && data.CallingName !== null) {
|
|
17079
17096
|
contents.CallingName = __expectString(data.CallingName);
|
|
17080
17097
|
}
|
|
17081
17098
|
if (data.CallingNameUpdatedTimestamp !== undefined && data.CallingNameUpdatedTimestamp !== null) {
|
|
17082
|
-
contents.CallingNameUpdatedTimestamp =
|
|
17099
|
+
contents.CallingNameUpdatedTimestamp = __expectNonNull(__parseRfc3339DateTime(data.CallingNameUpdatedTimestamp));
|
|
17083
17100
|
}
|
|
17084
17101
|
return Promise.resolve(contents);
|
|
17085
17102
|
};
|
|
@@ -17172,7 +17189,7 @@ export const deserializeAws_restJson1GetProxySessionCommand = async (
|
|
|
17172
17189
|
$metadata: deserializeMetadata(output),
|
|
17173
17190
|
ProxySession: undefined,
|
|
17174
17191
|
};
|
|
17175
|
-
const data: any = await parseBody(output.body, context);
|
|
17192
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17176
17193
|
if (data.ProxySession !== undefined && data.ProxySession !== null) {
|
|
17177
17194
|
contents.ProxySession = deserializeAws_restJson1ProxySession(data.ProxySession, context);
|
|
17178
17195
|
}
|
|
@@ -17276,9 +17293,9 @@ export const deserializeAws_restJson1GetRetentionSettingsCommand = async (
|
|
|
17276
17293
|
InitiateDeletionTimestamp: undefined,
|
|
17277
17294
|
RetentionSettings: undefined,
|
|
17278
17295
|
};
|
|
17279
|
-
const data: any = await parseBody(output.body, context);
|
|
17296
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17280
17297
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
17281
|
-
contents.InitiateDeletionTimestamp =
|
|
17298
|
+
contents.InitiateDeletionTimestamp = __expectNonNull(__parseRfc3339DateTime(data.InitiateDeletionTimestamp));
|
|
17282
17299
|
}
|
|
17283
17300
|
if (data.RetentionSettings !== undefined && data.RetentionSettings !== null) {
|
|
17284
17301
|
contents.RetentionSettings = deserializeAws_restJson1RetentionSettings(data.RetentionSettings, context);
|
|
@@ -17382,7 +17399,7 @@ export const deserializeAws_restJson1GetRoomCommand = async (
|
|
|
17382
17399
|
$metadata: deserializeMetadata(output),
|
|
17383
17400
|
Room: undefined,
|
|
17384
17401
|
};
|
|
17385
|
-
const data: any = await parseBody(output.body, context);
|
|
17402
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17386
17403
|
if (data.Room !== undefined && data.Room !== null) {
|
|
17387
17404
|
contents.Room = deserializeAws_restJson1Room(data.Room, context);
|
|
17388
17405
|
}
|
|
@@ -17485,7 +17502,7 @@ export const deserializeAws_restJson1GetSipMediaApplicationCommand = async (
|
|
|
17485
17502
|
$metadata: deserializeMetadata(output),
|
|
17486
17503
|
SipMediaApplication: undefined,
|
|
17487
17504
|
};
|
|
17488
|
-
const data: any = await parseBody(output.body, context);
|
|
17505
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17489
17506
|
if (data.SipMediaApplication !== undefined && data.SipMediaApplication !== null) {
|
|
17490
17507
|
contents.SipMediaApplication = deserializeAws_restJson1SipMediaApplication(data.SipMediaApplication, context);
|
|
17491
17508
|
}
|
|
@@ -17588,7 +17605,7 @@ export const deserializeAws_restJson1GetSipMediaApplicationLoggingConfigurationC
|
|
|
17588
17605
|
$metadata: deserializeMetadata(output),
|
|
17589
17606
|
SipMediaApplicationLoggingConfiguration: undefined,
|
|
17590
17607
|
};
|
|
17591
|
-
const data: any = await parseBody(output.body, context);
|
|
17608
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17592
17609
|
if (
|
|
17593
17610
|
data.SipMediaApplicationLoggingConfiguration !== undefined &&
|
|
17594
17611
|
data.SipMediaApplicationLoggingConfiguration !== null
|
|
@@ -17697,7 +17714,7 @@ export const deserializeAws_restJson1GetSipRuleCommand = async (
|
|
|
17697
17714
|
$metadata: deserializeMetadata(output),
|
|
17698
17715
|
SipRule: undefined,
|
|
17699
17716
|
};
|
|
17700
|
-
const data: any = await parseBody(output.body, context);
|
|
17717
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17701
17718
|
if (data.SipRule !== undefined && data.SipRule !== null) {
|
|
17702
17719
|
contents.SipRule = deserializeAws_restJson1SipRule(data.SipRule, context);
|
|
17703
17720
|
}
|
|
@@ -17800,7 +17817,7 @@ export const deserializeAws_restJson1GetUserCommand = async (
|
|
|
17800
17817
|
$metadata: deserializeMetadata(output),
|
|
17801
17818
|
User: undefined,
|
|
17802
17819
|
};
|
|
17803
|
-
const data: any = await parseBody(output.body, context);
|
|
17820
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17804
17821
|
if (data.User !== undefined && data.User !== null) {
|
|
17805
17822
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
17806
17823
|
}
|
|
@@ -17903,7 +17920,7 @@ export const deserializeAws_restJson1GetUserSettingsCommand = async (
|
|
|
17903
17920
|
$metadata: deserializeMetadata(output),
|
|
17904
17921
|
UserSettings: undefined,
|
|
17905
17922
|
};
|
|
17906
|
-
const data: any = await parseBody(output.body, context);
|
|
17923
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
17907
17924
|
if (data.UserSettings !== undefined && data.UserSettings !== null) {
|
|
17908
17925
|
contents.UserSettings = deserializeAws_restJson1UserSettings(data.UserSettings, context);
|
|
17909
17926
|
}
|
|
@@ -18006,7 +18023,7 @@ export const deserializeAws_restJson1GetVoiceConnectorCommand = async (
|
|
|
18006
18023
|
$metadata: deserializeMetadata(output),
|
|
18007
18024
|
VoiceConnector: undefined,
|
|
18008
18025
|
};
|
|
18009
|
-
const data: any = await parseBody(output.body, context);
|
|
18026
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18010
18027
|
if (data.VoiceConnector !== undefined && data.VoiceConnector !== null) {
|
|
18011
18028
|
contents.VoiceConnector = deserializeAws_restJson1VoiceConnector(data.VoiceConnector, context);
|
|
18012
18029
|
}
|
|
@@ -18109,7 +18126,7 @@ export const deserializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurat
|
|
|
18109
18126
|
$metadata: deserializeMetadata(output),
|
|
18110
18127
|
EmergencyCallingConfiguration: undefined,
|
|
18111
18128
|
};
|
|
18112
|
-
const data: any = await parseBody(output.body, context);
|
|
18129
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18113
18130
|
if (data.EmergencyCallingConfiguration !== undefined && data.EmergencyCallingConfiguration !== null) {
|
|
18114
18131
|
contents.EmergencyCallingConfiguration = deserializeAws_restJson1EmergencyCallingConfiguration(
|
|
18115
18132
|
data.EmergencyCallingConfiguration,
|
|
@@ -18215,7 +18232,7 @@ export const deserializeAws_restJson1GetVoiceConnectorGroupCommand = async (
|
|
|
18215
18232
|
$metadata: deserializeMetadata(output),
|
|
18216
18233
|
VoiceConnectorGroup: undefined,
|
|
18217
18234
|
};
|
|
18218
|
-
const data: any = await parseBody(output.body, context);
|
|
18235
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18219
18236
|
if (data.VoiceConnectorGroup !== undefined && data.VoiceConnectorGroup !== null) {
|
|
18220
18237
|
contents.VoiceConnectorGroup = deserializeAws_restJson1VoiceConnectorGroup(data.VoiceConnectorGroup, context);
|
|
18221
18238
|
}
|
|
@@ -18318,7 +18335,7 @@ export const deserializeAws_restJson1GetVoiceConnectorLoggingConfigurationComman
|
|
|
18318
18335
|
$metadata: deserializeMetadata(output),
|
|
18319
18336
|
LoggingConfiguration: undefined,
|
|
18320
18337
|
};
|
|
18321
|
-
const data: any = await parseBody(output.body, context);
|
|
18338
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18322
18339
|
if (data.LoggingConfiguration !== undefined && data.LoggingConfiguration !== null) {
|
|
18323
18340
|
contents.LoggingConfiguration = deserializeAws_restJson1LoggingConfiguration(data.LoggingConfiguration, context);
|
|
18324
18341
|
}
|
|
@@ -18421,7 +18438,7 @@ export const deserializeAws_restJson1GetVoiceConnectorOriginationCommand = async
|
|
|
18421
18438
|
$metadata: deserializeMetadata(output),
|
|
18422
18439
|
Origination: undefined,
|
|
18423
18440
|
};
|
|
18424
|
-
const data: any = await parseBody(output.body, context);
|
|
18441
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18425
18442
|
if (data.Origination !== undefined && data.Origination !== null) {
|
|
18426
18443
|
contents.Origination = deserializeAws_restJson1Origination(data.Origination, context);
|
|
18427
18444
|
}
|
|
@@ -18524,7 +18541,7 @@ export const deserializeAws_restJson1GetVoiceConnectorProxyCommand = async (
|
|
|
18524
18541
|
$metadata: deserializeMetadata(output),
|
|
18525
18542
|
Proxy: undefined,
|
|
18526
18543
|
};
|
|
18527
|
-
const data: any = await parseBody(output.body, context);
|
|
18544
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18528
18545
|
if (data.Proxy !== undefined && data.Proxy !== null) {
|
|
18529
18546
|
contents.Proxy = deserializeAws_restJson1Proxy(data.Proxy, context);
|
|
18530
18547
|
}
|
|
@@ -18627,7 +18644,7 @@ export const deserializeAws_restJson1GetVoiceConnectorStreamingConfigurationComm
|
|
|
18627
18644
|
$metadata: deserializeMetadata(output),
|
|
18628
18645
|
StreamingConfiguration: undefined,
|
|
18629
18646
|
};
|
|
18630
|
-
const data: any = await parseBody(output.body, context);
|
|
18647
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18631
18648
|
if (data.StreamingConfiguration !== undefined && data.StreamingConfiguration !== null) {
|
|
18632
18649
|
contents.StreamingConfiguration = deserializeAws_restJson1StreamingConfiguration(
|
|
18633
18650
|
data.StreamingConfiguration,
|
|
@@ -18733,7 +18750,7 @@ export const deserializeAws_restJson1GetVoiceConnectorTerminationCommand = async
|
|
|
18733
18750
|
$metadata: deserializeMetadata(output),
|
|
18734
18751
|
Termination: undefined,
|
|
18735
18752
|
};
|
|
18736
|
-
const data: any = await parseBody(output.body, context);
|
|
18753
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18737
18754
|
if (data.Termination !== undefined && data.Termination !== null) {
|
|
18738
18755
|
contents.Termination = deserializeAws_restJson1Termination(data.Termination, context);
|
|
18739
18756
|
}
|
|
@@ -18836,7 +18853,7 @@ export const deserializeAws_restJson1GetVoiceConnectorTerminationHealthCommand =
|
|
|
18836
18853
|
$metadata: deserializeMetadata(output),
|
|
18837
18854
|
TerminationHealth: undefined,
|
|
18838
18855
|
};
|
|
18839
|
-
const data: any = await parseBody(output.body, context);
|
|
18856
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18840
18857
|
if (data.TerminationHealth !== undefined && data.TerminationHealth !== null) {
|
|
18841
18858
|
contents.TerminationHealth = deserializeAws_restJson1TerminationHealth(data.TerminationHealth, context);
|
|
18842
18859
|
}
|
|
@@ -18939,7 +18956,7 @@ export const deserializeAws_restJson1InviteUsersCommand = async (
|
|
|
18939
18956
|
$metadata: deserializeMetadata(output),
|
|
18940
18957
|
Invites: undefined,
|
|
18941
18958
|
};
|
|
18942
|
-
const data: any = await parseBody(output.body, context);
|
|
18959
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
18943
18960
|
if (data.Invites !== undefined && data.Invites !== null) {
|
|
18944
18961
|
contents.Invites = deserializeAws_restJson1InviteList(data.Invites, context);
|
|
18945
18962
|
}
|
|
@@ -19043,7 +19060,7 @@ export const deserializeAws_restJson1ListAccountsCommand = async (
|
|
|
19043
19060
|
Accounts: undefined,
|
|
19044
19061
|
NextToken: undefined,
|
|
19045
19062
|
};
|
|
19046
|
-
const data: any = await parseBody(output.body, context);
|
|
19063
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19047
19064
|
if (data.Accounts !== undefined && data.Accounts !== null) {
|
|
19048
19065
|
contents.Accounts = deserializeAws_restJson1AccountList(data.Accounts, context);
|
|
19049
19066
|
}
|
|
@@ -19151,7 +19168,7 @@ export const deserializeAws_restJson1ListAppInstanceAdminsCommand = async (
|
|
|
19151
19168
|
AppInstanceArn: undefined,
|
|
19152
19169
|
NextToken: undefined,
|
|
19153
19170
|
};
|
|
19154
|
-
const data: any = await parseBody(output.body, context);
|
|
19171
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19155
19172
|
if (data.AppInstanceAdmins !== undefined && data.AppInstanceAdmins !== null) {
|
|
19156
19173
|
contents.AppInstanceAdmins = deserializeAws_restJson1AppInstanceAdminList(data.AppInstanceAdmins, context);
|
|
19157
19174
|
}
|
|
@@ -19253,7 +19270,7 @@ export const deserializeAws_restJson1ListAppInstancesCommand = async (
|
|
|
19253
19270
|
AppInstances: undefined,
|
|
19254
19271
|
NextToken: undefined,
|
|
19255
19272
|
};
|
|
19256
|
-
const data: any = await parseBody(output.body, context);
|
|
19273
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19257
19274
|
if (data.AppInstances !== undefined && data.AppInstances !== null) {
|
|
19258
19275
|
contents.AppInstances = deserializeAws_restJson1AppInstanceList(data.AppInstances, context);
|
|
19259
19276
|
}
|
|
@@ -19353,7 +19370,7 @@ export const deserializeAws_restJson1ListAppInstanceUsersCommand = async (
|
|
|
19353
19370
|
AppInstanceUsers: undefined,
|
|
19354
19371
|
NextToken: undefined,
|
|
19355
19372
|
};
|
|
19356
|
-
const data: any = await parseBody(output.body, context);
|
|
19373
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19357
19374
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
19358
19375
|
contents.AppInstanceArn = __expectString(data.AppInstanceArn);
|
|
19359
19376
|
}
|
|
@@ -19455,7 +19472,7 @@ export const deserializeAws_restJson1ListAttendeesCommand = async (
|
|
|
19455
19472
|
Attendees: undefined,
|
|
19456
19473
|
NextToken: undefined,
|
|
19457
19474
|
};
|
|
19458
|
-
const data: any = await parseBody(output.body, context);
|
|
19475
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19459
19476
|
if (data.Attendees !== undefined && data.Attendees !== null) {
|
|
19460
19477
|
contents.Attendees = deserializeAws_restJson1AttendeeList(data.Attendees, context);
|
|
19461
19478
|
}
|
|
@@ -19561,7 +19578,7 @@ export const deserializeAws_restJson1ListAttendeeTagsCommand = async (
|
|
|
19561
19578
|
$metadata: deserializeMetadata(output),
|
|
19562
19579
|
Tags: undefined,
|
|
19563
19580
|
};
|
|
19564
|
-
const data: any = await parseBody(output.body, context);
|
|
19581
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19565
19582
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
19566
19583
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
19567
19584
|
}
|
|
@@ -19665,7 +19682,7 @@ export const deserializeAws_restJson1ListBotsCommand = async (
|
|
|
19665
19682
|
Bots: undefined,
|
|
19666
19683
|
NextToken: undefined,
|
|
19667
19684
|
};
|
|
19668
|
-
const data: any = await parseBody(output.body, context);
|
|
19685
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19669
19686
|
if (data.Bots !== undefined && data.Bots !== null) {
|
|
19670
19687
|
contents.Bots = deserializeAws_restJson1BotList(data.Bots, context);
|
|
19671
19688
|
}
|
|
@@ -19773,7 +19790,7 @@ export const deserializeAws_restJson1ListChannelBansCommand = async (
|
|
|
19773
19790
|
ChannelBans: undefined,
|
|
19774
19791
|
NextToken: undefined,
|
|
19775
19792
|
};
|
|
19776
|
-
const data: any = await parseBody(output.body, context);
|
|
19793
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19777
19794
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
19778
19795
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
19779
19796
|
}
|
|
@@ -19876,7 +19893,7 @@ export const deserializeAws_restJson1ListChannelMembershipsCommand = async (
|
|
|
19876
19893
|
ChannelMemberships: undefined,
|
|
19877
19894
|
NextToken: undefined,
|
|
19878
19895
|
};
|
|
19879
|
-
const data: any = await parseBody(output.body, context);
|
|
19896
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19880
19897
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
19881
19898
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
19882
19899
|
}
|
|
@@ -19981,7 +19998,7 @@ export const deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCom
|
|
|
19981
19998
|
ChannelMemberships: undefined,
|
|
19982
19999
|
NextToken: undefined,
|
|
19983
20000
|
};
|
|
19984
|
-
const data: any = await parseBody(output.body, context);
|
|
20001
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
19985
20002
|
if (data.ChannelMemberships !== undefined && data.ChannelMemberships !== null) {
|
|
19986
20003
|
contents.ChannelMemberships = deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummaryList(
|
|
19987
20004
|
data.ChannelMemberships,
|
|
@@ -20084,7 +20101,7 @@ export const deserializeAws_restJson1ListChannelMessagesCommand = async (
|
|
|
20084
20101
|
ChannelMessages: undefined,
|
|
20085
20102
|
NextToken: undefined,
|
|
20086
20103
|
};
|
|
20087
|
-
const data: any = await parseBody(output.body, context);
|
|
20104
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20088
20105
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
20089
20106
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
20090
20107
|
}
|
|
@@ -20187,7 +20204,7 @@ export const deserializeAws_restJson1ListChannelModeratorsCommand = async (
|
|
|
20187
20204
|
ChannelModerators: undefined,
|
|
20188
20205
|
NextToken: undefined,
|
|
20189
20206
|
};
|
|
20190
|
-
const data: any = await parseBody(output.body, context);
|
|
20207
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20191
20208
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
20192
20209
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
20193
20210
|
}
|
|
@@ -20289,7 +20306,7 @@ export const deserializeAws_restJson1ListChannelsCommand = async (
|
|
|
20289
20306
|
Channels: undefined,
|
|
20290
20307
|
NextToken: undefined,
|
|
20291
20308
|
};
|
|
20292
|
-
const data: any = await parseBody(output.body, context);
|
|
20309
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20293
20310
|
if (data.Channels !== undefined && data.Channels !== null) {
|
|
20294
20311
|
contents.Channels = deserializeAws_restJson1ChannelSummaryList(data.Channels, context);
|
|
20295
20312
|
}
|
|
@@ -20388,7 +20405,7 @@ export const deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserComma
|
|
|
20388
20405
|
Channels: undefined,
|
|
20389
20406
|
NextToken: undefined,
|
|
20390
20407
|
};
|
|
20391
|
-
const data: any = await parseBody(output.body, context);
|
|
20408
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20392
20409
|
if (data.Channels !== undefined && data.Channels !== null) {
|
|
20393
20410
|
contents.Channels = deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummaryList(data.Channels, context);
|
|
20394
20411
|
}
|
|
@@ -20487,7 +20504,7 @@ export const deserializeAws_restJson1ListMediaCapturePipelinesCommand = async (
|
|
|
20487
20504
|
MediaCapturePipelines: undefined,
|
|
20488
20505
|
NextToken: undefined,
|
|
20489
20506
|
};
|
|
20490
|
-
const data: any = await parseBody(output.body, context);
|
|
20507
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20491
20508
|
if (data.MediaCapturePipelines !== undefined && data.MediaCapturePipelines !== null) {
|
|
20492
20509
|
contents.MediaCapturePipelines = deserializeAws_restJson1MediaCapturePipelineList(
|
|
20493
20510
|
data.MediaCapturePipelines,
|
|
@@ -20589,7 +20606,7 @@ export const deserializeAws_restJson1ListMeetingsCommand = async (
|
|
|
20589
20606
|
Meetings: undefined,
|
|
20590
20607
|
NextToken: undefined,
|
|
20591
20608
|
};
|
|
20592
|
-
const data: any = await parseBody(output.body, context);
|
|
20609
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20593
20610
|
if (data.Meetings !== undefined && data.Meetings !== null) {
|
|
20594
20611
|
contents.Meetings = deserializeAws_restJson1MeetingList(data.Meetings, context);
|
|
20595
20612
|
}
|
|
@@ -20687,7 +20704,7 @@ export const deserializeAws_restJson1ListMeetingTagsCommand = async (
|
|
|
20687
20704
|
$metadata: deserializeMetadata(output),
|
|
20688
20705
|
Tags: undefined,
|
|
20689
20706
|
};
|
|
20690
|
-
const data: any = await parseBody(output.body, context);
|
|
20707
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20691
20708
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
20692
20709
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
20693
20710
|
}
|
|
@@ -20791,7 +20808,7 @@ export const deserializeAws_restJson1ListPhoneNumberOrdersCommand = async (
|
|
|
20791
20808
|
NextToken: undefined,
|
|
20792
20809
|
PhoneNumberOrders: undefined,
|
|
20793
20810
|
};
|
|
20794
|
-
const data: any = await parseBody(output.body, context);
|
|
20811
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20795
20812
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
20796
20813
|
contents.NextToken = __expectString(data.NextToken);
|
|
20797
20814
|
}
|
|
@@ -20890,7 +20907,7 @@ export const deserializeAws_restJson1ListPhoneNumbersCommand = async (
|
|
|
20890
20907
|
NextToken: undefined,
|
|
20891
20908
|
PhoneNumbers: undefined,
|
|
20892
20909
|
};
|
|
20893
|
-
const data: any = await parseBody(output.body, context);
|
|
20910
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
20894
20911
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
20895
20912
|
contents.NextToken = __expectString(data.NextToken);
|
|
20896
20913
|
}
|
|
@@ -20997,7 +21014,7 @@ export const deserializeAws_restJson1ListProxySessionsCommand = async (
|
|
|
20997
21014
|
NextToken: undefined,
|
|
20998
21015
|
ProxySessions: undefined,
|
|
20999
21016
|
};
|
|
21000
|
-
const data: any = await parseBody(output.body, context);
|
|
21017
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21001
21018
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21002
21019
|
contents.NextToken = __expectString(data.NextToken);
|
|
21003
21020
|
}
|
|
@@ -21104,7 +21121,7 @@ export const deserializeAws_restJson1ListRoomMembershipsCommand = async (
|
|
|
21104
21121
|
NextToken: undefined,
|
|
21105
21122
|
RoomMemberships: undefined,
|
|
21106
21123
|
};
|
|
21107
|
-
const data: any = await parseBody(output.body, context);
|
|
21124
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21108
21125
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21109
21126
|
contents.NextToken = __expectString(data.NextToken);
|
|
21110
21127
|
}
|
|
@@ -21211,7 +21228,7 @@ export const deserializeAws_restJson1ListRoomsCommand = async (
|
|
|
21211
21228
|
NextToken: undefined,
|
|
21212
21229
|
Rooms: undefined,
|
|
21213
21230
|
};
|
|
21214
|
-
const data: any = await parseBody(output.body, context);
|
|
21231
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21215
21232
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21216
21233
|
contents.NextToken = __expectString(data.NextToken);
|
|
21217
21234
|
}
|
|
@@ -21318,7 +21335,7 @@ export const deserializeAws_restJson1ListSipMediaApplicationsCommand = async (
|
|
|
21318
21335
|
NextToken: undefined,
|
|
21319
21336
|
SipMediaApplications: undefined,
|
|
21320
21337
|
};
|
|
21321
|
-
const data: any = await parseBody(output.body, context);
|
|
21338
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21322
21339
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21323
21340
|
contents.NextToken = __expectString(data.NextToken);
|
|
21324
21341
|
}
|
|
@@ -21417,7 +21434,7 @@ export const deserializeAws_restJson1ListSipRulesCommand = async (
|
|
|
21417
21434
|
NextToken: undefined,
|
|
21418
21435
|
SipRules: undefined,
|
|
21419
21436
|
};
|
|
21420
|
-
const data: any = await parseBody(output.body, context);
|
|
21437
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21421
21438
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21422
21439
|
contents.NextToken = __expectString(data.NextToken);
|
|
21423
21440
|
}
|
|
@@ -21515,7 +21532,7 @@ export const deserializeAws_restJson1ListSupportedPhoneNumberCountriesCommand =
|
|
|
21515
21532
|
$metadata: deserializeMetadata(output),
|
|
21516
21533
|
PhoneNumberCountries: undefined,
|
|
21517
21534
|
};
|
|
21518
|
-
const data: any = await parseBody(output.body, context);
|
|
21535
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21519
21536
|
if (data.PhoneNumberCountries !== undefined && data.PhoneNumberCountries !== null) {
|
|
21520
21537
|
contents.PhoneNumberCountries = deserializeAws_restJson1PhoneNumberCountriesList(
|
|
21521
21538
|
data.PhoneNumberCountries,
|
|
@@ -21621,7 +21638,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
21621
21638
|
$metadata: deserializeMetadata(output),
|
|
21622
21639
|
Tags: undefined,
|
|
21623
21640
|
};
|
|
21624
|
-
const data: any = await parseBody(output.body, context);
|
|
21641
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21625
21642
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
21626
21643
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
21627
21644
|
}
|
|
@@ -21717,7 +21734,7 @@ export const deserializeAws_restJson1ListUsersCommand = async (
|
|
|
21717
21734
|
NextToken: undefined,
|
|
21718
21735
|
Users: undefined,
|
|
21719
21736
|
};
|
|
21720
|
-
const data: any = await parseBody(output.body, context);
|
|
21737
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21721
21738
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21722
21739
|
contents.NextToken = __expectString(data.NextToken);
|
|
21723
21740
|
}
|
|
@@ -21824,7 +21841,7 @@ export const deserializeAws_restJson1ListVoiceConnectorGroupsCommand = async (
|
|
|
21824
21841
|
NextToken: undefined,
|
|
21825
21842
|
VoiceConnectorGroups: undefined,
|
|
21826
21843
|
};
|
|
21827
|
-
const data: any = await parseBody(output.body, context);
|
|
21844
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21828
21845
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21829
21846
|
contents.NextToken = __expectString(data.NextToken);
|
|
21830
21847
|
}
|
|
@@ -21923,7 +21940,7 @@ export const deserializeAws_restJson1ListVoiceConnectorsCommand = async (
|
|
|
21923
21940
|
NextToken: undefined,
|
|
21924
21941
|
VoiceConnectors: undefined,
|
|
21925
21942
|
};
|
|
21926
|
-
const data: any = await parseBody(output.body, context);
|
|
21943
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
21927
21944
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
21928
21945
|
contents.NextToken = __expectString(data.NextToken);
|
|
21929
21946
|
}
|
|
@@ -22021,7 +22038,7 @@ export const deserializeAws_restJson1ListVoiceConnectorTerminationCredentialsCom
|
|
|
22021
22038
|
$metadata: deserializeMetadata(output),
|
|
22022
22039
|
Usernames: undefined,
|
|
22023
22040
|
};
|
|
22024
|
-
const data: any = await parseBody(output.body, context);
|
|
22041
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22025
22042
|
if (data.Usernames !== undefined && data.Usernames !== null) {
|
|
22026
22043
|
contents.Usernames = deserializeAws_restJson1SensitiveStringList(data.Usernames, context);
|
|
22027
22044
|
}
|
|
@@ -22224,7 +22241,7 @@ export const deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand = as
|
|
|
22224
22241
|
AppInstanceRetentionSettings: undefined,
|
|
22225
22242
|
InitiateDeletionTimestamp: undefined,
|
|
22226
22243
|
};
|
|
22227
|
-
const data: any = await parseBody(output.body, context);
|
|
22244
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22228
22245
|
if (data.AppInstanceRetentionSettings !== undefined && data.AppInstanceRetentionSettings !== null) {
|
|
22229
22246
|
contents.AppInstanceRetentionSettings = deserializeAws_restJson1AppInstanceRetentionSettings(
|
|
22230
22247
|
data.AppInstanceRetentionSettings,
|
|
@@ -22232,7 +22249,9 @@ export const deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand = as
|
|
|
22232
22249
|
);
|
|
22233
22250
|
}
|
|
22234
22251
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
22235
|
-
contents.InitiateDeletionTimestamp =
|
|
22252
|
+
contents.InitiateDeletionTimestamp = __expectNonNull(
|
|
22253
|
+
__parseEpochTimestamp(__expectNumber(data.InitiateDeletionTimestamp))
|
|
22254
|
+
);
|
|
22236
22255
|
}
|
|
22237
22256
|
return Promise.resolve(contents);
|
|
22238
22257
|
};
|
|
@@ -22341,7 +22360,7 @@ export const deserializeAws_restJson1PutAppInstanceStreamingConfigurationsComman
|
|
|
22341
22360
|
$metadata: deserializeMetadata(output),
|
|
22342
22361
|
AppInstanceStreamingConfigurations: undefined,
|
|
22343
22362
|
};
|
|
22344
|
-
const data: any = await parseBody(output.body, context);
|
|
22363
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22345
22364
|
if (data.AppInstanceStreamingConfigurations !== undefined && data.AppInstanceStreamingConfigurations !== null) {
|
|
22346
22365
|
contents.AppInstanceStreamingConfigurations = deserializeAws_restJson1AppInstanceStreamingConfigurationList(
|
|
22347
22366
|
data.AppInstanceStreamingConfigurations,
|
|
@@ -22447,7 +22466,7 @@ export const deserializeAws_restJson1PutEventsConfigurationCommand = async (
|
|
|
22447
22466
|
$metadata: deserializeMetadata(output),
|
|
22448
22467
|
EventsConfiguration: undefined,
|
|
22449
22468
|
};
|
|
22450
|
-
const data: any = await parseBody(output.body, context);
|
|
22469
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22451
22470
|
if (data.EventsConfiguration !== undefined && data.EventsConfiguration !== null) {
|
|
22452
22471
|
contents.EventsConfiguration = deserializeAws_restJson1EventsConfiguration(data.EventsConfiguration, context);
|
|
22453
22472
|
}
|
|
@@ -22551,9 +22570,9 @@ export const deserializeAws_restJson1PutRetentionSettingsCommand = async (
|
|
|
22551
22570
|
InitiateDeletionTimestamp: undefined,
|
|
22552
22571
|
RetentionSettings: undefined,
|
|
22553
22572
|
};
|
|
22554
|
-
const data: any = await parseBody(output.body, context);
|
|
22573
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22555
22574
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
22556
|
-
contents.InitiateDeletionTimestamp =
|
|
22575
|
+
contents.InitiateDeletionTimestamp = __expectNonNull(__parseRfc3339DateTime(data.InitiateDeletionTimestamp));
|
|
22557
22576
|
}
|
|
22558
22577
|
if (data.RetentionSettings !== undefined && data.RetentionSettings !== null) {
|
|
22559
22578
|
contents.RetentionSettings = deserializeAws_restJson1RetentionSettings(data.RetentionSettings, context);
|
|
@@ -22665,7 +22684,7 @@ export const deserializeAws_restJson1PutSipMediaApplicationLoggingConfigurationC
|
|
|
22665
22684
|
$metadata: deserializeMetadata(output),
|
|
22666
22685
|
SipMediaApplicationLoggingConfiguration: undefined,
|
|
22667
22686
|
};
|
|
22668
|
-
const data: any = await parseBody(output.body, context);
|
|
22687
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22669
22688
|
if (
|
|
22670
22689
|
data.SipMediaApplicationLoggingConfiguration !== undefined &&
|
|
22671
22690
|
data.SipMediaApplicationLoggingConfiguration !== null
|
|
@@ -22774,7 +22793,7 @@ export const deserializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurat
|
|
|
22774
22793
|
$metadata: deserializeMetadata(output),
|
|
22775
22794
|
EmergencyCallingConfiguration: undefined,
|
|
22776
22795
|
};
|
|
22777
|
-
const data: any = await parseBody(output.body, context);
|
|
22796
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22778
22797
|
if (data.EmergencyCallingConfiguration !== undefined && data.EmergencyCallingConfiguration !== null) {
|
|
22779
22798
|
contents.EmergencyCallingConfiguration = deserializeAws_restJson1EmergencyCallingConfiguration(
|
|
22780
22799
|
data.EmergencyCallingConfiguration,
|
|
@@ -22880,7 +22899,7 @@ export const deserializeAws_restJson1PutVoiceConnectorLoggingConfigurationComman
|
|
|
22880
22899
|
$metadata: deserializeMetadata(output),
|
|
22881
22900
|
LoggingConfiguration: undefined,
|
|
22882
22901
|
};
|
|
22883
|
-
const data: any = await parseBody(output.body, context);
|
|
22902
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22884
22903
|
if (data.LoggingConfiguration !== undefined && data.LoggingConfiguration !== null) {
|
|
22885
22904
|
contents.LoggingConfiguration = deserializeAws_restJson1LoggingConfiguration(data.LoggingConfiguration, context);
|
|
22886
22905
|
}
|
|
@@ -22983,7 +23002,7 @@ export const deserializeAws_restJson1PutVoiceConnectorOriginationCommand = async
|
|
|
22983
23002
|
$metadata: deserializeMetadata(output),
|
|
22984
23003
|
Origination: undefined,
|
|
22985
23004
|
};
|
|
22986
|
-
const data: any = await parseBody(output.body, context);
|
|
23005
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
22987
23006
|
if (data.Origination !== undefined && data.Origination !== null) {
|
|
22988
23007
|
contents.Origination = deserializeAws_restJson1Origination(data.Origination, context);
|
|
22989
23008
|
}
|
|
@@ -23086,7 +23105,7 @@ export const deserializeAws_restJson1PutVoiceConnectorProxyCommand = async (
|
|
|
23086
23105
|
$metadata: deserializeMetadata(output),
|
|
23087
23106
|
Proxy: undefined,
|
|
23088
23107
|
};
|
|
23089
|
-
const data: any = await parseBody(output.body, context);
|
|
23108
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
23090
23109
|
if (data.Proxy !== undefined && data.Proxy !== null) {
|
|
23091
23110
|
contents.Proxy = deserializeAws_restJson1Proxy(data.Proxy, context);
|
|
23092
23111
|
}
|
|
@@ -23197,7 +23216,7 @@ export const deserializeAws_restJson1PutVoiceConnectorStreamingConfigurationComm
|
|
|
23197
23216
|
$metadata: deserializeMetadata(output),
|
|
23198
23217
|
StreamingConfiguration: undefined,
|
|
23199
23218
|
};
|
|
23200
|
-
const data: any = await parseBody(output.body, context);
|
|
23219
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
23201
23220
|
if (data.StreamingConfiguration !== undefined && data.StreamingConfiguration !== null) {
|
|
23202
23221
|
contents.StreamingConfiguration = deserializeAws_restJson1StreamingConfiguration(
|
|
23203
23222
|
data.StreamingConfiguration,
|
|
@@ -23303,7 +23322,7 @@ export const deserializeAws_restJson1PutVoiceConnectorTerminationCommand = async
|
|
|
23303
23322
|
$metadata: deserializeMetadata(output),
|
|
23304
23323
|
Termination: undefined,
|
|
23305
23324
|
};
|
|
23306
|
-
const data: any = await parseBody(output.body, context);
|
|
23325
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
23307
23326
|
if (data.Termination !== undefined && data.Termination !== null) {
|
|
23308
23327
|
contents.Termination = deserializeAws_restJson1Termination(data.Termination, context);
|
|
23309
23328
|
}
|
|
@@ -23514,7 +23533,7 @@ export const deserializeAws_restJson1RedactChannelMessageCommand = async (
|
|
|
23514
23533
|
ChannelArn: undefined,
|
|
23515
23534
|
MessageId: undefined,
|
|
23516
23535
|
};
|
|
23517
|
-
const data: any = await parseBody(output.body, context);
|
|
23536
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
23518
23537
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
23519
23538
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
23520
23539
|
}
|
|
@@ -23810,7 +23829,7 @@ export const deserializeAws_restJson1RegenerateSecurityTokenCommand = async (
|
|
|
23810
23829
|
$metadata: deserializeMetadata(output),
|
|
23811
23830
|
Bot: undefined,
|
|
23812
23831
|
};
|
|
23813
|
-
const data: any = await parseBody(output.body, context);
|
|
23832
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
23814
23833
|
if (data.Bot !== undefined && data.Bot !== null) {
|
|
23815
23834
|
contents.Bot = deserializeAws_restJson1Bot(data.Bot, context);
|
|
23816
23835
|
}
|
|
@@ -23913,7 +23932,7 @@ export const deserializeAws_restJson1ResetPersonalPINCommand = async (
|
|
|
23913
23932
|
$metadata: deserializeMetadata(output),
|
|
23914
23933
|
User: undefined,
|
|
23915
23934
|
};
|
|
23916
|
-
const data: any = await parseBody(output.body, context);
|
|
23935
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
23917
23936
|
if (data.User !== undefined && data.User !== null) {
|
|
23918
23937
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
23919
23938
|
}
|
|
@@ -24016,7 +24035,7 @@ export const deserializeAws_restJson1RestorePhoneNumberCommand = async (
|
|
|
24016
24035
|
$metadata: deserializeMetadata(output),
|
|
24017
24036
|
PhoneNumber: undefined,
|
|
24018
24037
|
};
|
|
24019
|
-
const data: any = await parseBody(output.body, context);
|
|
24038
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
24020
24039
|
if (data.PhoneNumber !== undefined && data.PhoneNumber !== null) {
|
|
24021
24040
|
contents.PhoneNumber = deserializeAws_restJson1PhoneNumber(data.PhoneNumber, context);
|
|
24022
24041
|
}
|
|
@@ -24128,7 +24147,7 @@ export const deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = async
|
|
|
24128
24147
|
E164PhoneNumbers: undefined,
|
|
24129
24148
|
NextToken: undefined,
|
|
24130
24149
|
};
|
|
24131
|
-
const data: any = await parseBody(output.body, context);
|
|
24150
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
24132
24151
|
if (data.E164PhoneNumbers !== undefined && data.E164PhoneNumbers !== null) {
|
|
24133
24152
|
contents.E164PhoneNumbers = deserializeAws_restJson1E164PhoneNumberList(data.E164PhoneNumbers, context);
|
|
24134
24153
|
}
|
|
@@ -24235,7 +24254,7 @@ export const deserializeAws_restJson1SendChannelMessageCommand = async (
|
|
|
24235
24254
|
ChannelArn: undefined,
|
|
24236
24255
|
MessageId: undefined,
|
|
24237
24256
|
};
|
|
24238
|
-
const data: any = await parseBody(output.body, context);
|
|
24257
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
24239
24258
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
24240
24259
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
24241
24260
|
}
|
|
@@ -25157,7 +25176,7 @@ export const deserializeAws_restJson1UpdateAccountCommand = async (
|
|
|
25157
25176
|
$metadata: deserializeMetadata(output),
|
|
25158
25177
|
Account: undefined,
|
|
25159
25178
|
};
|
|
25160
|
-
const data: any = await parseBody(output.body, context);
|
|
25179
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
25161
25180
|
if (data.Account !== undefined && data.Account !== null) {
|
|
25162
25181
|
contents.Account = deserializeAws_restJson1Account(data.Account, context);
|
|
25163
25182
|
}
|
|
@@ -25367,7 +25386,7 @@ export const deserializeAws_restJson1UpdateAppInstanceCommand = async (
|
|
|
25367
25386
|
$metadata: deserializeMetadata(output),
|
|
25368
25387
|
AppInstanceArn: undefined,
|
|
25369
25388
|
};
|
|
25370
|
-
const data: any = await parseBody(output.body, context);
|
|
25389
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
25371
25390
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
25372
25391
|
contents.AppInstanceArn = __expectString(data.AppInstanceArn);
|
|
25373
25392
|
}
|
|
@@ -25470,7 +25489,7 @@ export const deserializeAws_restJson1UpdateAppInstanceUserCommand = async (
|
|
|
25470
25489
|
$metadata: deserializeMetadata(output),
|
|
25471
25490
|
AppInstanceUserArn: undefined,
|
|
25472
25491
|
};
|
|
25473
|
-
const data: any = await parseBody(output.body, context);
|
|
25492
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
25474
25493
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
25475
25494
|
contents.AppInstanceUserArn = __expectString(data.AppInstanceUserArn);
|
|
25476
25495
|
}
|
|
@@ -25573,7 +25592,7 @@ export const deserializeAws_restJson1UpdateBotCommand = async (
|
|
|
25573
25592
|
$metadata: deserializeMetadata(output),
|
|
25574
25593
|
Bot: undefined,
|
|
25575
25594
|
};
|
|
25576
|
-
const data: any = await parseBody(output.body, context);
|
|
25595
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
25577
25596
|
if (data.Bot !== undefined && data.Bot !== null) {
|
|
25578
25597
|
contents.Bot = deserializeAws_restJson1Bot(data.Bot, context);
|
|
25579
25598
|
}
|
|
@@ -25676,7 +25695,7 @@ export const deserializeAws_restJson1UpdateChannelCommand = async (
|
|
|
25676
25695
|
$metadata: deserializeMetadata(output),
|
|
25677
25696
|
ChannelArn: undefined,
|
|
25678
25697
|
};
|
|
25679
|
-
const data: any = await parseBody(output.body, context);
|
|
25698
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
25680
25699
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
25681
25700
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
25682
25701
|
}
|
|
@@ -25780,7 +25799,7 @@ export const deserializeAws_restJson1UpdateChannelMessageCommand = async (
|
|
|
25780
25799
|
ChannelArn: undefined,
|
|
25781
25800
|
MessageId: undefined,
|
|
25782
25801
|
};
|
|
25783
|
-
const data: any = await parseBody(output.body, context);
|
|
25802
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
25784
25803
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
25785
25804
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
25786
25805
|
}
|
|
@@ -25886,7 +25905,7 @@ export const deserializeAws_restJson1UpdateChannelReadMarkerCommand = async (
|
|
|
25886
25905
|
$metadata: deserializeMetadata(output),
|
|
25887
25906
|
ChannelArn: undefined,
|
|
25888
25907
|
};
|
|
25889
|
-
const data: any = await parseBody(output.body, context);
|
|
25908
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
25890
25909
|
if (data.ChannelArn !== undefined && data.ChannelArn !== null) {
|
|
25891
25910
|
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
25892
25911
|
}
|
|
@@ -26080,7 +26099,7 @@ export const deserializeAws_restJson1UpdatePhoneNumberCommand = async (
|
|
|
26080
26099
|
$metadata: deserializeMetadata(output),
|
|
26081
26100
|
PhoneNumber: undefined,
|
|
26082
26101
|
};
|
|
26083
|
-
const data: any = await parseBody(output.body, context);
|
|
26102
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26084
26103
|
if (data.PhoneNumber !== undefined && data.PhoneNumber !== null) {
|
|
26085
26104
|
contents.PhoneNumber = deserializeAws_restJson1PhoneNumber(data.PhoneNumber, context);
|
|
26086
26105
|
}
|
|
@@ -26274,7 +26293,7 @@ export const deserializeAws_restJson1UpdateProxySessionCommand = async (
|
|
|
26274
26293
|
$metadata: deserializeMetadata(output),
|
|
26275
26294
|
ProxySession: undefined,
|
|
26276
26295
|
};
|
|
26277
|
-
const data: any = await parseBody(output.body, context);
|
|
26296
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26278
26297
|
if (data.ProxySession !== undefined && data.ProxySession !== null) {
|
|
26279
26298
|
contents.ProxySession = deserializeAws_restJson1ProxySession(data.ProxySession, context);
|
|
26280
26299
|
}
|
|
@@ -26377,7 +26396,7 @@ export const deserializeAws_restJson1UpdateRoomCommand = async (
|
|
|
26377
26396
|
$metadata: deserializeMetadata(output),
|
|
26378
26397
|
Room: undefined,
|
|
26379
26398
|
};
|
|
26380
|
-
const data: any = await parseBody(output.body, context);
|
|
26399
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26381
26400
|
if (data.Room !== undefined && data.Room !== null) {
|
|
26382
26401
|
contents.Room = deserializeAws_restJson1Room(data.Room, context);
|
|
26383
26402
|
}
|
|
@@ -26480,7 +26499,7 @@ export const deserializeAws_restJson1UpdateRoomMembershipCommand = async (
|
|
|
26480
26499
|
$metadata: deserializeMetadata(output),
|
|
26481
26500
|
RoomMembership: undefined,
|
|
26482
26501
|
};
|
|
26483
|
-
const data: any = await parseBody(output.body, context);
|
|
26502
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26484
26503
|
if (data.RoomMembership !== undefined && data.RoomMembership !== null) {
|
|
26485
26504
|
contents.RoomMembership = deserializeAws_restJson1RoomMembership(data.RoomMembership, context);
|
|
26486
26505
|
}
|
|
@@ -26583,7 +26602,7 @@ export const deserializeAws_restJson1UpdateSipMediaApplicationCommand = async (
|
|
|
26583
26602
|
$metadata: deserializeMetadata(output),
|
|
26584
26603
|
SipMediaApplication: undefined,
|
|
26585
26604
|
};
|
|
26586
|
-
const data: any = await parseBody(output.body, context);
|
|
26605
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26587
26606
|
if (data.SipMediaApplication !== undefined && data.SipMediaApplication !== null) {
|
|
26588
26607
|
contents.SipMediaApplication = deserializeAws_restJson1SipMediaApplication(data.SipMediaApplication, context);
|
|
26589
26608
|
}
|
|
@@ -26694,7 +26713,7 @@ export const deserializeAws_restJson1UpdateSipMediaApplicationCallCommand = asyn
|
|
|
26694
26713
|
$metadata: deserializeMetadata(output),
|
|
26695
26714
|
SipMediaApplicationCall: undefined,
|
|
26696
26715
|
};
|
|
26697
|
-
const data: any = await parseBody(output.body, context);
|
|
26716
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26698
26717
|
if (data.SipMediaApplicationCall !== undefined && data.SipMediaApplicationCall !== null) {
|
|
26699
26718
|
contents.SipMediaApplicationCall = deserializeAws_restJson1SipMediaApplicationCall(
|
|
26700
26719
|
data.SipMediaApplicationCall,
|
|
@@ -26808,7 +26827,7 @@ export const deserializeAws_restJson1UpdateSipRuleCommand = async (
|
|
|
26808
26827
|
$metadata: deserializeMetadata(output),
|
|
26809
26828
|
SipRule: undefined,
|
|
26810
26829
|
};
|
|
26811
|
-
const data: any = await parseBody(output.body, context);
|
|
26830
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26812
26831
|
if (data.SipRule !== undefined && data.SipRule !== null) {
|
|
26813
26832
|
contents.SipRule = deserializeAws_restJson1SipRule(data.SipRule, context);
|
|
26814
26833
|
}
|
|
@@ -26927,7 +26946,7 @@ export const deserializeAws_restJson1UpdateUserCommand = async (
|
|
|
26927
26946
|
$metadata: deserializeMetadata(output),
|
|
26928
26947
|
User: undefined,
|
|
26929
26948
|
};
|
|
26930
|
-
const data: any = await parseBody(output.body, context);
|
|
26949
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
26931
26950
|
if (data.User !== undefined && data.User !== null) {
|
|
26932
26951
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
26933
26952
|
}
|
|
@@ -27129,7 +27148,7 @@ export const deserializeAws_restJson1UpdateVoiceConnectorCommand = async (
|
|
|
27129
27148
|
$metadata: deserializeMetadata(output),
|
|
27130
27149
|
VoiceConnector: undefined,
|
|
27131
27150
|
};
|
|
27132
|
-
const data: any = await parseBody(output.body, context);
|
|
27151
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
27133
27152
|
if (data.VoiceConnector !== undefined && data.VoiceConnector !== null) {
|
|
27134
27153
|
contents.VoiceConnector = deserializeAws_restJson1VoiceConnector(data.VoiceConnector, context);
|
|
27135
27154
|
}
|
|
@@ -27232,7 +27251,7 @@ export const deserializeAws_restJson1UpdateVoiceConnectorGroupCommand = async (
|
|
|
27232
27251
|
$metadata: deserializeMetadata(output),
|
|
27233
27252
|
VoiceConnectorGroup: undefined,
|
|
27234
27253
|
};
|
|
27235
|
-
const data: any = await parseBody(output.body, context);
|
|
27254
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
27236
27255
|
if (data.VoiceConnectorGroup !== undefined && data.VoiceConnectorGroup !== null) {
|
|
27237
27256
|
contents.VoiceConnectorGroup = deserializeAws_restJson1VoiceConnectorGroup(data.VoiceConnectorGroup, context);
|
|
27238
27257
|
}
|
|
@@ -28019,6 +28038,18 @@ const serializeAws_restJson1SigninDelegateGroupList = (input: SigninDelegateGrou
|
|
|
28019
28038
|
});
|
|
28020
28039
|
};
|
|
28021
28040
|
|
|
28041
|
+
const serializeAws_restJson1SipHeadersMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
|
|
28042
|
+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
|
|
28043
|
+
if (value === null) {
|
|
28044
|
+
return acc;
|
|
28045
|
+
}
|
|
28046
|
+
return {
|
|
28047
|
+
...acc,
|
|
28048
|
+
[key]: value,
|
|
28049
|
+
};
|
|
28050
|
+
}, {});
|
|
28051
|
+
};
|
|
28052
|
+
|
|
28022
28053
|
const serializeAws_restJson1SipMediaApplicationEndpoint = (
|
|
28023
28054
|
input: SipMediaApplicationEndpoint,
|
|
28024
28055
|
context: __SerdeContext
|
|
@@ -28339,7 +28370,7 @@ const deserializeAws_restJson1Account = (output: any, context: __SerdeContext):
|
|
|
28339
28370
|
AwsAccountId: __expectString(output.AwsAccountId),
|
|
28340
28371
|
CreatedTimestamp:
|
|
28341
28372
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28342
|
-
?
|
|
28373
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
28343
28374
|
: undefined,
|
|
28344
28375
|
DefaultLicense: __expectString(output.DefaultLicense),
|
|
28345
28376
|
Name: __expectString(output.Name),
|
|
@@ -28387,11 +28418,11 @@ const deserializeAws_restJson1AppInstance = (output: any, context: __SerdeContex
|
|
|
28387
28418
|
AppInstanceArn: __expectString(output.AppInstanceArn),
|
|
28388
28419
|
CreatedTimestamp:
|
|
28389
28420
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28390
|
-
?
|
|
28421
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28391
28422
|
: undefined,
|
|
28392
28423
|
LastUpdatedTimestamp:
|
|
28393
28424
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
28394
|
-
?
|
|
28425
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
28395
28426
|
: undefined,
|
|
28396
28427
|
Metadata: __expectString(output.Metadata),
|
|
28397
28428
|
Name: __expectString(output.Name),
|
|
@@ -28407,7 +28438,7 @@ const deserializeAws_restJson1AppInstanceAdmin = (output: any, context: __SerdeC
|
|
|
28407
28438
|
AppInstanceArn: __expectString(output.AppInstanceArn),
|
|
28408
28439
|
CreatedTimestamp:
|
|
28409
28440
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28410
|
-
?
|
|
28441
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28411
28442
|
: undefined,
|
|
28412
28443
|
} as any;
|
|
28413
28444
|
};
|
|
@@ -28498,11 +28529,11 @@ const deserializeAws_restJson1AppInstanceUser = (output: any, context: __SerdeCo
|
|
|
28498
28529
|
AppInstanceUserArn: __expectString(output.AppInstanceUserArn),
|
|
28499
28530
|
CreatedTimestamp:
|
|
28500
28531
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28501
|
-
?
|
|
28532
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28502
28533
|
: undefined,
|
|
28503
28534
|
LastUpdatedTimestamp:
|
|
28504
28535
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
28505
|
-
?
|
|
28536
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
28506
28537
|
: undefined,
|
|
28507
28538
|
Metadata: __expectString(output.Metadata),
|
|
28508
28539
|
Name: __expectString(output.Name),
|
|
@@ -28530,7 +28561,7 @@ const deserializeAws_restJson1AppInstanceUserMembershipSummary = (
|
|
|
28530
28561
|
return {
|
|
28531
28562
|
ReadMarkerTimestamp:
|
|
28532
28563
|
output.ReadMarkerTimestamp !== undefined && output.ReadMarkerTimestamp !== null
|
|
28533
|
-
?
|
|
28564
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReadMarkerTimestamp)))
|
|
28534
28565
|
: undefined,
|
|
28535
28566
|
Type: __expectString(output.Type),
|
|
28536
28567
|
} as any;
|
|
@@ -28630,14 +28661,14 @@ const deserializeAws_restJson1Bot = (output: any, context: __SerdeContext): Bot
|
|
|
28630
28661
|
BotType: __expectString(output.BotType),
|
|
28631
28662
|
CreatedTimestamp:
|
|
28632
28663
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28633
|
-
?
|
|
28664
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
28634
28665
|
: undefined,
|
|
28635
28666
|
Disabled: __expectBoolean(output.Disabled),
|
|
28636
28667
|
DisplayName: __expectString(output.DisplayName),
|
|
28637
28668
|
SecurityToken: __expectString(output.SecurityToken),
|
|
28638
28669
|
UpdatedTimestamp:
|
|
28639
28670
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
28640
|
-
?
|
|
28671
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
28641
28672
|
: undefined,
|
|
28642
28673
|
UserId: __expectString(output.UserId),
|
|
28643
28674
|
} as any;
|
|
@@ -28694,15 +28725,15 @@ const deserializeAws_restJson1Channel = (output: any, context: __SerdeContext):
|
|
|
28694
28725
|
: undefined,
|
|
28695
28726
|
CreatedTimestamp:
|
|
28696
28727
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28697
|
-
?
|
|
28728
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28698
28729
|
: undefined,
|
|
28699
28730
|
LastMessageTimestamp:
|
|
28700
28731
|
output.LastMessageTimestamp !== undefined && output.LastMessageTimestamp !== null
|
|
28701
|
-
?
|
|
28732
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastMessageTimestamp)))
|
|
28702
28733
|
: undefined,
|
|
28703
28734
|
LastUpdatedTimestamp:
|
|
28704
28735
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
28705
|
-
?
|
|
28736
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
28706
28737
|
: undefined,
|
|
28707
28738
|
Metadata: __expectString(output.Metadata),
|
|
28708
28739
|
Mode: __expectString(output.Mode),
|
|
@@ -28720,7 +28751,7 @@ const deserializeAws_restJson1ChannelBan = (output: any, context: __SerdeContext
|
|
|
28720
28751
|
: undefined,
|
|
28721
28752
|
CreatedTimestamp:
|
|
28722
28753
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28723
|
-
?
|
|
28754
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28724
28755
|
: undefined,
|
|
28725
28756
|
Member:
|
|
28726
28757
|
output.Member !== undefined && output.Member !== null
|
|
@@ -28754,7 +28785,7 @@ const deserializeAws_restJson1ChannelMembership = (output: any, context: __Serde
|
|
|
28754
28785
|
ChannelArn: __expectString(output.ChannelArn),
|
|
28755
28786
|
CreatedTimestamp:
|
|
28756
28787
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28757
|
-
?
|
|
28788
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28758
28789
|
: undefined,
|
|
28759
28790
|
InvitedBy:
|
|
28760
28791
|
output.InvitedBy !== undefined && output.InvitedBy !== null
|
|
@@ -28762,7 +28793,7 @@ const deserializeAws_restJson1ChannelMembership = (output: any, context: __Serde
|
|
|
28762
28793
|
: undefined,
|
|
28763
28794
|
LastUpdatedTimestamp:
|
|
28764
28795
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
28765
|
-
?
|
|
28796
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
28766
28797
|
: undefined,
|
|
28767
28798
|
Member:
|
|
28768
28799
|
output.Member !== undefined && output.Member !== null
|
|
@@ -28834,15 +28865,15 @@ const deserializeAws_restJson1ChannelMessage = (output: any, context: __SerdeCon
|
|
|
28834
28865
|
Content: __expectString(output.Content),
|
|
28835
28866
|
CreatedTimestamp:
|
|
28836
28867
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28837
|
-
?
|
|
28868
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28838
28869
|
: undefined,
|
|
28839
28870
|
LastEditedTimestamp:
|
|
28840
28871
|
output.LastEditedTimestamp !== undefined && output.LastEditedTimestamp !== null
|
|
28841
|
-
?
|
|
28872
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastEditedTimestamp)))
|
|
28842
28873
|
: undefined,
|
|
28843
28874
|
LastUpdatedTimestamp:
|
|
28844
28875
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
28845
|
-
?
|
|
28876
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
28846
28877
|
: undefined,
|
|
28847
28878
|
MessageId: __expectString(output.MessageId),
|
|
28848
28879
|
Metadata: __expectString(output.Metadata),
|
|
@@ -28861,15 +28892,15 @@ const deserializeAws_restJson1ChannelMessageSummary = (output: any, context: __S
|
|
|
28861
28892
|
Content: __expectString(output.Content),
|
|
28862
28893
|
CreatedTimestamp:
|
|
28863
28894
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28864
|
-
?
|
|
28895
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28865
28896
|
: undefined,
|
|
28866
28897
|
LastEditedTimestamp:
|
|
28867
28898
|
output.LastEditedTimestamp !== undefined && output.LastEditedTimestamp !== null
|
|
28868
|
-
?
|
|
28899
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastEditedTimestamp)))
|
|
28869
28900
|
: undefined,
|
|
28870
28901
|
LastUpdatedTimestamp:
|
|
28871
28902
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
28872
|
-
?
|
|
28903
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
28873
28904
|
: undefined,
|
|
28874
28905
|
MessageId: __expectString(output.MessageId),
|
|
28875
28906
|
Metadata: __expectString(output.Metadata),
|
|
@@ -28931,7 +28962,7 @@ const deserializeAws_restJson1ChannelModerator = (output: any, context: __SerdeC
|
|
|
28931
28962
|
: undefined,
|
|
28932
28963
|
CreatedTimestamp:
|
|
28933
28964
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
28934
|
-
?
|
|
28965
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
28935
28966
|
: undefined,
|
|
28936
28967
|
Moderator:
|
|
28937
28968
|
output.Moderator !== undefined && output.Moderator !== null
|
|
@@ -28971,7 +29002,7 @@ const deserializeAws_restJson1ChannelRetentionSettings = (
|
|
|
28971
29002
|
context: __SerdeContext
|
|
28972
29003
|
): ChannelRetentionSettings => {
|
|
28973
29004
|
return {
|
|
28974
|
-
RetentionDays:
|
|
29005
|
+
RetentionDays: __expectInt32(output.RetentionDays),
|
|
28975
29006
|
} as any;
|
|
28976
29007
|
};
|
|
28977
29008
|
|
|
@@ -28980,7 +29011,7 @@ const deserializeAws_restJson1ChannelSummary = (output: any, context: __SerdeCon
|
|
|
28980
29011
|
ChannelArn: __expectString(output.ChannelArn),
|
|
28981
29012
|
LastMessageTimestamp:
|
|
28982
29013
|
output.LastMessageTimestamp !== undefined && output.LastMessageTimestamp !== null
|
|
28983
|
-
?
|
|
29014
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastMessageTimestamp)))
|
|
28984
29015
|
: undefined,
|
|
28985
29016
|
Metadata: __expectString(output.Metadata),
|
|
28986
29017
|
Mode: __expectString(output.Mode),
|
|
@@ -29005,7 +29036,7 @@ const deserializeAws_restJson1ConversationRetentionSettings = (
|
|
|
29005
29036
|
context: __SerdeContext
|
|
29006
29037
|
): ConversationRetentionSettings => {
|
|
29007
29038
|
return {
|
|
29008
|
-
RetentionDays:
|
|
29039
|
+
RetentionDays: __expectInt32(output.RetentionDays),
|
|
29009
29040
|
} as any;
|
|
29010
29041
|
};
|
|
29011
29042
|
|
|
@@ -29128,7 +29159,7 @@ const deserializeAws_restJson1MediaCapturePipeline = (output: any, context: __Se
|
|
|
29128
29159
|
return {
|
|
29129
29160
|
CreatedTimestamp:
|
|
29130
29161
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29131
|
-
?
|
|
29162
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29132
29163
|
: undefined,
|
|
29133
29164
|
MediaPipelineId: __expectString(output.MediaPipelineId),
|
|
29134
29165
|
SinkArn: __expectString(output.SinkArn),
|
|
@@ -29138,7 +29169,7 @@ const deserializeAws_restJson1MediaCapturePipeline = (output: any, context: __Se
|
|
|
29138
29169
|
Status: __expectString(output.Status),
|
|
29139
29170
|
UpdatedTimestamp:
|
|
29140
29171
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29141
|
-
?
|
|
29172
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29142
29173
|
: undefined,
|
|
29143
29174
|
} as any;
|
|
29144
29175
|
};
|
|
@@ -29273,10 +29304,10 @@ const deserializeAws_restJson1Origination = (output: any, context: __SerdeContex
|
|
|
29273
29304
|
const deserializeAws_restJson1OriginationRoute = (output: any, context: __SerdeContext): OriginationRoute => {
|
|
29274
29305
|
return {
|
|
29275
29306
|
Host: __expectString(output.Host),
|
|
29276
|
-
Port:
|
|
29277
|
-
Priority:
|
|
29307
|
+
Port: __expectInt32(output.Port),
|
|
29308
|
+
Priority: __expectInt32(output.Priority),
|
|
29278
29309
|
Protocol: __expectString(output.Protocol),
|
|
29279
|
-
Weight:
|
|
29310
|
+
Weight: __expectInt32(output.Weight),
|
|
29280
29311
|
} as any;
|
|
29281
29312
|
};
|
|
29282
29313
|
|
|
@@ -29324,11 +29355,11 @@ const deserializeAws_restJson1PhoneNumber = (output: any, context: __SerdeContex
|
|
|
29324
29355
|
Country: __expectString(output.Country),
|
|
29325
29356
|
CreatedTimestamp:
|
|
29326
29357
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29327
|
-
?
|
|
29358
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29328
29359
|
: undefined,
|
|
29329
29360
|
DeletionTimestamp:
|
|
29330
29361
|
output.DeletionTimestamp !== undefined && output.DeletionTimestamp !== null
|
|
29331
|
-
?
|
|
29362
|
+
? __expectNonNull(__parseRfc3339DateTime(output.DeletionTimestamp))
|
|
29332
29363
|
: undefined,
|
|
29333
29364
|
E164PhoneNumber: __expectString(output.E164PhoneNumber),
|
|
29334
29365
|
PhoneNumberId: __expectString(output.PhoneNumberId),
|
|
@@ -29337,7 +29368,7 @@ const deserializeAws_restJson1PhoneNumber = (output: any, context: __SerdeContex
|
|
|
29337
29368
|
Type: __expectString(output.Type),
|
|
29338
29369
|
UpdatedTimestamp:
|
|
29339
29370
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29340
|
-
?
|
|
29371
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29341
29372
|
: undefined,
|
|
29342
29373
|
} as any;
|
|
29343
29374
|
};
|
|
@@ -29349,7 +29380,7 @@ const deserializeAws_restJson1PhoneNumberAssociation = (
|
|
|
29349
29380
|
return {
|
|
29350
29381
|
AssociatedTimestamp:
|
|
29351
29382
|
output.AssociatedTimestamp !== undefined && output.AssociatedTimestamp !== null
|
|
29352
|
-
?
|
|
29383
|
+
? __expectNonNull(__parseRfc3339DateTime(output.AssociatedTimestamp))
|
|
29353
29384
|
: undefined,
|
|
29354
29385
|
Name: __expectString(output.Name),
|
|
29355
29386
|
Value: __expectString(output.Value),
|
|
@@ -29442,7 +29473,7 @@ const deserializeAws_restJson1PhoneNumberOrder = (output: any, context: __SerdeC
|
|
|
29442
29473
|
return {
|
|
29443
29474
|
CreatedTimestamp:
|
|
29444
29475
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29445
|
-
?
|
|
29476
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29446
29477
|
: undefined,
|
|
29447
29478
|
OrderedPhoneNumbers:
|
|
29448
29479
|
output.OrderedPhoneNumbers !== undefined && output.OrderedPhoneNumbers !== null
|
|
@@ -29453,7 +29484,7 @@ const deserializeAws_restJson1PhoneNumberOrder = (output: any, context: __SerdeC
|
|
|
29453
29484
|
Status: __expectString(output.Status),
|
|
29454
29485
|
UpdatedTimestamp:
|
|
29455
29486
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29456
|
-
?
|
|
29487
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29457
29488
|
: undefined,
|
|
29458
29489
|
} as any;
|
|
29459
29490
|
};
|
|
@@ -29485,7 +29516,7 @@ const deserializeAws_restJson1PhoneNumberTypeList = (
|
|
|
29485
29516
|
|
|
29486
29517
|
const deserializeAws_restJson1Proxy = (output: any, context: __SerdeContext): Proxy => {
|
|
29487
29518
|
return {
|
|
29488
|
-
DefaultSessionExpiryMinutes:
|
|
29519
|
+
DefaultSessionExpiryMinutes: __expectInt32(output.DefaultSessionExpiryMinutes),
|
|
29489
29520
|
Disabled: __expectBoolean(output.Disabled),
|
|
29490
29521
|
FallBackPhoneNumber: __expectString(output.FallBackPhoneNumber),
|
|
29491
29522
|
PhoneNumberCountries:
|
|
@@ -29503,13 +29534,13 @@ const deserializeAws_restJson1ProxySession = (output: any, context: __SerdeConte
|
|
|
29503
29534
|
: undefined,
|
|
29504
29535
|
CreatedTimestamp:
|
|
29505
29536
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29506
|
-
?
|
|
29537
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29507
29538
|
: undefined,
|
|
29508
29539
|
EndedTimestamp:
|
|
29509
29540
|
output.EndedTimestamp !== undefined && output.EndedTimestamp !== null
|
|
29510
|
-
?
|
|
29541
|
+
? __expectNonNull(__parseRfc3339DateTime(output.EndedTimestamp))
|
|
29511
29542
|
: undefined,
|
|
29512
|
-
ExpiryMinutes:
|
|
29543
|
+
ExpiryMinutes: __expectInt32(output.ExpiryMinutes),
|
|
29513
29544
|
GeoMatchLevel: __expectString(output.GeoMatchLevel),
|
|
29514
29545
|
GeoMatchParams:
|
|
29515
29546
|
output.GeoMatchParams !== undefined && output.GeoMatchParams !== null
|
|
@@ -29525,7 +29556,7 @@ const deserializeAws_restJson1ProxySession = (output: any, context: __SerdeConte
|
|
|
29525
29556
|
Status: __expectString(output.Status),
|
|
29526
29557
|
UpdatedTimestamp:
|
|
29527
29558
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29528
|
-
?
|
|
29559
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29529
29560
|
: undefined,
|
|
29530
29561
|
VoiceConnectorId: __expectString(output.VoiceConnectorId),
|
|
29531
29562
|
} as any;
|
|
@@ -29561,13 +29592,13 @@ const deserializeAws_restJson1Room = (output: any, context: __SerdeContext): Roo
|
|
|
29561
29592
|
CreatedBy: __expectString(output.CreatedBy),
|
|
29562
29593
|
CreatedTimestamp:
|
|
29563
29594
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29564
|
-
?
|
|
29595
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29565
29596
|
: undefined,
|
|
29566
29597
|
Name: __expectString(output.Name),
|
|
29567
29598
|
RoomId: __expectString(output.RoomId),
|
|
29568
29599
|
UpdatedTimestamp:
|
|
29569
29600
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29570
|
-
?
|
|
29601
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29571
29602
|
: undefined,
|
|
29572
29603
|
} as any;
|
|
29573
29604
|
};
|
|
@@ -29594,7 +29625,7 @@ const deserializeAws_restJson1RoomMembership = (output: any, context: __SerdeCon
|
|
|
29594
29625
|
RoomId: __expectString(output.RoomId),
|
|
29595
29626
|
UpdatedTimestamp:
|
|
29596
29627
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29597
|
-
?
|
|
29628
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29598
29629
|
: undefined,
|
|
29599
29630
|
} as any;
|
|
29600
29631
|
};
|
|
@@ -29612,7 +29643,7 @@ const deserializeAws_restJson1RoomMembershipList = (output: any, context: __Serd
|
|
|
29612
29643
|
|
|
29613
29644
|
const deserializeAws_restJson1RoomRetentionSettings = (output: any, context: __SerdeContext): RoomRetentionSettings => {
|
|
29614
29645
|
return {
|
|
29615
|
-
RetentionDays:
|
|
29646
|
+
RetentionDays: __expectInt32(output.RetentionDays),
|
|
29616
29647
|
} as any;
|
|
29617
29648
|
};
|
|
29618
29649
|
|
|
@@ -29652,7 +29683,7 @@ const deserializeAws_restJson1SipMediaApplication = (output: any, context: __Ser
|
|
|
29652
29683
|
AwsRegion: __expectString(output.AwsRegion),
|
|
29653
29684
|
CreatedTimestamp:
|
|
29654
29685
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29655
|
-
?
|
|
29686
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29656
29687
|
: undefined,
|
|
29657
29688
|
Endpoints:
|
|
29658
29689
|
output.Endpoints !== undefined && output.Endpoints !== null
|
|
@@ -29662,7 +29693,7 @@ const deserializeAws_restJson1SipMediaApplication = (output: any, context: __Ser
|
|
|
29662
29693
|
SipMediaApplicationId: __expectString(output.SipMediaApplicationId),
|
|
29663
29694
|
UpdatedTimestamp:
|
|
29664
29695
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29665
|
-
?
|
|
29696
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29666
29697
|
: undefined,
|
|
29667
29698
|
} as any;
|
|
29668
29699
|
};
|
|
@@ -29726,7 +29757,7 @@ const deserializeAws_restJson1SipRule = (output: any, context: __SerdeContext):
|
|
|
29726
29757
|
return {
|
|
29727
29758
|
CreatedTimestamp:
|
|
29728
29759
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29729
|
-
?
|
|
29760
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29730
29761
|
: undefined,
|
|
29731
29762
|
Disabled: __expectBoolean(output.Disabled),
|
|
29732
29763
|
Name: __expectString(output.Name),
|
|
@@ -29739,7 +29770,7 @@ const deserializeAws_restJson1SipRule = (output: any, context: __SerdeContext):
|
|
|
29739
29770
|
TriggerValue: __expectString(output.TriggerValue),
|
|
29740
29771
|
UpdatedTimestamp:
|
|
29741
29772
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29742
|
-
?
|
|
29773
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29743
29774
|
: undefined,
|
|
29744
29775
|
} as any;
|
|
29745
29776
|
};
|
|
@@ -29761,7 +29792,7 @@ const deserializeAws_restJson1SipRuleTargetApplication = (
|
|
|
29761
29792
|
): SipRuleTargetApplication => {
|
|
29762
29793
|
return {
|
|
29763
29794
|
AwsRegion: __expectString(output.AwsRegion),
|
|
29764
|
-
Priority:
|
|
29795
|
+
Priority: __expectInt32(output.Priority),
|
|
29765
29796
|
SipMediaApplicationId: __expectString(output.SipMediaApplicationId),
|
|
29766
29797
|
} as any;
|
|
29767
29798
|
};
|
|
@@ -29785,7 +29816,7 @@ const deserializeAws_restJson1StreamingConfiguration = (
|
|
|
29785
29816
|
context: __SerdeContext
|
|
29786
29817
|
): StreamingConfiguration => {
|
|
29787
29818
|
return {
|
|
29788
|
-
DataRetentionInHours:
|
|
29819
|
+
DataRetentionInHours: __expectInt32(output.DataRetentionInHours),
|
|
29789
29820
|
Disabled: __expectBoolean(output.Disabled),
|
|
29790
29821
|
StreamingNotificationTargets:
|
|
29791
29822
|
output.StreamingNotificationTargets !== undefined && output.StreamingNotificationTargets !== null
|
|
@@ -29864,7 +29895,7 @@ const deserializeAws_restJson1Termination = (output: any, context: __SerdeContex
|
|
|
29864
29895
|
output.CidrAllowedList !== undefined && output.CidrAllowedList !== null
|
|
29865
29896
|
? deserializeAws_restJson1StringList(output.CidrAllowedList, context)
|
|
29866
29897
|
: undefined,
|
|
29867
|
-
CpsLimit:
|
|
29898
|
+
CpsLimit: __expectInt32(output.CpsLimit),
|
|
29868
29899
|
DefaultPhoneNumber: __expectString(output.DefaultPhoneNumber),
|
|
29869
29900
|
Disabled: __expectBoolean(output.Disabled),
|
|
29870
29901
|
} as any;
|
|
@@ -29873,7 +29904,10 @@ const deserializeAws_restJson1Termination = (output: any, context: __SerdeContex
|
|
|
29873
29904
|
const deserializeAws_restJson1TerminationHealth = (output: any, context: __SerdeContext): TerminationHealth => {
|
|
29874
29905
|
return {
|
|
29875
29906
|
Source: __expectString(output.Source),
|
|
29876
|
-
Timestamp:
|
|
29907
|
+
Timestamp:
|
|
29908
|
+
output.Timestamp !== undefined && output.Timestamp !== null
|
|
29909
|
+
? __expectNonNull(__parseRfc3339DateTime(output.Timestamp))
|
|
29910
|
+
: undefined,
|
|
29877
29911
|
} as any;
|
|
29878
29912
|
};
|
|
29879
29913
|
|
|
@@ -29885,13 +29919,18 @@ const deserializeAws_restJson1User = (output: any, context: __SerdeContext): Use
|
|
|
29885
29919
|
? deserializeAws_restJson1AlexaForBusinessMetadata(output.AlexaForBusinessMetadata, context)
|
|
29886
29920
|
: undefined,
|
|
29887
29921
|
DisplayName: __expectString(output.DisplayName),
|
|
29888
|
-
InvitedOn:
|
|
29922
|
+
InvitedOn:
|
|
29923
|
+
output.InvitedOn !== undefined && output.InvitedOn !== null
|
|
29924
|
+
? __expectNonNull(__parseRfc3339DateTime(output.InvitedOn))
|
|
29925
|
+
: undefined,
|
|
29889
29926
|
LicenseType: __expectString(output.LicenseType),
|
|
29890
29927
|
PersonalPIN: __expectString(output.PersonalPIN),
|
|
29891
29928
|
PrimaryEmail: __expectString(output.PrimaryEmail),
|
|
29892
29929
|
PrimaryProvisionedNumber: __expectString(output.PrimaryProvisionedNumber),
|
|
29893
29930
|
RegisteredOn:
|
|
29894
|
-
output.RegisteredOn !== undefined && output.RegisteredOn !== null
|
|
29931
|
+
output.RegisteredOn !== undefined && output.RegisteredOn !== null
|
|
29932
|
+
? __expectNonNull(__parseRfc3339DateTime(output.RegisteredOn))
|
|
29933
|
+
: undefined,
|
|
29895
29934
|
UserId: __expectString(output.UserId),
|
|
29896
29935
|
UserInvitationStatus: __expectString(output.UserInvitationStatus),
|
|
29897
29936
|
UserRegistrationStatus: __expectString(output.UserRegistrationStatus),
|
|
@@ -29943,14 +29982,14 @@ const deserializeAws_restJson1VoiceConnector = (output: any, context: __SerdeCon
|
|
|
29943
29982
|
AwsRegion: __expectString(output.AwsRegion),
|
|
29944
29983
|
CreatedTimestamp:
|
|
29945
29984
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29946
|
-
?
|
|
29985
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29947
29986
|
: undefined,
|
|
29948
29987
|
Name: __expectString(output.Name),
|
|
29949
29988
|
OutboundHostName: __expectString(output.OutboundHostName),
|
|
29950
29989
|
RequireEncryption: __expectBoolean(output.RequireEncryption),
|
|
29951
29990
|
UpdatedTimestamp:
|
|
29952
29991
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29953
|
-
?
|
|
29992
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29954
29993
|
: undefined,
|
|
29955
29994
|
VoiceConnectorId: __expectString(output.VoiceConnectorId),
|
|
29956
29995
|
} as any;
|
|
@@ -29960,12 +29999,12 @@ const deserializeAws_restJson1VoiceConnectorGroup = (output: any, context: __Ser
|
|
|
29960
29999
|
return {
|
|
29961
30000
|
CreatedTimestamp:
|
|
29962
30001
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
29963
|
-
?
|
|
30002
|
+
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
29964
30003
|
: undefined,
|
|
29965
30004
|
Name: __expectString(output.Name),
|
|
29966
30005
|
UpdatedTimestamp:
|
|
29967
30006
|
output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
|
|
29968
|
-
?
|
|
30007
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
29969
30008
|
: undefined,
|
|
29970
30009
|
VoiceConnectorGroupId: __expectString(output.VoiceConnectorGroupId),
|
|
29971
30010
|
VoiceConnectorItems:
|
|
@@ -29991,7 +30030,7 @@ const deserializeAws_restJson1VoiceConnectorGroupList = (
|
|
|
29991
30030
|
|
|
29992
30031
|
const deserializeAws_restJson1VoiceConnectorItem = (output: any, context: __SerdeContext): VoiceConnectorItem => {
|
|
29993
30032
|
return {
|
|
29994
|
-
Priority:
|
|
30033
|
+
Priority: __expectInt32(output.Priority),
|
|
29995
30034
|
VoiceConnectorId: __expectString(output.VoiceConnectorId),
|
|
29996
30035
|
} as any;
|
|
29997
30036
|
};
|