@aws-sdk/client-ivs 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/IvsClient.js +13 -13
- package/dist-cjs/commands/BatchGetChannelCommand.js +3 -3
- package/dist-cjs/commands/BatchGetStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelCommand.js +3 -3
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +3 -3
- package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/GetChannelCommand.js +3 -3
- package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +3 -3
- package/dist-cjs/commands/GetRecordingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetStreamCommand.js +3 -3
- package/dist-cjs/commands/GetStreamKeyCommand.js +3 -3
- package/dist-cjs/commands/GetStreamSessionCommand.js +3 -3
- package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +3 -3
- package/dist-cjs/commands/ListChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +3 -3
- package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListStreamKeysCommand.js +3 -3
- package/dist-cjs/commands/ListStreamSessionsCommand.js +3 -3
- package/dist-cjs/commands/ListStreamsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutMetadataCommand.js +3 -3
- package/dist-cjs/commands/StopStreamCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +148 -148
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Ivs.js +28 -28
- package/dist-es/pagination/ListChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +4 -4
- package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/ListStreamKeysPaginator.js +4 -4
- package/dist-es/pagination/ListStreamSessionsPaginator.js +4 -4
- package/dist-es/pagination/ListStreamsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +28 -28
- package/dist-types/IvsClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/IvsClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -514,7 +514,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
514
514
|
if (labelValue.length <= 0) {
|
|
515
515
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
516
516
|
}
|
|
517
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
517
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
518
518
|
}
|
|
519
519
|
else {
|
|
520
520
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -585,7 +585,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
585
585
|
if (labelValue.length <= 0) {
|
|
586
586
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
587
587
|
}
|
|
588
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
588
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
589
589
|
}
|
|
590
590
|
else {
|
|
591
591
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -614,7 +614,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
614
614
|
if (labelValue.length <= 0) {
|
|
615
615
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
616
616
|
}
|
|
617
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
617
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
620
620
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -671,7 +671,7 @@ const deserializeAws_restJson1BatchGetChannelCommand = async (output, context) =
|
|
|
671
671
|
channels: undefined,
|
|
672
672
|
errors: undefined,
|
|
673
673
|
};
|
|
674
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
674
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
675
675
|
if (data.channels !== undefined && data.channels !== null) {
|
|
676
676
|
contents.channels = deserializeAws_restJson1Channels(data.channels, context);
|
|
677
677
|
}
|
|
@@ -697,7 +697,7 @@ const deserializeAws_restJson1BatchGetChannelCommandError = async (output, conte
|
|
|
697
697
|
$fault: "client",
|
|
698
698
|
$metadata: deserializeMetadata(output),
|
|
699
699
|
});
|
|
700
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
700
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
701
701
|
}
|
|
702
702
|
};
|
|
703
703
|
const deserializeAws_restJson1BatchGetStreamKeyCommand = async (output, context) => {
|
|
@@ -709,7 +709,7 @@ const deserializeAws_restJson1BatchGetStreamKeyCommand = async (output, context)
|
|
|
709
709
|
errors: undefined,
|
|
710
710
|
streamKeys: undefined,
|
|
711
711
|
};
|
|
712
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
712
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
713
713
|
if (data.errors !== undefined && data.errors !== null) {
|
|
714
714
|
contents.errors = deserializeAws_restJson1BatchErrors(data.errors, context);
|
|
715
715
|
}
|
|
@@ -735,7 +735,7 @@ const deserializeAws_restJson1BatchGetStreamKeyCommandError = async (output, con
|
|
|
735
735
|
$fault: "client",
|
|
736
736
|
$metadata: deserializeMetadata(output),
|
|
737
737
|
});
|
|
738
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
738
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
const deserializeAws_restJson1CreateChannelCommand = async (output, context) => {
|
|
@@ -747,7 +747,7 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
|
|
|
747
747
|
channel: undefined,
|
|
748
748
|
streamKey: undefined,
|
|
749
749
|
};
|
|
750
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
750
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
751
751
|
if (data.channel !== undefined && data.channel !== null) {
|
|
752
752
|
contents.channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
753
753
|
}
|
|
@@ -788,7 +788,7 @@ const deserializeAws_restJson1CreateChannelCommandError = async (output, context
|
|
|
788
788
|
$fault: "client",
|
|
789
789
|
$metadata: deserializeMetadata(output),
|
|
790
790
|
});
|
|
791
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
791
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
794
|
const deserializeAws_restJson1CreateRecordingConfigurationCommand = async (output, context) => {
|
|
@@ -799,7 +799,7 @@ const deserializeAws_restJson1CreateRecordingConfigurationCommand = async (outpu
|
|
|
799
799
|
$metadata: deserializeMetadata(output),
|
|
800
800
|
recordingConfiguration: undefined,
|
|
801
801
|
};
|
|
802
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
802
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
803
803
|
if (data.recordingConfiguration !== undefined && data.recordingConfiguration !== null) {
|
|
804
804
|
contents.recordingConfiguration = deserializeAws_restJson1RecordingConfiguration(data.recordingConfiguration, context);
|
|
805
805
|
}
|
|
@@ -840,7 +840,7 @@ const deserializeAws_restJson1CreateRecordingConfigurationCommandError = async (
|
|
|
840
840
|
$fault: "client",
|
|
841
841
|
$metadata: deserializeMetadata(output),
|
|
842
842
|
});
|
|
843
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
843
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
846
|
const deserializeAws_restJson1CreateStreamKeyCommand = async (output, context) => {
|
|
@@ -851,7 +851,7 @@ const deserializeAws_restJson1CreateStreamKeyCommand = async (output, context) =
|
|
|
851
851
|
$metadata: deserializeMetadata(output),
|
|
852
852
|
streamKey: undefined,
|
|
853
853
|
};
|
|
854
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
854
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
855
855
|
if (data.streamKey !== undefined && data.streamKey !== null) {
|
|
856
856
|
contents.streamKey = deserializeAws_restJson1StreamKey(data.streamKey, context);
|
|
857
857
|
}
|
|
@@ -889,7 +889,7 @@ const deserializeAws_restJson1CreateStreamKeyCommandError = async (output, conte
|
|
|
889
889
|
$fault: "client",
|
|
890
890
|
$metadata: deserializeMetadata(output),
|
|
891
891
|
});
|
|
892
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
892
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
893
893
|
}
|
|
894
894
|
};
|
|
895
895
|
const deserializeAws_restJson1DeleteChannelCommand = async (output, context) => {
|
|
@@ -934,7 +934,7 @@ const deserializeAws_restJson1DeleteChannelCommandError = async (output, context
|
|
|
934
934
|
$fault: "client",
|
|
935
935
|
$metadata: deserializeMetadata(output),
|
|
936
936
|
});
|
|
937
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
937
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
938
938
|
}
|
|
939
939
|
};
|
|
940
940
|
const deserializeAws_restJson1DeletePlaybackKeyPairCommand = async (output, context) => {
|
|
@@ -976,7 +976,7 @@ const deserializeAws_restJson1DeletePlaybackKeyPairCommandError = async (output,
|
|
|
976
976
|
$fault: "client",
|
|
977
977
|
$metadata: deserializeMetadata(output),
|
|
978
978
|
});
|
|
979
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
979
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
980
980
|
}
|
|
981
981
|
};
|
|
982
982
|
const deserializeAws_restJson1DeleteRecordingConfigurationCommand = async (output, context) => {
|
|
@@ -1021,7 +1021,7 @@ const deserializeAws_restJson1DeleteRecordingConfigurationCommandError = async (
|
|
|
1021
1021
|
$fault: "client",
|
|
1022
1022
|
$metadata: deserializeMetadata(output),
|
|
1023
1023
|
});
|
|
1024
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1024
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1025
1025
|
}
|
|
1026
1026
|
};
|
|
1027
1027
|
const deserializeAws_restJson1DeleteStreamKeyCommand = async (output, context) => {
|
|
@@ -1063,7 +1063,7 @@ const deserializeAws_restJson1DeleteStreamKeyCommandError = async (output, conte
|
|
|
1063
1063
|
$fault: "client",
|
|
1064
1064
|
$metadata: deserializeMetadata(output),
|
|
1065
1065
|
});
|
|
1066
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1066
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1067
1067
|
}
|
|
1068
1068
|
};
|
|
1069
1069
|
const deserializeAws_restJson1GetChannelCommand = async (output, context) => {
|
|
@@ -1074,7 +1074,7 @@ const deserializeAws_restJson1GetChannelCommand = async (output, context) => {
|
|
|
1074
1074
|
$metadata: deserializeMetadata(output),
|
|
1075
1075
|
channel: undefined,
|
|
1076
1076
|
};
|
|
1077
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1077
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1078
1078
|
if (data.channel !== undefined && data.channel !== null) {
|
|
1079
1079
|
contents.channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
1080
1080
|
}
|
|
@@ -1106,7 +1106,7 @@ const deserializeAws_restJson1GetChannelCommandError = async (output, context) =
|
|
|
1106
1106
|
$fault: "client",
|
|
1107
1107
|
$metadata: deserializeMetadata(output),
|
|
1108
1108
|
});
|
|
1109
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1109
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1110
1110
|
}
|
|
1111
1111
|
};
|
|
1112
1112
|
const deserializeAws_restJson1GetPlaybackKeyPairCommand = async (output, context) => {
|
|
@@ -1117,7 +1117,7 @@ const deserializeAws_restJson1GetPlaybackKeyPairCommand = async (output, context
|
|
|
1117
1117
|
$metadata: deserializeMetadata(output),
|
|
1118
1118
|
keyPair: undefined,
|
|
1119
1119
|
};
|
|
1120
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1120
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1121
1121
|
if (data.keyPair !== undefined && data.keyPair !== null) {
|
|
1122
1122
|
contents.keyPair = deserializeAws_restJson1PlaybackKeyPair(data.keyPair, context);
|
|
1123
1123
|
}
|
|
@@ -1149,7 +1149,7 @@ const deserializeAws_restJson1GetPlaybackKeyPairCommandError = async (output, co
|
|
|
1149
1149
|
$fault: "client",
|
|
1150
1150
|
$metadata: deserializeMetadata(output),
|
|
1151
1151
|
});
|
|
1152
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1152
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1153
1153
|
}
|
|
1154
1154
|
};
|
|
1155
1155
|
const deserializeAws_restJson1GetRecordingConfigurationCommand = async (output, context) => {
|
|
@@ -1160,7 +1160,7 @@ const deserializeAws_restJson1GetRecordingConfigurationCommand = async (output,
|
|
|
1160
1160
|
$metadata: deserializeMetadata(output),
|
|
1161
1161
|
recordingConfiguration: undefined,
|
|
1162
1162
|
};
|
|
1163
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1163
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1164
1164
|
if (data.recordingConfiguration !== undefined && data.recordingConfiguration !== null) {
|
|
1165
1165
|
contents.recordingConfiguration = deserializeAws_restJson1RecordingConfiguration(data.recordingConfiguration, context);
|
|
1166
1166
|
}
|
|
@@ -1195,7 +1195,7 @@ const deserializeAws_restJson1GetRecordingConfigurationCommandError = async (out
|
|
|
1195
1195
|
$fault: "client",
|
|
1196
1196
|
$metadata: deserializeMetadata(output),
|
|
1197
1197
|
});
|
|
1198
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1198
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
1201
|
const deserializeAws_restJson1GetStreamCommand = async (output, context) => {
|
|
@@ -1206,7 +1206,7 @@ const deserializeAws_restJson1GetStreamCommand = async (output, context) => {
|
|
|
1206
1206
|
$metadata: deserializeMetadata(output),
|
|
1207
1207
|
stream: undefined,
|
|
1208
1208
|
};
|
|
1209
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1209
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1210
1210
|
if (data.stream !== undefined && data.stream !== null) {
|
|
1211
1211
|
contents.stream = deserializeAws_restJson1_Stream(data.stream, context);
|
|
1212
1212
|
}
|
|
@@ -1241,7 +1241,7 @@ const deserializeAws_restJson1GetStreamCommandError = async (output, context) =>
|
|
|
1241
1241
|
$fault: "client",
|
|
1242
1242
|
$metadata: deserializeMetadata(output),
|
|
1243
1243
|
});
|
|
1244
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1244
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1245
1245
|
}
|
|
1246
1246
|
};
|
|
1247
1247
|
const deserializeAws_restJson1GetStreamKeyCommand = async (output, context) => {
|
|
@@ -1252,7 +1252,7 @@ const deserializeAws_restJson1GetStreamKeyCommand = async (output, context) => {
|
|
|
1252
1252
|
$metadata: deserializeMetadata(output),
|
|
1253
1253
|
streamKey: undefined,
|
|
1254
1254
|
};
|
|
1255
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1255
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1256
1256
|
if (data.streamKey !== undefined && data.streamKey !== null) {
|
|
1257
1257
|
contents.streamKey = deserializeAws_restJson1StreamKey(data.streamKey, context);
|
|
1258
1258
|
}
|
|
@@ -1284,7 +1284,7 @@ const deserializeAws_restJson1GetStreamKeyCommandError = async (output, context)
|
|
|
1284
1284
|
$fault: "client",
|
|
1285
1285
|
$metadata: deserializeMetadata(output),
|
|
1286
1286
|
});
|
|
1287
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1287
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1288
1288
|
}
|
|
1289
1289
|
};
|
|
1290
1290
|
const deserializeAws_restJson1GetStreamSessionCommand = async (output, context) => {
|
|
@@ -1295,7 +1295,7 @@ const deserializeAws_restJson1GetStreamSessionCommand = async (output, context)
|
|
|
1295
1295
|
$metadata: deserializeMetadata(output),
|
|
1296
1296
|
streamSession: undefined,
|
|
1297
1297
|
};
|
|
1298
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1298
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1299
1299
|
if (data.streamSession !== undefined && data.streamSession !== null) {
|
|
1300
1300
|
contents.streamSession = deserializeAws_restJson1StreamSession(data.streamSession, context);
|
|
1301
1301
|
}
|
|
@@ -1327,7 +1327,7 @@ const deserializeAws_restJson1GetStreamSessionCommandError = async (output, cont
|
|
|
1327
1327
|
$fault: "client",
|
|
1328
1328
|
$metadata: deserializeMetadata(output),
|
|
1329
1329
|
});
|
|
1330
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1330
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1331
1331
|
}
|
|
1332
1332
|
};
|
|
1333
1333
|
const deserializeAws_restJson1ImportPlaybackKeyPairCommand = async (output, context) => {
|
|
@@ -1338,7 +1338,7 @@ const deserializeAws_restJson1ImportPlaybackKeyPairCommand = async (output, cont
|
|
|
1338
1338
|
$metadata: deserializeMetadata(output),
|
|
1339
1339
|
keyPair: undefined,
|
|
1340
1340
|
};
|
|
1341
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1341
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1342
1342
|
if (data.keyPair !== undefined && data.keyPair !== null) {
|
|
1343
1343
|
contents.keyPair = deserializeAws_restJson1PlaybackKeyPair(data.keyPair, context);
|
|
1344
1344
|
}
|
|
@@ -1376,7 +1376,7 @@ const deserializeAws_restJson1ImportPlaybackKeyPairCommandError = async (output,
|
|
|
1376
1376
|
$fault: "client",
|
|
1377
1377
|
$metadata: deserializeMetadata(output),
|
|
1378
1378
|
});
|
|
1379
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1379
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1380
1380
|
}
|
|
1381
1381
|
};
|
|
1382
1382
|
const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
@@ -1388,12 +1388,12 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
|
1388
1388
|
channels: undefined,
|
|
1389
1389
|
nextToken: undefined,
|
|
1390
1390
|
};
|
|
1391
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1391
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1392
1392
|
if (data.channels !== undefined && data.channels !== null) {
|
|
1393
1393
|
contents.channels = deserializeAws_restJson1ChannelList(data.channels, context);
|
|
1394
1394
|
}
|
|
1395
1395
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1396
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1396
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1397
1397
|
}
|
|
1398
1398
|
return Promise.resolve(contents);
|
|
1399
1399
|
};
|
|
@@ -1423,7 +1423,7 @@ const deserializeAws_restJson1ListChannelsCommandError = async (output, context)
|
|
|
1423
1423
|
$fault: "client",
|
|
1424
1424
|
$metadata: deserializeMetadata(output),
|
|
1425
1425
|
});
|
|
1426
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1426
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
1429
|
const deserializeAws_restJson1ListPlaybackKeyPairsCommand = async (output, context) => {
|
|
@@ -1435,12 +1435,12 @@ const deserializeAws_restJson1ListPlaybackKeyPairsCommand = async (output, conte
|
|
|
1435
1435
|
keyPairs: undefined,
|
|
1436
1436
|
nextToken: undefined,
|
|
1437
1437
|
};
|
|
1438
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1438
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1439
1439
|
if (data.keyPairs !== undefined && data.keyPairs !== null) {
|
|
1440
1440
|
contents.keyPairs = deserializeAws_restJson1PlaybackKeyPairList(data.keyPairs, context);
|
|
1441
1441
|
}
|
|
1442
1442
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1443
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1443
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1444
1444
|
}
|
|
1445
1445
|
return Promise.resolve(contents);
|
|
1446
1446
|
};
|
|
@@ -1467,7 +1467,7 @@ const deserializeAws_restJson1ListPlaybackKeyPairsCommandError = async (output,
|
|
|
1467
1467
|
$fault: "client",
|
|
1468
1468
|
$metadata: deserializeMetadata(output),
|
|
1469
1469
|
});
|
|
1470
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1470
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
1473
|
const deserializeAws_restJson1ListRecordingConfigurationsCommand = async (output, context) => {
|
|
@@ -1479,9 +1479,9 @@ const deserializeAws_restJson1ListRecordingConfigurationsCommand = async (output
|
|
|
1479
1479
|
nextToken: undefined,
|
|
1480
1480
|
recordingConfigurations: undefined,
|
|
1481
1481
|
};
|
|
1482
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1482
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1483
1483
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1484
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1484
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1485
1485
|
}
|
|
1486
1486
|
if (data.recordingConfigurations !== undefined && data.recordingConfigurations !== null) {
|
|
1487
1487
|
contents.recordingConfigurations = deserializeAws_restJson1RecordingConfigurationList(data.recordingConfigurations, context);
|
|
@@ -1514,7 +1514,7 @@ const deserializeAws_restJson1ListRecordingConfigurationsCommandError = async (o
|
|
|
1514
1514
|
$fault: "client",
|
|
1515
1515
|
$metadata: deserializeMetadata(output),
|
|
1516
1516
|
});
|
|
1517
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1517
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1518
1518
|
}
|
|
1519
1519
|
};
|
|
1520
1520
|
const deserializeAws_restJson1ListStreamKeysCommand = async (output, context) => {
|
|
@@ -1526,9 +1526,9 @@ const deserializeAws_restJson1ListStreamKeysCommand = async (output, context) =>
|
|
|
1526
1526
|
nextToken: undefined,
|
|
1527
1527
|
streamKeys: undefined,
|
|
1528
1528
|
};
|
|
1529
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1529
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1530
1530
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1531
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1531
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1532
1532
|
}
|
|
1533
1533
|
if (data.streamKeys !== undefined && data.streamKeys !== null) {
|
|
1534
1534
|
contents.streamKeys = deserializeAws_restJson1StreamKeyList(data.streamKeys, context);
|
|
@@ -1561,7 +1561,7 @@ const deserializeAws_restJson1ListStreamKeysCommandError = async (output, contex
|
|
|
1561
1561
|
$fault: "client",
|
|
1562
1562
|
$metadata: deserializeMetadata(output),
|
|
1563
1563
|
});
|
|
1564
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1564
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1565
1565
|
}
|
|
1566
1566
|
};
|
|
1567
1567
|
const deserializeAws_restJson1ListStreamsCommand = async (output, context) => {
|
|
@@ -1573,9 +1573,9 @@ const deserializeAws_restJson1ListStreamsCommand = async (output, context) => {
|
|
|
1573
1573
|
nextToken: undefined,
|
|
1574
1574
|
streams: undefined,
|
|
1575
1575
|
};
|
|
1576
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1576
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1577
1577
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1578
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1578
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1579
1579
|
}
|
|
1580
1580
|
if (data.streams !== undefined && data.streams !== null) {
|
|
1581
1581
|
contents.streams = deserializeAws_restJson1StreamList(data.streams, context);
|
|
@@ -1605,7 +1605,7 @@ const deserializeAws_restJson1ListStreamsCommandError = async (output, context)
|
|
|
1605
1605
|
$fault: "client",
|
|
1606
1606
|
$metadata: deserializeMetadata(output),
|
|
1607
1607
|
});
|
|
1608
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1608
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1609
1609
|
}
|
|
1610
1610
|
};
|
|
1611
1611
|
const deserializeAws_restJson1ListStreamSessionsCommand = async (output, context) => {
|
|
@@ -1617,9 +1617,9 @@ const deserializeAws_restJson1ListStreamSessionsCommand = async (output, context
|
|
|
1617
1617
|
nextToken: undefined,
|
|
1618
1618
|
streamSessions: undefined,
|
|
1619
1619
|
};
|
|
1620
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1620
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1621
1621
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1622
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1622
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1623
1623
|
}
|
|
1624
1624
|
if (data.streamSessions !== undefined && data.streamSessions !== null) {
|
|
1625
1625
|
contents.streamSessions = deserializeAws_restJson1StreamSessionList(data.streamSessions, context);
|
|
@@ -1652,7 +1652,7 @@ const deserializeAws_restJson1ListStreamSessionsCommandError = async (output, co
|
|
|
1652
1652
|
$fault: "client",
|
|
1653
1653
|
$metadata: deserializeMetadata(output),
|
|
1654
1654
|
});
|
|
1655
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1655
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1656
1656
|
}
|
|
1657
1657
|
};
|
|
1658
1658
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1663,7 +1663,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1663
1663
|
$metadata: deserializeMetadata(output),
|
|
1664
1664
|
tags: undefined,
|
|
1665
1665
|
};
|
|
1666
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1666
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1667
1667
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1668
1668
|
contents.tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
1669
1669
|
}
|
|
@@ -1695,7 +1695,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1695
1695
|
$fault: "client",
|
|
1696
1696
|
$metadata: deserializeMetadata(output),
|
|
1697
1697
|
});
|
|
1698
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1698
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1699
1699
|
}
|
|
1700
1700
|
};
|
|
1701
1701
|
const deserializeAws_restJson1PutMetadataCommand = async (output, context) => {
|
|
@@ -1740,7 +1740,7 @@ const deserializeAws_restJson1PutMetadataCommandError = async (output, context)
|
|
|
1740
1740
|
$fault: "client",
|
|
1741
1741
|
$metadata: deserializeMetadata(output),
|
|
1742
1742
|
});
|
|
1743
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1743
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1744
1744
|
}
|
|
1745
1745
|
};
|
|
1746
1746
|
const deserializeAws_restJson1StopStreamCommand = async (output, context) => {
|
|
@@ -1785,7 +1785,7 @@ const deserializeAws_restJson1StopStreamCommandError = async (output, context) =
|
|
|
1785
1785
|
$fault: "client",
|
|
1786
1786
|
$metadata: deserializeMetadata(output),
|
|
1787
1787
|
});
|
|
1788
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1788
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1789
1789
|
}
|
|
1790
1790
|
};
|
|
1791
1791
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1824,7 +1824,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1824
1824
|
$fault: "client",
|
|
1825
1825
|
$metadata: deserializeMetadata(output),
|
|
1826
1826
|
});
|
|
1827
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1827
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1828
1828
|
}
|
|
1829
1829
|
};
|
|
1830
1830
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1863,7 +1863,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1863
1863
|
$fault: "client",
|
|
1864
1864
|
$metadata: deserializeMetadata(output),
|
|
1865
1865
|
});
|
|
1866
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1866
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
1869
|
const deserializeAws_restJson1UpdateChannelCommand = async (output, context) => {
|
|
@@ -1874,7 +1874,7 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
|
|
|
1874
1874
|
$metadata: deserializeMetadata(output),
|
|
1875
1875
|
channel: undefined,
|
|
1876
1876
|
};
|
|
1877
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1877
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1878
1878
|
if (data.channel !== undefined && data.channel !== null) {
|
|
1879
1879
|
contents.channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
1880
1880
|
}
|
|
@@ -1912,128 +1912,128 @@ const deserializeAws_restJson1UpdateChannelCommandError = async (output, context
|
|
|
1912
1912
|
$fault: "client",
|
|
1913
1913
|
$metadata: deserializeMetadata(output),
|
|
1914
1914
|
});
|
|
1915
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1915
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1916
1916
|
}
|
|
1917
1917
|
};
|
|
1918
1918
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
1919
1919
|
const contents = {};
|
|
1920
1920
|
const data = parsedOutput.body;
|
|
1921
1921
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
1922
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
1922
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
1923
1923
|
}
|
|
1924
1924
|
const exception = new models_0_1.AccessDeniedException({
|
|
1925
1925
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1926
1926
|
...contents,
|
|
1927
1927
|
});
|
|
1928
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1928
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1929
1929
|
};
|
|
1930
1930
|
const deserializeAws_restJson1ChannelNotBroadcastingResponse = async (parsedOutput, context) => {
|
|
1931
1931
|
const contents = {};
|
|
1932
1932
|
const data = parsedOutput.body;
|
|
1933
1933
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
1934
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
1934
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
1935
1935
|
}
|
|
1936
1936
|
const exception = new models_0_1.ChannelNotBroadcasting({
|
|
1937
1937
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1938
1938
|
...contents,
|
|
1939
1939
|
});
|
|
1940
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1940
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1941
1941
|
};
|
|
1942
1942
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1943
1943
|
const contents = {};
|
|
1944
1944
|
const data = parsedOutput.body;
|
|
1945
1945
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
1946
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
1946
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
1947
1947
|
}
|
|
1948
1948
|
const exception = new models_0_1.ConflictException({
|
|
1949
1949
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1950
1950
|
...contents,
|
|
1951
1951
|
});
|
|
1952
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1952
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1953
1953
|
};
|
|
1954
1954
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1955
1955
|
const contents = {};
|
|
1956
1956
|
const data = parsedOutput.body;
|
|
1957
1957
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
1958
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
1958
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
1959
1959
|
}
|
|
1960
1960
|
const exception = new models_0_1.InternalServerException({
|
|
1961
1961
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1962
1962
|
...contents,
|
|
1963
1963
|
});
|
|
1964
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1964
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1965
1965
|
};
|
|
1966
1966
|
const deserializeAws_restJson1PendingVerificationResponse = async (parsedOutput, context) => {
|
|
1967
1967
|
const contents = {};
|
|
1968
1968
|
const data = parsedOutput.body;
|
|
1969
1969
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
1970
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
1970
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
1971
1971
|
}
|
|
1972
1972
|
const exception = new models_0_1.PendingVerification({
|
|
1973
1973
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1974
1974
|
...contents,
|
|
1975
1975
|
});
|
|
1976
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1976
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1977
1977
|
};
|
|
1978
1978
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1979
1979
|
const contents = {};
|
|
1980
1980
|
const data = parsedOutput.body;
|
|
1981
1981
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
1982
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
1982
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
1983
1983
|
}
|
|
1984
1984
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1985
1985
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1986
1986
|
...contents,
|
|
1987
1987
|
});
|
|
1988
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1988
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1989
1989
|
};
|
|
1990
1990
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1991
1991
|
const contents = {};
|
|
1992
1992
|
const data = parsedOutput.body;
|
|
1993
1993
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
1994
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
1994
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
1995
1995
|
}
|
|
1996
1996
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1997
1997
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1998
1998
|
...contents,
|
|
1999
1999
|
});
|
|
2000
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2000
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2001
2001
|
};
|
|
2002
2002
|
const deserializeAws_restJson1StreamUnavailableResponse = async (parsedOutput, context) => {
|
|
2003
2003
|
const contents = {};
|
|
2004
2004
|
const data = parsedOutput.body;
|
|
2005
2005
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
2006
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
2006
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
2007
2007
|
}
|
|
2008
2008
|
const exception = new models_0_1.StreamUnavailable({
|
|
2009
2009
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2010
2010
|
...contents,
|
|
2011
2011
|
});
|
|
2012
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2012
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2013
2013
|
};
|
|
2014
2014
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
2015
2015
|
const contents = {};
|
|
2016
2016
|
const data = parsedOutput.body;
|
|
2017
2017
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
2018
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
2018
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
2019
2019
|
}
|
|
2020
2020
|
const exception = new models_0_1.ThrottlingException({
|
|
2021
2021
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2022
2022
|
...contents,
|
|
2023
2023
|
});
|
|
2024
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2024
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2025
2025
|
};
|
|
2026
2026
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
2027
2027
|
const contents = {};
|
|
2028
2028
|
const data = parsedOutput.body;
|
|
2029
2029
|
if (data.exceptionMessage !== undefined && data.exceptionMessage !== null) {
|
|
2030
|
-
contents.exceptionMessage = smithy_client_1.expectString(data.exceptionMessage);
|
|
2030
|
+
contents.exceptionMessage = (0, smithy_client_1.expectString)(data.exceptionMessage);
|
|
2031
2031
|
}
|
|
2032
2032
|
const exception = new models_0_1.ValidationException({
|
|
2033
2033
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2034
2034
|
...contents,
|
|
2035
2035
|
});
|
|
2036
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2036
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2037
2037
|
};
|
|
2038
2038
|
const serializeAws_restJson1ChannelArnList = (input, context) => {
|
|
2039
2039
|
return input
|
|
@@ -2091,17 +2091,17 @@ const serializeAws_restJson1ThumbnailConfiguration = (input, context) => {
|
|
|
2091
2091
|
};
|
|
2092
2092
|
const deserializeAws_restJson1AudioConfiguration = (output, context) => {
|
|
2093
2093
|
return {
|
|
2094
|
-
channels: smithy_client_1.expectLong(output.channels),
|
|
2095
|
-
codec: smithy_client_1.expectString(output.codec),
|
|
2096
|
-
sampleRate: smithy_client_1.expectLong(output.sampleRate),
|
|
2097
|
-
targetBitrate: smithy_client_1.expectLong(output.targetBitrate),
|
|
2094
|
+
channels: (0, smithy_client_1.expectLong)(output.channels),
|
|
2095
|
+
codec: (0, smithy_client_1.expectString)(output.codec),
|
|
2096
|
+
sampleRate: (0, smithy_client_1.expectLong)(output.sampleRate),
|
|
2097
|
+
targetBitrate: (0, smithy_client_1.expectLong)(output.targetBitrate),
|
|
2098
2098
|
};
|
|
2099
2099
|
};
|
|
2100
2100
|
const deserializeAws_restJson1BatchError = (output, context) => {
|
|
2101
2101
|
return {
|
|
2102
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2103
|
-
code: smithy_client_1.expectString(output.code),
|
|
2104
|
-
message: smithy_client_1.expectString(output.message),
|
|
2102
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2103
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
2104
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2105
2105
|
};
|
|
2106
2106
|
};
|
|
2107
2107
|
const deserializeAws_restJson1BatchErrors = (output, context) => {
|
|
@@ -2117,17 +2117,17 @@ const deserializeAws_restJson1BatchErrors = (output, context) => {
|
|
|
2117
2117
|
};
|
|
2118
2118
|
const deserializeAws_restJson1Channel = (output, context) => {
|
|
2119
2119
|
return {
|
|
2120
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2121
|
-
authorized: smithy_client_1.expectBoolean(output.authorized),
|
|
2122
|
-
ingestEndpoint: smithy_client_1.expectString(output.ingestEndpoint),
|
|
2123
|
-
latencyMode: smithy_client_1.expectString(output.latencyMode),
|
|
2124
|
-
name: smithy_client_1.expectString(output.name),
|
|
2125
|
-
playbackUrl: smithy_client_1.expectString(output.playbackUrl),
|
|
2126
|
-
recordingConfigurationArn: smithy_client_1.expectString(output.recordingConfigurationArn),
|
|
2120
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2121
|
+
authorized: (0, smithy_client_1.expectBoolean)(output.authorized),
|
|
2122
|
+
ingestEndpoint: (0, smithy_client_1.expectString)(output.ingestEndpoint),
|
|
2123
|
+
latencyMode: (0, smithy_client_1.expectString)(output.latencyMode),
|
|
2124
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2125
|
+
playbackUrl: (0, smithy_client_1.expectString)(output.playbackUrl),
|
|
2126
|
+
recordingConfigurationArn: (0, smithy_client_1.expectString)(output.recordingConfigurationArn),
|
|
2127
2127
|
tags: output.tags !== undefined && output.tags !== null
|
|
2128
2128
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2129
2129
|
: undefined,
|
|
2130
|
-
type: smithy_client_1.expectString(output.type),
|
|
2130
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2131
2131
|
};
|
|
2132
2132
|
};
|
|
2133
2133
|
const deserializeAws_restJson1ChannelList = (output, context) => {
|
|
@@ -2154,11 +2154,11 @@ const deserializeAws_restJson1Channels = (output, context) => {
|
|
|
2154
2154
|
};
|
|
2155
2155
|
const deserializeAws_restJson1ChannelSummary = (output, context) => {
|
|
2156
2156
|
return {
|
|
2157
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2158
|
-
authorized: smithy_client_1.expectBoolean(output.authorized),
|
|
2159
|
-
latencyMode: smithy_client_1.expectString(output.latencyMode),
|
|
2160
|
-
name: smithy_client_1.expectString(output.name),
|
|
2161
|
-
recordingConfigurationArn: smithy_client_1.expectString(output.recordingConfigurationArn),
|
|
2157
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2158
|
+
authorized: (0, smithy_client_1.expectBoolean)(output.authorized),
|
|
2159
|
+
latencyMode: (0, smithy_client_1.expectString)(output.latencyMode),
|
|
2160
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2161
|
+
recordingConfigurationArn: (0, smithy_client_1.expectString)(output.recordingConfigurationArn),
|
|
2162
2162
|
tags: output.tags !== undefined && output.tags !== null
|
|
2163
2163
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2164
2164
|
: undefined,
|
|
@@ -2183,9 +2183,9 @@ const deserializeAws_restJson1IngestConfiguration = (output, context) => {
|
|
|
2183
2183
|
};
|
|
2184
2184
|
const deserializeAws_restJson1PlaybackKeyPair = (output, context) => {
|
|
2185
2185
|
return {
|
|
2186
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2187
|
-
fingerprint: smithy_client_1.expectString(output.fingerprint),
|
|
2188
|
-
name: smithy_client_1.expectString(output.name),
|
|
2186
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2187
|
+
fingerprint: (0, smithy_client_1.expectString)(output.fingerprint),
|
|
2188
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2189
2189
|
tags: output.tags !== undefined && output.tags !== null
|
|
2190
2190
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2191
2191
|
: undefined,
|
|
@@ -2204,8 +2204,8 @@ const deserializeAws_restJson1PlaybackKeyPairList = (output, context) => {
|
|
|
2204
2204
|
};
|
|
2205
2205
|
const deserializeAws_restJson1PlaybackKeyPairSummary = (output, context) => {
|
|
2206
2206
|
return {
|
|
2207
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2208
|
-
name: smithy_client_1.expectString(output.name),
|
|
2207
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2208
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2209
2209
|
tags: output.tags !== undefined && output.tags !== null
|
|
2210
2210
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2211
2211
|
: undefined,
|
|
@@ -2213,12 +2213,12 @@ const deserializeAws_restJson1PlaybackKeyPairSummary = (output, context) => {
|
|
|
2213
2213
|
};
|
|
2214
2214
|
const deserializeAws_restJson1RecordingConfiguration = (output, context) => {
|
|
2215
2215
|
return {
|
|
2216
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2216
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2217
2217
|
destinationConfiguration: output.destinationConfiguration !== undefined && output.destinationConfiguration !== null
|
|
2218
2218
|
? deserializeAws_restJson1DestinationConfiguration(output.destinationConfiguration, context)
|
|
2219
2219
|
: undefined,
|
|
2220
|
-
name: smithy_client_1.expectString(output.name),
|
|
2221
|
-
state: smithy_client_1.expectString(output.state),
|
|
2220
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2221
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2222
2222
|
tags: output.tags !== undefined && output.tags !== null
|
|
2223
2223
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2224
2224
|
: undefined,
|
|
@@ -2240,12 +2240,12 @@ const deserializeAws_restJson1RecordingConfigurationList = (output, context) =>
|
|
|
2240
2240
|
};
|
|
2241
2241
|
const deserializeAws_restJson1RecordingConfigurationSummary = (output, context) => {
|
|
2242
2242
|
return {
|
|
2243
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2243
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2244
2244
|
destinationConfiguration: output.destinationConfiguration !== undefined && output.destinationConfiguration !== null
|
|
2245
2245
|
? deserializeAws_restJson1DestinationConfiguration(output.destinationConfiguration, context)
|
|
2246
2246
|
: undefined,
|
|
2247
|
-
name: smithy_client_1.expectString(output.name),
|
|
2248
|
-
state: smithy_client_1.expectString(output.state),
|
|
2247
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2248
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2249
2249
|
tags: output.tags !== undefined && output.tags !== null
|
|
2250
2250
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2251
2251
|
: undefined,
|
|
@@ -2253,29 +2253,29 @@ const deserializeAws_restJson1RecordingConfigurationSummary = (output, context)
|
|
|
2253
2253
|
};
|
|
2254
2254
|
const deserializeAws_restJson1S3DestinationConfiguration = (output, context) => {
|
|
2255
2255
|
return {
|
|
2256
|
-
bucketName: smithy_client_1.expectString(output.bucketName),
|
|
2256
|
+
bucketName: (0, smithy_client_1.expectString)(output.bucketName),
|
|
2257
2257
|
};
|
|
2258
2258
|
};
|
|
2259
2259
|
const deserializeAws_restJson1_Stream = (output, context) => {
|
|
2260
2260
|
return {
|
|
2261
|
-
channelArn: smithy_client_1.expectString(output.channelArn),
|
|
2262
|
-
health: smithy_client_1.expectString(output.health),
|
|
2263
|
-
playbackUrl: smithy_client_1.expectString(output.playbackUrl),
|
|
2261
|
+
channelArn: (0, smithy_client_1.expectString)(output.channelArn),
|
|
2262
|
+
health: (0, smithy_client_1.expectString)(output.health),
|
|
2263
|
+
playbackUrl: (0, smithy_client_1.expectString)(output.playbackUrl),
|
|
2264
2264
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2265
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2265
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime))
|
|
2266
2266
|
: undefined,
|
|
2267
|
-
state: smithy_client_1.expectString(output.state),
|
|
2268
|
-
streamId: smithy_client_1.expectString(output.streamId),
|
|
2269
|
-
viewerCount: smithy_client_1.expectLong(output.viewerCount),
|
|
2267
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2268
|
+
streamId: (0, smithy_client_1.expectString)(output.streamId),
|
|
2269
|
+
viewerCount: (0, smithy_client_1.expectLong)(output.viewerCount),
|
|
2270
2270
|
};
|
|
2271
2271
|
};
|
|
2272
2272
|
const deserializeAws_restJson1StreamEvent = (output, context) => {
|
|
2273
2273
|
return {
|
|
2274
2274
|
eventTime: output.eventTime !== undefined && output.eventTime !== null
|
|
2275
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.eventTime))
|
|
2275
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.eventTime))
|
|
2276
2276
|
: undefined,
|
|
2277
|
-
name: smithy_client_1.expectString(output.name),
|
|
2278
|
-
type: smithy_client_1.expectString(output.type),
|
|
2277
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2278
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2279
2279
|
};
|
|
2280
2280
|
};
|
|
2281
2281
|
const deserializeAws_restJson1StreamEvents = (output, context) => {
|
|
@@ -2291,12 +2291,12 @@ const deserializeAws_restJson1StreamEvents = (output, context) => {
|
|
|
2291
2291
|
};
|
|
2292
2292
|
const deserializeAws_restJson1StreamKey = (output, context) => {
|
|
2293
2293
|
return {
|
|
2294
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2295
|
-
channelArn: smithy_client_1.expectString(output.channelArn),
|
|
2294
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2295
|
+
channelArn: (0, smithy_client_1.expectString)(output.channelArn),
|
|
2296
2296
|
tags: output.tags !== undefined && output.tags !== null
|
|
2297
2297
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2298
2298
|
: undefined,
|
|
2299
|
-
value: smithy_client_1.expectString(output.value),
|
|
2299
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
2300
2300
|
};
|
|
2301
2301
|
};
|
|
2302
2302
|
const deserializeAws_restJson1StreamKeyList = (output, context) => {
|
|
@@ -2323,8 +2323,8 @@ const deserializeAws_restJson1StreamKeys = (output, context) => {
|
|
|
2323
2323
|
};
|
|
2324
2324
|
const deserializeAws_restJson1StreamKeySummary = (output, context) => {
|
|
2325
2325
|
return {
|
|
2326
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2327
|
-
channelArn: smithy_client_1.expectString(output.channelArn),
|
|
2326
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2327
|
+
channelArn: (0, smithy_client_1.expectString)(output.channelArn),
|
|
2328
2328
|
tags: output.tags !== undefined && output.tags !== null
|
|
2329
2329
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2330
2330
|
: undefined,
|
|
@@ -2347,7 +2347,7 @@ const deserializeAws_restJson1StreamSession = (output, context) => {
|
|
|
2347
2347
|
? deserializeAws_restJson1Channel(output.channel, context)
|
|
2348
2348
|
: undefined,
|
|
2349
2349
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2350
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.endTime))
|
|
2350
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime))
|
|
2351
2351
|
: undefined,
|
|
2352
2352
|
ingestConfiguration: output.ingestConfiguration !== undefined && output.ingestConfiguration !== null
|
|
2353
2353
|
? deserializeAws_restJson1IngestConfiguration(output.ingestConfiguration, context)
|
|
@@ -2356,9 +2356,9 @@ const deserializeAws_restJson1StreamSession = (output, context) => {
|
|
|
2356
2356
|
? deserializeAws_restJson1RecordingConfiguration(output.recordingConfiguration, context)
|
|
2357
2357
|
: undefined,
|
|
2358
2358
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2359
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2359
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime))
|
|
2360
2360
|
: undefined,
|
|
2361
|
-
streamId: smithy_client_1.expectString(output.streamId),
|
|
2361
|
+
streamId: (0, smithy_client_1.expectString)(output.streamId),
|
|
2362
2362
|
truncatedEvents: output.truncatedEvents !== undefined && output.truncatedEvents !== null
|
|
2363
2363
|
? deserializeAws_restJson1StreamEvents(output.truncatedEvents, context)
|
|
2364
2364
|
: undefined,
|
|
@@ -2378,25 +2378,25 @@ const deserializeAws_restJson1StreamSessionList = (output, context) => {
|
|
|
2378
2378
|
const deserializeAws_restJson1StreamSessionSummary = (output, context) => {
|
|
2379
2379
|
return {
|
|
2380
2380
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2381
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.endTime))
|
|
2381
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime))
|
|
2382
2382
|
: undefined,
|
|
2383
|
-
hasErrorEvent: smithy_client_1.expectBoolean(output.hasErrorEvent),
|
|
2383
|
+
hasErrorEvent: (0, smithy_client_1.expectBoolean)(output.hasErrorEvent),
|
|
2384
2384
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2385
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2385
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime))
|
|
2386
2386
|
: undefined,
|
|
2387
|
-
streamId: smithy_client_1.expectString(output.streamId),
|
|
2387
|
+
streamId: (0, smithy_client_1.expectString)(output.streamId),
|
|
2388
2388
|
};
|
|
2389
2389
|
};
|
|
2390
2390
|
const deserializeAws_restJson1StreamSummary = (output, context) => {
|
|
2391
2391
|
return {
|
|
2392
|
-
channelArn: smithy_client_1.expectString(output.channelArn),
|
|
2393
|
-
health: smithy_client_1.expectString(output.health),
|
|
2392
|
+
channelArn: (0, smithy_client_1.expectString)(output.channelArn),
|
|
2393
|
+
health: (0, smithy_client_1.expectString)(output.health),
|
|
2394
2394
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2395
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2395
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime))
|
|
2396
2396
|
: undefined,
|
|
2397
|
-
state: smithy_client_1.expectString(output.state),
|
|
2398
|
-
streamId: smithy_client_1.expectString(output.streamId),
|
|
2399
|
-
viewerCount: smithy_client_1.expectLong(output.viewerCount),
|
|
2397
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2398
|
+
streamId: (0, smithy_client_1.expectString)(output.streamId),
|
|
2399
|
+
viewerCount: (0, smithy_client_1.expectLong)(output.viewerCount),
|
|
2400
2400
|
};
|
|
2401
2401
|
};
|
|
2402
2402
|
const deserializeAws_restJson1Tags = (output, context) => {
|
|
@@ -2406,26 +2406,26 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
2406
2406
|
}
|
|
2407
2407
|
return {
|
|
2408
2408
|
...acc,
|
|
2409
|
-
[key]: smithy_client_1.expectString(value),
|
|
2409
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2410
2410
|
};
|
|
2411
2411
|
}, {});
|
|
2412
2412
|
};
|
|
2413
2413
|
const deserializeAws_restJson1ThumbnailConfiguration = (output, context) => {
|
|
2414
2414
|
return {
|
|
2415
|
-
recordingMode: smithy_client_1.expectString(output.recordingMode),
|
|
2416
|
-
targetIntervalSeconds: smithy_client_1.expectLong(output.targetIntervalSeconds),
|
|
2415
|
+
recordingMode: (0, smithy_client_1.expectString)(output.recordingMode),
|
|
2416
|
+
targetIntervalSeconds: (0, smithy_client_1.expectLong)(output.targetIntervalSeconds),
|
|
2417
2417
|
};
|
|
2418
2418
|
};
|
|
2419
2419
|
const deserializeAws_restJson1VideoConfiguration = (output, context) => {
|
|
2420
2420
|
return {
|
|
2421
|
-
avcLevel: smithy_client_1.expectString(output.avcLevel),
|
|
2422
|
-
avcProfile: smithy_client_1.expectString(output.avcProfile),
|
|
2423
|
-
codec: smithy_client_1.expectString(output.codec),
|
|
2424
|
-
encoder: smithy_client_1.expectString(output.encoder),
|
|
2425
|
-
targetBitrate: smithy_client_1.expectLong(output.targetBitrate),
|
|
2426
|
-
targetFramerate: smithy_client_1.expectLong(output.targetFramerate),
|
|
2427
|
-
videoHeight: smithy_client_1.expectLong(output.videoHeight),
|
|
2428
|
-
videoWidth: smithy_client_1.expectLong(output.videoWidth),
|
|
2421
|
+
avcLevel: (0, smithy_client_1.expectString)(output.avcLevel),
|
|
2422
|
+
avcProfile: (0, smithy_client_1.expectString)(output.avcProfile),
|
|
2423
|
+
codec: (0, smithy_client_1.expectString)(output.codec),
|
|
2424
|
+
encoder: (0, smithy_client_1.expectString)(output.encoder),
|
|
2425
|
+
targetBitrate: (0, smithy_client_1.expectLong)(output.targetBitrate),
|
|
2426
|
+
targetFramerate: (0, smithy_client_1.expectLong)(output.targetFramerate),
|
|
2427
|
+
videoHeight: (0, smithy_client_1.expectLong)(output.videoHeight),
|
|
2428
|
+
videoWidth: (0, smithy_client_1.expectLong)(output.videoWidth),
|
|
2429
2429
|
};
|
|
2430
2430
|
};
|
|
2431
2431
|
const deserializeMetadata = (output) => {
|