@aws-sdk/client-medialive 3.31.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 +8 -0
- package/dist/cjs/MediaLiveClient.js +13 -13
- package/dist/cjs/MediaLiveClient.js.map +1 -1
- package/dist/cjs/commands/AcceptInputDeviceTransferCommand.js +3 -3
- package/dist/cjs/commands/AcceptInputDeviceTransferCommand.js.map +1 -1
- package/dist/cjs/commands/BatchDeleteCommand.js +3 -3
- package/dist/cjs/commands/BatchDeleteCommand.js.map +1 -1
- package/dist/cjs/commands/BatchStartCommand.js +3 -3
- package/dist/cjs/commands/BatchStartCommand.js.map +1 -1
- package/dist/cjs/commands/BatchStopCommand.js +3 -3
- package/dist/cjs/commands/BatchStopCommand.js.map +1 -1
- package/dist/cjs/commands/BatchUpdateScheduleCommand.js +3 -3
- package/dist/cjs/commands/BatchUpdateScheduleCommand.js.map +1 -1
- package/dist/cjs/commands/CancelInputDeviceTransferCommand.js +3 -3
- package/dist/cjs/commands/CancelInputDeviceTransferCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChannelCommand.js +3 -3
- package/dist/cjs/commands/CreateChannelCommand.js.map +1 -1
- package/dist/cjs/commands/CreateInputCommand.js +3 -3
- package/dist/cjs/commands/CreateInputCommand.js.map +1 -1
- package/dist/cjs/commands/CreateInputSecurityGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateInputSecurityGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMultiplexCommand.js +3 -3
- package/dist/cjs/commands/CreateMultiplexCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMultiplexProgramCommand.js +3 -3
- package/dist/cjs/commands/CreateMultiplexProgramCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePartnerInputCommand.js +3 -3
- package/dist/cjs/commands/CreatePartnerInputCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTagsCommand.js +3 -3
- package/dist/cjs/commands/CreateTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteInputCommand.js +3 -3
- package/dist/cjs/commands/DeleteInputCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteInputSecurityGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteInputSecurityGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMultiplexCommand.js +3 -3
- package/dist/cjs/commands/DeleteMultiplexCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMultiplexProgramCommand.js +3 -3
- package/dist/cjs/commands/DeleteMultiplexProgramCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteReservationCommand.js +3 -3
- package/dist/cjs/commands/DeleteReservationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteScheduleCommand.js +3 -3
- package/dist/cjs/commands/DeleteScheduleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist/cjs/commands/DeleteTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInputCommand.js +3 -3
- package/dist/cjs/commands/DescribeInputCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInputDeviceCommand.js +3 -3
- package/dist/cjs/commands/DescribeInputDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInputDeviceThumbnailCommand.js +3 -3
- package/dist/cjs/commands/DescribeInputDeviceThumbnailCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInputSecurityGroupCommand.js +3 -3
- package/dist/cjs/commands/DescribeInputSecurityGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeMultiplexCommand.js +3 -3
- package/dist/cjs/commands/DescribeMultiplexCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeMultiplexProgramCommand.js +3 -3
- package/dist/cjs/commands/DescribeMultiplexProgramCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeOfferingCommand.js +3 -3
- package/dist/cjs/commands/DescribeOfferingCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeReservationCommand.js +3 -3
- package/dist/cjs/commands/DescribeReservationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeScheduleCommand.js +3 -3
- package/dist/cjs/commands/DescribeScheduleCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelsCommand.js +3 -3
- package/dist/cjs/commands/ListChannelsCommand.js.map +1 -1
- package/dist/cjs/commands/ListInputDeviceTransfersCommand.js +3 -3
- package/dist/cjs/commands/ListInputDeviceTransfersCommand.js.map +1 -1
- package/dist/cjs/commands/ListInputDevicesCommand.js +3 -3
- package/dist/cjs/commands/ListInputDevicesCommand.js.map +1 -1
- package/dist/cjs/commands/ListInputSecurityGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListInputSecurityGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListInputsCommand.js +3 -3
- package/dist/cjs/commands/ListInputsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMultiplexProgramsCommand.js +3 -3
- package/dist/cjs/commands/ListMultiplexProgramsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMultiplexesCommand.js +3 -3
- package/dist/cjs/commands/ListMultiplexesCommand.js.map +1 -1
- package/dist/cjs/commands/ListOfferingsCommand.js +3 -3
- package/dist/cjs/commands/ListOfferingsCommand.js.map +1 -1
- package/dist/cjs/commands/ListReservationsCommand.js +3 -3
- package/dist/cjs/commands/ListReservationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PurchaseOfferingCommand.js +3 -3
- package/dist/cjs/commands/PurchaseOfferingCommand.js.map +1 -1
- package/dist/cjs/commands/RejectInputDeviceTransferCommand.js +3 -3
- package/dist/cjs/commands/RejectInputDeviceTransferCommand.js.map +1 -1
- package/dist/cjs/commands/StartChannelCommand.js +3 -3
- package/dist/cjs/commands/StartChannelCommand.js.map +1 -1
- package/dist/cjs/commands/StartMultiplexCommand.js +3 -3
- package/dist/cjs/commands/StartMultiplexCommand.js.map +1 -1
- package/dist/cjs/commands/StopChannelCommand.js +3 -3
- package/dist/cjs/commands/StopChannelCommand.js.map +1 -1
- package/dist/cjs/commands/StopMultiplexCommand.js +3 -3
- package/dist/cjs/commands/StopMultiplexCommand.js.map +1 -1
- package/dist/cjs/commands/TransferInputDeviceCommand.js +3 -3
- package/dist/cjs/commands/TransferInputDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateChannelClassCommand.js +3 -3
- package/dist/cjs/commands/UpdateChannelClassCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist/cjs/commands/UpdateChannelCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateInputCommand.js +3 -3
- package/dist/cjs/commands/UpdateInputCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateInputDeviceCommand.js +3 -3
- package/dist/cjs/commands/UpdateInputDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateInputSecurityGroupCommand.js +3 -3
- package/dist/cjs/commands/UpdateInputSecurityGroupCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMultiplexCommand.js +3 -3
- package/dist/cjs/commands/UpdateMultiplexCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMultiplexProgramCommand.js +3 -3
- package/dist/cjs/commands/UpdateMultiplexProgramCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateReservationCommand.js +3 -3
- package/dist/cjs/commands/UpdateReservationCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +81 -81
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +2 -2
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_restJson1.js +954 -954
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForChannelCreated.js +3 -3
- package/dist/cjs/waiters/waitForChannelCreated.js.map +1 -1
- package/dist/cjs/waiters/waitForChannelDeleted.js +3 -3
- package/dist/cjs/waiters/waitForChannelDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForChannelRunning.js +3 -3
- package/dist/cjs/waiters/waitForChannelRunning.js.map +1 -1
- package/dist/cjs/waiters/waitForChannelStopped.js +3 -3
- package/dist/cjs/waiters/waitForChannelStopped.js.map +1 -1
- package/dist/cjs/waiters/waitForInputAttached.js +3 -3
- package/dist/cjs/waiters/waitForInputAttached.js.map +1 -1
- package/dist/cjs/waiters/waitForInputDeleted.js +3 -3
- package/dist/cjs/waiters/waitForInputDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForInputDetached.js +3 -3
- package/dist/cjs/waiters/waitForInputDetached.js.map +1 -1
- package/dist/cjs/waiters/waitForMultiplexCreated.js +3 -3
- package/dist/cjs/waiters/waitForMultiplexCreated.js.map +1 -1
- package/dist/cjs/waiters/waitForMultiplexDeleted.js +3 -3
- package/dist/cjs/waiters/waitForMultiplexDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForMultiplexRunning.js +3 -3
- package/dist/cjs/waiters/waitForMultiplexRunning.js.map +1 -1
- package/dist/cjs/waiters/waitForMultiplexStopped.js +3 -3
- package/dist/cjs/waiters/waitForMultiplexStopped.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/DescribeSchedulePaginator.js +4 -4
- package/dist/es/pagination/DescribeSchedulePaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelsPaginator.js +4 -4
- package/dist/es/pagination/ListChannelsPaginator.js.map +1 -1
- package/dist/es/pagination/ListInputDeviceTransfersPaginator.js +4 -4
- package/dist/es/pagination/ListInputDeviceTransfersPaginator.js.map +1 -1
- package/dist/es/pagination/ListInputDevicesPaginator.js +4 -4
- package/dist/es/pagination/ListInputDevicesPaginator.js.map +1 -1
- package/dist/es/pagination/ListInputSecurityGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListInputSecurityGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListInputsPaginator.js +4 -4
- package/dist/es/pagination/ListInputsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMultiplexProgramsPaginator.js +4 -4
- package/dist/es/pagination/ListMultiplexProgramsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMultiplexesPaginator.js +4 -4
- package/dist/es/pagination/ListMultiplexesPaginator.js.map +1 -1
- package/dist/es/pagination/ListOfferingsPaginator.js +4 -4
- package/dist/es/pagination/ListOfferingsPaginator.js.map +1 -1
- package/dist/es/pagination/ListReservationsPaginator.js +4 -4
- package/dist/es/pagination/ListReservationsPaginator.js.map +1 -1
- package/package.json +32 -32
- package/tsconfig.json +1 -2
|
@@ -15,7 +15,7 @@ const serializeAws_restJson1AcceptInputDeviceTransferCommand = async (input, con
|
|
|
15
15
|
if (labelValue.length <= 0) {
|
|
16
16
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
17
17
|
}
|
|
18
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}",
|
|
18
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
19
19
|
}
|
|
20
20
|
else {
|
|
21
21
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -127,7 +127,7 @@ const serializeAws_restJson1BatchUpdateScheduleCommand = async (input, context)
|
|
|
127
127
|
if (labelValue.length <= 0) {
|
|
128
128
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
129
129
|
}
|
|
130
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
130
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
131
131
|
}
|
|
132
132
|
else {
|
|
133
133
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -163,7 +163,7 @@ const serializeAws_restJson1CancelInputDeviceTransferCommand = async (input, con
|
|
|
163
163
|
if (labelValue.length <= 0) {
|
|
164
164
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
165
165
|
}
|
|
166
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}",
|
|
166
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
167
167
|
}
|
|
168
168
|
else {
|
|
169
169
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -212,7 +212,7 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
|
|
|
212
212
|
}),
|
|
213
213
|
...(input.LogLevel !== undefined && input.LogLevel !== null && { logLevel: input.LogLevel }),
|
|
214
214
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
215
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a :
|
|
215
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
216
216
|
...(input.Reserved !== undefined && input.Reserved !== null && { reserved: input.Reserved }),
|
|
217
217
|
...(input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn }),
|
|
218
218
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
@@ -256,7 +256,7 @@ const serializeAws_restJson1CreateInputCommand = async (input, context) => {
|
|
|
256
256
|
mediaConnectFlows: serializeAws_restJson1__listOfMediaConnectFlowRequest(input.MediaConnectFlows, context),
|
|
257
257
|
}),
|
|
258
258
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
259
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a :
|
|
259
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
260
260
|
...(input.RoleArn !== undefined && input.RoleArn !== null && { roleArn: input.RoleArn }),
|
|
261
261
|
...(input.Sources !== undefined &&
|
|
262
262
|
input.Sources !== null && { sources: serializeAws_restJson1__listOfInputSourceRequest(input.Sources, context) }),
|
|
@@ -319,7 +319,7 @@ const serializeAws_restJson1CreateMultiplexCommand = async (input, context) => {
|
|
|
319
319
|
multiplexSettings: serializeAws_restJson1MultiplexSettings(input.MultiplexSettings, context),
|
|
320
320
|
}),
|
|
321
321
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
322
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a :
|
|
322
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
323
323
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
324
324
|
});
|
|
325
325
|
return new protocol_http_1.HttpRequest({
|
|
@@ -345,7 +345,7 @@ const serializeAws_restJson1CreateMultiplexProgramCommand = async (input, contex
|
|
|
345
345
|
if (labelValue.length <= 0) {
|
|
346
346
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
347
347
|
}
|
|
348
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
348
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
349
349
|
}
|
|
350
350
|
else {
|
|
351
351
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -357,7 +357,7 @@ const serializeAws_restJson1CreateMultiplexProgramCommand = async (input, contex
|
|
|
357
357
|
multiplexProgramSettings: serializeAws_restJson1MultiplexProgramSettings(input.MultiplexProgramSettings, context),
|
|
358
358
|
}),
|
|
359
359
|
...(input.ProgramName !== undefined && input.ProgramName !== null && { programName: input.ProgramName }),
|
|
360
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a :
|
|
360
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
361
361
|
});
|
|
362
362
|
return new protocol_http_1.HttpRequest({
|
|
363
363
|
protocol,
|
|
@@ -382,14 +382,14 @@ const serializeAws_restJson1CreatePartnerInputCommand = async (input, context) =
|
|
|
382
382
|
if (labelValue.length <= 0) {
|
|
383
383
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
384
384
|
}
|
|
385
|
-
resolvedPath = resolvedPath.replace("{InputId}",
|
|
385
|
+
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
386
386
|
}
|
|
387
387
|
else {
|
|
388
388
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
389
389
|
}
|
|
390
390
|
let body;
|
|
391
391
|
body = JSON.stringify({
|
|
392
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a :
|
|
392
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
393
393
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
394
394
|
});
|
|
395
395
|
return new protocol_http_1.HttpRequest({
|
|
@@ -414,7 +414,7 @@ const serializeAws_restJson1CreateTagsCommand = async (input, context) => {
|
|
|
414
414
|
if (labelValue.length <= 0) {
|
|
415
415
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
416
416
|
}
|
|
417
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
417
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
418
418
|
}
|
|
419
419
|
else {
|
|
420
420
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -443,7 +443,7 @@ const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
|
|
|
443
443
|
if (labelValue.length <= 0) {
|
|
444
444
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
445
445
|
}
|
|
446
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
446
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
447
447
|
}
|
|
448
448
|
else {
|
|
449
449
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -469,7 +469,7 @@ const serializeAws_restJson1DeleteInputCommand = async (input, context) => {
|
|
|
469
469
|
if (labelValue.length <= 0) {
|
|
470
470
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
471
471
|
}
|
|
472
|
-
resolvedPath = resolvedPath.replace("{InputId}",
|
|
472
|
+
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
473
473
|
}
|
|
474
474
|
else {
|
|
475
475
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
@@ -496,7 +496,7 @@ const serializeAws_restJson1DeleteInputSecurityGroupCommand = async (input, cont
|
|
|
496
496
|
if (labelValue.length <= 0) {
|
|
497
497
|
throw new Error("Empty value provided for input HTTP label: InputSecurityGroupId.");
|
|
498
498
|
}
|
|
499
|
-
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}",
|
|
499
|
+
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
500
500
|
}
|
|
501
501
|
else {
|
|
502
502
|
throw new Error("No value provided for input HTTP label: InputSecurityGroupId.");
|
|
@@ -522,7 +522,7 @@ const serializeAws_restJson1DeleteMultiplexCommand = async (input, context) => {
|
|
|
522
522
|
if (labelValue.length <= 0) {
|
|
523
523
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
524
524
|
}
|
|
525
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
525
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
526
526
|
}
|
|
527
527
|
else {
|
|
528
528
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -549,7 +549,7 @@ const serializeAws_restJson1DeleteMultiplexProgramCommand = async (input, contex
|
|
|
549
549
|
if (labelValue.length <= 0) {
|
|
550
550
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
551
551
|
}
|
|
552
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
552
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
553
553
|
}
|
|
554
554
|
else {
|
|
555
555
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -559,7 +559,7 @@ const serializeAws_restJson1DeleteMultiplexProgramCommand = async (input, contex
|
|
|
559
559
|
if (labelValue.length <= 0) {
|
|
560
560
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
561
561
|
}
|
|
562
|
-
resolvedPath = resolvedPath.replace("{ProgramName}",
|
|
562
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
563
563
|
}
|
|
564
564
|
else {
|
|
565
565
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -585,7 +585,7 @@ const serializeAws_restJson1DeleteReservationCommand = async (input, context) =>
|
|
|
585
585
|
if (labelValue.length <= 0) {
|
|
586
586
|
throw new Error("Empty value provided for input HTTP label: ReservationId.");
|
|
587
587
|
}
|
|
588
|
-
resolvedPath = resolvedPath.replace("{ReservationId}",
|
|
588
|
+
resolvedPath = resolvedPath.replace("{ReservationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
589
589
|
}
|
|
590
590
|
else {
|
|
591
591
|
throw new Error("No value provided for input HTTP label: ReservationId.");
|
|
@@ -611,7 +611,7 @@ const serializeAws_restJson1DeleteScheduleCommand = async (input, context) => {
|
|
|
611
611
|
if (labelValue.length <= 0) {
|
|
612
612
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
613
613
|
}
|
|
614
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
614
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
615
615
|
}
|
|
616
616
|
else {
|
|
617
617
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -637,7 +637,7 @@ const serializeAws_restJson1DeleteTagsCommand = async (input, context) => {
|
|
|
637
637
|
if (labelValue.length <= 0) {
|
|
638
638
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
639
639
|
}
|
|
640
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
640
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
641
641
|
}
|
|
642
642
|
else {
|
|
643
643
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -667,7 +667,7 @@ const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
|
|
|
667
667
|
if (labelValue.length <= 0) {
|
|
668
668
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
669
669
|
}
|
|
670
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
670
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
671
671
|
}
|
|
672
672
|
else {
|
|
673
673
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -693,7 +693,7 @@ const serializeAws_restJson1DescribeInputCommand = async (input, context) => {
|
|
|
693
693
|
if (labelValue.length <= 0) {
|
|
694
694
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
695
695
|
}
|
|
696
|
-
resolvedPath = resolvedPath.replace("{InputId}",
|
|
696
|
+
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
697
697
|
}
|
|
698
698
|
else {
|
|
699
699
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
@@ -719,7 +719,7 @@ const serializeAws_restJson1DescribeInputDeviceCommand = async (input, context)
|
|
|
719
719
|
if (labelValue.length <= 0) {
|
|
720
720
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
721
721
|
}
|
|
722
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}",
|
|
722
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
723
723
|
}
|
|
724
724
|
else {
|
|
725
725
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -748,7 +748,7 @@ const serializeAws_restJson1DescribeInputDeviceThumbnailCommand = async (input,
|
|
|
748
748
|
if (labelValue.length <= 0) {
|
|
749
749
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
750
750
|
}
|
|
751
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}",
|
|
751
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
752
752
|
}
|
|
753
753
|
else {
|
|
754
754
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -775,7 +775,7 @@ const serializeAws_restJson1DescribeInputSecurityGroupCommand = async (input, co
|
|
|
775
775
|
if (labelValue.length <= 0) {
|
|
776
776
|
throw new Error("Empty value provided for input HTTP label: InputSecurityGroupId.");
|
|
777
777
|
}
|
|
778
|
-
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}",
|
|
778
|
+
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
779
779
|
}
|
|
780
780
|
else {
|
|
781
781
|
throw new Error("No value provided for input HTTP label: InputSecurityGroupId.");
|
|
@@ -801,7 +801,7 @@ const serializeAws_restJson1DescribeMultiplexCommand = async (input, context) =>
|
|
|
801
801
|
if (labelValue.length <= 0) {
|
|
802
802
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
803
803
|
}
|
|
804
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
804
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
805
805
|
}
|
|
806
806
|
else {
|
|
807
807
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -828,7 +828,7 @@ const serializeAws_restJson1DescribeMultiplexProgramCommand = async (input, cont
|
|
|
828
828
|
if (labelValue.length <= 0) {
|
|
829
829
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
830
830
|
}
|
|
831
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
831
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
832
832
|
}
|
|
833
833
|
else {
|
|
834
834
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -838,7 +838,7 @@ const serializeAws_restJson1DescribeMultiplexProgramCommand = async (input, cont
|
|
|
838
838
|
if (labelValue.length <= 0) {
|
|
839
839
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
840
840
|
}
|
|
841
|
-
resolvedPath = resolvedPath.replace("{ProgramName}",
|
|
841
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
842
842
|
}
|
|
843
843
|
else {
|
|
844
844
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -864,7 +864,7 @@ const serializeAws_restJson1DescribeOfferingCommand = async (input, context) =>
|
|
|
864
864
|
if (labelValue.length <= 0) {
|
|
865
865
|
throw new Error("Empty value provided for input HTTP label: OfferingId.");
|
|
866
866
|
}
|
|
867
|
-
resolvedPath = resolvedPath.replace("{OfferingId}",
|
|
867
|
+
resolvedPath = resolvedPath.replace("{OfferingId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
868
868
|
}
|
|
869
869
|
else {
|
|
870
870
|
throw new Error("No value provided for input HTTP label: OfferingId.");
|
|
@@ -890,7 +890,7 @@ const serializeAws_restJson1DescribeReservationCommand = async (input, context)
|
|
|
890
890
|
if (labelValue.length <= 0) {
|
|
891
891
|
throw new Error("Empty value provided for input HTTP label: ReservationId.");
|
|
892
892
|
}
|
|
893
|
-
resolvedPath = resolvedPath.replace("{ReservationId}",
|
|
893
|
+
resolvedPath = resolvedPath.replace("{ReservationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
894
894
|
}
|
|
895
895
|
else {
|
|
896
896
|
throw new Error("No value provided for input HTTP label: ReservationId.");
|
|
@@ -916,7 +916,7 @@ const serializeAws_restJson1DescribeScheduleCommand = async (input, context) =>
|
|
|
916
916
|
if (labelValue.length <= 0) {
|
|
917
917
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
918
918
|
}
|
|
919
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
919
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
920
920
|
}
|
|
921
921
|
else {
|
|
922
922
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1074,7 +1074,7 @@ const serializeAws_restJson1ListMultiplexProgramsCommand = async (input, context
|
|
|
1074
1074
|
if (labelValue.length <= 0) {
|
|
1075
1075
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1076
1076
|
}
|
|
1077
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
1077
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1078
1078
|
}
|
|
1079
1079
|
else {
|
|
1080
1080
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1165,7 +1165,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
1165
1165
|
if (labelValue.length <= 0) {
|
|
1166
1166
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
1167
1167
|
}
|
|
1168
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}",
|
|
1168
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1169
1169
|
}
|
|
1170
1170
|
else {
|
|
1171
1171
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1194,7 +1194,7 @@ const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) =>
|
|
|
1194
1194
|
if (labelValue.length <= 0) {
|
|
1195
1195
|
throw new Error("Empty value provided for input HTTP label: OfferingId.");
|
|
1196
1196
|
}
|
|
1197
|
-
resolvedPath = resolvedPath.replace("{OfferingId}",
|
|
1197
|
+
resolvedPath = resolvedPath.replace("{OfferingId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1198
1198
|
}
|
|
1199
1199
|
else {
|
|
1200
1200
|
throw new Error("No value provided for input HTTP label: OfferingId.");
|
|
@@ -1203,7 +1203,7 @@ const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) =>
|
|
|
1203
1203
|
body = JSON.stringify({
|
|
1204
1204
|
...(input.Count !== undefined && input.Count !== null && { count: input.Count }),
|
|
1205
1205
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
1206
|
-
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a :
|
|
1206
|
+
requestId: (_a = input.RequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1207
1207
|
...(input.Start !== undefined && input.Start !== null && { start: input.Start }),
|
|
1208
1208
|
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
1209
1209
|
});
|
|
@@ -1227,7 +1227,7 @@ const serializeAws_restJson1RejectInputDeviceTransferCommand = async (input, con
|
|
|
1227
1227
|
if (labelValue.length <= 0) {
|
|
1228
1228
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1229
1229
|
}
|
|
1230
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}",
|
|
1230
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1231
1231
|
}
|
|
1232
1232
|
else {
|
|
1233
1233
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -1253,7 +1253,7 @@ const serializeAws_restJson1StartChannelCommand = async (input, context) => {
|
|
|
1253
1253
|
if (labelValue.length <= 0) {
|
|
1254
1254
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1255
1255
|
}
|
|
1256
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
1256
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1257
1257
|
}
|
|
1258
1258
|
else {
|
|
1259
1259
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1279,7 +1279,7 @@ const serializeAws_restJson1StartMultiplexCommand = async (input, context) => {
|
|
|
1279
1279
|
if (labelValue.length <= 0) {
|
|
1280
1280
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1281
1281
|
}
|
|
1282
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
1282
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1283
1283
|
}
|
|
1284
1284
|
else {
|
|
1285
1285
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1305,7 +1305,7 @@ const serializeAws_restJson1StopChannelCommand = async (input, context) => {
|
|
|
1305
1305
|
if (labelValue.length <= 0) {
|
|
1306
1306
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1307
1307
|
}
|
|
1308
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
1308
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1309
1309
|
}
|
|
1310
1310
|
else {
|
|
1311
1311
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1331,7 +1331,7 @@ const serializeAws_restJson1StopMultiplexCommand = async (input, context) => {
|
|
|
1331
1331
|
if (labelValue.length <= 0) {
|
|
1332
1332
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1333
1333
|
}
|
|
1334
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
1334
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1335
1335
|
}
|
|
1336
1336
|
else {
|
|
1337
1337
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1360,7 +1360,7 @@ const serializeAws_restJson1TransferInputDeviceCommand = async (input, context)
|
|
|
1360
1360
|
if (labelValue.length <= 0) {
|
|
1361
1361
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1362
1362
|
}
|
|
1363
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}",
|
|
1363
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1364
1364
|
}
|
|
1365
1365
|
else {
|
|
1366
1366
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -1395,7 +1395,7 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
|
|
|
1395
1395
|
if (labelValue.length <= 0) {
|
|
1396
1396
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1397
1397
|
}
|
|
1398
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
1398
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1399
1399
|
}
|
|
1400
1400
|
else {
|
|
1401
1401
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1448,7 +1448,7 @@ const serializeAws_restJson1UpdateChannelClassCommand = async (input, context) =
|
|
|
1448
1448
|
if (labelValue.length <= 0) {
|
|
1449
1449
|
throw new Error("Empty value provided for input HTTP label: ChannelId.");
|
|
1450
1450
|
}
|
|
1451
|
-
resolvedPath = resolvedPath.replace("{ChannelId}",
|
|
1451
|
+
resolvedPath = resolvedPath.replace("{ChannelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1452
1452
|
}
|
|
1453
1453
|
else {
|
|
1454
1454
|
throw new Error("No value provided for input HTTP label: ChannelId.");
|
|
@@ -1483,7 +1483,7 @@ const serializeAws_restJson1UpdateInputCommand = async (input, context) => {
|
|
|
1483
1483
|
if (labelValue.length <= 0) {
|
|
1484
1484
|
throw new Error("Empty value provided for input HTTP label: InputId.");
|
|
1485
1485
|
}
|
|
1486
|
-
resolvedPath = resolvedPath.replace("{InputId}",
|
|
1486
|
+
resolvedPath = resolvedPath.replace("{InputId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1487
1487
|
}
|
|
1488
1488
|
else {
|
|
1489
1489
|
throw new Error("No value provided for input HTTP label: InputId.");
|
|
@@ -1533,7 +1533,7 @@ const serializeAws_restJson1UpdateInputDeviceCommand = async (input, context) =>
|
|
|
1533
1533
|
if (labelValue.length <= 0) {
|
|
1534
1534
|
throw new Error("Empty value provided for input HTTP label: InputDeviceId.");
|
|
1535
1535
|
}
|
|
1536
|
-
resolvedPath = resolvedPath.replace("{InputDeviceId}",
|
|
1536
|
+
resolvedPath = resolvedPath.replace("{InputDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1537
1537
|
}
|
|
1538
1538
|
else {
|
|
1539
1539
|
throw new Error("No value provided for input HTTP label: InputDeviceId.");
|
|
@@ -1573,7 +1573,7 @@ const serializeAws_restJson1UpdateInputSecurityGroupCommand = async (input, cont
|
|
|
1573
1573
|
if (labelValue.length <= 0) {
|
|
1574
1574
|
throw new Error("Empty value provided for input HTTP label: InputSecurityGroupId.");
|
|
1575
1575
|
}
|
|
1576
|
-
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}",
|
|
1576
|
+
resolvedPath = resolvedPath.replace("{InputSecurityGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1577
1577
|
}
|
|
1578
1578
|
else {
|
|
1579
1579
|
throw new Error("No value provided for input HTTP label: InputSecurityGroupId.");
|
|
@@ -1608,7 +1608,7 @@ const serializeAws_restJson1UpdateMultiplexCommand = async (input, context) => {
|
|
|
1608
1608
|
if (labelValue.length <= 0) {
|
|
1609
1609
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1610
1610
|
}
|
|
1611
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
1611
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1612
1612
|
}
|
|
1613
1613
|
else {
|
|
1614
1614
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1644,7 +1644,7 @@ const serializeAws_restJson1UpdateMultiplexProgramCommand = async (input, contex
|
|
|
1644
1644
|
if (labelValue.length <= 0) {
|
|
1645
1645
|
throw new Error("Empty value provided for input HTTP label: MultiplexId.");
|
|
1646
1646
|
}
|
|
1647
|
-
resolvedPath = resolvedPath.replace("{MultiplexId}",
|
|
1647
|
+
resolvedPath = resolvedPath.replace("{MultiplexId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1648
1648
|
}
|
|
1649
1649
|
else {
|
|
1650
1650
|
throw new Error("No value provided for input HTTP label: MultiplexId.");
|
|
@@ -1654,7 +1654,7 @@ const serializeAws_restJson1UpdateMultiplexProgramCommand = async (input, contex
|
|
|
1654
1654
|
if (labelValue.length <= 0) {
|
|
1655
1655
|
throw new Error("Empty value provided for input HTTP label: ProgramName.");
|
|
1656
1656
|
}
|
|
1657
|
-
resolvedPath = resolvedPath.replace("{ProgramName}",
|
|
1657
|
+
resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1658
1658
|
}
|
|
1659
1659
|
else {
|
|
1660
1660
|
throw new Error("No value provided for input HTTP label: ProgramName.");
|
|
@@ -1688,7 +1688,7 @@ const serializeAws_restJson1UpdateReservationCommand = async (input, context) =>
|
|
|
1688
1688
|
if (labelValue.length <= 0) {
|
|
1689
1689
|
throw new Error("Empty value provided for input HTTP label: ReservationId.");
|
|
1690
1690
|
}
|
|
1691
|
-
resolvedPath = resolvedPath.replace("{ReservationId}",
|
|
1691
|
+
resolvedPath = resolvedPath.replace("{ReservationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1692
1692
|
}
|
|
1693
1693
|
else {
|
|
1694
1694
|
throw new Error("No value provided for input HTTP label: ReservationId.");
|
|
@@ -1825,7 +1825,7 @@ const deserializeAws_restJson1BatchDeleteCommand = async (output, context) => {
|
|
|
1825
1825
|
Failed: undefined,
|
|
1826
1826
|
Successful: undefined,
|
|
1827
1827
|
};
|
|
1828
|
-
const data =
|
|
1828
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1829
1829
|
if (data.failed !== undefined && data.failed !== null) {
|
|
1830
1830
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
1831
1831
|
}
|
|
@@ -1933,7 +1933,7 @@ const deserializeAws_restJson1BatchStartCommand = async (output, context) => {
|
|
|
1933
1933
|
Failed: undefined,
|
|
1934
1934
|
Successful: undefined,
|
|
1935
1935
|
};
|
|
1936
|
-
const data =
|
|
1936
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1937
1937
|
if (data.failed !== undefined && data.failed !== null) {
|
|
1938
1938
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
1939
1939
|
}
|
|
@@ -2041,7 +2041,7 @@ const deserializeAws_restJson1BatchStopCommand = async (output, context) => {
|
|
|
2041
2041
|
Failed: undefined,
|
|
2042
2042
|
Successful: undefined,
|
|
2043
2043
|
};
|
|
2044
|
-
const data =
|
|
2044
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2045
2045
|
if (data.failed !== undefined && data.failed !== null) {
|
|
2046
2046
|
contents.Failed = deserializeAws_restJson1__listOfBatchFailedResultModel(data.failed, context);
|
|
2047
2047
|
}
|
|
@@ -2149,7 +2149,7 @@ const deserializeAws_restJson1BatchUpdateScheduleCommand = async (output, contex
|
|
|
2149
2149
|
Creates: undefined,
|
|
2150
2150
|
Deletes: undefined,
|
|
2151
2151
|
};
|
|
2152
|
-
const data =
|
|
2152
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2153
2153
|
if (data.creates !== undefined && data.creates !== null) {
|
|
2154
2154
|
contents.Creates = deserializeAws_restJson1BatchScheduleActionCreateResult(data.creates, context);
|
|
2155
2155
|
}
|
|
@@ -2364,7 +2364,7 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
|
|
|
2364
2364
|
$metadata: deserializeMetadata(output),
|
|
2365
2365
|
Channel: undefined,
|
|
2366
2366
|
};
|
|
2367
|
-
const data =
|
|
2367
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2368
2368
|
if (data.channel !== undefined && data.channel !== null) {
|
|
2369
2369
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
2370
2370
|
}
|
|
@@ -2468,7 +2468,7 @@ const deserializeAws_restJson1CreateInputCommand = async (output, context) => {
|
|
|
2468
2468
|
$metadata: deserializeMetadata(output),
|
|
2469
2469
|
Input: undefined,
|
|
2470
2470
|
};
|
|
2471
|
-
const data =
|
|
2471
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2472
2472
|
if (data.input !== undefined && data.input !== null) {
|
|
2473
2473
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
2474
2474
|
}
|
|
@@ -2556,7 +2556,7 @@ const deserializeAws_restJson1CreateInputSecurityGroupCommand = async (output, c
|
|
|
2556
2556
|
$metadata: deserializeMetadata(output),
|
|
2557
2557
|
SecurityGroup: undefined,
|
|
2558
2558
|
};
|
|
2559
|
-
const data =
|
|
2559
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2560
2560
|
if (data.securityGroup !== undefined && data.securityGroup !== null) {
|
|
2561
2561
|
contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
|
|
2562
2562
|
}
|
|
@@ -2644,7 +2644,7 @@ const deserializeAws_restJson1CreateMultiplexCommand = async (output, context) =
|
|
|
2644
2644
|
$metadata: deserializeMetadata(output),
|
|
2645
2645
|
Multiplex: undefined,
|
|
2646
2646
|
};
|
|
2647
|
-
const data =
|
|
2647
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2648
2648
|
if (data.multiplex !== undefined && data.multiplex !== null) {
|
|
2649
2649
|
contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
|
|
2650
2650
|
}
|
|
@@ -2748,7 +2748,7 @@ const deserializeAws_restJson1CreateMultiplexProgramCommand = async (output, con
|
|
|
2748
2748
|
$metadata: deserializeMetadata(output),
|
|
2749
2749
|
MultiplexProgram: undefined,
|
|
2750
2750
|
};
|
|
2751
|
-
const data =
|
|
2751
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2752
2752
|
if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
|
|
2753
2753
|
contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
|
|
2754
2754
|
}
|
|
@@ -2852,7 +2852,7 @@ const deserializeAws_restJson1CreatePartnerInputCommand = async (output, context
|
|
|
2852
2852
|
$metadata: deserializeMetadata(output),
|
|
2853
2853
|
Input: undefined,
|
|
2854
2854
|
};
|
|
2855
|
-
const data =
|
|
2855
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2856
2856
|
if (data.input !== undefined && data.input !== null) {
|
|
2857
2857
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
2858
2858
|
}
|
|
@@ -3024,15 +3024,15 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
3024
3024
|
Tags: undefined,
|
|
3025
3025
|
Vpc: undefined,
|
|
3026
3026
|
};
|
|
3027
|
-
const data =
|
|
3027
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3028
3028
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3029
|
-
contents.Arn =
|
|
3029
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3030
3030
|
}
|
|
3031
3031
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
3032
3032
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
3033
3033
|
}
|
|
3034
3034
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
3035
|
-
contents.ChannelClass =
|
|
3035
|
+
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
3036
3036
|
}
|
|
3037
3037
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
3038
3038
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -3044,7 +3044,7 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
3044
3044
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
3045
3045
|
}
|
|
3046
3046
|
if (data.id !== undefined && data.id !== null) {
|
|
3047
|
-
contents.Id =
|
|
3047
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
3048
3048
|
}
|
|
3049
3049
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
3050
3050
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -3053,22 +3053,22 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
3053
3053
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
3054
3054
|
}
|
|
3055
3055
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
3056
|
-
contents.LogLevel =
|
|
3056
|
+
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
3057
3057
|
}
|
|
3058
3058
|
if (data.name !== undefined && data.name !== null) {
|
|
3059
|
-
contents.Name =
|
|
3059
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
3060
3060
|
}
|
|
3061
3061
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
3062
3062
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
3063
3063
|
}
|
|
3064
3064
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
3065
|
-
contents.PipelinesRunningCount =
|
|
3065
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
3066
3066
|
}
|
|
3067
3067
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
3068
|
-
contents.RoleArn =
|
|
3068
|
+
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
3069
3069
|
}
|
|
3070
3070
|
if (data.state !== undefined && data.state !== null) {
|
|
3071
|
-
contents.State =
|
|
3071
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
3072
3072
|
}
|
|
3073
3073
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3074
3074
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -3377,9 +3377,9 @@ const deserializeAws_restJson1DeleteMultiplexCommand = async (output, context) =
|
|
|
3377
3377
|
State: undefined,
|
|
3378
3378
|
Tags: undefined,
|
|
3379
3379
|
};
|
|
3380
|
-
const data =
|
|
3380
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3381
3381
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3382
|
-
contents.Arn =
|
|
3382
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3383
3383
|
}
|
|
3384
3384
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
3385
3385
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -3388,22 +3388,22 @@ const deserializeAws_restJson1DeleteMultiplexCommand = async (output, context) =
|
|
|
3388
3388
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
3389
3389
|
}
|
|
3390
3390
|
if (data.id !== undefined && data.id !== null) {
|
|
3391
|
-
contents.Id =
|
|
3391
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
3392
3392
|
}
|
|
3393
3393
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
3394
3394
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
3395
3395
|
}
|
|
3396
3396
|
if (data.name !== undefined && data.name !== null) {
|
|
3397
|
-
contents.Name =
|
|
3397
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
3398
3398
|
}
|
|
3399
3399
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
3400
|
-
contents.PipelinesRunningCount =
|
|
3400
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
3401
3401
|
}
|
|
3402
3402
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
3403
|
-
contents.ProgramCount =
|
|
3403
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
3404
3404
|
}
|
|
3405
3405
|
if (data.state !== undefined && data.state !== null) {
|
|
3406
|
-
contents.State =
|
|
3406
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
3407
3407
|
}
|
|
3408
3408
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3409
3409
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -3512,9 +3512,9 @@ const deserializeAws_restJson1DeleteMultiplexProgramCommand = async (output, con
|
|
|
3512
3512
|
PipelineDetails: undefined,
|
|
3513
3513
|
ProgramName: undefined,
|
|
3514
3514
|
};
|
|
3515
|
-
const data =
|
|
3515
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3516
3516
|
if (data.channelId !== undefined && data.channelId !== null) {
|
|
3517
|
-
contents.ChannelId =
|
|
3517
|
+
contents.ChannelId = smithy_client_1.expectString(data.channelId);
|
|
3518
3518
|
}
|
|
3519
3519
|
if (data.multiplexProgramSettings !== undefined && data.multiplexProgramSettings !== null) {
|
|
3520
3520
|
contents.MultiplexProgramSettings = deserializeAws_restJson1MultiplexProgramSettings(data.multiplexProgramSettings, context);
|
|
@@ -3526,7 +3526,7 @@ const deserializeAws_restJson1DeleteMultiplexProgramCommand = async (output, con
|
|
|
3526
3526
|
contents.PipelineDetails = deserializeAws_restJson1__listOfMultiplexProgramPipelineDetail(data.pipelineDetails, context);
|
|
3527
3527
|
}
|
|
3528
3528
|
if (data.programName !== undefined && data.programName !== null) {
|
|
3529
|
-
contents.ProgramName =
|
|
3529
|
+
contents.ProgramName = smithy_client_1.expectString(data.programName);
|
|
3530
3530
|
}
|
|
3531
3531
|
return Promise.resolve(contents);
|
|
3532
3532
|
};
|
|
@@ -3645,60 +3645,60 @@ const deserializeAws_restJson1DeleteReservationCommand = async (output, context)
|
|
|
3645
3645
|
Tags: undefined,
|
|
3646
3646
|
UsagePrice: undefined,
|
|
3647
3647
|
};
|
|
3648
|
-
const data =
|
|
3648
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3649
3649
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3650
|
-
contents.Arn =
|
|
3650
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3651
3651
|
}
|
|
3652
3652
|
if (data.count !== undefined && data.count !== null) {
|
|
3653
|
-
contents.Count =
|
|
3653
|
+
contents.Count = smithy_client_1.expectInt32(data.count);
|
|
3654
3654
|
}
|
|
3655
3655
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
3656
|
-
contents.CurrencyCode =
|
|
3656
|
+
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
3657
3657
|
}
|
|
3658
3658
|
if (data.duration !== undefined && data.duration !== null) {
|
|
3659
|
-
contents.Duration =
|
|
3659
|
+
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
3660
3660
|
}
|
|
3661
3661
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
3662
|
-
contents.DurationUnits =
|
|
3662
|
+
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
3663
3663
|
}
|
|
3664
3664
|
if (data.end !== undefined && data.end !== null) {
|
|
3665
|
-
contents.End =
|
|
3665
|
+
contents.End = smithy_client_1.expectString(data.end);
|
|
3666
3666
|
}
|
|
3667
3667
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
3668
|
-
contents.FixedPrice =
|
|
3668
|
+
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
3669
3669
|
}
|
|
3670
3670
|
if (data.name !== undefined && data.name !== null) {
|
|
3671
|
-
contents.Name =
|
|
3671
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
3672
3672
|
}
|
|
3673
3673
|
if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
|
|
3674
|
-
contents.OfferingDescription =
|
|
3674
|
+
contents.OfferingDescription = smithy_client_1.expectString(data.offeringDescription);
|
|
3675
3675
|
}
|
|
3676
3676
|
if (data.offeringId !== undefined && data.offeringId !== null) {
|
|
3677
|
-
contents.OfferingId =
|
|
3677
|
+
contents.OfferingId = smithy_client_1.expectString(data.offeringId);
|
|
3678
3678
|
}
|
|
3679
3679
|
if (data.offeringType !== undefined && data.offeringType !== null) {
|
|
3680
|
-
contents.OfferingType =
|
|
3680
|
+
contents.OfferingType = smithy_client_1.expectString(data.offeringType);
|
|
3681
3681
|
}
|
|
3682
3682
|
if (data.region !== undefined && data.region !== null) {
|
|
3683
|
-
contents.Region =
|
|
3683
|
+
contents.Region = smithy_client_1.expectString(data.region);
|
|
3684
3684
|
}
|
|
3685
3685
|
if (data.reservationId !== undefined && data.reservationId !== null) {
|
|
3686
|
-
contents.ReservationId =
|
|
3686
|
+
contents.ReservationId = smithy_client_1.expectString(data.reservationId);
|
|
3687
3687
|
}
|
|
3688
3688
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
3689
3689
|
contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
|
|
3690
3690
|
}
|
|
3691
3691
|
if (data.start !== undefined && data.start !== null) {
|
|
3692
|
-
contents.Start =
|
|
3692
|
+
contents.Start = smithy_client_1.expectString(data.start);
|
|
3693
3693
|
}
|
|
3694
3694
|
if (data.state !== undefined && data.state !== null) {
|
|
3695
|
-
contents.State =
|
|
3695
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
3696
3696
|
}
|
|
3697
3697
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3698
3698
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
3699
3699
|
}
|
|
3700
3700
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
3701
|
-
contents.UsagePrice =
|
|
3701
|
+
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
3702
3702
|
}
|
|
3703
3703
|
return Promise.resolve(contents);
|
|
3704
3704
|
};
|
|
@@ -3976,15 +3976,15 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
3976
3976
|
Tags: undefined,
|
|
3977
3977
|
Vpc: undefined,
|
|
3978
3978
|
};
|
|
3979
|
-
const data =
|
|
3979
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3980
3980
|
if (data.arn !== undefined && data.arn !== null) {
|
|
3981
|
-
contents.Arn =
|
|
3981
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
3982
3982
|
}
|
|
3983
3983
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
3984
3984
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
3985
3985
|
}
|
|
3986
3986
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
3987
|
-
contents.ChannelClass =
|
|
3987
|
+
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
3988
3988
|
}
|
|
3989
3989
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
3990
3990
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -3996,7 +3996,7 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
3996
3996
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
3997
3997
|
}
|
|
3998
3998
|
if (data.id !== undefined && data.id !== null) {
|
|
3999
|
-
contents.Id =
|
|
3999
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
4000
4000
|
}
|
|
4001
4001
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
4002
4002
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -4005,22 +4005,22 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
4005
4005
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
4006
4006
|
}
|
|
4007
4007
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
4008
|
-
contents.LogLevel =
|
|
4008
|
+
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
4009
4009
|
}
|
|
4010
4010
|
if (data.name !== undefined && data.name !== null) {
|
|
4011
|
-
contents.Name =
|
|
4011
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
4012
4012
|
}
|
|
4013
4013
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
4014
4014
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
4015
4015
|
}
|
|
4016
4016
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
4017
|
-
contents.PipelinesRunningCount =
|
|
4017
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
4018
4018
|
}
|
|
4019
4019
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
4020
|
-
contents.RoleArn =
|
|
4020
|
+
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
4021
4021
|
}
|
|
4022
4022
|
if (data.state !== undefined && data.state !== null) {
|
|
4023
|
-
contents.State =
|
|
4023
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
4024
4024
|
}
|
|
4025
4025
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4026
4026
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -4135,9 +4135,9 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
4135
4135
|
Tags: undefined,
|
|
4136
4136
|
Type: undefined,
|
|
4137
4137
|
};
|
|
4138
|
-
const data =
|
|
4138
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4139
4139
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4140
|
-
contents.Arn =
|
|
4140
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4141
4141
|
}
|
|
4142
4142
|
if (data.attachedChannels !== undefined && data.attachedChannels !== null) {
|
|
4143
4143
|
contents.AttachedChannels = deserializeAws_restJson1__listOf__string(data.attachedChannels, context);
|
|
@@ -4146,10 +4146,10 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
4146
4146
|
contents.Destinations = deserializeAws_restJson1__listOfInputDestination(data.destinations, context);
|
|
4147
4147
|
}
|
|
4148
4148
|
if (data.id !== undefined && data.id !== null) {
|
|
4149
|
-
contents.Id =
|
|
4149
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
4150
4150
|
}
|
|
4151
4151
|
if (data.inputClass !== undefined && data.inputClass !== null) {
|
|
4152
|
-
contents.InputClass =
|
|
4152
|
+
contents.InputClass = smithy_client_1.expectString(data.inputClass);
|
|
4153
4153
|
}
|
|
4154
4154
|
if (data.inputDevices !== undefined && data.inputDevices !== null) {
|
|
4155
4155
|
contents.InputDevices = deserializeAws_restJson1__listOfInputDeviceSettings(data.inputDevices, context);
|
|
@@ -4158,16 +4158,16 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
4158
4158
|
contents.InputPartnerIds = deserializeAws_restJson1__listOf__string(data.inputPartnerIds, context);
|
|
4159
4159
|
}
|
|
4160
4160
|
if (data.inputSourceType !== undefined && data.inputSourceType !== null) {
|
|
4161
|
-
contents.InputSourceType =
|
|
4161
|
+
contents.InputSourceType = smithy_client_1.expectString(data.inputSourceType);
|
|
4162
4162
|
}
|
|
4163
4163
|
if (data.mediaConnectFlows !== undefined && data.mediaConnectFlows !== null) {
|
|
4164
4164
|
contents.MediaConnectFlows = deserializeAws_restJson1__listOfMediaConnectFlow(data.mediaConnectFlows, context);
|
|
4165
4165
|
}
|
|
4166
4166
|
if (data.name !== undefined && data.name !== null) {
|
|
4167
|
-
contents.Name =
|
|
4167
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
4168
4168
|
}
|
|
4169
4169
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
4170
|
-
contents.RoleArn =
|
|
4170
|
+
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
4171
4171
|
}
|
|
4172
4172
|
if (data.securityGroups !== undefined && data.securityGroups !== null) {
|
|
4173
4173
|
contents.SecurityGroups = deserializeAws_restJson1__listOf__string(data.securityGroups, context);
|
|
@@ -4176,13 +4176,13 @@ const deserializeAws_restJson1DescribeInputCommand = async (output, context) =>
|
|
|
4176
4176
|
contents.Sources = deserializeAws_restJson1__listOfInputSource(data.sources, context);
|
|
4177
4177
|
}
|
|
4178
4178
|
if (data.state !== undefined && data.state !== null) {
|
|
4179
|
-
contents.State =
|
|
4179
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
4180
4180
|
}
|
|
4181
4181
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4182
4182
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
4183
4183
|
}
|
|
4184
4184
|
if (data.type !== undefined && data.type !== null) {
|
|
4185
|
-
contents.Type =
|
|
4185
|
+
contents.Type = smithy_client_1.expectString(data.type);
|
|
4186
4186
|
}
|
|
4187
4187
|
return Promise.resolve(contents);
|
|
4188
4188
|
};
|
|
@@ -4287,39 +4287,39 @@ const deserializeAws_restJson1DescribeInputDeviceCommand = async (output, contex
|
|
|
4287
4287
|
Type: undefined,
|
|
4288
4288
|
UhdDeviceSettings: undefined,
|
|
4289
4289
|
};
|
|
4290
|
-
const data =
|
|
4290
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4291
4291
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4292
|
-
contents.Arn =
|
|
4292
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4293
4293
|
}
|
|
4294
4294
|
if (data.connectionState !== undefined && data.connectionState !== null) {
|
|
4295
|
-
contents.ConnectionState =
|
|
4295
|
+
contents.ConnectionState = smithy_client_1.expectString(data.connectionState);
|
|
4296
4296
|
}
|
|
4297
4297
|
if (data.deviceSettingsSyncState !== undefined && data.deviceSettingsSyncState !== null) {
|
|
4298
|
-
contents.DeviceSettingsSyncState =
|
|
4298
|
+
contents.DeviceSettingsSyncState = smithy_client_1.expectString(data.deviceSettingsSyncState);
|
|
4299
4299
|
}
|
|
4300
4300
|
if (data.deviceUpdateStatus !== undefined && data.deviceUpdateStatus !== null) {
|
|
4301
|
-
contents.DeviceUpdateStatus =
|
|
4301
|
+
contents.DeviceUpdateStatus = smithy_client_1.expectString(data.deviceUpdateStatus);
|
|
4302
4302
|
}
|
|
4303
4303
|
if (data.hdDeviceSettings !== undefined && data.hdDeviceSettings !== null) {
|
|
4304
4304
|
contents.HdDeviceSettings = deserializeAws_restJson1InputDeviceHdSettings(data.hdDeviceSettings, context);
|
|
4305
4305
|
}
|
|
4306
4306
|
if (data.id !== undefined && data.id !== null) {
|
|
4307
|
-
contents.Id =
|
|
4307
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
4308
4308
|
}
|
|
4309
4309
|
if (data.macAddress !== undefined && data.macAddress !== null) {
|
|
4310
|
-
contents.MacAddress =
|
|
4310
|
+
contents.MacAddress = smithy_client_1.expectString(data.macAddress);
|
|
4311
4311
|
}
|
|
4312
4312
|
if (data.name !== undefined && data.name !== null) {
|
|
4313
|
-
contents.Name =
|
|
4313
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
4314
4314
|
}
|
|
4315
4315
|
if (data.networkSettings !== undefined && data.networkSettings !== null) {
|
|
4316
4316
|
contents.NetworkSettings = deserializeAws_restJson1InputDeviceNetworkSettings(data.networkSettings, context);
|
|
4317
4317
|
}
|
|
4318
4318
|
if (data.serialNumber !== undefined && data.serialNumber !== null) {
|
|
4319
|
-
contents.SerialNumber =
|
|
4319
|
+
contents.SerialNumber = smithy_client_1.expectString(data.serialNumber);
|
|
4320
4320
|
}
|
|
4321
4321
|
if (data.type !== undefined && data.type !== null) {
|
|
4322
|
-
contents.Type =
|
|
4322
|
+
contents.Type = smithy_client_1.expectString(data.type);
|
|
4323
4323
|
}
|
|
4324
4324
|
if (data.uhdDeviceSettings !== undefined && data.uhdDeviceSettings !== null) {
|
|
4325
4325
|
contents.UhdDeviceSettings = deserializeAws_restJson1InputDeviceUhdSettings(data.uhdDeviceSettings, context);
|
|
@@ -4424,13 +4424,13 @@ const deserializeAws_restJson1DescribeInputDeviceThumbnailCommand = async (outpu
|
|
|
4424
4424
|
contents.ContentType = output.headers["content-type"];
|
|
4425
4425
|
}
|
|
4426
4426
|
if (output.headers["content-length"] !== undefined) {
|
|
4427
|
-
contents.ContentLength =
|
|
4427
|
+
contents.ContentLength = smithy_client_1.strictParseLong(output.headers["content-length"]);
|
|
4428
4428
|
}
|
|
4429
4429
|
if (output.headers["etag"] !== undefined) {
|
|
4430
4430
|
contents.ETag = output.headers["etag"];
|
|
4431
4431
|
}
|
|
4432
4432
|
if (output.headers["last-modified"] !== undefined) {
|
|
4433
|
-
contents.LastModified =
|
|
4433
|
+
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc7231DateTime(output.headers["last-modified"]));
|
|
4434
4434
|
}
|
|
4435
4435
|
const data = output.body;
|
|
4436
4436
|
contents.Body = data;
|
|
@@ -4531,18 +4531,18 @@ const deserializeAws_restJson1DescribeInputSecurityGroupCommand = async (output,
|
|
|
4531
4531
|
Tags: undefined,
|
|
4532
4532
|
WhitelistRules: undefined,
|
|
4533
4533
|
};
|
|
4534
|
-
const data =
|
|
4534
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4535
4535
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4536
|
-
contents.Arn =
|
|
4536
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4537
4537
|
}
|
|
4538
4538
|
if (data.id !== undefined && data.id !== null) {
|
|
4539
|
-
contents.Id =
|
|
4539
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
4540
4540
|
}
|
|
4541
4541
|
if (data.inputs !== undefined && data.inputs !== null) {
|
|
4542
4542
|
contents.Inputs = deserializeAws_restJson1__listOf__string(data.inputs, context);
|
|
4543
4543
|
}
|
|
4544
4544
|
if (data.state !== undefined && data.state !== null) {
|
|
4545
|
-
contents.State =
|
|
4545
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
4546
4546
|
}
|
|
4547
4547
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4548
4548
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -4651,9 +4651,9 @@ const deserializeAws_restJson1DescribeMultiplexCommand = async (output, context)
|
|
|
4651
4651
|
State: undefined,
|
|
4652
4652
|
Tags: undefined,
|
|
4653
4653
|
};
|
|
4654
|
-
const data =
|
|
4654
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4655
4655
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4656
|
-
contents.Arn =
|
|
4656
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4657
4657
|
}
|
|
4658
4658
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
4659
4659
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -4662,22 +4662,22 @@ const deserializeAws_restJson1DescribeMultiplexCommand = async (output, context)
|
|
|
4662
4662
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
4663
4663
|
}
|
|
4664
4664
|
if (data.id !== undefined && data.id !== null) {
|
|
4665
|
-
contents.Id =
|
|
4665
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
4666
4666
|
}
|
|
4667
4667
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
4668
4668
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
4669
4669
|
}
|
|
4670
4670
|
if (data.name !== undefined && data.name !== null) {
|
|
4671
|
-
contents.Name =
|
|
4671
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
4672
4672
|
}
|
|
4673
4673
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
4674
|
-
contents.PipelinesRunningCount =
|
|
4674
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
4675
4675
|
}
|
|
4676
4676
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
4677
|
-
contents.ProgramCount =
|
|
4677
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
4678
4678
|
}
|
|
4679
4679
|
if (data.state !== undefined && data.state !== null) {
|
|
4680
|
-
contents.State =
|
|
4680
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
4681
4681
|
}
|
|
4682
4682
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4683
4683
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -4778,9 +4778,9 @@ const deserializeAws_restJson1DescribeMultiplexProgramCommand = async (output, c
|
|
|
4778
4778
|
PipelineDetails: undefined,
|
|
4779
4779
|
ProgramName: undefined,
|
|
4780
4780
|
};
|
|
4781
|
-
const data =
|
|
4781
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4782
4782
|
if (data.channelId !== undefined && data.channelId !== null) {
|
|
4783
|
-
contents.ChannelId =
|
|
4783
|
+
contents.ChannelId = smithy_client_1.expectString(data.channelId);
|
|
4784
4784
|
}
|
|
4785
4785
|
if (data.multiplexProgramSettings !== undefined && data.multiplexProgramSettings !== null) {
|
|
4786
4786
|
contents.MultiplexProgramSettings = deserializeAws_restJson1MultiplexProgramSettings(data.multiplexProgramSettings, context);
|
|
@@ -4792,7 +4792,7 @@ const deserializeAws_restJson1DescribeMultiplexProgramCommand = async (output, c
|
|
|
4792
4792
|
contents.PipelineDetails = deserializeAws_restJson1__listOfMultiplexProgramPipelineDetail(data.pipelineDetails, context);
|
|
4793
4793
|
}
|
|
4794
4794
|
if (data.programName !== undefined && data.programName !== null) {
|
|
4795
|
-
contents.ProgramName =
|
|
4795
|
+
contents.ProgramName = smithy_client_1.expectString(data.programName);
|
|
4796
4796
|
}
|
|
4797
4797
|
return Promise.resolve(contents);
|
|
4798
4798
|
};
|
|
@@ -4896,39 +4896,39 @@ const deserializeAws_restJson1DescribeOfferingCommand = async (output, context)
|
|
|
4896
4896
|
ResourceSpecification: undefined,
|
|
4897
4897
|
UsagePrice: undefined,
|
|
4898
4898
|
};
|
|
4899
|
-
const data =
|
|
4899
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4900
4900
|
if (data.arn !== undefined && data.arn !== null) {
|
|
4901
|
-
contents.Arn =
|
|
4901
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
4902
4902
|
}
|
|
4903
4903
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
4904
|
-
contents.CurrencyCode =
|
|
4904
|
+
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
4905
4905
|
}
|
|
4906
4906
|
if (data.duration !== undefined && data.duration !== null) {
|
|
4907
|
-
contents.Duration =
|
|
4907
|
+
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
4908
4908
|
}
|
|
4909
4909
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
4910
|
-
contents.DurationUnits =
|
|
4910
|
+
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
4911
4911
|
}
|
|
4912
4912
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
4913
|
-
contents.FixedPrice =
|
|
4913
|
+
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
4914
4914
|
}
|
|
4915
4915
|
if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
|
|
4916
|
-
contents.OfferingDescription =
|
|
4916
|
+
contents.OfferingDescription = smithy_client_1.expectString(data.offeringDescription);
|
|
4917
4917
|
}
|
|
4918
4918
|
if (data.offeringId !== undefined && data.offeringId !== null) {
|
|
4919
|
-
contents.OfferingId =
|
|
4919
|
+
contents.OfferingId = smithy_client_1.expectString(data.offeringId);
|
|
4920
4920
|
}
|
|
4921
4921
|
if (data.offeringType !== undefined && data.offeringType !== null) {
|
|
4922
|
-
contents.OfferingType =
|
|
4922
|
+
contents.OfferingType = smithy_client_1.expectString(data.offeringType);
|
|
4923
4923
|
}
|
|
4924
4924
|
if (data.region !== undefined && data.region !== null) {
|
|
4925
|
-
contents.Region =
|
|
4925
|
+
contents.Region = smithy_client_1.expectString(data.region);
|
|
4926
4926
|
}
|
|
4927
4927
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
4928
4928
|
contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
|
|
4929
4929
|
}
|
|
4930
4930
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
4931
|
-
contents.UsagePrice =
|
|
4931
|
+
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
4932
4932
|
}
|
|
4933
4933
|
return Promise.resolve(contents);
|
|
4934
4934
|
};
|
|
@@ -5039,60 +5039,60 @@ const deserializeAws_restJson1DescribeReservationCommand = async (output, contex
|
|
|
5039
5039
|
Tags: undefined,
|
|
5040
5040
|
UsagePrice: undefined,
|
|
5041
5041
|
};
|
|
5042
|
-
const data =
|
|
5042
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5043
5043
|
if (data.arn !== undefined && data.arn !== null) {
|
|
5044
|
-
contents.Arn =
|
|
5044
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
5045
5045
|
}
|
|
5046
5046
|
if (data.count !== undefined && data.count !== null) {
|
|
5047
|
-
contents.Count =
|
|
5047
|
+
contents.Count = smithy_client_1.expectInt32(data.count);
|
|
5048
5048
|
}
|
|
5049
5049
|
if (data.currencyCode !== undefined && data.currencyCode !== null) {
|
|
5050
|
-
contents.CurrencyCode =
|
|
5050
|
+
contents.CurrencyCode = smithy_client_1.expectString(data.currencyCode);
|
|
5051
5051
|
}
|
|
5052
5052
|
if (data.duration !== undefined && data.duration !== null) {
|
|
5053
|
-
contents.Duration =
|
|
5053
|
+
contents.Duration = smithy_client_1.expectInt32(data.duration);
|
|
5054
5054
|
}
|
|
5055
5055
|
if (data.durationUnits !== undefined && data.durationUnits !== null) {
|
|
5056
|
-
contents.DurationUnits =
|
|
5056
|
+
contents.DurationUnits = smithy_client_1.expectString(data.durationUnits);
|
|
5057
5057
|
}
|
|
5058
5058
|
if (data.end !== undefined && data.end !== null) {
|
|
5059
|
-
contents.End =
|
|
5059
|
+
contents.End = smithy_client_1.expectString(data.end);
|
|
5060
5060
|
}
|
|
5061
5061
|
if (data.fixedPrice !== undefined && data.fixedPrice !== null) {
|
|
5062
|
-
contents.FixedPrice =
|
|
5062
|
+
contents.FixedPrice = smithy_client_1.limitedParseDouble(data.fixedPrice);
|
|
5063
5063
|
}
|
|
5064
5064
|
if (data.name !== undefined && data.name !== null) {
|
|
5065
|
-
contents.Name =
|
|
5065
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
5066
5066
|
}
|
|
5067
5067
|
if (data.offeringDescription !== undefined && data.offeringDescription !== null) {
|
|
5068
|
-
contents.OfferingDescription =
|
|
5068
|
+
contents.OfferingDescription = smithy_client_1.expectString(data.offeringDescription);
|
|
5069
5069
|
}
|
|
5070
5070
|
if (data.offeringId !== undefined && data.offeringId !== null) {
|
|
5071
|
-
contents.OfferingId =
|
|
5071
|
+
contents.OfferingId = smithy_client_1.expectString(data.offeringId);
|
|
5072
5072
|
}
|
|
5073
5073
|
if (data.offeringType !== undefined && data.offeringType !== null) {
|
|
5074
|
-
contents.OfferingType =
|
|
5074
|
+
contents.OfferingType = smithy_client_1.expectString(data.offeringType);
|
|
5075
5075
|
}
|
|
5076
5076
|
if (data.region !== undefined && data.region !== null) {
|
|
5077
|
-
contents.Region =
|
|
5077
|
+
contents.Region = smithy_client_1.expectString(data.region);
|
|
5078
5078
|
}
|
|
5079
5079
|
if (data.reservationId !== undefined && data.reservationId !== null) {
|
|
5080
|
-
contents.ReservationId =
|
|
5080
|
+
contents.ReservationId = smithy_client_1.expectString(data.reservationId);
|
|
5081
5081
|
}
|
|
5082
5082
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
5083
5083
|
contents.ResourceSpecification = deserializeAws_restJson1ReservationResourceSpecification(data.resourceSpecification, context);
|
|
5084
5084
|
}
|
|
5085
5085
|
if (data.start !== undefined && data.start !== null) {
|
|
5086
|
-
contents.Start =
|
|
5086
|
+
contents.Start = smithy_client_1.expectString(data.start);
|
|
5087
5087
|
}
|
|
5088
5088
|
if (data.state !== undefined && data.state !== null) {
|
|
5089
|
-
contents.State =
|
|
5089
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
5090
5090
|
}
|
|
5091
5091
|
if (data.tags !== undefined && data.tags !== null) {
|
|
5092
5092
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
5093
5093
|
}
|
|
5094
5094
|
if (data.usagePrice !== undefined && data.usagePrice !== null) {
|
|
5095
|
-
contents.UsagePrice =
|
|
5095
|
+
contents.UsagePrice = smithy_client_1.limitedParseDouble(data.usagePrice);
|
|
5096
5096
|
}
|
|
5097
5097
|
return Promise.resolve(contents);
|
|
5098
5098
|
};
|
|
@@ -5187,9 +5187,9 @@ const deserializeAws_restJson1DescribeScheduleCommand = async (output, context)
|
|
|
5187
5187
|
NextToken: undefined,
|
|
5188
5188
|
ScheduleActions: undefined,
|
|
5189
5189
|
};
|
|
5190
|
-
const data =
|
|
5190
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5191
5191
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5192
|
-
contents.NextToken =
|
|
5192
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5193
5193
|
}
|
|
5194
5194
|
if (data.scheduleActions !== undefined && data.scheduleActions !== null) {
|
|
5195
5195
|
contents.ScheduleActions = deserializeAws_restJson1__listOfScheduleAction(data.scheduleActions, context);
|
|
@@ -5287,12 +5287,12 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
|
5287
5287
|
Channels: undefined,
|
|
5288
5288
|
NextToken: undefined,
|
|
5289
5289
|
};
|
|
5290
|
-
const data =
|
|
5290
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5291
5291
|
if (data.channels !== undefined && data.channels !== null) {
|
|
5292
5292
|
contents.Channels = deserializeAws_restJson1__listOfChannelSummary(data.channels, context);
|
|
5293
5293
|
}
|
|
5294
5294
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5295
|
-
contents.NextToken =
|
|
5295
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5296
5296
|
}
|
|
5297
5297
|
return Promise.resolve(contents);
|
|
5298
5298
|
};
|
|
@@ -5379,12 +5379,12 @@ const deserializeAws_restJson1ListInputDevicesCommand = async (output, context)
|
|
|
5379
5379
|
InputDevices: undefined,
|
|
5380
5380
|
NextToken: undefined,
|
|
5381
5381
|
};
|
|
5382
|
-
const data =
|
|
5382
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5383
5383
|
if (data.inputDevices !== undefined && data.inputDevices !== null) {
|
|
5384
5384
|
contents.InputDevices = deserializeAws_restJson1__listOfInputDeviceSummary(data.inputDevices, context);
|
|
5385
5385
|
}
|
|
5386
5386
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5387
|
-
contents.NextToken =
|
|
5387
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5388
5388
|
}
|
|
5389
5389
|
return Promise.resolve(contents);
|
|
5390
5390
|
};
|
|
@@ -5471,12 +5471,12 @@ const deserializeAws_restJson1ListInputDeviceTransfersCommand = async (output, c
|
|
|
5471
5471
|
InputDeviceTransfers: undefined,
|
|
5472
5472
|
NextToken: undefined,
|
|
5473
5473
|
};
|
|
5474
|
-
const data =
|
|
5474
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5475
5475
|
if (data.inputDeviceTransfers !== undefined && data.inputDeviceTransfers !== null) {
|
|
5476
5476
|
contents.InputDeviceTransfers = deserializeAws_restJson1__listOfTransferringInputDeviceSummary(data.inputDeviceTransfers, context);
|
|
5477
5477
|
}
|
|
5478
5478
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5479
|
-
contents.NextToken =
|
|
5479
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5480
5480
|
}
|
|
5481
5481
|
return Promise.resolve(contents);
|
|
5482
5482
|
};
|
|
@@ -5571,12 +5571,12 @@ const deserializeAws_restJson1ListInputsCommand = async (output, context) => {
|
|
|
5571
5571
|
Inputs: undefined,
|
|
5572
5572
|
NextToken: undefined,
|
|
5573
5573
|
};
|
|
5574
|
-
const data =
|
|
5574
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5575
5575
|
if (data.inputs !== undefined && data.inputs !== null) {
|
|
5576
5576
|
contents.Inputs = deserializeAws_restJson1__listOfInput(data.inputs, context);
|
|
5577
5577
|
}
|
|
5578
5578
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5579
|
-
contents.NextToken =
|
|
5579
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5580
5580
|
}
|
|
5581
5581
|
return Promise.resolve(contents);
|
|
5582
5582
|
};
|
|
@@ -5663,12 +5663,12 @@ const deserializeAws_restJson1ListInputSecurityGroupsCommand = async (output, co
|
|
|
5663
5663
|
InputSecurityGroups: undefined,
|
|
5664
5664
|
NextToken: undefined,
|
|
5665
5665
|
};
|
|
5666
|
-
const data =
|
|
5666
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5667
5667
|
if (data.inputSecurityGroups !== undefined && data.inputSecurityGroups !== null) {
|
|
5668
5668
|
contents.InputSecurityGroups = deserializeAws_restJson1__listOfInputSecurityGroup(data.inputSecurityGroups, context);
|
|
5669
5669
|
}
|
|
5670
5670
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5671
|
-
contents.NextToken =
|
|
5671
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5672
5672
|
}
|
|
5673
5673
|
return Promise.resolve(contents);
|
|
5674
5674
|
};
|
|
@@ -5755,12 +5755,12 @@ const deserializeAws_restJson1ListMultiplexesCommand = async (output, context) =
|
|
|
5755
5755
|
Multiplexes: undefined,
|
|
5756
5756
|
NextToken: undefined,
|
|
5757
5757
|
};
|
|
5758
|
-
const data =
|
|
5758
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5759
5759
|
if (data.multiplexes !== undefined && data.multiplexes !== null) {
|
|
5760
5760
|
contents.Multiplexes = deserializeAws_restJson1__listOfMultiplexSummary(data.multiplexes, context);
|
|
5761
5761
|
}
|
|
5762
5762
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5763
|
-
contents.NextToken =
|
|
5763
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5764
5764
|
}
|
|
5765
5765
|
return Promise.resolve(contents);
|
|
5766
5766
|
};
|
|
@@ -5847,12 +5847,12 @@ const deserializeAws_restJson1ListMultiplexProgramsCommand = async (output, cont
|
|
|
5847
5847
|
MultiplexPrograms: undefined,
|
|
5848
5848
|
NextToken: undefined,
|
|
5849
5849
|
};
|
|
5850
|
-
const data =
|
|
5850
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5851
5851
|
if (data.multiplexPrograms !== undefined && data.multiplexPrograms !== null) {
|
|
5852
5852
|
contents.MultiplexPrograms = deserializeAws_restJson1__listOfMultiplexProgramSummary(data.multiplexPrograms, context);
|
|
5853
5853
|
}
|
|
5854
5854
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5855
|
-
contents.NextToken =
|
|
5855
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5856
5856
|
}
|
|
5857
5857
|
return Promise.resolve(contents);
|
|
5858
5858
|
};
|
|
@@ -5947,9 +5947,9 @@ const deserializeAws_restJson1ListOfferingsCommand = async (output, context) =>
|
|
|
5947
5947
|
NextToken: undefined,
|
|
5948
5948
|
Offerings: undefined,
|
|
5949
5949
|
};
|
|
5950
|
-
const data =
|
|
5950
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5951
5951
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5952
|
-
contents.NextToken =
|
|
5952
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
5953
5953
|
}
|
|
5954
5954
|
if (data.offerings !== undefined && data.offerings !== null) {
|
|
5955
5955
|
contents.Offerings = deserializeAws_restJson1__listOfOffering(data.offerings, context);
|
|
@@ -6039,9 +6039,9 @@ const deserializeAws_restJson1ListReservationsCommand = async (output, context)
|
|
|
6039
6039
|
NextToken: undefined,
|
|
6040
6040
|
Reservations: undefined,
|
|
6041
6041
|
};
|
|
6042
|
-
const data =
|
|
6042
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6043
6043
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6044
|
-
contents.NextToken =
|
|
6044
|
+
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
6045
6045
|
}
|
|
6046
6046
|
if (data.reservations !== undefined && data.reservations !== null) {
|
|
6047
6047
|
contents.Reservations = deserializeAws_restJson1__listOfReservation(data.reservations, context);
|
|
@@ -6130,7 +6130,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
6130
6130
|
$metadata: deserializeMetadata(output),
|
|
6131
6131
|
Tags: undefined,
|
|
6132
6132
|
};
|
|
6133
|
-
const data =
|
|
6133
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6134
6134
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6135
6135
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
6136
6136
|
}
|
|
@@ -6202,7 +6202,7 @@ const deserializeAws_restJson1PurchaseOfferingCommand = async (output, context)
|
|
|
6202
6202
|
$metadata: deserializeMetadata(output),
|
|
6203
6203
|
Reservation: undefined,
|
|
6204
6204
|
};
|
|
6205
|
-
const data =
|
|
6205
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6206
6206
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
6207
6207
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
6208
6208
|
}
|
|
@@ -6430,15 +6430,15 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
6430
6430
|
Tags: undefined,
|
|
6431
6431
|
Vpc: undefined,
|
|
6432
6432
|
};
|
|
6433
|
-
const data =
|
|
6433
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6434
6434
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6435
|
-
contents.Arn =
|
|
6435
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6436
6436
|
}
|
|
6437
6437
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
6438
6438
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
6439
6439
|
}
|
|
6440
6440
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
6441
|
-
contents.ChannelClass =
|
|
6441
|
+
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
6442
6442
|
}
|
|
6443
6443
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
6444
6444
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -6450,7 +6450,7 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
6450
6450
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
6451
6451
|
}
|
|
6452
6452
|
if (data.id !== undefined && data.id !== null) {
|
|
6453
|
-
contents.Id =
|
|
6453
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
6454
6454
|
}
|
|
6455
6455
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
6456
6456
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -6459,22 +6459,22 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
6459
6459
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
6460
6460
|
}
|
|
6461
6461
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
6462
|
-
contents.LogLevel =
|
|
6462
|
+
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
6463
6463
|
}
|
|
6464
6464
|
if (data.name !== undefined && data.name !== null) {
|
|
6465
|
-
contents.Name =
|
|
6465
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
6466
6466
|
}
|
|
6467
6467
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
6468
6468
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
6469
6469
|
}
|
|
6470
6470
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6471
|
-
contents.PipelinesRunningCount =
|
|
6471
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6472
6472
|
}
|
|
6473
6473
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
6474
|
-
contents.RoleArn =
|
|
6474
|
+
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
6475
6475
|
}
|
|
6476
6476
|
if (data.state !== undefined && data.state !== null) {
|
|
6477
|
-
contents.State =
|
|
6477
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
6478
6478
|
}
|
|
6479
6479
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6480
6480
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -6591,9 +6591,9 @@ const deserializeAws_restJson1StartMultiplexCommand = async (output, context) =>
|
|
|
6591
6591
|
State: undefined,
|
|
6592
6592
|
Tags: undefined,
|
|
6593
6593
|
};
|
|
6594
|
-
const data =
|
|
6594
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6595
6595
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6596
|
-
contents.Arn =
|
|
6596
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6597
6597
|
}
|
|
6598
6598
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
6599
6599
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -6602,22 +6602,22 @@ const deserializeAws_restJson1StartMultiplexCommand = async (output, context) =>
|
|
|
6602
6602
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
6603
6603
|
}
|
|
6604
6604
|
if (data.id !== undefined && data.id !== null) {
|
|
6605
|
-
contents.Id =
|
|
6605
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
6606
6606
|
}
|
|
6607
6607
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
6608
6608
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
6609
6609
|
}
|
|
6610
6610
|
if (data.name !== undefined && data.name !== null) {
|
|
6611
|
-
contents.Name =
|
|
6611
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
6612
6612
|
}
|
|
6613
6613
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6614
|
-
contents.PipelinesRunningCount =
|
|
6614
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6615
6615
|
}
|
|
6616
6616
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
6617
|
-
contents.ProgramCount =
|
|
6617
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
6618
6618
|
}
|
|
6619
6619
|
if (data.state !== undefined && data.state !== null) {
|
|
6620
|
-
contents.State =
|
|
6620
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
6621
6621
|
}
|
|
6622
6622
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6623
6623
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -6738,15 +6738,15 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
6738
6738
|
Tags: undefined,
|
|
6739
6739
|
Vpc: undefined,
|
|
6740
6740
|
};
|
|
6741
|
-
const data =
|
|
6741
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6742
6742
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6743
|
-
contents.Arn =
|
|
6743
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6744
6744
|
}
|
|
6745
6745
|
if (data.cdiInputSpecification !== undefined && data.cdiInputSpecification !== null) {
|
|
6746
6746
|
contents.CdiInputSpecification = deserializeAws_restJson1CdiInputSpecification(data.cdiInputSpecification, context);
|
|
6747
6747
|
}
|
|
6748
6748
|
if (data.channelClass !== undefined && data.channelClass !== null) {
|
|
6749
|
-
contents.ChannelClass =
|
|
6749
|
+
contents.ChannelClass = smithy_client_1.expectString(data.channelClass);
|
|
6750
6750
|
}
|
|
6751
6751
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
6752
6752
|
contents.Destinations = deserializeAws_restJson1__listOfOutputDestination(data.destinations, context);
|
|
@@ -6758,7 +6758,7 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
6758
6758
|
contents.EncoderSettings = deserializeAws_restJson1EncoderSettings(data.encoderSettings, context);
|
|
6759
6759
|
}
|
|
6760
6760
|
if (data.id !== undefined && data.id !== null) {
|
|
6761
|
-
contents.Id =
|
|
6761
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
6762
6762
|
}
|
|
6763
6763
|
if (data.inputAttachments !== undefined && data.inputAttachments !== null) {
|
|
6764
6764
|
contents.InputAttachments = deserializeAws_restJson1__listOfInputAttachment(data.inputAttachments, context);
|
|
@@ -6767,22 +6767,22 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
6767
6767
|
contents.InputSpecification = deserializeAws_restJson1InputSpecification(data.inputSpecification, context);
|
|
6768
6768
|
}
|
|
6769
6769
|
if (data.logLevel !== undefined && data.logLevel !== null) {
|
|
6770
|
-
contents.LogLevel =
|
|
6770
|
+
contents.LogLevel = smithy_client_1.expectString(data.logLevel);
|
|
6771
6771
|
}
|
|
6772
6772
|
if (data.name !== undefined && data.name !== null) {
|
|
6773
|
-
contents.Name =
|
|
6773
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
6774
6774
|
}
|
|
6775
6775
|
if (data.pipelineDetails !== undefined && data.pipelineDetails !== null) {
|
|
6776
6776
|
contents.PipelineDetails = deserializeAws_restJson1__listOfPipelineDetail(data.pipelineDetails, context);
|
|
6777
6777
|
}
|
|
6778
6778
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6779
|
-
contents.PipelinesRunningCount =
|
|
6779
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6780
6780
|
}
|
|
6781
6781
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
6782
|
-
contents.RoleArn =
|
|
6782
|
+
contents.RoleArn = smithy_client_1.expectString(data.roleArn);
|
|
6783
6783
|
}
|
|
6784
6784
|
if (data.state !== undefined && data.state !== null) {
|
|
6785
|
-
contents.State =
|
|
6785
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
6786
6786
|
}
|
|
6787
6787
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6788
6788
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -6899,9 +6899,9 @@ const deserializeAws_restJson1StopMultiplexCommand = async (output, context) =>
|
|
|
6899
6899
|
State: undefined,
|
|
6900
6900
|
Tags: undefined,
|
|
6901
6901
|
};
|
|
6902
|
-
const data =
|
|
6902
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6903
6903
|
if (data.arn !== undefined && data.arn !== null) {
|
|
6904
|
-
contents.Arn =
|
|
6904
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
6905
6905
|
}
|
|
6906
6906
|
if (data.availabilityZones !== undefined && data.availabilityZones !== null) {
|
|
6907
6907
|
contents.AvailabilityZones = deserializeAws_restJson1__listOf__string(data.availabilityZones, context);
|
|
@@ -6910,22 +6910,22 @@ const deserializeAws_restJson1StopMultiplexCommand = async (output, context) =>
|
|
|
6910
6910
|
contents.Destinations = deserializeAws_restJson1__listOfMultiplexOutputDestination(data.destinations, context);
|
|
6911
6911
|
}
|
|
6912
6912
|
if (data.id !== undefined && data.id !== null) {
|
|
6913
|
-
contents.Id =
|
|
6913
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
6914
6914
|
}
|
|
6915
6915
|
if (data.multiplexSettings !== undefined && data.multiplexSettings !== null) {
|
|
6916
6916
|
contents.MultiplexSettings = deserializeAws_restJson1MultiplexSettings(data.multiplexSettings, context);
|
|
6917
6917
|
}
|
|
6918
6918
|
if (data.name !== undefined && data.name !== null) {
|
|
6919
|
-
contents.Name =
|
|
6919
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
6920
6920
|
}
|
|
6921
6921
|
if (data.pipelinesRunningCount !== undefined && data.pipelinesRunningCount !== null) {
|
|
6922
|
-
contents.PipelinesRunningCount =
|
|
6922
|
+
contents.PipelinesRunningCount = smithy_client_1.expectInt32(data.pipelinesRunningCount);
|
|
6923
6923
|
}
|
|
6924
6924
|
if (data.programCount !== undefined && data.programCount !== null) {
|
|
6925
|
-
contents.ProgramCount =
|
|
6925
|
+
contents.ProgramCount = smithy_client_1.expectInt32(data.programCount);
|
|
6926
6926
|
}
|
|
6927
6927
|
if (data.state !== undefined && data.state !== null) {
|
|
6928
|
-
contents.State =
|
|
6928
|
+
contents.State = smithy_client_1.expectString(data.state);
|
|
6929
6929
|
}
|
|
6930
6930
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6931
6931
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -7138,7 +7138,7 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
|
|
|
7138
7138
|
$metadata: deserializeMetadata(output),
|
|
7139
7139
|
Channel: undefined,
|
|
7140
7140
|
};
|
|
7141
|
-
const data =
|
|
7141
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7142
7142
|
if (data.channel !== undefined && data.channel !== null) {
|
|
7143
7143
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
7144
7144
|
}
|
|
@@ -7234,7 +7234,7 @@ const deserializeAws_restJson1UpdateChannelClassCommand = async (output, context
|
|
|
7234
7234
|
$metadata: deserializeMetadata(output),
|
|
7235
7235
|
Channel: undefined,
|
|
7236
7236
|
};
|
|
7237
|
-
const data =
|
|
7237
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7238
7238
|
if (data.channel !== undefined && data.channel !== null) {
|
|
7239
7239
|
contents.Channel = deserializeAws_restJson1Channel(data.channel, context);
|
|
7240
7240
|
}
|
|
@@ -7346,7 +7346,7 @@ const deserializeAws_restJson1UpdateInputCommand = async (output, context) => {
|
|
|
7346
7346
|
$metadata: deserializeMetadata(output),
|
|
7347
7347
|
Input: undefined,
|
|
7348
7348
|
};
|
|
7349
|
-
const data =
|
|
7349
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7350
7350
|
if (data.input !== undefined && data.input !== null) {
|
|
7351
7351
|
contents.Input = deserializeAws_restJson1Input(data.input, context);
|
|
7352
7352
|
}
|
|
@@ -7453,39 +7453,39 @@ const deserializeAws_restJson1UpdateInputDeviceCommand = async (output, context)
|
|
|
7453
7453
|
Type: undefined,
|
|
7454
7454
|
UhdDeviceSettings: undefined,
|
|
7455
7455
|
};
|
|
7456
|
-
const data =
|
|
7456
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7457
7457
|
if (data.arn !== undefined && data.arn !== null) {
|
|
7458
|
-
contents.Arn =
|
|
7458
|
+
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
7459
7459
|
}
|
|
7460
7460
|
if (data.connectionState !== undefined && data.connectionState !== null) {
|
|
7461
|
-
contents.ConnectionState =
|
|
7461
|
+
contents.ConnectionState = smithy_client_1.expectString(data.connectionState);
|
|
7462
7462
|
}
|
|
7463
7463
|
if (data.deviceSettingsSyncState !== undefined && data.deviceSettingsSyncState !== null) {
|
|
7464
|
-
contents.DeviceSettingsSyncState =
|
|
7464
|
+
contents.DeviceSettingsSyncState = smithy_client_1.expectString(data.deviceSettingsSyncState);
|
|
7465
7465
|
}
|
|
7466
7466
|
if (data.deviceUpdateStatus !== undefined && data.deviceUpdateStatus !== null) {
|
|
7467
|
-
contents.DeviceUpdateStatus =
|
|
7467
|
+
contents.DeviceUpdateStatus = smithy_client_1.expectString(data.deviceUpdateStatus);
|
|
7468
7468
|
}
|
|
7469
7469
|
if (data.hdDeviceSettings !== undefined && data.hdDeviceSettings !== null) {
|
|
7470
7470
|
contents.HdDeviceSettings = deserializeAws_restJson1InputDeviceHdSettings(data.hdDeviceSettings, context);
|
|
7471
7471
|
}
|
|
7472
7472
|
if (data.id !== undefined && data.id !== null) {
|
|
7473
|
-
contents.Id =
|
|
7473
|
+
contents.Id = smithy_client_1.expectString(data.id);
|
|
7474
7474
|
}
|
|
7475
7475
|
if (data.macAddress !== undefined && data.macAddress !== null) {
|
|
7476
|
-
contents.MacAddress =
|
|
7476
|
+
contents.MacAddress = smithy_client_1.expectString(data.macAddress);
|
|
7477
7477
|
}
|
|
7478
7478
|
if (data.name !== undefined && data.name !== null) {
|
|
7479
|
-
contents.Name =
|
|
7479
|
+
contents.Name = smithy_client_1.expectString(data.name);
|
|
7480
7480
|
}
|
|
7481
7481
|
if (data.networkSettings !== undefined && data.networkSettings !== null) {
|
|
7482
7482
|
contents.NetworkSettings = deserializeAws_restJson1InputDeviceNetworkSettings(data.networkSettings, context);
|
|
7483
7483
|
}
|
|
7484
7484
|
if (data.serialNumber !== undefined && data.serialNumber !== null) {
|
|
7485
|
-
contents.SerialNumber =
|
|
7485
|
+
contents.SerialNumber = smithy_client_1.expectString(data.serialNumber);
|
|
7486
7486
|
}
|
|
7487
7487
|
if (data.type !== undefined && data.type !== null) {
|
|
7488
|
-
contents.Type =
|
|
7488
|
+
contents.Type = smithy_client_1.expectString(data.type);
|
|
7489
7489
|
}
|
|
7490
7490
|
if (data.uhdDeviceSettings !== undefined && data.uhdDeviceSettings !== null) {
|
|
7491
7491
|
contents.UhdDeviceSettings = deserializeAws_restJson1InputDeviceUhdSettings(data.uhdDeviceSettings, context);
|
|
@@ -7590,7 +7590,7 @@ const deserializeAws_restJson1UpdateInputSecurityGroupCommand = async (output, c
|
|
|
7590
7590
|
$metadata: deserializeMetadata(output),
|
|
7591
7591
|
SecurityGroup: undefined,
|
|
7592
7592
|
};
|
|
7593
|
-
const data =
|
|
7593
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7594
7594
|
if (data.securityGroup !== undefined && data.securityGroup !== null) {
|
|
7595
7595
|
contents.SecurityGroup = deserializeAws_restJson1InputSecurityGroup(data.securityGroup, context);
|
|
7596
7596
|
}
|
|
@@ -7686,7 +7686,7 @@ const deserializeAws_restJson1UpdateMultiplexCommand = async (output, context) =
|
|
|
7686
7686
|
$metadata: deserializeMetadata(output),
|
|
7687
7687
|
Multiplex: undefined,
|
|
7688
7688
|
};
|
|
7689
|
-
const data =
|
|
7689
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7690
7690
|
if (data.multiplex !== undefined && data.multiplex !== null) {
|
|
7691
7691
|
contents.Multiplex = deserializeAws_restJson1Multiplex(data.multiplex, context);
|
|
7692
7692
|
}
|
|
@@ -7790,7 +7790,7 @@ const deserializeAws_restJson1UpdateMultiplexProgramCommand = async (output, con
|
|
|
7790
7790
|
$metadata: deserializeMetadata(output),
|
|
7791
7791
|
MultiplexProgram: undefined,
|
|
7792
7792
|
};
|
|
7793
|
-
const data =
|
|
7793
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7794
7794
|
if (data.multiplexProgram !== undefined && data.multiplexProgram !== null) {
|
|
7795
7795
|
contents.MultiplexProgram = deserializeAws_restJson1MultiplexProgram(data.multiplexProgram, context);
|
|
7796
7796
|
}
|
|
@@ -7894,7 +7894,7 @@ const deserializeAws_restJson1UpdateReservationCommand = async (output, context)
|
|
|
7894
7894
|
$metadata: deserializeMetadata(output),
|
|
7895
7895
|
Reservation: undefined,
|
|
7896
7896
|
};
|
|
7897
|
-
const data =
|
|
7897
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7898
7898
|
if (data.reservation !== undefined && data.reservation !== null) {
|
|
7899
7899
|
contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
|
|
7900
7900
|
}
|
|
@@ -7999,7 +7999,7 @@ const deserializeAws_restJson1BadGatewayExceptionResponse = async (parsedOutput,
|
|
|
7999
7999
|
};
|
|
8000
8000
|
const data = parsedOutput.body;
|
|
8001
8001
|
if (data.message !== undefined && data.message !== null) {
|
|
8002
|
-
contents.Message =
|
|
8002
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8003
8003
|
}
|
|
8004
8004
|
return contents;
|
|
8005
8005
|
};
|
|
@@ -8012,7 +8012,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
8012
8012
|
};
|
|
8013
8013
|
const data = parsedOutput.body;
|
|
8014
8014
|
if (data.message !== undefined && data.message !== null) {
|
|
8015
|
-
contents.Message =
|
|
8015
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8016
8016
|
}
|
|
8017
8017
|
return contents;
|
|
8018
8018
|
};
|
|
@@ -8025,7 +8025,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
8025
8025
|
};
|
|
8026
8026
|
const data = parsedOutput.body;
|
|
8027
8027
|
if (data.message !== undefined && data.message !== null) {
|
|
8028
|
-
contents.Message =
|
|
8028
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8029
8029
|
}
|
|
8030
8030
|
return contents;
|
|
8031
8031
|
};
|
|
@@ -8038,7 +8038,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
8038
8038
|
};
|
|
8039
8039
|
const data = parsedOutput.body;
|
|
8040
8040
|
if (data.message !== undefined && data.message !== null) {
|
|
8041
|
-
contents.Message =
|
|
8041
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8042
8042
|
}
|
|
8043
8043
|
return contents;
|
|
8044
8044
|
};
|
|
@@ -8051,7 +8051,7 @@ const deserializeAws_restJson1GatewayTimeoutExceptionResponse = async (parsedOut
|
|
|
8051
8051
|
};
|
|
8052
8052
|
const data = parsedOutput.body;
|
|
8053
8053
|
if (data.message !== undefined && data.message !== null) {
|
|
8054
|
-
contents.Message =
|
|
8054
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8055
8055
|
}
|
|
8056
8056
|
return contents;
|
|
8057
8057
|
};
|
|
@@ -8064,7 +8064,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
|
|
|
8064
8064
|
};
|
|
8065
8065
|
const data = parsedOutput.body;
|
|
8066
8066
|
if (data.message !== undefined && data.message !== null) {
|
|
8067
|
-
contents.Message =
|
|
8067
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8068
8068
|
}
|
|
8069
8069
|
return contents;
|
|
8070
8070
|
};
|
|
@@ -8077,7 +8077,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
8077
8077
|
};
|
|
8078
8078
|
const data = parsedOutput.body;
|
|
8079
8079
|
if (data.message !== undefined && data.message !== null) {
|
|
8080
|
-
contents.Message =
|
|
8080
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8081
8081
|
}
|
|
8082
8082
|
return contents;
|
|
8083
8083
|
};
|
|
@@ -8090,7 +8090,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
|
|
|
8090
8090
|
};
|
|
8091
8091
|
const data = parsedOutput.body;
|
|
8092
8092
|
if (data.message !== undefined && data.message !== null) {
|
|
8093
|
-
contents.Message =
|
|
8093
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8094
8094
|
}
|
|
8095
8095
|
return contents;
|
|
8096
8096
|
};
|
|
@@ -8104,7 +8104,7 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
|
|
|
8104
8104
|
};
|
|
8105
8105
|
const data = parsedOutput.body;
|
|
8106
8106
|
if (data.message !== undefined && data.message !== null) {
|
|
8107
|
-
contents.Message =
|
|
8107
|
+
contents.Message = smithy_client_1.expectString(data.message);
|
|
8108
8108
|
}
|
|
8109
8109
|
if (data.validationErrors !== undefined && data.validationErrors !== null) {
|
|
8110
8110
|
contents.ValidationErrors = deserializeAws_restJson1__listOfValidationError(data.validationErrors, context);
|
|
@@ -8393,7 +8393,7 @@ const serializeAws_restJson1__listOfVideoDescription = (input, context) => {
|
|
|
8393
8393
|
};
|
|
8394
8394
|
const serializeAws_restJson1AacSettings = (input, context) => {
|
|
8395
8395
|
return {
|
|
8396
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate:
|
|
8396
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
8397
8397
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
8398
8398
|
...(input.InputType !== undefined && input.InputType !== null && { inputType: input.InputType }),
|
|
8399
8399
|
...(input.Profile !== undefined && input.Profile !== null && { profile: input.Profile }),
|
|
@@ -8401,14 +8401,14 @@ const serializeAws_restJson1AacSettings = (input, context) => {
|
|
|
8401
8401
|
input.RateControlMode !== null && { rateControlMode: input.RateControlMode }),
|
|
8402
8402
|
...(input.RawFormat !== undefined && input.RawFormat !== null && { rawFormat: input.RawFormat }),
|
|
8403
8403
|
...(input.SampleRate !== undefined &&
|
|
8404
|
-
input.SampleRate !== null && { sampleRate:
|
|
8404
|
+
input.SampleRate !== null && { sampleRate: smithy_client_1.serializeFloat(input.SampleRate) }),
|
|
8405
8405
|
...(input.Spec !== undefined && input.Spec !== null && { spec: input.Spec }),
|
|
8406
8406
|
...(input.VbrQuality !== undefined && input.VbrQuality !== null && { vbrQuality: input.VbrQuality }),
|
|
8407
8407
|
};
|
|
8408
8408
|
};
|
|
8409
8409
|
const serializeAws_restJson1Ac3Settings = (input, context) => {
|
|
8410
8410
|
return {
|
|
8411
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate:
|
|
8411
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
8412
8412
|
...(input.BitstreamMode !== undefined && input.BitstreamMode !== null && { bitstreamMode: input.BitstreamMode }),
|
|
8413
8413
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
8414
8414
|
...(input.Dialnorm !== undefined && input.Dialnorm !== null && { dialnorm: input.Dialnorm }),
|
|
@@ -8549,7 +8549,7 @@ const serializeAws_restJson1AudioNormalizationSettings = (input, context) => {
|
|
|
8549
8549
|
...(input.AlgorithmControl !== undefined &&
|
|
8550
8550
|
input.AlgorithmControl !== null && { algorithmControl: input.AlgorithmControl }),
|
|
8551
8551
|
...(input.TargetLkfs !== undefined &&
|
|
8552
|
-
input.TargetLkfs !== null && { targetLkfs:
|
|
8552
|
+
input.TargetLkfs !== null && { targetLkfs: smithy_client_1.serializeFloat(input.TargetLkfs) }),
|
|
8553
8553
|
};
|
|
8554
8554
|
};
|
|
8555
8555
|
const serializeAws_restJson1AudioOnlyHlsSettings = (input, context) => {
|
|
@@ -8799,11 +8799,11 @@ const serializeAws_restJson1CaptionLanguageMapping = (input, context) => {
|
|
|
8799
8799
|
};
|
|
8800
8800
|
const serializeAws_restJson1CaptionRectangle = (input, context) => {
|
|
8801
8801
|
return {
|
|
8802
|
-
...(input.Height !== undefined && input.Height !== null && { height:
|
|
8802
|
+
...(input.Height !== undefined && input.Height !== null && { height: smithy_client_1.serializeFloat(input.Height) }),
|
|
8803
8803
|
...(input.LeftOffset !== undefined &&
|
|
8804
|
-
input.LeftOffset !== null && { leftOffset:
|
|
8805
|
-
...(input.TopOffset !== undefined && input.TopOffset !== null && { topOffset:
|
|
8806
|
-
...(input.Width !== undefined && input.Width !== null && { width:
|
|
8804
|
+
input.LeftOffset !== null && { leftOffset: smithy_client_1.serializeFloat(input.LeftOffset) }),
|
|
8805
|
+
...(input.TopOffset !== undefined && input.TopOffset !== null && { topOffset: smithy_client_1.serializeFloat(input.TopOffset) }),
|
|
8806
|
+
...(input.Width !== undefined && input.Width !== null && { width: smithy_client_1.serializeFloat(input.Width) }),
|
|
8807
8807
|
};
|
|
8808
8808
|
};
|
|
8809
8809
|
const serializeAws_restJson1CaptionSelector = (input, context) => {
|
|
@@ -8913,7 +8913,7 @@ const serializeAws_restJson1Eac3Settings = (input, context) => {
|
|
|
8913
8913
|
return {
|
|
8914
8914
|
...(input.AttenuationControl !== undefined &&
|
|
8915
8915
|
input.AttenuationControl !== null && { attenuationControl: input.AttenuationControl }),
|
|
8916
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate:
|
|
8916
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
8917
8917
|
...(input.BitstreamMode !== undefined && input.BitstreamMode !== null && { bitstreamMode: input.BitstreamMode }),
|
|
8918
8918
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
8919
8919
|
...(input.DcFilter !== undefined && input.DcFilter !== null && { dcFilter: input.DcFilter }),
|
|
@@ -8923,13 +8923,13 @@ const serializeAws_restJson1Eac3Settings = (input, context) => {
|
|
|
8923
8923
|
...(input.LfeControl !== undefined && input.LfeControl !== null && { lfeControl: input.LfeControl }),
|
|
8924
8924
|
...(input.LfeFilter !== undefined && input.LfeFilter !== null && { lfeFilter: input.LfeFilter }),
|
|
8925
8925
|
...(input.LoRoCenterMixLevel !== undefined &&
|
|
8926
|
-
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel:
|
|
8926
|
+
input.LoRoCenterMixLevel !== null && { loRoCenterMixLevel: smithy_client_1.serializeFloat(input.LoRoCenterMixLevel) }),
|
|
8927
8927
|
...(input.LoRoSurroundMixLevel !== undefined &&
|
|
8928
|
-
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel:
|
|
8928
|
+
input.LoRoSurroundMixLevel !== null && { loRoSurroundMixLevel: smithy_client_1.serializeFloat(input.LoRoSurroundMixLevel) }),
|
|
8929
8929
|
...(input.LtRtCenterMixLevel !== undefined &&
|
|
8930
|
-
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel:
|
|
8930
|
+
input.LtRtCenterMixLevel !== null && { ltRtCenterMixLevel: smithy_client_1.serializeFloat(input.LtRtCenterMixLevel) }),
|
|
8931
8931
|
...(input.LtRtSurroundMixLevel !== undefined &&
|
|
8932
|
-
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel:
|
|
8932
|
+
input.LtRtSurroundMixLevel !== null && { ltRtSurroundMixLevel: smithy_client_1.serializeFloat(input.LtRtSurroundMixLevel) }),
|
|
8933
8933
|
...(input.MetadataControl !== undefined &&
|
|
8934
8934
|
input.MetadataControl !== null && { metadataControl: input.MetadataControl }),
|
|
8935
8935
|
...(input.PassthroughControl !== undefined &&
|
|
@@ -9195,7 +9195,7 @@ const serializeAws_restJson1H264Settings = (input, context) => {
|
|
|
9195
9195
|
...(input.GopClosedCadence !== undefined &&
|
|
9196
9196
|
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence }),
|
|
9197
9197
|
...(input.GopNumBFrames !== undefined && input.GopNumBFrames !== null && { gopNumBFrames: input.GopNumBFrames }),
|
|
9198
|
-
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize:
|
|
9198
|
+
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: smithy_client_1.serializeFloat(input.GopSize) }),
|
|
9199
9199
|
...(input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits }),
|
|
9200
9200
|
...(input.Level !== undefined && input.Level !== null && { level: input.Level }),
|
|
9201
9201
|
...(input.LookAheadRateControl !== undefined &&
|
|
@@ -9280,7 +9280,7 @@ const serializeAws_restJson1H265Settings = (input, context) => {
|
|
|
9280
9280
|
input.FramerateNumerator !== null && { framerateNumerator: input.FramerateNumerator }),
|
|
9281
9281
|
...(input.GopClosedCadence !== undefined &&
|
|
9282
9282
|
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence }),
|
|
9283
|
-
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize:
|
|
9283
|
+
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: smithy_client_1.serializeFloat(input.GopSize) }),
|
|
9284
9284
|
...(input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits }),
|
|
9285
9285
|
...(input.Level !== undefined && input.Level !== null && { level: input.Level }),
|
|
9286
9286
|
...(input.LookAheadRateControl !== undefined &&
|
|
@@ -9756,13 +9756,13 @@ const serializeAws_restJson1M2tsSettings = (input, context) => {
|
|
|
9756
9756
|
input.EtvPlatformPid !== null && { etvPlatformPid: input.EtvPlatformPid }),
|
|
9757
9757
|
...(input.EtvSignalPid !== undefined && input.EtvSignalPid !== null && { etvSignalPid: input.EtvSignalPid }),
|
|
9758
9758
|
...(input.FragmentTime !== undefined &&
|
|
9759
|
-
input.FragmentTime !== null && { fragmentTime:
|
|
9759
|
+
input.FragmentTime !== null && { fragmentTime: smithy_client_1.serializeFloat(input.FragmentTime) }),
|
|
9760
9760
|
...(input.Klv !== undefined && input.Klv !== null && { klv: input.Klv }),
|
|
9761
9761
|
...(input.KlvDataPids !== undefined && input.KlvDataPids !== null && { klvDataPids: input.KlvDataPids }),
|
|
9762
9762
|
...(input.NielsenId3Behavior !== undefined &&
|
|
9763
9763
|
input.NielsenId3Behavior !== null && { nielsenId3Behavior: input.NielsenId3Behavior }),
|
|
9764
9764
|
...(input.NullPacketBitrate !== undefined &&
|
|
9765
|
-
input.NullPacketBitrate !== null && { nullPacketBitrate:
|
|
9765
|
+
input.NullPacketBitrate !== null && { nullPacketBitrate: smithy_client_1.serializeFloat(input.NullPacketBitrate) }),
|
|
9766
9766
|
...(input.PatInterval !== undefined && input.PatInterval !== null && { patInterval: input.PatInterval }),
|
|
9767
9767
|
...(input.PcrControl !== undefined && input.PcrControl !== null && { pcrControl: input.PcrControl }),
|
|
9768
9768
|
...(input.PcrPeriod !== undefined && input.PcrPeriod !== null && { pcrPeriod: input.PcrPeriod }),
|
|
@@ -9779,7 +9779,7 @@ const serializeAws_restJson1M2tsSettings = (input, context) => {
|
|
|
9779
9779
|
...(input.SegmentationStyle !== undefined &&
|
|
9780
9780
|
input.SegmentationStyle !== null && { segmentationStyle: input.SegmentationStyle }),
|
|
9781
9781
|
...(input.SegmentationTime !== undefined &&
|
|
9782
|
-
input.SegmentationTime !== null && { segmentationTime:
|
|
9782
|
+
input.SegmentationTime !== null && { segmentationTime: smithy_client_1.serializeFloat(input.SegmentationTime) }),
|
|
9783
9783
|
...(input.TimedMetadataBehavior !== undefined &&
|
|
9784
9784
|
input.TimedMetadataBehavior !== null && { timedMetadataBehavior: input.TimedMetadataBehavior }),
|
|
9785
9785
|
...(input.TimedMetadataPid !== undefined &&
|
|
@@ -9868,10 +9868,10 @@ const serializeAws_restJson1MotionGraphicsSettings = (input, context) => {
|
|
|
9868
9868
|
};
|
|
9869
9869
|
const serializeAws_restJson1Mp2Settings = (input, context) => {
|
|
9870
9870
|
return {
|
|
9871
|
-
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate:
|
|
9871
|
+
...(input.Bitrate !== undefined && input.Bitrate !== null && { bitrate: smithy_client_1.serializeFloat(input.Bitrate) }),
|
|
9872
9872
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
9873
9873
|
...(input.SampleRate !== undefined &&
|
|
9874
|
-
input.SampleRate !== null && { sampleRate:
|
|
9874
|
+
input.SampleRate !== null && { sampleRate: smithy_client_1.serializeFloat(input.SampleRate) }),
|
|
9875
9875
|
};
|
|
9876
9876
|
};
|
|
9877
9877
|
const serializeAws_restJson1Mpeg2FilterSettings = (input, context) => {
|
|
@@ -9903,7 +9903,7 @@ const serializeAws_restJson1Mpeg2Settings = (input, context) => {
|
|
|
9903
9903
|
...(input.GopClosedCadence !== undefined &&
|
|
9904
9904
|
input.GopClosedCadence !== null && { gopClosedCadence: input.GopClosedCadence }),
|
|
9905
9905
|
...(input.GopNumBFrames !== undefined && input.GopNumBFrames !== null && { gopNumBFrames: input.GopNumBFrames }),
|
|
9906
|
-
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize:
|
|
9906
|
+
...(input.GopSize !== undefined && input.GopSize !== null && { gopSize: smithy_client_1.serializeFloat(input.GopSize) }),
|
|
9907
9907
|
...(input.GopSizeUnits !== undefined && input.GopSizeUnits !== null && { gopSizeUnits: input.GopSizeUnits }),
|
|
9908
9908
|
...(input.ScanType !== undefined && input.ScanType !== null && { scanType: input.ScanType }),
|
|
9909
9909
|
...(input.SubgopLength !== undefined && input.SubgopLength !== null && { subgopLength: input.SubgopLength }),
|
|
@@ -10569,7 +10569,7 @@ const serializeAws_restJson1UdpOutputSettings = (input, context) => {
|
|
|
10569
10569
|
const serializeAws_restJson1VideoBlackFailoverSettings = (input, context) => {
|
|
10570
10570
|
return {
|
|
10571
10571
|
...(input.BlackDetectThreshold !== undefined &&
|
|
10572
|
-
input.BlackDetectThreshold !== null && { blackDetectThreshold:
|
|
10572
|
+
input.BlackDetectThreshold !== null && { blackDetectThreshold: smithy_client_1.serializeFloat(input.BlackDetectThreshold) }),
|
|
10573
10573
|
...(input.VideoBlackThresholdMsec !== undefined &&
|
|
10574
10574
|
input.VideoBlackThresholdMsec !== null && { videoBlackThresholdMsec: input.VideoBlackThresholdMsec }),
|
|
10575
10575
|
};
|
|
@@ -10666,10 +10666,10 @@ const serializeAws_restJson1VpcOutputSettings = (input, context) => {
|
|
|
10666
10666
|
};
|
|
10667
10667
|
const serializeAws_restJson1WavSettings = (input, context) => {
|
|
10668
10668
|
return {
|
|
10669
|
-
...(input.BitDepth !== undefined && input.BitDepth !== null && { bitDepth:
|
|
10669
|
+
...(input.BitDepth !== undefined && input.BitDepth !== null && { bitDepth: smithy_client_1.serializeFloat(input.BitDepth) }),
|
|
10670
10670
|
...(input.CodingMode !== undefined && input.CodingMode !== null && { codingMode: input.CodingMode }),
|
|
10671
10671
|
...(input.SampleRate !== undefined &&
|
|
10672
|
-
input.SampleRate !== null && { sampleRate:
|
|
10672
|
+
input.SampleRate !== null && { sampleRate: smithy_client_1.serializeFloat(input.SampleRate) }),
|
|
10673
10673
|
};
|
|
10674
10674
|
};
|
|
10675
10675
|
const serializeAws_restJson1WebvttDestinationSettings = (input, context) => {
|
|
@@ -10684,7 +10684,7 @@ const deserializeAws_restJson1__listOf__integer = (output, context) => {
|
|
|
10684
10684
|
if (entry === null) {
|
|
10685
10685
|
return null;
|
|
10686
10686
|
}
|
|
10687
|
-
return
|
|
10687
|
+
return smithy_client_1.expectInt32(entry);
|
|
10688
10688
|
});
|
|
10689
10689
|
};
|
|
10690
10690
|
const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
@@ -10694,7 +10694,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
10694
10694
|
if (entry === null) {
|
|
10695
10695
|
return null;
|
|
10696
10696
|
}
|
|
10697
|
-
return
|
|
10697
|
+
return smithy_client_1.expectString(entry);
|
|
10698
10698
|
});
|
|
10699
10699
|
};
|
|
10700
10700
|
const deserializeAws_restJson1__listOfAudioChannelMapping = (output, context) => {
|
|
@@ -10824,7 +10824,7 @@ const deserializeAws_restJson1__listOfHlsAdMarkers = (output, context) => {
|
|
|
10824
10824
|
if (entry === null) {
|
|
10825
10825
|
return null;
|
|
10826
10826
|
}
|
|
10827
|
-
return
|
|
10827
|
+
return smithy_client_1.expectString(entry);
|
|
10828
10828
|
});
|
|
10829
10829
|
};
|
|
10830
10830
|
const deserializeAws_restJson1__listOfInput = (output, context) => {
|
|
@@ -11064,7 +11064,7 @@ const deserializeAws_restJson1__listOfRtmpAdMarkers = (output, context) => {
|
|
|
11064
11064
|
if (entry === null) {
|
|
11065
11065
|
return null;
|
|
11066
11066
|
}
|
|
11067
|
-
return
|
|
11067
|
+
return smithy_client_1.expectString(entry);
|
|
11068
11068
|
});
|
|
11069
11069
|
};
|
|
11070
11070
|
const deserializeAws_restJson1__listOfScheduleAction = (output, context) => {
|
|
@@ -11119,31 +11119,31 @@ const deserializeAws_restJson1__listOfVideoDescription = (output, context) => {
|
|
|
11119
11119
|
};
|
|
11120
11120
|
const deserializeAws_restJson1AacSettings = (output, context) => {
|
|
11121
11121
|
return {
|
|
11122
|
-
Bitrate:
|
|
11123
|
-
CodingMode:
|
|
11124
|
-
InputType:
|
|
11125
|
-
Profile:
|
|
11126
|
-
RateControlMode:
|
|
11127
|
-
RawFormat:
|
|
11128
|
-
SampleRate:
|
|
11129
|
-
Spec:
|
|
11130
|
-
VbrQuality:
|
|
11122
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
11123
|
+
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
11124
|
+
InputType: smithy_client_1.expectString(output.inputType),
|
|
11125
|
+
Profile: smithy_client_1.expectString(output.profile),
|
|
11126
|
+
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
11127
|
+
RawFormat: smithy_client_1.expectString(output.rawFormat),
|
|
11128
|
+
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
11129
|
+
Spec: smithy_client_1.expectString(output.spec),
|
|
11130
|
+
VbrQuality: smithy_client_1.expectString(output.vbrQuality),
|
|
11131
11131
|
};
|
|
11132
11132
|
};
|
|
11133
11133
|
const deserializeAws_restJson1Ac3Settings = (output, context) => {
|
|
11134
11134
|
return {
|
|
11135
|
-
Bitrate:
|
|
11136
|
-
BitstreamMode:
|
|
11137
|
-
CodingMode:
|
|
11138
|
-
Dialnorm:
|
|
11139
|
-
DrcProfile:
|
|
11140
|
-
LfeFilter:
|
|
11141
|
-
MetadataControl:
|
|
11135
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
11136
|
+
BitstreamMode: smithy_client_1.expectString(output.bitstreamMode),
|
|
11137
|
+
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
11138
|
+
Dialnorm: smithy_client_1.expectInt32(output.dialnorm),
|
|
11139
|
+
DrcProfile: smithy_client_1.expectString(output.drcProfile),
|
|
11140
|
+
LfeFilter: smithy_client_1.expectString(output.lfeFilter),
|
|
11141
|
+
MetadataControl: smithy_client_1.expectString(output.metadataControl),
|
|
11142
11142
|
};
|
|
11143
11143
|
};
|
|
11144
11144
|
const deserializeAws_restJson1AncillarySourceSettings = (output, context) => {
|
|
11145
11145
|
return {
|
|
11146
|
-
SourceAncillaryChannelNumber:
|
|
11146
|
+
SourceAncillaryChannelNumber: smithy_client_1.expectInt32(output.sourceAncillaryChannelNumber),
|
|
11147
11147
|
};
|
|
11148
11148
|
};
|
|
11149
11149
|
const deserializeAws_restJson1ArchiveCdnSettings = (output, context) => {
|
|
@@ -11171,7 +11171,7 @@ const deserializeAws_restJson1ArchiveGroupSettings = (output, context) => {
|
|
|
11171
11171
|
Destination: output.destination !== undefined && output.destination !== null
|
|
11172
11172
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
11173
11173
|
: undefined,
|
|
11174
|
-
RolloverInterval:
|
|
11174
|
+
RolloverInterval: smithy_client_1.expectInt32(output.rolloverInterval),
|
|
11175
11175
|
};
|
|
11176
11176
|
};
|
|
11177
11177
|
const deserializeAws_restJson1ArchiveOutputSettings = (output, context) => {
|
|
@@ -11179,13 +11179,13 @@ const deserializeAws_restJson1ArchiveOutputSettings = (output, context) => {
|
|
|
11179
11179
|
ContainerSettings: output.containerSettings !== undefined && output.containerSettings !== null
|
|
11180
11180
|
? deserializeAws_restJson1ArchiveContainerSettings(output.containerSettings, context)
|
|
11181
11181
|
: undefined,
|
|
11182
|
-
Extension:
|
|
11183
|
-
NameModifier:
|
|
11182
|
+
Extension: smithy_client_1.expectString(output.extension),
|
|
11183
|
+
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
11184
11184
|
};
|
|
11185
11185
|
};
|
|
11186
11186
|
const deserializeAws_restJson1ArchiveS3Settings = (output, context) => {
|
|
11187
11187
|
return {
|
|
11188
|
-
CannedAcl:
|
|
11188
|
+
CannedAcl: smithy_client_1.expectString(output.cannedAcl),
|
|
11189
11189
|
};
|
|
11190
11190
|
};
|
|
11191
11191
|
const deserializeAws_restJson1AribDestinationSettings = (output, context) => {
|
|
@@ -11199,7 +11199,7 @@ const deserializeAws_restJson1AudioChannelMapping = (output, context) => {
|
|
|
11199
11199
|
InputChannelLevels: output.inputChannelLevels !== undefined && output.inputChannelLevels !== null
|
|
11200
11200
|
? deserializeAws_restJson1__listOfInputChannelLevel(output.inputChannelLevels, context)
|
|
11201
11201
|
: undefined,
|
|
11202
|
-
OutputChannel:
|
|
11202
|
+
OutputChannel: smithy_client_1.expectInt32(output.outputChannel),
|
|
11203
11203
|
};
|
|
11204
11204
|
};
|
|
11205
11205
|
const deserializeAws_restJson1AudioCodecSettings = (output, context) => {
|
|
@@ -11229,58 +11229,58 @@ const deserializeAws_restJson1AudioDescription = (output, context) => {
|
|
|
11229
11229
|
AudioNormalizationSettings: output.audioNormalizationSettings !== undefined && output.audioNormalizationSettings !== null
|
|
11230
11230
|
? deserializeAws_restJson1AudioNormalizationSettings(output.audioNormalizationSettings, context)
|
|
11231
11231
|
: undefined,
|
|
11232
|
-
AudioSelectorName:
|
|
11233
|
-
AudioType:
|
|
11234
|
-
AudioTypeControl:
|
|
11232
|
+
AudioSelectorName: smithy_client_1.expectString(output.audioSelectorName),
|
|
11233
|
+
AudioType: smithy_client_1.expectString(output.audioType),
|
|
11234
|
+
AudioTypeControl: smithy_client_1.expectString(output.audioTypeControl),
|
|
11235
11235
|
CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null
|
|
11236
11236
|
? deserializeAws_restJson1AudioCodecSettings(output.codecSettings, context)
|
|
11237
11237
|
: undefined,
|
|
11238
|
-
LanguageCode:
|
|
11239
|
-
LanguageCodeControl:
|
|
11240
|
-
Name:
|
|
11238
|
+
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
11239
|
+
LanguageCodeControl: smithy_client_1.expectString(output.languageCodeControl),
|
|
11240
|
+
Name: smithy_client_1.expectString(output.name),
|
|
11241
11241
|
RemixSettings: output.remixSettings !== undefined && output.remixSettings !== null
|
|
11242
11242
|
? deserializeAws_restJson1RemixSettings(output.remixSettings, context)
|
|
11243
11243
|
: undefined,
|
|
11244
|
-
StreamName:
|
|
11244
|
+
StreamName: smithy_client_1.expectString(output.streamName),
|
|
11245
11245
|
};
|
|
11246
11246
|
};
|
|
11247
11247
|
const deserializeAws_restJson1AudioHlsRenditionSelection = (output, context) => {
|
|
11248
11248
|
return {
|
|
11249
|
-
GroupId:
|
|
11250
|
-
Name:
|
|
11249
|
+
GroupId: smithy_client_1.expectString(output.groupId),
|
|
11250
|
+
Name: smithy_client_1.expectString(output.name),
|
|
11251
11251
|
};
|
|
11252
11252
|
};
|
|
11253
11253
|
const deserializeAws_restJson1AudioLanguageSelection = (output, context) => {
|
|
11254
11254
|
return {
|
|
11255
|
-
LanguageCode:
|
|
11256
|
-
LanguageSelectionPolicy:
|
|
11255
|
+
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
11256
|
+
LanguageSelectionPolicy: smithy_client_1.expectString(output.languageSelectionPolicy),
|
|
11257
11257
|
};
|
|
11258
11258
|
};
|
|
11259
11259
|
const deserializeAws_restJson1AudioNormalizationSettings = (output, context) => {
|
|
11260
11260
|
return {
|
|
11261
|
-
Algorithm:
|
|
11262
|
-
AlgorithmControl:
|
|
11263
|
-
TargetLkfs:
|
|
11261
|
+
Algorithm: smithy_client_1.expectString(output.algorithm),
|
|
11262
|
+
AlgorithmControl: smithy_client_1.expectString(output.algorithmControl),
|
|
11263
|
+
TargetLkfs: smithy_client_1.limitedParseDouble(output.targetLkfs),
|
|
11264
11264
|
};
|
|
11265
11265
|
};
|
|
11266
11266
|
const deserializeAws_restJson1AudioOnlyHlsSettings = (output, context) => {
|
|
11267
11267
|
return {
|
|
11268
|
-
AudioGroupId:
|
|
11268
|
+
AudioGroupId: smithy_client_1.expectString(output.audioGroupId),
|
|
11269
11269
|
AudioOnlyImage: output.audioOnlyImage !== undefined && output.audioOnlyImage !== null
|
|
11270
11270
|
? deserializeAws_restJson1InputLocation(output.audioOnlyImage, context)
|
|
11271
11271
|
: undefined,
|
|
11272
|
-
AudioTrackType:
|
|
11273
|
-
SegmentType:
|
|
11272
|
+
AudioTrackType: smithy_client_1.expectString(output.audioTrackType),
|
|
11273
|
+
SegmentType: smithy_client_1.expectString(output.segmentType),
|
|
11274
11274
|
};
|
|
11275
11275
|
};
|
|
11276
11276
|
const deserializeAws_restJson1AudioPidSelection = (output, context) => {
|
|
11277
11277
|
return {
|
|
11278
|
-
Pid:
|
|
11278
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
11279
11279
|
};
|
|
11280
11280
|
};
|
|
11281
11281
|
const deserializeAws_restJson1AudioSelector = (output, context) => {
|
|
11282
11282
|
return {
|
|
11283
|
-
Name:
|
|
11283
|
+
Name: smithy_client_1.expectString(output.name),
|
|
11284
11284
|
SelectorSettings: output.selectorSettings !== undefined && output.selectorSettings !== null
|
|
11285
11285
|
? deserializeAws_restJson1AudioSelectorSettings(output.selectorSettings, context)
|
|
11286
11286
|
: undefined,
|
|
@@ -11304,13 +11304,13 @@ const deserializeAws_restJson1AudioSelectorSettings = (output, context) => {
|
|
|
11304
11304
|
};
|
|
11305
11305
|
const deserializeAws_restJson1AudioSilenceFailoverSettings = (output, context) => {
|
|
11306
11306
|
return {
|
|
11307
|
-
AudioSelectorName:
|
|
11308
|
-
AudioSilenceThresholdMsec:
|
|
11307
|
+
AudioSelectorName: smithy_client_1.expectString(output.audioSelectorName),
|
|
11308
|
+
AudioSilenceThresholdMsec: smithy_client_1.expectInt32(output.audioSilenceThresholdMsec),
|
|
11309
11309
|
};
|
|
11310
11310
|
};
|
|
11311
11311
|
const deserializeAws_restJson1AudioTrack = (output, context) => {
|
|
11312
11312
|
return {
|
|
11313
|
-
Track:
|
|
11313
|
+
Track: smithy_client_1.expectInt32(output.track),
|
|
11314
11314
|
};
|
|
11315
11315
|
};
|
|
11316
11316
|
const deserializeAws_restJson1AudioTrackSelection = (output, context) => {
|
|
@@ -11322,12 +11322,12 @@ const deserializeAws_restJson1AudioTrackSelection = (output, context) => {
|
|
|
11322
11322
|
};
|
|
11323
11323
|
const deserializeAws_restJson1AutomaticInputFailoverSettings = (output, context) => {
|
|
11324
11324
|
return {
|
|
11325
|
-
ErrorClearTimeMsec:
|
|
11325
|
+
ErrorClearTimeMsec: smithy_client_1.expectInt32(output.errorClearTimeMsec),
|
|
11326
11326
|
FailoverConditions: output.failoverConditions !== undefined && output.failoverConditions !== null
|
|
11327
11327
|
? deserializeAws_restJson1__listOfFailoverCondition(output.failoverConditions, context)
|
|
11328
11328
|
: undefined,
|
|
11329
|
-
InputPreference:
|
|
11330
|
-
SecondaryInputId:
|
|
11329
|
+
InputPreference: smithy_client_1.expectString(output.inputPreference),
|
|
11330
|
+
SecondaryInputId: smithy_client_1.expectString(output.secondaryInputId),
|
|
11331
11331
|
};
|
|
11332
11332
|
};
|
|
11333
11333
|
const deserializeAws_restJson1AvailBlanking = (output, context) => {
|
|
@@ -11335,7 +11335,7 @@ const deserializeAws_restJson1AvailBlanking = (output, context) => {
|
|
|
11335
11335
|
AvailBlankingImage: output.availBlankingImage !== undefined && output.availBlankingImage !== null
|
|
11336
11336
|
? deserializeAws_restJson1InputLocation(output.availBlankingImage, context)
|
|
11337
11337
|
: undefined,
|
|
11338
|
-
State:
|
|
11338
|
+
State: smithy_client_1.expectString(output.state),
|
|
11339
11339
|
};
|
|
11340
11340
|
};
|
|
11341
11341
|
const deserializeAws_restJson1AvailConfiguration = (output, context) => {
|
|
@@ -11357,10 +11357,10 @@ const deserializeAws_restJson1AvailSettings = (output, context) => {
|
|
|
11357
11357
|
};
|
|
11358
11358
|
const deserializeAws_restJson1BatchFailedResultModel = (output, context) => {
|
|
11359
11359
|
return {
|
|
11360
|
-
Arn:
|
|
11361
|
-
Code:
|
|
11362
|
-
Id:
|
|
11363
|
-
Message:
|
|
11360
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
11361
|
+
Code: smithy_client_1.expectString(output.code),
|
|
11362
|
+
Id: smithy_client_1.expectString(output.id),
|
|
11363
|
+
Message: smithy_client_1.expectString(output.message),
|
|
11364
11364
|
};
|
|
11365
11365
|
};
|
|
11366
11366
|
const deserializeAws_restJson1BatchScheduleActionCreateResult = (output, context) => {
|
|
@@ -11379,9 +11379,9 @@ const deserializeAws_restJson1BatchScheduleActionDeleteResult = (output, context
|
|
|
11379
11379
|
};
|
|
11380
11380
|
const deserializeAws_restJson1BatchSuccessfulResultModel = (output, context) => {
|
|
11381
11381
|
return {
|
|
11382
|
-
Arn:
|
|
11383
|
-
Id:
|
|
11384
|
-
State:
|
|
11382
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
11383
|
+
Id: smithy_client_1.expectString(output.id),
|
|
11384
|
+
State: smithy_client_1.expectString(output.state),
|
|
11385
11385
|
};
|
|
11386
11386
|
};
|
|
11387
11387
|
const deserializeAws_restJson1BlackoutSlate = (output, context) => {
|
|
@@ -11389,46 +11389,46 @@ const deserializeAws_restJson1BlackoutSlate = (output, context) => {
|
|
|
11389
11389
|
BlackoutSlateImage: output.blackoutSlateImage !== undefined && output.blackoutSlateImage !== null
|
|
11390
11390
|
? deserializeAws_restJson1InputLocation(output.blackoutSlateImage, context)
|
|
11391
11391
|
: undefined,
|
|
11392
|
-
NetworkEndBlackout:
|
|
11392
|
+
NetworkEndBlackout: smithy_client_1.expectString(output.networkEndBlackout),
|
|
11393
11393
|
NetworkEndBlackoutImage: output.networkEndBlackoutImage !== undefined && output.networkEndBlackoutImage !== null
|
|
11394
11394
|
? deserializeAws_restJson1InputLocation(output.networkEndBlackoutImage, context)
|
|
11395
11395
|
: undefined,
|
|
11396
|
-
NetworkId:
|
|
11397
|
-
State:
|
|
11396
|
+
NetworkId: smithy_client_1.expectString(output.networkId),
|
|
11397
|
+
State: smithy_client_1.expectString(output.state),
|
|
11398
11398
|
};
|
|
11399
11399
|
};
|
|
11400
11400
|
const deserializeAws_restJson1BurnInDestinationSettings = (output, context) => {
|
|
11401
11401
|
return {
|
|
11402
|
-
Alignment:
|
|
11403
|
-
BackgroundColor:
|
|
11404
|
-
BackgroundOpacity:
|
|
11402
|
+
Alignment: smithy_client_1.expectString(output.alignment),
|
|
11403
|
+
BackgroundColor: smithy_client_1.expectString(output.backgroundColor),
|
|
11404
|
+
BackgroundOpacity: smithy_client_1.expectInt32(output.backgroundOpacity),
|
|
11405
11405
|
Font: output.font !== undefined && output.font !== null
|
|
11406
11406
|
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
11407
11407
|
: undefined,
|
|
11408
|
-
FontColor:
|
|
11409
|
-
FontOpacity:
|
|
11410
|
-
FontResolution:
|
|
11411
|
-
FontSize:
|
|
11412
|
-
OutlineColor:
|
|
11413
|
-
OutlineSize:
|
|
11414
|
-
ShadowColor:
|
|
11415
|
-
ShadowOpacity:
|
|
11416
|
-
ShadowXOffset:
|
|
11417
|
-
ShadowYOffset:
|
|
11418
|
-
TeletextGridControl:
|
|
11419
|
-
XPosition:
|
|
11420
|
-
YPosition:
|
|
11408
|
+
FontColor: smithy_client_1.expectString(output.fontColor),
|
|
11409
|
+
FontOpacity: smithy_client_1.expectInt32(output.fontOpacity),
|
|
11410
|
+
FontResolution: smithy_client_1.expectInt32(output.fontResolution),
|
|
11411
|
+
FontSize: smithy_client_1.expectString(output.fontSize),
|
|
11412
|
+
OutlineColor: smithy_client_1.expectString(output.outlineColor),
|
|
11413
|
+
OutlineSize: smithy_client_1.expectInt32(output.outlineSize),
|
|
11414
|
+
ShadowColor: smithy_client_1.expectString(output.shadowColor),
|
|
11415
|
+
ShadowOpacity: smithy_client_1.expectInt32(output.shadowOpacity),
|
|
11416
|
+
ShadowXOffset: smithy_client_1.expectInt32(output.shadowXOffset),
|
|
11417
|
+
ShadowYOffset: smithy_client_1.expectInt32(output.shadowYOffset),
|
|
11418
|
+
TeletextGridControl: smithy_client_1.expectString(output.teletextGridControl),
|
|
11419
|
+
XPosition: smithy_client_1.expectInt32(output.xPosition),
|
|
11420
|
+
YPosition: smithy_client_1.expectInt32(output.yPosition),
|
|
11421
11421
|
};
|
|
11422
11422
|
};
|
|
11423
11423
|
const deserializeAws_restJson1CaptionDescription = (output, context) => {
|
|
11424
11424
|
return {
|
|
11425
|
-
CaptionSelectorName:
|
|
11425
|
+
CaptionSelectorName: smithy_client_1.expectString(output.captionSelectorName),
|
|
11426
11426
|
DestinationSettings: output.destinationSettings !== undefined && output.destinationSettings !== null
|
|
11427
11427
|
? deserializeAws_restJson1CaptionDestinationSettings(output.destinationSettings, context)
|
|
11428
11428
|
: undefined,
|
|
11429
|
-
LanguageCode:
|
|
11430
|
-
LanguageDescription:
|
|
11431
|
-
Name:
|
|
11429
|
+
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
11430
|
+
LanguageDescription: smithy_client_1.expectString(output.languageDescription),
|
|
11431
|
+
Name: smithy_client_1.expectString(output.name),
|
|
11432
11432
|
};
|
|
11433
11433
|
};
|
|
11434
11434
|
const deserializeAws_restJson1CaptionDestinationSettings = (output, context) => {
|
|
@@ -11478,23 +11478,23 @@ const deserializeAws_restJson1CaptionDestinationSettings = (output, context) =>
|
|
|
11478
11478
|
};
|
|
11479
11479
|
const deserializeAws_restJson1CaptionLanguageMapping = (output, context) => {
|
|
11480
11480
|
return {
|
|
11481
|
-
CaptionChannel:
|
|
11482
|
-
LanguageCode:
|
|
11483
|
-
LanguageDescription:
|
|
11481
|
+
CaptionChannel: smithy_client_1.expectInt32(output.captionChannel),
|
|
11482
|
+
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
11483
|
+
LanguageDescription: smithy_client_1.expectString(output.languageDescription),
|
|
11484
11484
|
};
|
|
11485
11485
|
};
|
|
11486
11486
|
const deserializeAws_restJson1CaptionRectangle = (output, context) => {
|
|
11487
11487
|
return {
|
|
11488
|
-
Height:
|
|
11489
|
-
LeftOffset:
|
|
11490
|
-
TopOffset:
|
|
11491
|
-
Width:
|
|
11488
|
+
Height: smithy_client_1.limitedParseDouble(output.height),
|
|
11489
|
+
LeftOffset: smithy_client_1.limitedParseDouble(output.leftOffset),
|
|
11490
|
+
TopOffset: smithy_client_1.limitedParseDouble(output.topOffset),
|
|
11491
|
+
Width: smithy_client_1.limitedParseDouble(output.width),
|
|
11492
11492
|
};
|
|
11493
11493
|
};
|
|
11494
11494
|
const deserializeAws_restJson1CaptionSelector = (output, context) => {
|
|
11495
11495
|
return {
|
|
11496
|
-
LanguageCode:
|
|
11497
|
-
Name:
|
|
11496
|
+
LanguageCode: smithy_client_1.expectString(output.languageCode),
|
|
11497
|
+
Name: smithy_client_1.expectString(output.name),
|
|
11498
11498
|
SelectorSettings: output.selectorSettings !== undefined && output.selectorSettings !== null
|
|
11499
11499
|
? deserializeAws_restJson1CaptionSelectorSettings(output.selectorSettings, context)
|
|
11500
11500
|
: undefined,
|
|
@@ -11527,16 +11527,16 @@ const deserializeAws_restJson1CaptionSelectorSettings = (output, context) => {
|
|
|
11527
11527
|
};
|
|
11528
11528
|
const deserializeAws_restJson1CdiInputSpecification = (output, context) => {
|
|
11529
11529
|
return {
|
|
11530
|
-
Resolution:
|
|
11530
|
+
Resolution: smithy_client_1.expectString(output.resolution),
|
|
11531
11531
|
};
|
|
11532
11532
|
};
|
|
11533
11533
|
const deserializeAws_restJson1Channel = (output, context) => {
|
|
11534
11534
|
return {
|
|
11535
|
-
Arn:
|
|
11535
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
11536
11536
|
CdiInputSpecification: output.cdiInputSpecification !== undefined && output.cdiInputSpecification !== null
|
|
11537
11537
|
? deserializeAws_restJson1CdiInputSpecification(output.cdiInputSpecification, context)
|
|
11538
11538
|
: undefined,
|
|
11539
|
-
ChannelClass:
|
|
11539
|
+
ChannelClass: smithy_client_1.expectString(output.channelClass),
|
|
11540
11540
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
11541
11541
|
? deserializeAws_restJson1__listOfOutputDestination(output.destinations, context)
|
|
11542
11542
|
: undefined,
|
|
@@ -11546,21 +11546,21 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
11546
11546
|
EncoderSettings: output.encoderSettings !== undefined && output.encoderSettings !== null
|
|
11547
11547
|
? deserializeAws_restJson1EncoderSettings(output.encoderSettings, context)
|
|
11548
11548
|
: undefined,
|
|
11549
|
-
Id:
|
|
11549
|
+
Id: smithy_client_1.expectString(output.id),
|
|
11550
11550
|
InputAttachments: output.inputAttachments !== undefined && output.inputAttachments !== null
|
|
11551
11551
|
? deserializeAws_restJson1__listOfInputAttachment(output.inputAttachments, context)
|
|
11552
11552
|
: undefined,
|
|
11553
11553
|
InputSpecification: output.inputSpecification !== undefined && output.inputSpecification !== null
|
|
11554
11554
|
? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
|
|
11555
11555
|
: undefined,
|
|
11556
|
-
LogLevel:
|
|
11557
|
-
Name:
|
|
11556
|
+
LogLevel: smithy_client_1.expectString(output.logLevel),
|
|
11557
|
+
Name: smithy_client_1.expectString(output.name),
|
|
11558
11558
|
PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
|
|
11559
11559
|
? deserializeAws_restJson1__listOfPipelineDetail(output.pipelineDetails, context)
|
|
11560
11560
|
: undefined,
|
|
11561
|
-
PipelinesRunningCount:
|
|
11562
|
-
RoleArn:
|
|
11563
|
-
State:
|
|
11561
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
11562
|
+
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
11563
|
+
State: smithy_client_1.expectString(output.state),
|
|
11564
11564
|
Tags: output.tags !== undefined && output.tags !== null
|
|
11565
11565
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
11566
11566
|
: undefined,
|
|
@@ -11571,34 +11571,34 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
11571
11571
|
};
|
|
11572
11572
|
const deserializeAws_restJson1ChannelEgressEndpoint = (output, context) => {
|
|
11573
11573
|
return {
|
|
11574
|
-
SourceIp:
|
|
11574
|
+
SourceIp: smithy_client_1.expectString(output.sourceIp),
|
|
11575
11575
|
};
|
|
11576
11576
|
};
|
|
11577
11577
|
const deserializeAws_restJson1ChannelSummary = (output, context) => {
|
|
11578
11578
|
return {
|
|
11579
|
-
Arn:
|
|
11579
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
11580
11580
|
CdiInputSpecification: output.cdiInputSpecification !== undefined && output.cdiInputSpecification !== null
|
|
11581
11581
|
? deserializeAws_restJson1CdiInputSpecification(output.cdiInputSpecification, context)
|
|
11582
11582
|
: undefined,
|
|
11583
|
-
ChannelClass:
|
|
11583
|
+
ChannelClass: smithy_client_1.expectString(output.channelClass),
|
|
11584
11584
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
11585
11585
|
? deserializeAws_restJson1__listOfOutputDestination(output.destinations, context)
|
|
11586
11586
|
: undefined,
|
|
11587
11587
|
EgressEndpoints: output.egressEndpoints !== undefined && output.egressEndpoints !== null
|
|
11588
11588
|
? deserializeAws_restJson1__listOfChannelEgressEndpoint(output.egressEndpoints, context)
|
|
11589
11589
|
: undefined,
|
|
11590
|
-
Id:
|
|
11590
|
+
Id: smithy_client_1.expectString(output.id),
|
|
11591
11591
|
InputAttachments: output.inputAttachments !== undefined && output.inputAttachments !== null
|
|
11592
11592
|
? deserializeAws_restJson1__listOfInputAttachment(output.inputAttachments, context)
|
|
11593
11593
|
: undefined,
|
|
11594
11594
|
InputSpecification: output.inputSpecification !== undefined && output.inputSpecification !== null
|
|
11595
11595
|
? deserializeAws_restJson1InputSpecification(output.inputSpecification, context)
|
|
11596
11596
|
: undefined,
|
|
11597
|
-
LogLevel:
|
|
11598
|
-
Name:
|
|
11599
|
-
PipelinesRunningCount:
|
|
11600
|
-
RoleArn:
|
|
11601
|
-
State:
|
|
11597
|
+
LogLevel: smithy_client_1.expectString(output.logLevel),
|
|
11598
|
+
Name: smithy_client_1.expectString(output.name),
|
|
11599
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
11600
|
+
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
11601
|
+
State: smithy_client_1.expectString(output.state),
|
|
11602
11602
|
Tags: output.tags !== undefined && output.tags !== null
|
|
11603
11603
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
11604
11604
|
: undefined,
|
|
@@ -11612,83 +11612,83 @@ const deserializeAws_restJson1ColorSpacePassthroughSettings = (output, context)
|
|
|
11612
11612
|
};
|
|
11613
11613
|
const deserializeAws_restJson1DvbNitSettings = (output, context) => {
|
|
11614
11614
|
return {
|
|
11615
|
-
NetworkId:
|
|
11616
|
-
NetworkName:
|
|
11617
|
-
RepInterval:
|
|
11615
|
+
NetworkId: smithy_client_1.expectInt32(output.networkId),
|
|
11616
|
+
NetworkName: smithy_client_1.expectString(output.networkName),
|
|
11617
|
+
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
11618
11618
|
};
|
|
11619
11619
|
};
|
|
11620
11620
|
const deserializeAws_restJson1DvbSdtSettings = (output, context) => {
|
|
11621
11621
|
return {
|
|
11622
|
-
OutputSdt:
|
|
11623
|
-
RepInterval:
|
|
11624
|
-
ServiceName:
|
|
11625
|
-
ServiceProviderName:
|
|
11622
|
+
OutputSdt: smithy_client_1.expectString(output.outputSdt),
|
|
11623
|
+
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
11624
|
+
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
11625
|
+
ServiceProviderName: smithy_client_1.expectString(output.serviceProviderName),
|
|
11626
11626
|
};
|
|
11627
11627
|
};
|
|
11628
11628
|
const deserializeAws_restJson1DvbSubDestinationSettings = (output, context) => {
|
|
11629
11629
|
return {
|
|
11630
|
-
Alignment:
|
|
11631
|
-
BackgroundColor:
|
|
11632
|
-
BackgroundOpacity:
|
|
11630
|
+
Alignment: smithy_client_1.expectString(output.alignment),
|
|
11631
|
+
BackgroundColor: smithy_client_1.expectString(output.backgroundColor),
|
|
11632
|
+
BackgroundOpacity: smithy_client_1.expectInt32(output.backgroundOpacity),
|
|
11633
11633
|
Font: output.font !== undefined && output.font !== null
|
|
11634
11634
|
? deserializeAws_restJson1InputLocation(output.font, context)
|
|
11635
11635
|
: undefined,
|
|
11636
|
-
FontColor:
|
|
11637
|
-
FontOpacity:
|
|
11638
|
-
FontResolution:
|
|
11639
|
-
FontSize:
|
|
11640
|
-
OutlineColor:
|
|
11641
|
-
OutlineSize:
|
|
11642
|
-
ShadowColor:
|
|
11643
|
-
ShadowOpacity:
|
|
11644
|
-
ShadowXOffset:
|
|
11645
|
-
ShadowYOffset:
|
|
11646
|
-
TeletextGridControl:
|
|
11647
|
-
XPosition:
|
|
11648
|
-
YPosition:
|
|
11636
|
+
FontColor: smithy_client_1.expectString(output.fontColor),
|
|
11637
|
+
FontOpacity: smithy_client_1.expectInt32(output.fontOpacity),
|
|
11638
|
+
FontResolution: smithy_client_1.expectInt32(output.fontResolution),
|
|
11639
|
+
FontSize: smithy_client_1.expectString(output.fontSize),
|
|
11640
|
+
OutlineColor: smithy_client_1.expectString(output.outlineColor),
|
|
11641
|
+
OutlineSize: smithy_client_1.expectInt32(output.outlineSize),
|
|
11642
|
+
ShadowColor: smithy_client_1.expectString(output.shadowColor),
|
|
11643
|
+
ShadowOpacity: smithy_client_1.expectInt32(output.shadowOpacity),
|
|
11644
|
+
ShadowXOffset: smithy_client_1.expectInt32(output.shadowXOffset),
|
|
11645
|
+
ShadowYOffset: smithy_client_1.expectInt32(output.shadowYOffset),
|
|
11646
|
+
TeletextGridControl: smithy_client_1.expectString(output.teletextGridControl),
|
|
11647
|
+
XPosition: smithy_client_1.expectInt32(output.xPosition),
|
|
11648
|
+
YPosition: smithy_client_1.expectInt32(output.yPosition),
|
|
11649
11649
|
};
|
|
11650
11650
|
};
|
|
11651
11651
|
const deserializeAws_restJson1DvbSubSourceSettings = (output, context) => {
|
|
11652
11652
|
return {
|
|
11653
|
-
OcrLanguage:
|
|
11654
|
-
Pid:
|
|
11653
|
+
OcrLanguage: smithy_client_1.expectString(output.ocrLanguage),
|
|
11654
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
11655
11655
|
};
|
|
11656
11656
|
};
|
|
11657
11657
|
const deserializeAws_restJson1DvbTdtSettings = (output, context) => {
|
|
11658
11658
|
return {
|
|
11659
|
-
RepInterval:
|
|
11659
|
+
RepInterval: smithy_client_1.expectInt32(output.repInterval),
|
|
11660
11660
|
};
|
|
11661
11661
|
};
|
|
11662
11662
|
const deserializeAws_restJson1Eac3Settings = (output, context) => {
|
|
11663
11663
|
return {
|
|
11664
|
-
AttenuationControl:
|
|
11665
|
-
Bitrate:
|
|
11666
|
-
BitstreamMode:
|
|
11667
|
-
CodingMode:
|
|
11668
|
-
DcFilter:
|
|
11669
|
-
Dialnorm:
|
|
11670
|
-
DrcLine:
|
|
11671
|
-
DrcRf:
|
|
11672
|
-
LfeControl:
|
|
11673
|
-
LfeFilter:
|
|
11674
|
-
LoRoCenterMixLevel:
|
|
11675
|
-
LoRoSurroundMixLevel:
|
|
11676
|
-
LtRtCenterMixLevel:
|
|
11677
|
-
LtRtSurroundMixLevel:
|
|
11678
|
-
MetadataControl:
|
|
11679
|
-
PassthroughControl:
|
|
11680
|
-
PhaseControl:
|
|
11681
|
-
StereoDownmix:
|
|
11682
|
-
SurroundExMode:
|
|
11683
|
-
SurroundMode:
|
|
11664
|
+
AttenuationControl: smithy_client_1.expectString(output.attenuationControl),
|
|
11665
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
11666
|
+
BitstreamMode: smithy_client_1.expectString(output.bitstreamMode),
|
|
11667
|
+
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
11668
|
+
DcFilter: smithy_client_1.expectString(output.dcFilter),
|
|
11669
|
+
Dialnorm: smithy_client_1.expectInt32(output.dialnorm),
|
|
11670
|
+
DrcLine: smithy_client_1.expectString(output.drcLine),
|
|
11671
|
+
DrcRf: smithy_client_1.expectString(output.drcRf),
|
|
11672
|
+
LfeControl: smithy_client_1.expectString(output.lfeControl),
|
|
11673
|
+
LfeFilter: smithy_client_1.expectString(output.lfeFilter),
|
|
11674
|
+
LoRoCenterMixLevel: smithy_client_1.limitedParseDouble(output.loRoCenterMixLevel),
|
|
11675
|
+
LoRoSurroundMixLevel: smithy_client_1.limitedParseDouble(output.loRoSurroundMixLevel),
|
|
11676
|
+
LtRtCenterMixLevel: smithy_client_1.limitedParseDouble(output.ltRtCenterMixLevel),
|
|
11677
|
+
LtRtSurroundMixLevel: smithy_client_1.limitedParseDouble(output.ltRtSurroundMixLevel),
|
|
11678
|
+
MetadataControl: smithy_client_1.expectString(output.metadataControl),
|
|
11679
|
+
PassthroughControl: smithy_client_1.expectString(output.passthroughControl),
|
|
11680
|
+
PhaseControl: smithy_client_1.expectString(output.phaseControl),
|
|
11681
|
+
StereoDownmix: smithy_client_1.expectString(output.stereoDownmix),
|
|
11682
|
+
SurroundExMode: smithy_client_1.expectString(output.surroundExMode),
|
|
11683
|
+
SurroundMode: smithy_client_1.expectString(output.surroundMode),
|
|
11684
11684
|
};
|
|
11685
11685
|
};
|
|
11686
11686
|
const deserializeAws_restJson1EbuTtDDestinationSettings = (output, context) => {
|
|
11687
11687
|
return {
|
|
11688
|
-
CopyrightHolder:
|
|
11689
|
-
FillLineGap:
|
|
11690
|
-
FontFamily:
|
|
11691
|
-
StyleControl:
|
|
11688
|
+
CopyrightHolder: smithy_client_1.expectString(output.copyrightHolder),
|
|
11689
|
+
FillLineGap: smithy_client_1.expectString(output.fillLineGap),
|
|
11690
|
+
FontFamily: smithy_client_1.expectString(output.fontFamily),
|
|
11691
|
+
StyleControl: smithy_client_1.expectString(output.styleControl),
|
|
11692
11692
|
};
|
|
11693
11693
|
};
|
|
11694
11694
|
const deserializeAws_restJson1EmbeddedDestinationSettings = (output, context) => {
|
|
@@ -11699,10 +11699,10 @@ const deserializeAws_restJson1EmbeddedPlusScte20DestinationSettings = (output, c
|
|
|
11699
11699
|
};
|
|
11700
11700
|
const deserializeAws_restJson1EmbeddedSourceSettings = (output, context) => {
|
|
11701
11701
|
return {
|
|
11702
|
-
Convert608To708:
|
|
11703
|
-
Scte20Detection:
|
|
11704
|
-
Source608ChannelNumber:
|
|
11705
|
-
Source608TrackNumber:
|
|
11702
|
+
Convert608To708: smithy_client_1.expectString(output.convert608To708),
|
|
11703
|
+
Scte20Detection: smithy_client_1.expectString(output.scte20Detection),
|
|
11704
|
+
Source608ChannelNumber: smithy_client_1.expectInt32(output.source608ChannelNumber),
|
|
11705
|
+
Source608TrackNumber: smithy_client_1.expectInt32(output.source608TrackNumber),
|
|
11706
11706
|
};
|
|
11707
11707
|
};
|
|
11708
11708
|
const deserializeAws_restJson1EncoderSettings = (output, context) => {
|
|
@@ -11767,32 +11767,32 @@ const deserializeAws_restJson1FailoverConditionSettings = (output, context) => {
|
|
|
11767
11767
|
};
|
|
11768
11768
|
const deserializeAws_restJson1FeatureActivations = (output, context) => {
|
|
11769
11769
|
return {
|
|
11770
|
-
InputPrepareScheduleActions:
|
|
11770
|
+
InputPrepareScheduleActions: smithy_client_1.expectString(output.inputPrepareScheduleActions),
|
|
11771
11771
|
};
|
|
11772
11772
|
};
|
|
11773
11773
|
const deserializeAws_restJson1FecOutputSettings = (output, context) => {
|
|
11774
11774
|
return {
|
|
11775
|
-
ColumnDepth:
|
|
11776
|
-
IncludeFec:
|
|
11777
|
-
RowLength:
|
|
11775
|
+
ColumnDepth: smithy_client_1.expectInt32(output.columnDepth),
|
|
11776
|
+
IncludeFec: smithy_client_1.expectString(output.includeFec),
|
|
11777
|
+
RowLength: smithy_client_1.expectInt32(output.rowLength),
|
|
11778
11778
|
};
|
|
11779
11779
|
};
|
|
11780
11780
|
const deserializeAws_restJson1FixedModeScheduleActionStartSettings = (output, context) => {
|
|
11781
11781
|
return {
|
|
11782
|
-
Time:
|
|
11782
|
+
Time: smithy_client_1.expectString(output.time),
|
|
11783
11783
|
};
|
|
11784
11784
|
};
|
|
11785
11785
|
const deserializeAws_restJson1Fmp4HlsSettings = (output, context) => {
|
|
11786
11786
|
return {
|
|
11787
|
-
AudioRenditionSets:
|
|
11788
|
-
NielsenId3Behavior:
|
|
11789
|
-
TimedMetadataBehavior:
|
|
11787
|
+
AudioRenditionSets: smithy_client_1.expectString(output.audioRenditionSets),
|
|
11788
|
+
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
11789
|
+
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
11790
11790
|
};
|
|
11791
11791
|
};
|
|
11792
11792
|
const deserializeAws_restJson1FollowModeScheduleActionStartSettings = (output, context) => {
|
|
11793
11793
|
return {
|
|
11794
|
-
FollowPoint:
|
|
11795
|
-
ReferenceActionName:
|
|
11794
|
+
FollowPoint: smithy_client_1.expectString(output.followPoint),
|
|
11795
|
+
ReferenceActionName: smithy_client_1.expectString(output.referenceActionName),
|
|
11796
11796
|
};
|
|
11797
11797
|
};
|
|
11798
11798
|
const deserializeAws_restJson1FrameCaptureCdnSettings = (output, context) => {
|
|
@@ -11817,30 +11817,30 @@ const deserializeAws_restJson1FrameCaptureHlsSettings = (output, context) => {
|
|
|
11817
11817
|
};
|
|
11818
11818
|
const deserializeAws_restJson1FrameCaptureOutputSettings = (output, context) => {
|
|
11819
11819
|
return {
|
|
11820
|
-
NameModifier:
|
|
11820
|
+
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
11821
11821
|
};
|
|
11822
11822
|
};
|
|
11823
11823
|
const deserializeAws_restJson1FrameCaptureS3Settings = (output, context) => {
|
|
11824
11824
|
return {
|
|
11825
|
-
CannedAcl:
|
|
11825
|
+
CannedAcl: smithy_client_1.expectString(output.cannedAcl),
|
|
11826
11826
|
};
|
|
11827
11827
|
};
|
|
11828
11828
|
const deserializeAws_restJson1FrameCaptureSettings = (output, context) => {
|
|
11829
11829
|
return {
|
|
11830
|
-
CaptureInterval:
|
|
11831
|
-
CaptureIntervalUnits:
|
|
11830
|
+
CaptureInterval: smithy_client_1.expectInt32(output.captureInterval),
|
|
11831
|
+
CaptureIntervalUnits: smithy_client_1.expectString(output.captureIntervalUnits),
|
|
11832
11832
|
};
|
|
11833
11833
|
};
|
|
11834
11834
|
const deserializeAws_restJson1GlobalConfiguration = (output, context) => {
|
|
11835
11835
|
return {
|
|
11836
|
-
InitialAudioGain:
|
|
11837
|
-
InputEndAction:
|
|
11836
|
+
InitialAudioGain: smithy_client_1.expectInt32(output.initialAudioGain),
|
|
11837
|
+
InputEndAction: smithy_client_1.expectString(output.inputEndAction),
|
|
11838
11838
|
InputLossBehavior: output.inputLossBehavior !== undefined && output.inputLossBehavior !== null
|
|
11839
11839
|
? deserializeAws_restJson1InputLossBehavior(output.inputLossBehavior, context)
|
|
11840
11840
|
: undefined,
|
|
11841
|
-
OutputLockingMode:
|
|
11842
|
-
OutputTimingSource:
|
|
11843
|
-
SupportLowFramerateInputs:
|
|
11841
|
+
OutputLockingMode: smithy_client_1.expectString(output.outputLockingMode),
|
|
11842
|
+
OutputTimingSource: smithy_client_1.expectString(output.outputTimingSource),
|
|
11843
|
+
SupportLowFramerateInputs: smithy_client_1.expectString(output.supportLowFramerateInputs),
|
|
11844
11844
|
};
|
|
11845
11845
|
};
|
|
11846
11846
|
const deserializeAws_restJson1H264ColorSpaceSettings = (output, context) => {
|
|
@@ -11865,51 +11865,51 @@ const deserializeAws_restJson1H264FilterSettings = (output, context) => {
|
|
|
11865
11865
|
};
|
|
11866
11866
|
const deserializeAws_restJson1H264Settings = (output, context) => {
|
|
11867
11867
|
return {
|
|
11868
|
-
AdaptiveQuantization:
|
|
11869
|
-
AfdSignaling:
|
|
11870
|
-
Bitrate:
|
|
11871
|
-
BufFillPct:
|
|
11872
|
-
BufSize:
|
|
11873
|
-
ColorMetadata:
|
|
11868
|
+
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
11869
|
+
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
11870
|
+
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
11871
|
+
BufFillPct: smithy_client_1.expectInt32(output.bufFillPct),
|
|
11872
|
+
BufSize: smithy_client_1.expectInt32(output.bufSize),
|
|
11873
|
+
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
11874
11874
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
11875
11875
|
? deserializeAws_restJson1H264ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
11876
11876
|
: undefined,
|
|
11877
|
-
EntropyEncoding:
|
|
11877
|
+
EntropyEncoding: smithy_client_1.expectString(output.entropyEncoding),
|
|
11878
11878
|
FilterSettings: output.filterSettings !== undefined && output.filterSettings !== null
|
|
11879
11879
|
? deserializeAws_restJson1H264FilterSettings(output.filterSettings, context)
|
|
11880
11880
|
: undefined,
|
|
11881
|
-
FixedAfd:
|
|
11882
|
-
FlickerAq:
|
|
11883
|
-
ForceFieldPictures:
|
|
11884
|
-
FramerateControl:
|
|
11885
|
-
FramerateDenominator:
|
|
11886
|
-
FramerateNumerator:
|
|
11887
|
-
GopBReference:
|
|
11888
|
-
GopClosedCadence:
|
|
11889
|
-
GopNumBFrames:
|
|
11890
|
-
GopSize:
|
|
11891
|
-
GopSizeUnits:
|
|
11892
|
-
Level:
|
|
11893
|
-
LookAheadRateControl:
|
|
11894
|
-
MaxBitrate:
|
|
11895
|
-
MinIInterval:
|
|
11896
|
-
NumRefFrames:
|
|
11897
|
-
ParControl:
|
|
11898
|
-
ParDenominator:
|
|
11899
|
-
ParNumerator:
|
|
11900
|
-
Profile:
|
|
11901
|
-
QualityLevel:
|
|
11902
|
-
QvbrQualityLevel:
|
|
11903
|
-
RateControlMode:
|
|
11904
|
-
ScanType:
|
|
11905
|
-
SceneChangeDetect:
|
|
11906
|
-
Slices:
|
|
11907
|
-
Softness:
|
|
11908
|
-
SpatialAq:
|
|
11909
|
-
SubgopLength:
|
|
11910
|
-
Syntax:
|
|
11911
|
-
TemporalAq:
|
|
11912
|
-
TimecodeInsertion:
|
|
11881
|
+
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
11882
|
+
FlickerAq: smithy_client_1.expectString(output.flickerAq),
|
|
11883
|
+
ForceFieldPictures: smithy_client_1.expectString(output.forceFieldPictures),
|
|
11884
|
+
FramerateControl: smithy_client_1.expectString(output.framerateControl),
|
|
11885
|
+
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
11886
|
+
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
11887
|
+
GopBReference: smithy_client_1.expectString(output.gopBReference),
|
|
11888
|
+
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
11889
|
+
GopNumBFrames: smithy_client_1.expectInt32(output.gopNumBFrames),
|
|
11890
|
+
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
11891
|
+
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
11892
|
+
Level: smithy_client_1.expectString(output.level),
|
|
11893
|
+
LookAheadRateControl: smithy_client_1.expectString(output.lookAheadRateControl),
|
|
11894
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
11895
|
+
MinIInterval: smithy_client_1.expectInt32(output.minIInterval),
|
|
11896
|
+
NumRefFrames: smithy_client_1.expectInt32(output.numRefFrames),
|
|
11897
|
+
ParControl: smithy_client_1.expectString(output.parControl),
|
|
11898
|
+
ParDenominator: smithy_client_1.expectInt32(output.parDenominator),
|
|
11899
|
+
ParNumerator: smithy_client_1.expectInt32(output.parNumerator),
|
|
11900
|
+
Profile: smithy_client_1.expectString(output.profile),
|
|
11901
|
+
QualityLevel: smithy_client_1.expectString(output.qualityLevel),
|
|
11902
|
+
QvbrQualityLevel: smithy_client_1.expectInt32(output.qvbrQualityLevel),
|
|
11903
|
+
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
11904
|
+
ScanType: smithy_client_1.expectString(output.scanType),
|
|
11905
|
+
SceneChangeDetect: smithy_client_1.expectString(output.sceneChangeDetect),
|
|
11906
|
+
Slices: smithy_client_1.expectInt32(output.slices),
|
|
11907
|
+
Softness: smithy_client_1.expectInt32(output.softness),
|
|
11908
|
+
SpatialAq: smithy_client_1.expectString(output.spatialAq),
|
|
11909
|
+
SubgopLength: smithy_client_1.expectString(output.subgopLength),
|
|
11910
|
+
Syntax: smithy_client_1.expectString(output.syntax),
|
|
11911
|
+
TemporalAq: smithy_client_1.expectString(output.temporalAq),
|
|
11912
|
+
TimecodeInsertion: smithy_client_1.expectString(output.timecodeInsertion),
|
|
11913
11913
|
};
|
|
11914
11914
|
};
|
|
11915
11915
|
const deserializeAws_restJson1H265ColorSpaceSettings = (output, context) => {
|
|
@@ -11937,64 +11937,64 @@ const deserializeAws_restJson1H265FilterSettings = (output, context) => {
|
|
|
11937
11937
|
};
|
|
11938
11938
|
const deserializeAws_restJson1H265Settings = (output, context) => {
|
|
11939
11939
|
return {
|
|
11940
|
-
AdaptiveQuantization:
|
|
11941
|
-
AfdSignaling:
|
|
11942
|
-
AlternativeTransferFunction:
|
|
11943
|
-
Bitrate:
|
|
11944
|
-
BufSize:
|
|
11945
|
-
ColorMetadata:
|
|
11940
|
+
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
11941
|
+
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
11942
|
+
AlternativeTransferFunction: smithy_client_1.expectString(output.alternativeTransferFunction),
|
|
11943
|
+
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
11944
|
+
BufSize: smithy_client_1.expectInt32(output.bufSize),
|
|
11945
|
+
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
11946
11946
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
11947
11947
|
? deserializeAws_restJson1H265ColorSpaceSettings(output.colorSpaceSettings, context)
|
|
11948
11948
|
: undefined,
|
|
11949
11949
|
FilterSettings: output.filterSettings !== undefined && output.filterSettings !== null
|
|
11950
11950
|
? deserializeAws_restJson1H265FilterSettings(output.filterSettings, context)
|
|
11951
11951
|
: undefined,
|
|
11952
|
-
FixedAfd:
|
|
11953
|
-
FlickerAq:
|
|
11954
|
-
FramerateDenominator:
|
|
11955
|
-
FramerateNumerator:
|
|
11956
|
-
GopClosedCadence:
|
|
11957
|
-
GopSize:
|
|
11958
|
-
GopSizeUnits:
|
|
11959
|
-
Level:
|
|
11960
|
-
LookAheadRateControl:
|
|
11961
|
-
MaxBitrate:
|
|
11962
|
-
MinIInterval:
|
|
11963
|
-
ParDenominator:
|
|
11964
|
-
ParNumerator:
|
|
11965
|
-
Profile:
|
|
11966
|
-
QvbrQualityLevel:
|
|
11967
|
-
RateControlMode:
|
|
11968
|
-
ScanType:
|
|
11969
|
-
SceneChangeDetect:
|
|
11970
|
-
Slices:
|
|
11971
|
-
Tier:
|
|
11972
|
-
TimecodeInsertion:
|
|
11952
|
+
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
11953
|
+
FlickerAq: smithy_client_1.expectString(output.flickerAq),
|
|
11954
|
+
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
11955
|
+
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
11956
|
+
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
11957
|
+
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
11958
|
+
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
11959
|
+
Level: smithy_client_1.expectString(output.level),
|
|
11960
|
+
LookAheadRateControl: smithy_client_1.expectString(output.lookAheadRateControl),
|
|
11961
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
11962
|
+
MinIInterval: smithy_client_1.expectInt32(output.minIInterval),
|
|
11963
|
+
ParDenominator: smithy_client_1.expectInt32(output.parDenominator),
|
|
11964
|
+
ParNumerator: smithy_client_1.expectInt32(output.parNumerator),
|
|
11965
|
+
Profile: smithy_client_1.expectString(output.profile),
|
|
11966
|
+
QvbrQualityLevel: smithy_client_1.expectInt32(output.qvbrQualityLevel),
|
|
11967
|
+
RateControlMode: smithy_client_1.expectString(output.rateControlMode),
|
|
11968
|
+
ScanType: smithy_client_1.expectString(output.scanType),
|
|
11969
|
+
SceneChangeDetect: smithy_client_1.expectString(output.sceneChangeDetect),
|
|
11970
|
+
Slices: smithy_client_1.expectInt32(output.slices),
|
|
11971
|
+
Tier: smithy_client_1.expectString(output.tier),
|
|
11972
|
+
TimecodeInsertion: smithy_client_1.expectString(output.timecodeInsertion),
|
|
11973
11973
|
};
|
|
11974
11974
|
};
|
|
11975
11975
|
const deserializeAws_restJson1Hdr10Settings = (output, context) => {
|
|
11976
11976
|
return {
|
|
11977
|
-
MaxCll:
|
|
11978
|
-
MaxFall:
|
|
11977
|
+
MaxCll: smithy_client_1.expectInt32(output.maxCll),
|
|
11978
|
+
MaxFall: smithy_client_1.expectInt32(output.maxFall),
|
|
11979
11979
|
};
|
|
11980
11980
|
};
|
|
11981
11981
|
const deserializeAws_restJson1HlsAkamaiSettings = (output, context) => {
|
|
11982
11982
|
return {
|
|
11983
|
-
ConnectionRetryInterval:
|
|
11984
|
-
FilecacheDuration:
|
|
11985
|
-
HttpTransferMode:
|
|
11986
|
-
NumRetries:
|
|
11987
|
-
RestartDelay:
|
|
11988
|
-
Salt:
|
|
11989
|
-
Token:
|
|
11983
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
11984
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
11985
|
+
HttpTransferMode: smithy_client_1.expectString(output.httpTransferMode),
|
|
11986
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
11987
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
11988
|
+
Salt: smithy_client_1.expectString(output.salt),
|
|
11989
|
+
Token: smithy_client_1.expectString(output.token),
|
|
11990
11990
|
};
|
|
11991
11991
|
};
|
|
11992
11992
|
const deserializeAws_restJson1HlsBasicPutSettings = (output, context) => {
|
|
11993
11993
|
return {
|
|
11994
|
-
ConnectionRetryInterval:
|
|
11995
|
-
FilecacheDuration:
|
|
11996
|
-
NumRetries:
|
|
11997
|
-
RestartDelay:
|
|
11994
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
11995
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
11996
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
11997
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
11998
11998
|
};
|
|
11999
11999
|
};
|
|
12000
12000
|
const deserializeAws_restJson1HlsCdnSettings = (output, context) => {
|
|
@@ -12021,93 +12021,93 @@ const deserializeAws_restJson1HlsGroupSettings = (output, context) => {
|
|
|
12021
12021
|
AdMarkers: output.adMarkers !== undefined && output.adMarkers !== null
|
|
12022
12022
|
? deserializeAws_restJson1__listOfHlsAdMarkers(output.adMarkers, context)
|
|
12023
12023
|
: undefined,
|
|
12024
|
-
BaseUrlContent:
|
|
12025
|
-
BaseUrlContent1:
|
|
12026
|
-
BaseUrlManifest:
|
|
12027
|
-
BaseUrlManifest1:
|
|
12024
|
+
BaseUrlContent: smithy_client_1.expectString(output.baseUrlContent),
|
|
12025
|
+
BaseUrlContent1: smithy_client_1.expectString(output.baseUrlContent1),
|
|
12026
|
+
BaseUrlManifest: smithy_client_1.expectString(output.baseUrlManifest),
|
|
12027
|
+
BaseUrlManifest1: smithy_client_1.expectString(output.baseUrlManifest1),
|
|
12028
12028
|
CaptionLanguageMappings: output.captionLanguageMappings !== undefined && output.captionLanguageMappings !== null
|
|
12029
12029
|
? deserializeAws_restJson1__listOfCaptionLanguageMapping(output.captionLanguageMappings, context)
|
|
12030
12030
|
: undefined,
|
|
12031
|
-
CaptionLanguageSetting:
|
|
12032
|
-
ClientCache:
|
|
12033
|
-
CodecSpecification:
|
|
12034
|
-
ConstantIv:
|
|
12031
|
+
CaptionLanguageSetting: smithy_client_1.expectString(output.captionLanguageSetting),
|
|
12032
|
+
ClientCache: smithy_client_1.expectString(output.clientCache),
|
|
12033
|
+
CodecSpecification: smithy_client_1.expectString(output.codecSpecification),
|
|
12034
|
+
ConstantIv: smithy_client_1.expectString(output.constantIv),
|
|
12035
12035
|
Destination: output.destination !== undefined && output.destination !== null
|
|
12036
12036
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
12037
12037
|
: undefined,
|
|
12038
|
-
DirectoryStructure:
|
|
12039
|
-
DiscontinuityTags:
|
|
12040
|
-
EncryptionType:
|
|
12038
|
+
DirectoryStructure: smithy_client_1.expectString(output.directoryStructure),
|
|
12039
|
+
DiscontinuityTags: smithy_client_1.expectString(output.discontinuityTags),
|
|
12040
|
+
EncryptionType: smithy_client_1.expectString(output.encryptionType),
|
|
12041
12041
|
HlsCdnSettings: output.hlsCdnSettings !== undefined && output.hlsCdnSettings !== null
|
|
12042
12042
|
? deserializeAws_restJson1HlsCdnSettings(output.hlsCdnSettings, context)
|
|
12043
12043
|
: undefined,
|
|
12044
|
-
HlsId3SegmentTagging:
|
|
12045
|
-
IFrameOnlyPlaylists:
|
|
12046
|
-
IncompleteSegmentBehavior:
|
|
12047
|
-
IndexNSegments:
|
|
12048
|
-
InputLossAction:
|
|
12049
|
-
IvInManifest:
|
|
12050
|
-
IvSource:
|
|
12051
|
-
KeepSegments:
|
|
12052
|
-
KeyFormat:
|
|
12053
|
-
KeyFormatVersions:
|
|
12044
|
+
HlsId3SegmentTagging: smithy_client_1.expectString(output.hlsId3SegmentTagging),
|
|
12045
|
+
IFrameOnlyPlaylists: smithy_client_1.expectString(output.iFrameOnlyPlaylists),
|
|
12046
|
+
IncompleteSegmentBehavior: smithy_client_1.expectString(output.incompleteSegmentBehavior),
|
|
12047
|
+
IndexNSegments: smithy_client_1.expectInt32(output.indexNSegments),
|
|
12048
|
+
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
12049
|
+
IvInManifest: smithy_client_1.expectString(output.ivInManifest),
|
|
12050
|
+
IvSource: smithy_client_1.expectString(output.ivSource),
|
|
12051
|
+
KeepSegments: smithy_client_1.expectInt32(output.keepSegments),
|
|
12052
|
+
KeyFormat: smithy_client_1.expectString(output.keyFormat),
|
|
12053
|
+
KeyFormatVersions: smithy_client_1.expectString(output.keyFormatVersions),
|
|
12054
12054
|
KeyProviderSettings: output.keyProviderSettings !== undefined && output.keyProviderSettings !== null
|
|
12055
12055
|
? deserializeAws_restJson1KeyProviderSettings(output.keyProviderSettings, context)
|
|
12056
12056
|
: undefined,
|
|
12057
|
-
ManifestCompression:
|
|
12058
|
-
ManifestDurationFormat:
|
|
12059
|
-
MinSegmentLength:
|
|
12060
|
-
Mode:
|
|
12061
|
-
OutputSelection:
|
|
12062
|
-
ProgramDateTime:
|
|
12063
|
-
ProgramDateTimePeriod:
|
|
12064
|
-
RedundantManifest:
|
|
12065
|
-
SegmentLength:
|
|
12066
|
-
SegmentationMode:
|
|
12067
|
-
SegmentsPerSubdirectory:
|
|
12068
|
-
StreamInfResolution:
|
|
12069
|
-
TimedMetadataId3Frame:
|
|
12070
|
-
TimedMetadataId3Period:
|
|
12071
|
-
TimestampDeltaMilliseconds:
|
|
12072
|
-
TsFileMode:
|
|
12057
|
+
ManifestCompression: smithy_client_1.expectString(output.manifestCompression),
|
|
12058
|
+
ManifestDurationFormat: smithy_client_1.expectString(output.manifestDurationFormat),
|
|
12059
|
+
MinSegmentLength: smithy_client_1.expectInt32(output.minSegmentLength),
|
|
12060
|
+
Mode: smithy_client_1.expectString(output.mode),
|
|
12061
|
+
OutputSelection: smithy_client_1.expectString(output.outputSelection),
|
|
12062
|
+
ProgramDateTime: smithy_client_1.expectString(output.programDateTime),
|
|
12063
|
+
ProgramDateTimePeriod: smithy_client_1.expectInt32(output.programDateTimePeriod),
|
|
12064
|
+
RedundantManifest: smithy_client_1.expectString(output.redundantManifest),
|
|
12065
|
+
SegmentLength: smithy_client_1.expectInt32(output.segmentLength),
|
|
12066
|
+
SegmentationMode: smithy_client_1.expectString(output.segmentationMode),
|
|
12067
|
+
SegmentsPerSubdirectory: smithy_client_1.expectInt32(output.segmentsPerSubdirectory),
|
|
12068
|
+
StreamInfResolution: smithy_client_1.expectString(output.streamInfResolution),
|
|
12069
|
+
TimedMetadataId3Frame: smithy_client_1.expectString(output.timedMetadataId3Frame),
|
|
12070
|
+
TimedMetadataId3Period: smithy_client_1.expectInt32(output.timedMetadataId3Period),
|
|
12071
|
+
TimestampDeltaMilliseconds: smithy_client_1.expectInt32(output.timestampDeltaMilliseconds),
|
|
12072
|
+
TsFileMode: smithy_client_1.expectString(output.tsFileMode),
|
|
12073
12073
|
};
|
|
12074
12074
|
};
|
|
12075
12075
|
const deserializeAws_restJson1HlsId3SegmentTaggingScheduleActionSettings = (output, context) => {
|
|
12076
12076
|
return {
|
|
12077
|
-
Tag:
|
|
12077
|
+
Tag: smithy_client_1.expectString(output.tag),
|
|
12078
12078
|
};
|
|
12079
12079
|
};
|
|
12080
12080
|
const deserializeAws_restJson1HlsInputSettings = (output, context) => {
|
|
12081
12081
|
return {
|
|
12082
|
-
Bandwidth:
|
|
12083
|
-
BufferSegments:
|
|
12084
|
-
Retries:
|
|
12085
|
-
RetryInterval:
|
|
12086
|
-
Scte35Source:
|
|
12082
|
+
Bandwidth: smithy_client_1.expectInt32(output.bandwidth),
|
|
12083
|
+
BufferSegments: smithy_client_1.expectInt32(output.bufferSegments),
|
|
12084
|
+
Retries: smithy_client_1.expectInt32(output.retries),
|
|
12085
|
+
RetryInterval: smithy_client_1.expectInt32(output.retryInterval),
|
|
12086
|
+
Scte35Source: smithy_client_1.expectString(output.scte35Source),
|
|
12087
12087
|
};
|
|
12088
12088
|
};
|
|
12089
12089
|
const deserializeAws_restJson1HlsMediaStoreSettings = (output, context) => {
|
|
12090
12090
|
return {
|
|
12091
|
-
ConnectionRetryInterval:
|
|
12092
|
-
FilecacheDuration:
|
|
12093
|
-
MediaStoreStorageClass:
|
|
12094
|
-
NumRetries:
|
|
12095
|
-
RestartDelay:
|
|
12091
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12092
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
12093
|
+
MediaStoreStorageClass: smithy_client_1.expectString(output.mediaStoreStorageClass),
|
|
12094
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
12095
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12096
12096
|
};
|
|
12097
12097
|
};
|
|
12098
12098
|
const deserializeAws_restJson1HlsOutputSettings = (output, context) => {
|
|
12099
12099
|
return {
|
|
12100
|
-
H265PackagingType:
|
|
12100
|
+
H265PackagingType: smithy_client_1.expectString(output.h265PackagingType),
|
|
12101
12101
|
HlsSettings: output.hlsSettings !== undefined && output.hlsSettings !== null
|
|
12102
12102
|
? deserializeAws_restJson1HlsSettings(output.hlsSettings, context)
|
|
12103
12103
|
: undefined,
|
|
12104
|
-
NameModifier:
|
|
12105
|
-
SegmentModifier:
|
|
12104
|
+
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
12105
|
+
SegmentModifier: smithy_client_1.expectString(output.segmentModifier),
|
|
12106
12106
|
};
|
|
12107
12107
|
};
|
|
12108
12108
|
const deserializeAws_restJson1HlsS3Settings = (output, context) => {
|
|
12109
12109
|
return {
|
|
12110
|
-
CannedAcl:
|
|
12110
|
+
CannedAcl: smithy_client_1.expectString(output.cannedAcl),
|
|
12111
12111
|
};
|
|
12112
12112
|
};
|
|
12113
12113
|
const deserializeAws_restJson1HlsSettings = (output, context) => {
|
|
@@ -12128,16 +12128,16 @@ const deserializeAws_restJson1HlsSettings = (output, context) => {
|
|
|
12128
12128
|
};
|
|
12129
12129
|
const deserializeAws_restJson1HlsTimedMetadataScheduleActionSettings = (output, context) => {
|
|
12130
12130
|
return {
|
|
12131
|
-
Id3:
|
|
12131
|
+
Id3: smithy_client_1.expectString(output.id3),
|
|
12132
12132
|
};
|
|
12133
12133
|
};
|
|
12134
12134
|
const deserializeAws_restJson1HlsWebdavSettings = (output, context) => {
|
|
12135
12135
|
return {
|
|
12136
|
-
ConnectionRetryInterval:
|
|
12137
|
-
FilecacheDuration:
|
|
12138
|
-
HttpTransferMode:
|
|
12139
|
-
NumRetries:
|
|
12140
|
-
RestartDelay:
|
|
12136
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12137
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
12138
|
+
HttpTransferMode: smithy_client_1.expectString(output.httpTransferMode),
|
|
12139
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
12140
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12141
12141
|
};
|
|
12142
12142
|
};
|
|
12143
12143
|
const deserializeAws_restJson1HtmlMotionGraphicsSettings = (output, context) => {
|
|
@@ -12148,38 +12148,38 @@ const deserializeAws_restJson1ImmediateModeScheduleActionStartSettings = (output
|
|
|
12148
12148
|
};
|
|
12149
12149
|
const deserializeAws_restJson1Input = (output, context) => {
|
|
12150
12150
|
return {
|
|
12151
|
-
Arn:
|
|
12151
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
12152
12152
|
AttachedChannels: output.attachedChannels !== undefined && output.attachedChannels !== null
|
|
12153
12153
|
? deserializeAws_restJson1__listOf__string(output.attachedChannels, context)
|
|
12154
12154
|
: undefined,
|
|
12155
12155
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
12156
12156
|
? deserializeAws_restJson1__listOfInputDestination(output.destinations, context)
|
|
12157
12157
|
: undefined,
|
|
12158
|
-
Id:
|
|
12159
|
-
InputClass:
|
|
12158
|
+
Id: smithy_client_1.expectString(output.id),
|
|
12159
|
+
InputClass: smithy_client_1.expectString(output.inputClass),
|
|
12160
12160
|
InputDevices: output.inputDevices !== undefined && output.inputDevices !== null
|
|
12161
12161
|
? deserializeAws_restJson1__listOfInputDeviceSettings(output.inputDevices, context)
|
|
12162
12162
|
: undefined,
|
|
12163
12163
|
InputPartnerIds: output.inputPartnerIds !== undefined && output.inputPartnerIds !== null
|
|
12164
12164
|
? deserializeAws_restJson1__listOf__string(output.inputPartnerIds, context)
|
|
12165
12165
|
: undefined,
|
|
12166
|
-
InputSourceType:
|
|
12166
|
+
InputSourceType: smithy_client_1.expectString(output.inputSourceType),
|
|
12167
12167
|
MediaConnectFlows: output.mediaConnectFlows !== undefined && output.mediaConnectFlows !== null
|
|
12168
12168
|
? deserializeAws_restJson1__listOfMediaConnectFlow(output.mediaConnectFlows, context)
|
|
12169
12169
|
: undefined,
|
|
12170
|
-
Name:
|
|
12171
|
-
RoleArn:
|
|
12170
|
+
Name: smithy_client_1.expectString(output.name),
|
|
12171
|
+
RoleArn: smithy_client_1.expectString(output.roleArn),
|
|
12172
12172
|
SecurityGroups: output.securityGroups !== undefined && output.securityGroups !== null
|
|
12173
12173
|
? deserializeAws_restJson1__listOf__string(output.securityGroups, context)
|
|
12174
12174
|
: undefined,
|
|
12175
12175
|
Sources: output.sources !== undefined && output.sources !== null
|
|
12176
12176
|
? deserializeAws_restJson1__listOfInputSource(output.sources, context)
|
|
12177
12177
|
: undefined,
|
|
12178
|
-
State:
|
|
12178
|
+
State: smithy_client_1.expectString(output.state),
|
|
12179
12179
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12180
12180
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
12181
12181
|
: undefined,
|
|
12182
|
-
Type:
|
|
12182
|
+
Type: smithy_client_1.expectString(output.type),
|
|
12183
12183
|
};
|
|
12184
12184
|
};
|
|
12185
12185
|
const deserializeAws_restJson1InputAttachment = (output, context) => {
|
|
@@ -12187,8 +12187,8 @@ const deserializeAws_restJson1InputAttachment = (output, context) => {
|
|
|
12187
12187
|
AutomaticInputFailoverSettings: output.automaticInputFailoverSettings !== undefined && output.automaticInputFailoverSettings !== null
|
|
12188
12188
|
? deserializeAws_restJson1AutomaticInputFailoverSettings(output.automaticInputFailoverSettings, context)
|
|
12189
12189
|
: undefined,
|
|
12190
|
-
InputAttachmentName:
|
|
12191
|
-
InputId:
|
|
12190
|
+
InputAttachmentName: smithy_client_1.expectString(output.inputAttachmentName),
|
|
12191
|
+
InputId: smithy_client_1.expectString(output.inputId),
|
|
12192
12192
|
InputSettings: output.inputSettings !== undefined && output.inputSettings !== null
|
|
12193
12193
|
? deserializeAws_restJson1InputSettings(output.inputSettings, context)
|
|
12194
12194
|
: undefined,
|
|
@@ -12196,13 +12196,13 @@ const deserializeAws_restJson1InputAttachment = (output, context) => {
|
|
|
12196
12196
|
};
|
|
12197
12197
|
const deserializeAws_restJson1InputChannelLevel = (output, context) => {
|
|
12198
12198
|
return {
|
|
12199
|
-
Gain:
|
|
12200
|
-
InputChannel:
|
|
12199
|
+
Gain: smithy_client_1.expectInt32(output.gain),
|
|
12200
|
+
InputChannel: smithy_client_1.expectInt32(output.inputChannel),
|
|
12201
12201
|
};
|
|
12202
12202
|
};
|
|
12203
12203
|
const deserializeAws_restJson1InputClippingSettings = (output, context) => {
|
|
12204
12204
|
return {
|
|
12205
|
-
InputTimecodeSource:
|
|
12205
|
+
InputTimecodeSource: smithy_client_1.expectString(output.inputTimecodeSource),
|
|
12206
12206
|
StartTimecode: output.startTimecode !== undefined && output.startTimecode !== null
|
|
12207
12207
|
? deserializeAws_restJson1StartTimecode(output.startTimecode, context)
|
|
12208
12208
|
: undefined,
|
|
@@ -12213,9 +12213,9 @@ const deserializeAws_restJson1InputClippingSettings = (output, context) => {
|
|
|
12213
12213
|
};
|
|
12214
12214
|
const deserializeAws_restJson1InputDestination = (output, context) => {
|
|
12215
12215
|
return {
|
|
12216
|
-
Ip:
|
|
12217
|
-
Port:
|
|
12218
|
-
Url:
|
|
12216
|
+
Ip: smithy_client_1.expectString(output.ip),
|
|
12217
|
+
Port: smithy_client_1.expectString(output.port),
|
|
12218
|
+
Url: smithy_client_1.expectString(output.url),
|
|
12219
12219
|
Vpc: output.vpc !== undefined && output.vpc !== null
|
|
12220
12220
|
? deserializeAws_restJson1InputDestinationVpc(output.vpc, context)
|
|
12221
12221
|
: undefined,
|
|
@@ -12223,20 +12223,20 @@ const deserializeAws_restJson1InputDestination = (output, context) => {
|
|
|
12223
12223
|
};
|
|
12224
12224
|
const deserializeAws_restJson1InputDestinationVpc = (output, context) => {
|
|
12225
12225
|
return {
|
|
12226
|
-
AvailabilityZone:
|
|
12227
|
-
NetworkInterfaceId:
|
|
12226
|
+
AvailabilityZone: smithy_client_1.expectString(output.availabilityZone),
|
|
12227
|
+
NetworkInterfaceId: smithy_client_1.expectString(output.networkInterfaceId),
|
|
12228
12228
|
};
|
|
12229
12229
|
};
|
|
12230
12230
|
const deserializeAws_restJson1InputDeviceHdSettings = (output, context) => {
|
|
12231
12231
|
return {
|
|
12232
|
-
ActiveInput:
|
|
12233
|
-
ConfiguredInput:
|
|
12234
|
-
DeviceState:
|
|
12235
|
-
Framerate:
|
|
12236
|
-
Height:
|
|
12237
|
-
MaxBitrate:
|
|
12238
|
-
ScanType:
|
|
12239
|
-
Width:
|
|
12232
|
+
ActiveInput: smithy_client_1.expectString(output.activeInput),
|
|
12233
|
+
ConfiguredInput: smithy_client_1.expectString(output.configuredInput),
|
|
12234
|
+
DeviceState: smithy_client_1.expectString(output.deviceState),
|
|
12235
|
+
Framerate: smithy_client_1.limitedParseDouble(output.framerate),
|
|
12236
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
12237
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
12238
|
+
ScanType: smithy_client_1.expectString(output.scanType),
|
|
12239
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
12240
12240
|
};
|
|
12241
12241
|
};
|
|
12242
12242
|
const deserializeAws_restJson1InputDeviceNetworkSettings = (output, context) => {
|
|
@@ -12244,34 +12244,34 @@ const deserializeAws_restJson1InputDeviceNetworkSettings = (output, context) =>
|
|
|
12244
12244
|
DnsAddresses: output.dnsAddresses !== undefined && output.dnsAddresses !== null
|
|
12245
12245
|
? deserializeAws_restJson1__listOf__string(output.dnsAddresses, context)
|
|
12246
12246
|
: undefined,
|
|
12247
|
-
Gateway:
|
|
12248
|
-
IpAddress:
|
|
12249
|
-
IpScheme:
|
|
12250
|
-
SubnetMask:
|
|
12247
|
+
Gateway: smithy_client_1.expectString(output.gateway),
|
|
12248
|
+
IpAddress: smithy_client_1.expectString(output.ipAddress),
|
|
12249
|
+
IpScheme: smithy_client_1.expectString(output.ipScheme),
|
|
12250
|
+
SubnetMask: smithy_client_1.expectString(output.subnetMask),
|
|
12251
12251
|
};
|
|
12252
12252
|
};
|
|
12253
12253
|
const deserializeAws_restJson1InputDeviceSettings = (output, context) => {
|
|
12254
12254
|
return {
|
|
12255
|
-
Id:
|
|
12255
|
+
Id: smithy_client_1.expectString(output.id),
|
|
12256
12256
|
};
|
|
12257
12257
|
};
|
|
12258
12258
|
const deserializeAws_restJson1InputDeviceSummary = (output, context) => {
|
|
12259
12259
|
return {
|
|
12260
|
-
Arn:
|
|
12261
|
-
ConnectionState:
|
|
12262
|
-
DeviceSettingsSyncState:
|
|
12263
|
-
DeviceUpdateStatus:
|
|
12260
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
12261
|
+
ConnectionState: smithy_client_1.expectString(output.connectionState),
|
|
12262
|
+
DeviceSettingsSyncState: smithy_client_1.expectString(output.deviceSettingsSyncState),
|
|
12263
|
+
DeviceUpdateStatus: smithy_client_1.expectString(output.deviceUpdateStatus),
|
|
12264
12264
|
HdDeviceSettings: output.hdDeviceSettings !== undefined && output.hdDeviceSettings !== null
|
|
12265
12265
|
? deserializeAws_restJson1InputDeviceHdSettings(output.hdDeviceSettings, context)
|
|
12266
12266
|
: undefined,
|
|
12267
|
-
Id:
|
|
12268
|
-
MacAddress:
|
|
12269
|
-
Name:
|
|
12267
|
+
Id: smithy_client_1.expectString(output.id),
|
|
12268
|
+
MacAddress: smithy_client_1.expectString(output.macAddress),
|
|
12269
|
+
Name: smithy_client_1.expectString(output.name),
|
|
12270
12270
|
NetworkSettings: output.networkSettings !== undefined && output.networkSettings !== null
|
|
12271
12271
|
? deserializeAws_restJson1InputDeviceNetworkSettings(output.networkSettings, context)
|
|
12272
12272
|
: undefined,
|
|
12273
|
-
SerialNumber:
|
|
12274
|
-
Type:
|
|
12273
|
+
SerialNumber: smithy_client_1.expectString(output.serialNumber),
|
|
12274
|
+
Type: smithy_client_1.expectString(output.type),
|
|
12275
12275
|
UhdDeviceSettings: output.uhdDeviceSettings !== undefined && output.uhdDeviceSettings !== null
|
|
12276
12276
|
? deserializeAws_restJson1InputDeviceUhdSettings(output.uhdDeviceSettings, context)
|
|
12277
12277
|
: undefined,
|
|
@@ -12279,42 +12279,42 @@ const deserializeAws_restJson1InputDeviceSummary = (output, context) => {
|
|
|
12279
12279
|
};
|
|
12280
12280
|
const deserializeAws_restJson1InputDeviceUhdSettings = (output, context) => {
|
|
12281
12281
|
return {
|
|
12282
|
-
ActiveInput:
|
|
12283
|
-
ConfiguredInput:
|
|
12284
|
-
DeviceState:
|
|
12285
|
-
Framerate:
|
|
12286
|
-
Height:
|
|
12287
|
-
MaxBitrate:
|
|
12288
|
-
ScanType:
|
|
12289
|
-
Width:
|
|
12282
|
+
ActiveInput: smithy_client_1.expectString(output.activeInput),
|
|
12283
|
+
ConfiguredInput: smithy_client_1.expectString(output.configuredInput),
|
|
12284
|
+
DeviceState: smithy_client_1.expectString(output.deviceState),
|
|
12285
|
+
Framerate: smithy_client_1.limitedParseDouble(output.framerate),
|
|
12286
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
12287
|
+
MaxBitrate: smithy_client_1.expectInt32(output.maxBitrate),
|
|
12288
|
+
ScanType: smithy_client_1.expectString(output.scanType),
|
|
12289
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
12290
12290
|
};
|
|
12291
12291
|
};
|
|
12292
12292
|
const deserializeAws_restJson1InputLocation = (output, context) => {
|
|
12293
12293
|
return {
|
|
12294
|
-
PasswordParam:
|
|
12295
|
-
Uri:
|
|
12296
|
-
Username:
|
|
12294
|
+
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
12295
|
+
Uri: smithy_client_1.expectString(output.uri),
|
|
12296
|
+
Username: smithy_client_1.expectString(output.username),
|
|
12297
12297
|
};
|
|
12298
12298
|
};
|
|
12299
12299
|
const deserializeAws_restJson1InputLossBehavior = (output, context) => {
|
|
12300
12300
|
return {
|
|
12301
|
-
BlackFrameMsec:
|
|
12302
|
-
InputLossImageColor:
|
|
12301
|
+
BlackFrameMsec: smithy_client_1.expectInt32(output.blackFrameMsec),
|
|
12302
|
+
InputLossImageColor: smithy_client_1.expectString(output.inputLossImageColor),
|
|
12303
12303
|
InputLossImageSlate: output.inputLossImageSlate !== undefined && output.inputLossImageSlate !== null
|
|
12304
12304
|
? deserializeAws_restJson1InputLocation(output.inputLossImageSlate, context)
|
|
12305
12305
|
: undefined,
|
|
12306
|
-
InputLossImageType:
|
|
12307
|
-
RepeatFrameMsec:
|
|
12306
|
+
InputLossImageType: smithy_client_1.expectString(output.inputLossImageType),
|
|
12307
|
+
RepeatFrameMsec: smithy_client_1.expectInt32(output.repeatFrameMsec),
|
|
12308
12308
|
};
|
|
12309
12309
|
};
|
|
12310
12310
|
const deserializeAws_restJson1InputLossFailoverSettings = (output, context) => {
|
|
12311
12311
|
return {
|
|
12312
|
-
InputLossThresholdMsec:
|
|
12312
|
+
InputLossThresholdMsec: smithy_client_1.expectInt32(output.inputLossThresholdMsec),
|
|
12313
12313
|
};
|
|
12314
12314
|
};
|
|
12315
12315
|
const deserializeAws_restJson1InputPrepareScheduleActionSettings = (output, context) => {
|
|
12316
12316
|
return {
|
|
12317
|
-
InputAttachmentNameReference:
|
|
12317
|
+
InputAttachmentNameReference: smithy_client_1.expectString(output.inputAttachmentNameReference),
|
|
12318
12318
|
InputClippingSettings: output.inputClippingSettings !== undefined && output.inputClippingSettings !== null
|
|
12319
12319
|
? deserializeAws_restJson1InputClippingSettings(output.inputClippingSettings, context)
|
|
12320
12320
|
: undefined,
|
|
@@ -12325,12 +12325,12 @@ const deserializeAws_restJson1InputPrepareScheduleActionSettings = (output, cont
|
|
|
12325
12325
|
};
|
|
12326
12326
|
const deserializeAws_restJson1InputSecurityGroup = (output, context) => {
|
|
12327
12327
|
return {
|
|
12328
|
-
Arn:
|
|
12329
|
-
Id:
|
|
12328
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
12329
|
+
Id: smithy_client_1.expectString(output.id),
|
|
12330
12330
|
Inputs: output.inputs !== undefined && output.inputs !== null
|
|
12331
12331
|
? deserializeAws_restJson1__listOf__string(output.inputs, context)
|
|
12332
12332
|
: undefined,
|
|
12333
|
-
State:
|
|
12333
|
+
State: smithy_client_1.expectString(output.state),
|
|
12334
12334
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12335
12335
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
12336
12336
|
: undefined,
|
|
@@ -12347,15 +12347,15 @@ const deserializeAws_restJson1InputSettings = (output, context) => {
|
|
|
12347
12347
|
CaptionSelectors: output.captionSelectors !== undefined && output.captionSelectors !== null
|
|
12348
12348
|
? deserializeAws_restJson1__listOfCaptionSelector(output.captionSelectors, context)
|
|
12349
12349
|
: undefined,
|
|
12350
|
-
DeblockFilter:
|
|
12351
|
-
DenoiseFilter:
|
|
12352
|
-
FilterStrength:
|
|
12353
|
-
InputFilter:
|
|
12350
|
+
DeblockFilter: smithy_client_1.expectString(output.deblockFilter),
|
|
12351
|
+
DenoiseFilter: smithy_client_1.expectString(output.denoiseFilter),
|
|
12352
|
+
FilterStrength: smithy_client_1.expectInt32(output.filterStrength),
|
|
12353
|
+
InputFilter: smithy_client_1.expectString(output.inputFilter),
|
|
12354
12354
|
NetworkInputSettings: output.networkInputSettings !== undefined && output.networkInputSettings !== null
|
|
12355
12355
|
? deserializeAws_restJson1NetworkInputSettings(output.networkInputSettings, context)
|
|
12356
12356
|
: undefined,
|
|
12357
|
-
Smpte2038DataPreference:
|
|
12358
|
-
SourceEndBehavior:
|
|
12357
|
+
Smpte2038DataPreference: smithy_client_1.expectString(output.smpte2038DataPreference),
|
|
12358
|
+
SourceEndBehavior: smithy_client_1.expectString(output.sourceEndBehavior),
|
|
12359
12359
|
VideoSelector: output.videoSelector !== undefined && output.videoSelector !== null
|
|
12360
12360
|
? deserializeAws_restJson1VideoSelector(output.videoSelector, context)
|
|
12361
12361
|
: undefined,
|
|
@@ -12363,21 +12363,21 @@ const deserializeAws_restJson1InputSettings = (output, context) => {
|
|
|
12363
12363
|
};
|
|
12364
12364
|
const deserializeAws_restJson1InputSource = (output, context) => {
|
|
12365
12365
|
return {
|
|
12366
|
-
PasswordParam:
|
|
12367
|
-
Url:
|
|
12368
|
-
Username:
|
|
12366
|
+
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
12367
|
+
Url: smithy_client_1.expectString(output.url),
|
|
12368
|
+
Username: smithy_client_1.expectString(output.username),
|
|
12369
12369
|
};
|
|
12370
12370
|
};
|
|
12371
12371
|
const deserializeAws_restJson1InputSpecification = (output, context) => {
|
|
12372
12372
|
return {
|
|
12373
|
-
Codec:
|
|
12374
|
-
MaximumBitrate:
|
|
12375
|
-
Resolution:
|
|
12373
|
+
Codec: smithy_client_1.expectString(output.codec),
|
|
12374
|
+
MaximumBitrate: smithy_client_1.expectString(output.maximumBitrate),
|
|
12375
|
+
Resolution: smithy_client_1.expectString(output.resolution),
|
|
12376
12376
|
};
|
|
12377
12377
|
};
|
|
12378
12378
|
const deserializeAws_restJson1InputSwitchScheduleActionSettings = (output, context) => {
|
|
12379
12379
|
return {
|
|
12380
|
-
InputAttachmentNameReference:
|
|
12380
|
+
InputAttachmentNameReference: smithy_client_1.expectString(output.inputAttachmentNameReference),
|
|
12381
12381
|
InputClippingSettings: output.inputClippingSettings !== undefined && output.inputClippingSettings !== null
|
|
12382
12382
|
? deserializeAws_restJson1InputClippingSettings(output.inputClippingSettings, context)
|
|
12383
12383
|
: undefined,
|
|
@@ -12388,7 +12388,7 @@ const deserializeAws_restJson1InputSwitchScheduleActionSettings = (output, conte
|
|
|
12388
12388
|
};
|
|
12389
12389
|
const deserializeAws_restJson1InputWhitelistRule = (output, context) => {
|
|
12390
12390
|
return {
|
|
12391
|
-
Cidr:
|
|
12391
|
+
Cidr: smithy_client_1.expectString(output.cidr),
|
|
12392
12392
|
};
|
|
12393
12393
|
};
|
|
12394
12394
|
const deserializeAws_restJson1KeyProviderSettings = (output, context) => {
|
|
@@ -12400,85 +12400,85 @@ const deserializeAws_restJson1KeyProviderSettings = (output, context) => {
|
|
|
12400
12400
|
};
|
|
12401
12401
|
const deserializeAws_restJson1M2tsSettings = (output, context) => {
|
|
12402
12402
|
return {
|
|
12403
|
-
AbsentInputAudioBehavior:
|
|
12404
|
-
Arib:
|
|
12405
|
-
AribCaptionsPid:
|
|
12406
|
-
AribCaptionsPidControl:
|
|
12407
|
-
AudioBufferModel:
|
|
12408
|
-
AudioFramesPerPes:
|
|
12409
|
-
AudioPids:
|
|
12410
|
-
AudioStreamType:
|
|
12411
|
-
Bitrate:
|
|
12412
|
-
BufferModel:
|
|
12413
|
-
CcDescriptor:
|
|
12403
|
+
AbsentInputAudioBehavior: smithy_client_1.expectString(output.absentInputAudioBehavior),
|
|
12404
|
+
Arib: smithy_client_1.expectString(output.arib),
|
|
12405
|
+
AribCaptionsPid: smithy_client_1.expectString(output.aribCaptionsPid),
|
|
12406
|
+
AribCaptionsPidControl: smithy_client_1.expectString(output.aribCaptionsPidControl),
|
|
12407
|
+
AudioBufferModel: smithy_client_1.expectString(output.audioBufferModel),
|
|
12408
|
+
AudioFramesPerPes: smithy_client_1.expectInt32(output.audioFramesPerPes),
|
|
12409
|
+
AudioPids: smithy_client_1.expectString(output.audioPids),
|
|
12410
|
+
AudioStreamType: smithy_client_1.expectString(output.audioStreamType),
|
|
12411
|
+
Bitrate: smithy_client_1.expectInt32(output.bitrate),
|
|
12412
|
+
BufferModel: smithy_client_1.expectString(output.bufferModel),
|
|
12413
|
+
CcDescriptor: smithy_client_1.expectString(output.ccDescriptor),
|
|
12414
12414
|
DvbNitSettings: output.dvbNitSettings !== undefined && output.dvbNitSettings !== null
|
|
12415
12415
|
? deserializeAws_restJson1DvbNitSettings(output.dvbNitSettings, context)
|
|
12416
12416
|
: undefined,
|
|
12417
12417
|
DvbSdtSettings: output.dvbSdtSettings !== undefined && output.dvbSdtSettings !== null
|
|
12418
12418
|
? deserializeAws_restJson1DvbSdtSettings(output.dvbSdtSettings, context)
|
|
12419
12419
|
: undefined,
|
|
12420
|
-
DvbSubPids:
|
|
12420
|
+
DvbSubPids: smithy_client_1.expectString(output.dvbSubPids),
|
|
12421
12421
|
DvbTdtSettings: output.dvbTdtSettings !== undefined && output.dvbTdtSettings !== null
|
|
12422
12422
|
? deserializeAws_restJson1DvbTdtSettings(output.dvbTdtSettings, context)
|
|
12423
12423
|
: undefined,
|
|
12424
|
-
DvbTeletextPid:
|
|
12425
|
-
Ebif:
|
|
12426
|
-
EbpAudioInterval:
|
|
12427
|
-
EbpLookaheadMs:
|
|
12428
|
-
EbpPlacement:
|
|
12429
|
-
EcmPid:
|
|
12430
|
-
EsRateInPes:
|
|
12431
|
-
EtvPlatformPid:
|
|
12432
|
-
EtvSignalPid:
|
|
12433
|
-
FragmentTime:
|
|
12434
|
-
Klv:
|
|
12435
|
-
KlvDataPids:
|
|
12436
|
-
NielsenId3Behavior:
|
|
12437
|
-
NullPacketBitrate:
|
|
12438
|
-
PatInterval:
|
|
12439
|
-
PcrControl:
|
|
12440
|
-
PcrPeriod:
|
|
12441
|
-
PcrPid:
|
|
12442
|
-
PmtInterval:
|
|
12443
|
-
PmtPid:
|
|
12444
|
-
ProgramNum:
|
|
12445
|
-
RateMode:
|
|
12446
|
-
Scte27Pids:
|
|
12447
|
-
Scte35Control:
|
|
12448
|
-
Scte35Pid:
|
|
12449
|
-
SegmentationMarkers:
|
|
12450
|
-
SegmentationStyle:
|
|
12451
|
-
SegmentationTime:
|
|
12452
|
-
TimedMetadataBehavior:
|
|
12453
|
-
TimedMetadataPid:
|
|
12454
|
-
TransportStreamId:
|
|
12455
|
-
VideoPid:
|
|
12424
|
+
DvbTeletextPid: smithy_client_1.expectString(output.dvbTeletextPid),
|
|
12425
|
+
Ebif: smithy_client_1.expectString(output.ebif),
|
|
12426
|
+
EbpAudioInterval: smithy_client_1.expectString(output.ebpAudioInterval),
|
|
12427
|
+
EbpLookaheadMs: smithy_client_1.expectInt32(output.ebpLookaheadMs),
|
|
12428
|
+
EbpPlacement: smithy_client_1.expectString(output.ebpPlacement),
|
|
12429
|
+
EcmPid: smithy_client_1.expectString(output.ecmPid),
|
|
12430
|
+
EsRateInPes: smithy_client_1.expectString(output.esRateInPes),
|
|
12431
|
+
EtvPlatformPid: smithy_client_1.expectString(output.etvPlatformPid),
|
|
12432
|
+
EtvSignalPid: smithy_client_1.expectString(output.etvSignalPid),
|
|
12433
|
+
FragmentTime: smithy_client_1.limitedParseDouble(output.fragmentTime),
|
|
12434
|
+
Klv: smithy_client_1.expectString(output.klv),
|
|
12435
|
+
KlvDataPids: smithy_client_1.expectString(output.klvDataPids),
|
|
12436
|
+
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
12437
|
+
NullPacketBitrate: smithy_client_1.limitedParseDouble(output.nullPacketBitrate),
|
|
12438
|
+
PatInterval: smithy_client_1.expectInt32(output.patInterval),
|
|
12439
|
+
PcrControl: smithy_client_1.expectString(output.pcrControl),
|
|
12440
|
+
PcrPeriod: smithy_client_1.expectInt32(output.pcrPeriod),
|
|
12441
|
+
PcrPid: smithy_client_1.expectString(output.pcrPid),
|
|
12442
|
+
PmtInterval: smithy_client_1.expectInt32(output.pmtInterval),
|
|
12443
|
+
PmtPid: smithy_client_1.expectString(output.pmtPid),
|
|
12444
|
+
ProgramNum: smithy_client_1.expectInt32(output.programNum),
|
|
12445
|
+
RateMode: smithy_client_1.expectString(output.rateMode),
|
|
12446
|
+
Scte27Pids: smithy_client_1.expectString(output.scte27Pids),
|
|
12447
|
+
Scte35Control: smithy_client_1.expectString(output.scte35Control),
|
|
12448
|
+
Scte35Pid: smithy_client_1.expectString(output.scte35Pid),
|
|
12449
|
+
SegmentationMarkers: smithy_client_1.expectString(output.segmentationMarkers),
|
|
12450
|
+
SegmentationStyle: smithy_client_1.expectString(output.segmentationStyle),
|
|
12451
|
+
SegmentationTime: smithy_client_1.limitedParseDouble(output.segmentationTime),
|
|
12452
|
+
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
12453
|
+
TimedMetadataPid: smithy_client_1.expectString(output.timedMetadataPid),
|
|
12454
|
+
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
12455
|
+
VideoPid: smithy_client_1.expectString(output.videoPid),
|
|
12456
12456
|
};
|
|
12457
12457
|
};
|
|
12458
12458
|
const deserializeAws_restJson1M3u8Settings = (output, context) => {
|
|
12459
12459
|
return {
|
|
12460
|
-
AudioFramesPerPes:
|
|
12461
|
-
AudioPids:
|
|
12462
|
-
EcmPid:
|
|
12463
|
-
NielsenId3Behavior:
|
|
12464
|
-
PatInterval:
|
|
12465
|
-
PcrControl:
|
|
12466
|
-
PcrPeriod:
|
|
12467
|
-
PcrPid:
|
|
12468
|
-
PmtInterval:
|
|
12469
|
-
PmtPid:
|
|
12470
|
-
ProgramNum:
|
|
12471
|
-
Scte35Behavior:
|
|
12472
|
-
Scte35Pid:
|
|
12473
|
-
TimedMetadataBehavior:
|
|
12474
|
-
TimedMetadataPid:
|
|
12475
|
-
TransportStreamId:
|
|
12476
|
-
VideoPid:
|
|
12460
|
+
AudioFramesPerPes: smithy_client_1.expectInt32(output.audioFramesPerPes),
|
|
12461
|
+
AudioPids: smithy_client_1.expectString(output.audioPids),
|
|
12462
|
+
EcmPid: smithy_client_1.expectString(output.ecmPid),
|
|
12463
|
+
NielsenId3Behavior: smithy_client_1.expectString(output.nielsenId3Behavior),
|
|
12464
|
+
PatInterval: smithy_client_1.expectInt32(output.patInterval),
|
|
12465
|
+
PcrControl: smithy_client_1.expectString(output.pcrControl),
|
|
12466
|
+
PcrPeriod: smithy_client_1.expectInt32(output.pcrPeriod),
|
|
12467
|
+
PcrPid: smithy_client_1.expectString(output.pcrPid),
|
|
12468
|
+
PmtInterval: smithy_client_1.expectInt32(output.pmtInterval),
|
|
12469
|
+
PmtPid: smithy_client_1.expectString(output.pmtPid),
|
|
12470
|
+
ProgramNum: smithy_client_1.expectInt32(output.programNum),
|
|
12471
|
+
Scte35Behavior: smithy_client_1.expectString(output.scte35Behavior),
|
|
12472
|
+
Scte35Pid: smithy_client_1.expectString(output.scte35Pid),
|
|
12473
|
+
TimedMetadataBehavior: smithy_client_1.expectString(output.timedMetadataBehavior),
|
|
12474
|
+
TimedMetadataPid: smithy_client_1.expectString(output.timedMetadataPid),
|
|
12475
|
+
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
12476
|
+
VideoPid: smithy_client_1.expectString(output.videoPid),
|
|
12477
12477
|
};
|
|
12478
12478
|
};
|
|
12479
12479
|
const deserializeAws_restJson1MediaConnectFlow = (output, context) => {
|
|
12480
12480
|
return {
|
|
12481
|
-
FlowArn:
|
|
12481
|
+
FlowArn: smithy_client_1.expectString(output.flowArn),
|
|
12482
12482
|
};
|
|
12483
12483
|
};
|
|
12484
12484
|
const deserializeAws_restJson1MediaPackageGroupSettings = (output, context) => {
|
|
@@ -12490,7 +12490,7 @@ const deserializeAws_restJson1MediaPackageGroupSettings = (output, context) => {
|
|
|
12490
12490
|
};
|
|
12491
12491
|
const deserializeAws_restJson1MediaPackageOutputDestinationSettings = (output, context) => {
|
|
12492
12492
|
return {
|
|
12493
|
-
ChannelId:
|
|
12493
|
+
ChannelId: smithy_client_1.expectString(output.channelId),
|
|
12494
12494
|
};
|
|
12495
12495
|
};
|
|
12496
12496
|
const deserializeAws_restJson1MediaPackageOutputSettings = (output, context) => {
|
|
@@ -12498,15 +12498,15 @@ const deserializeAws_restJson1MediaPackageOutputSettings = (output, context) =>
|
|
|
12498
12498
|
};
|
|
12499
12499
|
const deserializeAws_restJson1MotionGraphicsActivateScheduleActionSettings = (output, context) => {
|
|
12500
12500
|
return {
|
|
12501
|
-
Duration:
|
|
12502
|
-
PasswordParam:
|
|
12503
|
-
Url:
|
|
12504
|
-
Username:
|
|
12501
|
+
Duration: smithy_client_1.expectLong(output.duration),
|
|
12502
|
+
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
12503
|
+
Url: smithy_client_1.expectString(output.url),
|
|
12504
|
+
Username: smithy_client_1.expectString(output.username),
|
|
12505
12505
|
};
|
|
12506
12506
|
};
|
|
12507
12507
|
const deserializeAws_restJson1MotionGraphicsConfiguration = (output, context) => {
|
|
12508
12508
|
return {
|
|
12509
|
-
MotionGraphicsInsertion:
|
|
12509
|
+
MotionGraphicsInsertion: smithy_client_1.expectString(output.motionGraphicsInsertion),
|
|
12510
12510
|
MotionGraphicsSettings: output.motionGraphicsSettings !== undefined && output.motionGraphicsSettings !== null
|
|
12511
12511
|
? deserializeAws_restJson1MotionGraphicsSettings(output.motionGraphicsSettings, context)
|
|
12512
12512
|
: undefined,
|
|
@@ -12524,9 +12524,9 @@ const deserializeAws_restJson1MotionGraphicsSettings = (output, context) => {
|
|
|
12524
12524
|
};
|
|
12525
12525
|
const deserializeAws_restJson1Mp2Settings = (output, context) => {
|
|
12526
12526
|
return {
|
|
12527
|
-
Bitrate:
|
|
12528
|
-
CodingMode:
|
|
12529
|
-
SampleRate:
|
|
12527
|
+
Bitrate: smithy_client_1.limitedParseDouble(output.bitrate),
|
|
12528
|
+
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
12529
|
+
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
12530
12530
|
};
|
|
12531
12531
|
};
|
|
12532
12532
|
const deserializeAws_restJson1Mpeg2FilterSettings = (output, context) => {
|
|
@@ -12538,74 +12538,74 @@ const deserializeAws_restJson1Mpeg2FilterSettings = (output, context) => {
|
|
|
12538
12538
|
};
|
|
12539
12539
|
const deserializeAws_restJson1Mpeg2Settings = (output, context) => {
|
|
12540
12540
|
return {
|
|
12541
|
-
AdaptiveQuantization:
|
|
12542
|
-
AfdSignaling:
|
|
12543
|
-
ColorMetadata:
|
|
12544
|
-
ColorSpace:
|
|
12545
|
-
DisplayAspectRatio:
|
|
12541
|
+
AdaptiveQuantization: smithy_client_1.expectString(output.adaptiveQuantization),
|
|
12542
|
+
AfdSignaling: smithy_client_1.expectString(output.afdSignaling),
|
|
12543
|
+
ColorMetadata: smithy_client_1.expectString(output.colorMetadata),
|
|
12544
|
+
ColorSpace: smithy_client_1.expectString(output.colorSpace),
|
|
12545
|
+
DisplayAspectRatio: smithy_client_1.expectString(output.displayAspectRatio),
|
|
12546
12546
|
FilterSettings: output.filterSettings !== undefined && output.filterSettings !== null
|
|
12547
12547
|
? deserializeAws_restJson1Mpeg2FilterSettings(output.filterSettings, context)
|
|
12548
12548
|
: undefined,
|
|
12549
|
-
FixedAfd:
|
|
12550
|
-
FramerateDenominator:
|
|
12551
|
-
FramerateNumerator:
|
|
12552
|
-
GopClosedCadence:
|
|
12553
|
-
GopNumBFrames:
|
|
12554
|
-
GopSize:
|
|
12555
|
-
GopSizeUnits:
|
|
12556
|
-
ScanType:
|
|
12557
|
-
SubgopLength:
|
|
12558
|
-
TimecodeInsertion:
|
|
12549
|
+
FixedAfd: smithy_client_1.expectString(output.fixedAfd),
|
|
12550
|
+
FramerateDenominator: smithy_client_1.expectInt32(output.framerateDenominator),
|
|
12551
|
+
FramerateNumerator: smithy_client_1.expectInt32(output.framerateNumerator),
|
|
12552
|
+
GopClosedCadence: smithy_client_1.expectInt32(output.gopClosedCadence),
|
|
12553
|
+
GopNumBFrames: smithy_client_1.expectInt32(output.gopNumBFrames),
|
|
12554
|
+
GopSize: smithy_client_1.limitedParseDouble(output.gopSize),
|
|
12555
|
+
GopSizeUnits: smithy_client_1.expectString(output.gopSizeUnits),
|
|
12556
|
+
ScanType: smithy_client_1.expectString(output.scanType),
|
|
12557
|
+
SubgopLength: smithy_client_1.expectString(output.subgopLength),
|
|
12558
|
+
TimecodeInsertion: smithy_client_1.expectString(output.timecodeInsertion),
|
|
12559
12559
|
};
|
|
12560
12560
|
};
|
|
12561
12561
|
const deserializeAws_restJson1MsSmoothGroupSettings = (output, context) => {
|
|
12562
12562
|
return {
|
|
12563
|
-
AcquisitionPointId:
|
|
12564
|
-
AudioOnlyTimecodeControl:
|
|
12565
|
-
CertificateMode:
|
|
12566
|
-
ConnectionRetryInterval:
|
|
12563
|
+
AcquisitionPointId: smithy_client_1.expectString(output.acquisitionPointId),
|
|
12564
|
+
AudioOnlyTimecodeControl: smithy_client_1.expectString(output.audioOnlyTimecodeControl),
|
|
12565
|
+
CertificateMode: smithy_client_1.expectString(output.certificateMode),
|
|
12566
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12567
12567
|
Destination: output.destination !== undefined && output.destination !== null
|
|
12568
12568
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
12569
12569
|
: undefined,
|
|
12570
|
-
EventId:
|
|
12571
|
-
EventIdMode:
|
|
12572
|
-
EventStopBehavior:
|
|
12573
|
-
FilecacheDuration:
|
|
12574
|
-
FragmentLength:
|
|
12575
|
-
InputLossAction:
|
|
12576
|
-
NumRetries:
|
|
12577
|
-
RestartDelay:
|
|
12578
|
-
SegmentationMode:
|
|
12579
|
-
SendDelayMs:
|
|
12580
|
-
SparseTrackType:
|
|
12581
|
-
StreamManifestBehavior:
|
|
12582
|
-
TimestampOffset:
|
|
12583
|
-
TimestampOffsetMode:
|
|
12570
|
+
EventId: smithy_client_1.expectString(output.eventId),
|
|
12571
|
+
EventIdMode: smithy_client_1.expectString(output.eventIdMode),
|
|
12572
|
+
EventStopBehavior: smithy_client_1.expectString(output.eventStopBehavior),
|
|
12573
|
+
FilecacheDuration: smithy_client_1.expectInt32(output.filecacheDuration),
|
|
12574
|
+
FragmentLength: smithy_client_1.expectInt32(output.fragmentLength),
|
|
12575
|
+
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
12576
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
12577
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12578
|
+
SegmentationMode: smithy_client_1.expectString(output.segmentationMode),
|
|
12579
|
+
SendDelayMs: smithy_client_1.expectInt32(output.sendDelayMs),
|
|
12580
|
+
SparseTrackType: smithy_client_1.expectString(output.sparseTrackType),
|
|
12581
|
+
StreamManifestBehavior: smithy_client_1.expectString(output.streamManifestBehavior),
|
|
12582
|
+
TimestampOffset: smithy_client_1.expectString(output.timestampOffset),
|
|
12583
|
+
TimestampOffsetMode: smithy_client_1.expectString(output.timestampOffsetMode),
|
|
12584
12584
|
};
|
|
12585
12585
|
};
|
|
12586
12586
|
const deserializeAws_restJson1MsSmoothOutputSettings = (output, context) => {
|
|
12587
12587
|
return {
|
|
12588
|
-
H265PackagingType:
|
|
12589
|
-
NameModifier:
|
|
12588
|
+
H265PackagingType: smithy_client_1.expectString(output.h265PackagingType),
|
|
12589
|
+
NameModifier: smithy_client_1.expectString(output.nameModifier),
|
|
12590
12590
|
};
|
|
12591
12591
|
};
|
|
12592
12592
|
const deserializeAws_restJson1Multiplex = (output, context) => {
|
|
12593
12593
|
return {
|
|
12594
|
-
Arn:
|
|
12594
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
12595
12595
|
AvailabilityZones: output.availabilityZones !== undefined && output.availabilityZones !== null
|
|
12596
12596
|
? deserializeAws_restJson1__listOf__string(output.availabilityZones, context)
|
|
12597
12597
|
: undefined,
|
|
12598
12598
|
Destinations: output.destinations !== undefined && output.destinations !== null
|
|
12599
12599
|
? deserializeAws_restJson1__listOfMultiplexOutputDestination(output.destinations, context)
|
|
12600
12600
|
: undefined,
|
|
12601
|
-
Id:
|
|
12601
|
+
Id: smithy_client_1.expectString(output.id),
|
|
12602
12602
|
MultiplexSettings: output.multiplexSettings !== undefined && output.multiplexSettings !== null
|
|
12603
12603
|
? deserializeAws_restJson1MultiplexSettings(output.multiplexSettings, context)
|
|
12604
12604
|
: undefined,
|
|
12605
|
-
Name:
|
|
12606
|
-
PipelinesRunningCount:
|
|
12607
|
-
ProgramCount:
|
|
12608
|
-
State:
|
|
12605
|
+
Name: smithy_client_1.expectString(output.name),
|
|
12606
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
12607
|
+
ProgramCount: smithy_client_1.expectInt32(output.programCount),
|
|
12608
|
+
State: smithy_client_1.expectString(output.state),
|
|
12609
12609
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12610
12610
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
12611
12611
|
: undefined,
|
|
@@ -12616,7 +12616,7 @@ const deserializeAws_restJson1MultiplexGroupSettings = (output, context) => {
|
|
|
12616
12616
|
};
|
|
12617
12617
|
const deserializeAws_restJson1MultiplexMediaConnectOutputDestinationSettings = (output, context) => {
|
|
12618
12618
|
return {
|
|
12619
|
-
EntitlementArn:
|
|
12619
|
+
EntitlementArn: smithy_client_1.expectString(output.entitlementArn),
|
|
12620
12620
|
};
|
|
12621
12621
|
};
|
|
12622
12622
|
const deserializeAws_restJson1MultiplexOutputDestination = (output, context) => {
|
|
@@ -12635,7 +12635,7 @@ const deserializeAws_restJson1MultiplexOutputSettings = (output, context) => {
|
|
|
12635
12635
|
};
|
|
12636
12636
|
const deserializeAws_restJson1MultiplexProgram = (output, context) => {
|
|
12637
12637
|
return {
|
|
12638
|
-
ChannelId:
|
|
12638
|
+
ChannelId: smithy_client_1.expectString(output.channelId),
|
|
12639
12639
|
MultiplexProgramSettings: output.multiplexProgramSettings !== undefined && output.multiplexProgramSettings !== null
|
|
12640
12640
|
? deserializeAws_restJson1MultiplexProgramSettings(output.multiplexProgramSettings, context)
|
|
12641
12641
|
: undefined,
|
|
@@ -12645,13 +12645,13 @@ const deserializeAws_restJson1MultiplexProgram = (output, context) => {
|
|
|
12645
12645
|
PipelineDetails: output.pipelineDetails !== undefined && output.pipelineDetails !== null
|
|
12646
12646
|
? deserializeAws_restJson1__listOfMultiplexProgramPipelineDetail(output.pipelineDetails, context)
|
|
12647
12647
|
: undefined,
|
|
12648
|
-
ProgramName:
|
|
12648
|
+
ProgramName: smithy_client_1.expectString(output.programName),
|
|
12649
12649
|
};
|
|
12650
12650
|
};
|
|
12651
12651
|
const deserializeAws_restJson1MultiplexProgramChannelDestinationSettings = (output, context) => {
|
|
12652
12652
|
return {
|
|
12653
|
-
MultiplexId:
|
|
12654
|
-
ProgramName:
|
|
12653
|
+
MultiplexId: smithy_client_1.expectString(output.multiplexId),
|
|
12654
|
+
ProgramName: smithy_client_1.expectString(output.programName),
|
|
12655
12655
|
};
|
|
12656
12656
|
};
|
|
12657
12657
|
const deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = (output, context) => {
|
|
@@ -12662,39 +12662,39 @@ const deserializeAws_restJson1MultiplexProgramPacketIdentifiersMap = (output, co
|
|
|
12662
12662
|
DvbSubPids: output.dvbSubPids !== undefined && output.dvbSubPids !== null
|
|
12663
12663
|
? deserializeAws_restJson1__listOf__integer(output.dvbSubPids, context)
|
|
12664
12664
|
: undefined,
|
|
12665
|
-
DvbTeletextPid:
|
|
12666
|
-
EtvPlatformPid:
|
|
12667
|
-
EtvSignalPid:
|
|
12665
|
+
DvbTeletextPid: smithy_client_1.expectInt32(output.dvbTeletextPid),
|
|
12666
|
+
EtvPlatformPid: smithy_client_1.expectInt32(output.etvPlatformPid),
|
|
12667
|
+
EtvSignalPid: smithy_client_1.expectInt32(output.etvSignalPid),
|
|
12668
12668
|
KlvDataPids: output.klvDataPids !== undefined && output.klvDataPids !== null
|
|
12669
12669
|
? deserializeAws_restJson1__listOf__integer(output.klvDataPids, context)
|
|
12670
12670
|
: undefined,
|
|
12671
|
-
PcrPid:
|
|
12672
|
-
PmtPid:
|
|
12673
|
-
PrivateMetadataPid:
|
|
12671
|
+
PcrPid: smithy_client_1.expectInt32(output.pcrPid),
|
|
12672
|
+
PmtPid: smithy_client_1.expectInt32(output.pmtPid),
|
|
12673
|
+
PrivateMetadataPid: smithy_client_1.expectInt32(output.privateMetadataPid),
|
|
12674
12674
|
Scte27Pids: output.scte27Pids !== undefined && output.scte27Pids !== null
|
|
12675
12675
|
? deserializeAws_restJson1__listOf__integer(output.scte27Pids, context)
|
|
12676
12676
|
: undefined,
|
|
12677
|
-
Scte35Pid:
|
|
12678
|
-
TimedMetadataPid:
|
|
12679
|
-
VideoPid:
|
|
12677
|
+
Scte35Pid: smithy_client_1.expectInt32(output.scte35Pid),
|
|
12678
|
+
TimedMetadataPid: smithy_client_1.expectInt32(output.timedMetadataPid),
|
|
12679
|
+
VideoPid: smithy_client_1.expectInt32(output.videoPid),
|
|
12680
12680
|
};
|
|
12681
12681
|
};
|
|
12682
12682
|
const deserializeAws_restJson1MultiplexProgramPipelineDetail = (output, context) => {
|
|
12683
12683
|
return {
|
|
12684
|
-
ActiveChannelPipeline:
|
|
12685
|
-
PipelineId:
|
|
12684
|
+
ActiveChannelPipeline: smithy_client_1.expectString(output.activeChannelPipeline),
|
|
12685
|
+
PipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
12686
12686
|
};
|
|
12687
12687
|
};
|
|
12688
12688
|
const deserializeAws_restJson1MultiplexProgramServiceDescriptor = (output, context) => {
|
|
12689
12689
|
return {
|
|
12690
|
-
ProviderName:
|
|
12691
|
-
ServiceName:
|
|
12690
|
+
ProviderName: smithy_client_1.expectString(output.providerName),
|
|
12691
|
+
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
12692
12692
|
};
|
|
12693
12693
|
};
|
|
12694
12694
|
const deserializeAws_restJson1MultiplexProgramSettings = (output, context) => {
|
|
12695
12695
|
return {
|
|
12696
|
-
PreferredChannelPipeline:
|
|
12697
|
-
ProgramNumber:
|
|
12696
|
+
PreferredChannelPipeline: smithy_client_1.expectString(output.preferredChannelPipeline),
|
|
12697
|
+
ProgramNumber: smithy_client_1.expectInt32(output.programNumber),
|
|
12698
12698
|
ServiceDescriptor: output.serviceDescriptor !== undefined && output.serviceDescriptor !== null
|
|
12699
12699
|
? deserializeAws_restJson1MultiplexProgramServiceDescriptor(output.serviceDescriptor, context)
|
|
12700
12700
|
: undefined,
|
|
@@ -12705,44 +12705,44 @@ const deserializeAws_restJson1MultiplexProgramSettings = (output, context) => {
|
|
|
12705
12705
|
};
|
|
12706
12706
|
const deserializeAws_restJson1MultiplexProgramSummary = (output, context) => {
|
|
12707
12707
|
return {
|
|
12708
|
-
ChannelId:
|
|
12709
|
-
ProgramName:
|
|
12708
|
+
ChannelId: smithy_client_1.expectString(output.channelId),
|
|
12709
|
+
ProgramName: smithy_client_1.expectString(output.programName),
|
|
12710
12710
|
};
|
|
12711
12711
|
};
|
|
12712
12712
|
const deserializeAws_restJson1MultiplexSettings = (output, context) => {
|
|
12713
12713
|
return {
|
|
12714
|
-
MaximumVideoBufferDelayMilliseconds:
|
|
12715
|
-
TransportStreamBitrate:
|
|
12716
|
-
TransportStreamId:
|
|
12717
|
-
TransportStreamReservedBitrate:
|
|
12714
|
+
MaximumVideoBufferDelayMilliseconds: smithy_client_1.expectInt32(output.maximumVideoBufferDelayMilliseconds),
|
|
12715
|
+
TransportStreamBitrate: smithy_client_1.expectInt32(output.transportStreamBitrate),
|
|
12716
|
+
TransportStreamId: smithy_client_1.expectInt32(output.transportStreamId),
|
|
12717
|
+
TransportStreamReservedBitrate: smithy_client_1.expectInt32(output.transportStreamReservedBitrate),
|
|
12718
12718
|
};
|
|
12719
12719
|
};
|
|
12720
12720
|
const deserializeAws_restJson1MultiplexSettingsSummary = (output, context) => {
|
|
12721
12721
|
return {
|
|
12722
|
-
TransportStreamBitrate:
|
|
12722
|
+
TransportStreamBitrate: smithy_client_1.expectInt32(output.transportStreamBitrate),
|
|
12723
12723
|
};
|
|
12724
12724
|
};
|
|
12725
12725
|
const deserializeAws_restJson1MultiplexStatmuxVideoSettings = (output, context) => {
|
|
12726
12726
|
return {
|
|
12727
|
-
MaximumBitrate:
|
|
12728
|
-
MinimumBitrate:
|
|
12729
|
-
Priority:
|
|
12727
|
+
MaximumBitrate: smithy_client_1.expectInt32(output.maximumBitrate),
|
|
12728
|
+
MinimumBitrate: smithy_client_1.expectInt32(output.minimumBitrate),
|
|
12729
|
+
Priority: smithy_client_1.expectInt32(output.priority),
|
|
12730
12730
|
};
|
|
12731
12731
|
};
|
|
12732
12732
|
const deserializeAws_restJson1MultiplexSummary = (output, context) => {
|
|
12733
12733
|
return {
|
|
12734
|
-
Arn:
|
|
12734
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
12735
12735
|
AvailabilityZones: output.availabilityZones !== undefined && output.availabilityZones !== null
|
|
12736
12736
|
? deserializeAws_restJson1__listOf__string(output.availabilityZones, context)
|
|
12737
12737
|
: undefined,
|
|
12738
|
-
Id:
|
|
12738
|
+
Id: smithy_client_1.expectString(output.id),
|
|
12739
12739
|
MultiplexSettings: output.multiplexSettings !== undefined && output.multiplexSettings !== null
|
|
12740
12740
|
? deserializeAws_restJson1MultiplexSettingsSummary(output.multiplexSettings, context)
|
|
12741
12741
|
: undefined,
|
|
12742
|
-
Name:
|
|
12743
|
-
PipelinesRunningCount:
|
|
12744
|
-
ProgramCount:
|
|
12745
|
-
State:
|
|
12742
|
+
Name: smithy_client_1.expectString(output.name),
|
|
12743
|
+
PipelinesRunningCount: smithy_client_1.expectInt32(output.pipelinesRunningCount),
|
|
12744
|
+
ProgramCount: smithy_client_1.expectInt32(output.programCount),
|
|
12745
|
+
State: smithy_client_1.expectString(output.state),
|
|
12746
12746
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12747
12747
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
12748
12748
|
: undefined,
|
|
@@ -12750,7 +12750,7 @@ const deserializeAws_restJson1MultiplexSummary = (output, context) => {
|
|
|
12750
12750
|
};
|
|
12751
12751
|
const deserializeAws_restJson1MultiplexVideoSettings = (output, context) => {
|
|
12752
12752
|
return {
|
|
12753
|
-
ConstantBitrate:
|
|
12753
|
+
ConstantBitrate: smithy_client_1.expectInt32(output.constantBitrate),
|
|
12754
12754
|
StatmuxSettings: output.statmuxSettings !== undefined && output.statmuxSettings !== null
|
|
12755
12755
|
? deserializeAws_restJson1MultiplexStatmuxVideoSettings(output.statmuxSettings, context)
|
|
12756
12756
|
: undefined,
|
|
@@ -12761,30 +12761,30 @@ const deserializeAws_restJson1NetworkInputSettings = (output, context) => {
|
|
|
12761
12761
|
HlsInputSettings: output.hlsInputSettings !== undefined && output.hlsInputSettings !== null
|
|
12762
12762
|
? deserializeAws_restJson1HlsInputSettings(output.hlsInputSettings, context)
|
|
12763
12763
|
: undefined,
|
|
12764
|
-
ServerValidation:
|
|
12764
|
+
ServerValidation: smithy_client_1.expectString(output.serverValidation),
|
|
12765
12765
|
};
|
|
12766
12766
|
};
|
|
12767
12767
|
const deserializeAws_restJson1NielsenConfiguration = (output, context) => {
|
|
12768
12768
|
return {
|
|
12769
|
-
DistributorId:
|
|
12770
|
-
NielsenPcmToId3Tagging:
|
|
12769
|
+
DistributorId: smithy_client_1.expectString(output.distributorId),
|
|
12770
|
+
NielsenPcmToId3Tagging: smithy_client_1.expectString(output.nielsenPcmToId3Tagging),
|
|
12771
12771
|
};
|
|
12772
12772
|
};
|
|
12773
12773
|
const deserializeAws_restJson1Offering = (output, context) => {
|
|
12774
12774
|
return {
|
|
12775
|
-
Arn:
|
|
12776
|
-
CurrencyCode:
|
|
12777
|
-
Duration:
|
|
12778
|
-
DurationUnits:
|
|
12779
|
-
FixedPrice:
|
|
12780
|
-
OfferingDescription:
|
|
12781
|
-
OfferingId:
|
|
12782
|
-
OfferingType:
|
|
12783
|
-
Region:
|
|
12775
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
12776
|
+
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
12777
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
12778
|
+
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
12779
|
+
FixedPrice: smithy_client_1.limitedParseDouble(output.fixedPrice),
|
|
12780
|
+
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
12781
|
+
OfferingId: smithy_client_1.expectString(output.offeringId),
|
|
12782
|
+
OfferingType: smithy_client_1.expectString(output.offeringType),
|
|
12783
|
+
Region: smithy_client_1.expectString(output.region),
|
|
12784
12784
|
ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
12785
12785
|
? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
|
|
12786
12786
|
: undefined,
|
|
12787
|
-
UsagePrice:
|
|
12787
|
+
UsagePrice: smithy_client_1.limitedParseDouble(output.usagePrice),
|
|
12788
12788
|
};
|
|
12789
12789
|
};
|
|
12790
12790
|
const deserializeAws_restJson1Output = (output, context) => {
|
|
@@ -12795,16 +12795,16 @@ const deserializeAws_restJson1Output = (output, context) => {
|
|
|
12795
12795
|
CaptionDescriptionNames: output.captionDescriptionNames !== undefined && output.captionDescriptionNames !== null
|
|
12796
12796
|
? deserializeAws_restJson1__listOf__string(output.captionDescriptionNames, context)
|
|
12797
12797
|
: undefined,
|
|
12798
|
-
OutputName:
|
|
12798
|
+
OutputName: smithy_client_1.expectString(output.outputName),
|
|
12799
12799
|
OutputSettings: output.outputSettings !== undefined && output.outputSettings !== null
|
|
12800
12800
|
? deserializeAws_restJson1OutputSettings(output.outputSettings, context)
|
|
12801
12801
|
: undefined,
|
|
12802
|
-
VideoDescriptionName:
|
|
12802
|
+
VideoDescriptionName: smithy_client_1.expectString(output.videoDescriptionName),
|
|
12803
12803
|
};
|
|
12804
12804
|
};
|
|
12805
12805
|
const deserializeAws_restJson1OutputDestination = (output, context) => {
|
|
12806
12806
|
return {
|
|
12807
|
-
Id:
|
|
12807
|
+
Id: smithy_client_1.expectString(output.id),
|
|
12808
12808
|
MediaPackageSettings: output.mediaPackageSettings !== undefined && output.mediaPackageSettings !== null
|
|
12809
12809
|
? deserializeAws_restJson1__listOfMediaPackageOutputDestinationSettings(output.mediaPackageSettings, context)
|
|
12810
12810
|
: undefined,
|
|
@@ -12818,15 +12818,15 @@ const deserializeAws_restJson1OutputDestination = (output, context) => {
|
|
|
12818
12818
|
};
|
|
12819
12819
|
const deserializeAws_restJson1OutputDestinationSettings = (output, context) => {
|
|
12820
12820
|
return {
|
|
12821
|
-
PasswordParam:
|
|
12822
|
-
StreamName:
|
|
12823
|
-
Url:
|
|
12824
|
-
Username:
|
|
12821
|
+
PasswordParam: smithy_client_1.expectString(output.passwordParam),
|
|
12822
|
+
StreamName: smithy_client_1.expectString(output.streamName),
|
|
12823
|
+
Url: smithy_client_1.expectString(output.url),
|
|
12824
|
+
Username: smithy_client_1.expectString(output.username),
|
|
12825
12825
|
};
|
|
12826
12826
|
};
|
|
12827
12827
|
const deserializeAws_restJson1OutputGroup = (output, context) => {
|
|
12828
12828
|
return {
|
|
12829
|
-
Name:
|
|
12829
|
+
Name: smithy_client_1.expectString(output.name),
|
|
12830
12830
|
OutputGroupSettings: output.outputGroupSettings !== undefined && output.outputGroupSettings !== null
|
|
12831
12831
|
? deserializeAws_restJson1OutputGroupSettings(output.outputGroupSettings, context)
|
|
12832
12832
|
: undefined,
|
|
@@ -12865,7 +12865,7 @@ const deserializeAws_restJson1OutputGroupSettings = (output, context) => {
|
|
|
12865
12865
|
};
|
|
12866
12866
|
const deserializeAws_restJson1OutputLocationRef = (output, context) => {
|
|
12867
12867
|
return {
|
|
12868
|
-
DestinationRefId:
|
|
12868
|
+
DestinationRefId: smithy_client_1.expectString(output.destinationRefId),
|
|
12869
12869
|
};
|
|
12870
12870
|
};
|
|
12871
12871
|
const deserializeAws_restJson1OutputSettings = (output, context) => {
|
|
@@ -12908,16 +12908,16 @@ const deserializeAws_restJson1PauseStateScheduleActionSettings = (output, contex
|
|
|
12908
12908
|
};
|
|
12909
12909
|
const deserializeAws_restJson1PipelineDetail = (output, context) => {
|
|
12910
12910
|
return {
|
|
12911
|
-
ActiveInputAttachmentName:
|
|
12912
|
-
ActiveInputSwitchActionName:
|
|
12913
|
-
ActiveMotionGraphicsActionName:
|
|
12914
|
-
ActiveMotionGraphicsUri:
|
|
12915
|
-
PipelineId:
|
|
12911
|
+
ActiveInputAttachmentName: smithy_client_1.expectString(output.activeInputAttachmentName),
|
|
12912
|
+
ActiveInputSwitchActionName: smithy_client_1.expectString(output.activeInputSwitchActionName),
|
|
12913
|
+
ActiveMotionGraphicsActionName: smithy_client_1.expectString(output.activeMotionGraphicsActionName),
|
|
12914
|
+
ActiveMotionGraphicsUri: smithy_client_1.expectString(output.activeMotionGraphicsUri),
|
|
12915
|
+
PipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
12916
12916
|
};
|
|
12917
12917
|
};
|
|
12918
12918
|
const deserializeAws_restJson1PipelinePauseStateSettings = (output, context) => {
|
|
12919
12919
|
return {
|
|
12920
|
-
PipelineId:
|
|
12920
|
+
PipelineId: smithy_client_1.expectString(output.pipelineId),
|
|
12921
12921
|
};
|
|
12922
12922
|
};
|
|
12923
12923
|
const deserializeAws_restJson1RawSettings = (output, context) => {
|
|
@@ -12934,46 +12934,46 @@ const deserializeAws_restJson1RemixSettings = (output, context) => {
|
|
|
12934
12934
|
ChannelMappings: output.channelMappings !== undefined && output.channelMappings !== null
|
|
12935
12935
|
? deserializeAws_restJson1__listOfAudioChannelMapping(output.channelMappings, context)
|
|
12936
12936
|
: undefined,
|
|
12937
|
-
ChannelsIn:
|
|
12938
|
-
ChannelsOut:
|
|
12937
|
+
ChannelsIn: smithy_client_1.expectInt32(output.channelsIn),
|
|
12938
|
+
ChannelsOut: smithy_client_1.expectInt32(output.channelsOut),
|
|
12939
12939
|
};
|
|
12940
12940
|
};
|
|
12941
12941
|
const deserializeAws_restJson1Reservation = (output, context) => {
|
|
12942
12942
|
return {
|
|
12943
|
-
Arn:
|
|
12944
|
-
Count:
|
|
12945
|
-
CurrencyCode:
|
|
12946
|
-
Duration:
|
|
12947
|
-
DurationUnits:
|
|
12948
|
-
End:
|
|
12949
|
-
FixedPrice:
|
|
12950
|
-
Name:
|
|
12951
|
-
OfferingDescription:
|
|
12952
|
-
OfferingId:
|
|
12953
|
-
OfferingType:
|
|
12954
|
-
Region:
|
|
12955
|
-
ReservationId:
|
|
12943
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
12944
|
+
Count: smithy_client_1.expectInt32(output.count),
|
|
12945
|
+
CurrencyCode: smithy_client_1.expectString(output.currencyCode),
|
|
12946
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
12947
|
+
DurationUnits: smithy_client_1.expectString(output.durationUnits),
|
|
12948
|
+
End: smithy_client_1.expectString(output.end),
|
|
12949
|
+
FixedPrice: smithy_client_1.limitedParseDouble(output.fixedPrice),
|
|
12950
|
+
Name: smithy_client_1.expectString(output.name),
|
|
12951
|
+
OfferingDescription: smithy_client_1.expectString(output.offeringDescription),
|
|
12952
|
+
OfferingId: smithy_client_1.expectString(output.offeringId),
|
|
12953
|
+
OfferingType: smithy_client_1.expectString(output.offeringType),
|
|
12954
|
+
Region: smithy_client_1.expectString(output.region),
|
|
12955
|
+
ReservationId: smithy_client_1.expectString(output.reservationId),
|
|
12956
12956
|
ResourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
12957
12957
|
? deserializeAws_restJson1ReservationResourceSpecification(output.resourceSpecification, context)
|
|
12958
12958
|
: undefined,
|
|
12959
|
-
Start:
|
|
12960
|
-
State:
|
|
12959
|
+
Start: smithy_client_1.expectString(output.start),
|
|
12960
|
+
State: smithy_client_1.expectString(output.state),
|
|
12961
12961
|
Tags: output.tags !== undefined && output.tags !== null
|
|
12962
12962
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
12963
12963
|
: undefined,
|
|
12964
|
-
UsagePrice:
|
|
12964
|
+
UsagePrice: smithy_client_1.limitedParseDouble(output.usagePrice),
|
|
12965
12965
|
};
|
|
12966
12966
|
};
|
|
12967
12967
|
const deserializeAws_restJson1ReservationResourceSpecification = (output, context) => {
|
|
12968
12968
|
return {
|
|
12969
|
-
ChannelClass:
|
|
12970
|
-
Codec:
|
|
12971
|
-
MaximumBitrate:
|
|
12972
|
-
MaximumFramerate:
|
|
12973
|
-
Resolution:
|
|
12974
|
-
ResourceType:
|
|
12975
|
-
SpecialFeature:
|
|
12976
|
-
VideoQuality:
|
|
12969
|
+
ChannelClass: smithy_client_1.expectString(output.channelClass),
|
|
12970
|
+
Codec: smithy_client_1.expectString(output.codec),
|
|
12971
|
+
MaximumBitrate: smithy_client_1.expectString(output.maximumBitrate),
|
|
12972
|
+
MaximumFramerate: smithy_client_1.expectString(output.maximumFramerate),
|
|
12973
|
+
Resolution: smithy_client_1.expectString(output.resolution),
|
|
12974
|
+
ResourceType: smithy_client_1.expectString(output.resourceType),
|
|
12975
|
+
SpecialFeature: smithy_client_1.expectString(output.specialFeature),
|
|
12976
|
+
VideoQuality: smithy_client_1.expectString(output.videoQuality),
|
|
12977
12977
|
};
|
|
12978
12978
|
};
|
|
12979
12979
|
const deserializeAws_restJson1RtmpCaptionInfoDestinationSettings = (output, context) => {
|
|
@@ -12984,27 +12984,27 @@ const deserializeAws_restJson1RtmpGroupSettings = (output, context) => {
|
|
|
12984
12984
|
AdMarkers: output.adMarkers !== undefined && output.adMarkers !== null
|
|
12985
12985
|
? deserializeAws_restJson1__listOfRtmpAdMarkers(output.adMarkers, context)
|
|
12986
12986
|
: undefined,
|
|
12987
|
-
AuthenticationScheme:
|
|
12988
|
-
CacheFullBehavior:
|
|
12989
|
-
CacheLength:
|
|
12990
|
-
CaptionData:
|
|
12991
|
-
InputLossAction:
|
|
12992
|
-
RestartDelay:
|
|
12987
|
+
AuthenticationScheme: smithy_client_1.expectString(output.authenticationScheme),
|
|
12988
|
+
CacheFullBehavior: smithy_client_1.expectString(output.cacheFullBehavior),
|
|
12989
|
+
CacheLength: smithy_client_1.expectInt32(output.cacheLength),
|
|
12990
|
+
CaptionData: smithy_client_1.expectString(output.captionData),
|
|
12991
|
+
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
12992
|
+
RestartDelay: smithy_client_1.expectInt32(output.restartDelay),
|
|
12993
12993
|
};
|
|
12994
12994
|
};
|
|
12995
12995
|
const deserializeAws_restJson1RtmpOutputSettings = (output, context) => {
|
|
12996
12996
|
return {
|
|
12997
|
-
CertificateMode:
|
|
12998
|
-
ConnectionRetryInterval:
|
|
12997
|
+
CertificateMode: smithy_client_1.expectString(output.certificateMode),
|
|
12998
|
+
ConnectionRetryInterval: smithy_client_1.expectInt32(output.connectionRetryInterval),
|
|
12999
12999
|
Destination: output.destination !== undefined && output.destination !== null
|
|
13000
13000
|
? deserializeAws_restJson1OutputLocationRef(output.destination, context)
|
|
13001
13001
|
: undefined,
|
|
13002
|
-
NumRetries:
|
|
13002
|
+
NumRetries: smithy_client_1.expectInt32(output.numRetries),
|
|
13003
13003
|
};
|
|
13004
13004
|
};
|
|
13005
13005
|
const deserializeAws_restJson1ScheduleAction = (output, context) => {
|
|
13006
13006
|
return {
|
|
13007
|
-
ActionName:
|
|
13007
|
+
ActionName: smithy_client_1.expectString(output.actionName),
|
|
13008
13008
|
ScheduleActionSettings: output.scheduleActionSettings !== undefined && output.scheduleActionSettings !== null
|
|
13009
13009
|
? deserializeAws_restJson1ScheduleActionSettings(output.scheduleActionSettings, context)
|
|
13010
13010
|
: undefined,
|
|
@@ -13074,8 +13074,8 @@ const deserializeAws_restJson1Scte20PlusEmbeddedDestinationSettings = (output, c
|
|
|
13074
13074
|
};
|
|
13075
13075
|
const deserializeAws_restJson1Scte20SourceSettings = (output, context) => {
|
|
13076
13076
|
return {
|
|
13077
|
-
Convert608To708:
|
|
13078
|
-
Source608ChannelNumber:
|
|
13077
|
+
Convert608To708: smithy_client_1.expectString(output.convert608To708),
|
|
13078
|
+
Source608ChannelNumber: smithy_client_1.expectInt32(output.source608ChannelNumber),
|
|
13079
13079
|
};
|
|
13080
13080
|
};
|
|
13081
13081
|
const deserializeAws_restJson1Scte27DestinationSettings = (output, context) => {
|
|
@@ -13083,16 +13083,16 @@ const deserializeAws_restJson1Scte27DestinationSettings = (output, context) => {
|
|
|
13083
13083
|
};
|
|
13084
13084
|
const deserializeAws_restJson1Scte27SourceSettings = (output, context) => {
|
|
13085
13085
|
return {
|
|
13086
|
-
OcrLanguage:
|
|
13087
|
-
Pid:
|
|
13086
|
+
OcrLanguage: smithy_client_1.expectString(output.ocrLanguage),
|
|
13087
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
13088
13088
|
};
|
|
13089
13089
|
};
|
|
13090
13090
|
const deserializeAws_restJson1Scte35DeliveryRestrictions = (output, context) => {
|
|
13091
13091
|
return {
|
|
13092
|
-
ArchiveAllowedFlag:
|
|
13093
|
-
DeviceRestrictions:
|
|
13094
|
-
NoRegionalBlackoutFlag:
|
|
13095
|
-
WebDeliveryAllowedFlag:
|
|
13092
|
+
ArchiveAllowedFlag: smithy_client_1.expectString(output.archiveAllowedFlag),
|
|
13093
|
+
DeviceRestrictions: smithy_client_1.expectString(output.deviceRestrictions),
|
|
13094
|
+
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
13095
|
+
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
13096
13096
|
};
|
|
13097
13097
|
};
|
|
13098
13098
|
const deserializeAws_restJson1Scte35Descriptor = (output, context) => {
|
|
@@ -13112,7 +13112,7 @@ const deserializeAws_restJson1Scte35DescriptorSettings = (output, context) => {
|
|
|
13112
13112
|
};
|
|
13113
13113
|
const deserializeAws_restJson1Scte35ReturnToNetworkScheduleActionSettings = (output, context) => {
|
|
13114
13114
|
return {
|
|
13115
|
-
SpliceEventId:
|
|
13115
|
+
SpliceEventId: smithy_client_1.expectLong(output.spliceEventId),
|
|
13116
13116
|
};
|
|
13117
13117
|
};
|
|
13118
13118
|
const deserializeAws_restJson1Scte35SegmentationDescriptor = (output, context) => {
|
|
@@ -13120,36 +13120,36 @@ const deserializeAws_restJson1Scte35SegmentationDescriptor = (output, context) =
|
|
|
13120
13120
|
DeliveryRestrictions: output.deliveryRestrictions !== undefined && output.deliveryRestrictions !== null
|
|
13121
13121
|
? deserializeAws_restJson1Scte35DeliveryRestrictions(output.deliveryRestrictions, context)
|
|
13122
13122
|
: undefined,
|
|
13123
|
-
SegmentNum:
|
|
13124
|
-
SegmentationCancelIndicator:
|
|
13125
|
-
SegmentationDuration:
|
|
13126
|
-
SegmentationEventId:
|
|
13127
|
-
SegmentationTypeId:
|
|
13128
|
-
SegmentationUpid:
|
|
13129
|
-
SegmentationUpidType:
|
|
13130
|
-
SegmentsExpected:
|
|
13131
|
-
SubSegmentNum:
|
|
13132
|
-
SubSegmentsExpected:
|
|
13123
|
+
SegmentNum: smithy_client_1.expectInt32(output.segmentNum),
|
|
13124
|
+
SegmentationCancelIndicator: smithy_client_1.expectString(output.segmentationCancelIndicator),
|
|
13125
|
+
SegmentationDuration: smithy_client_1.expectLong(output.segmentationDuration),
|
|
13126
|
+
SegmentationEventId: smithy_client_1.expectLong(output.segmentationEventId),
|
|
13127
|
+
SegmentationTypeId: smithy_client_1.expectInt32(output.segmentationTypeId),
|
|
13128
|
+
SegmentationUpid: smithy_client_1.expectString(output.segmentationUpid),
|
|
13129
|
+
SegmentationUpidType: smithy_client_1.expectInt32(output.segmentationUpidType),
|
|
13130
|
+
SegmentsExpected: smithy_client_1.expectInt32(output.segmentsExpected),
|
|
13131
|
+
SubSegmentNum: smithy_client_1.expectInt32(output.subSegmentNum),
|
|
13132
|
+
SubSegmentsExpected: smithy_client_1.expectInt32(output.subSegmentsExpected),
|
|
13133
13133
|
};
|
|
13134
13134
|
};
|
|
13135
13135
|
const deserializeAws_restJson1Scte35SpliceInsert = (output, context) => {
|
|
13136
13136
|
return {
|
|
13137
|
-
AdAvailOffset:
|
|
13138
|
-
NoRegionalBlackoutFlag:
|
|
13139
|
-
WebDeliveryAllowedFlag:
|
|
13137
|
+
AdAvailOffset: smithy_client_1.expectInt32(output.adAvailOffset),
|
|
13138
|
+
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
13139
|
+
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
13140
13140
|
};
|
|
13141
13141
|
};
|
|
13142
13142
|
const deserializeAws_restJson1Scte35SpliceInsertScheduleActionSettings = (output, context) => {
|
|
13143
13143
|
return {
|
|
13144
|
-
Duration:
|
|
13145
|
-
SpliceEventId:
|
|
13144
|
+
Duration: smithy_client_1.expectLong(output.duration),
|
|
13145
|
+
SpliceEventId: smithy_client_1.expectLong(output.spliceEventId),
|
|
13146
13146
|
};
|
|
13147
13147
|
};
|
|
13148
13148
|
const deserializeAws_restJson1Scte35TimeSignalApos = (output, context) => {
|
|
13149
13149
|
return {
|
|
13150
|
-
AdAvailOffset:
|
|
13151
|
-
NoRegionalBlackoutFlag:
|
|
13152
|
-
WebDeliveryAllowedFlag:
|
|
13150
|
+
AdAvailOffset: smithy_client_1.expectInt32(output.adAvailOffset),
|
|
13151
|
+
NoRegionalBlackoutFlag: smithy_client_1.expectString(output.noRegionalBlackoutFlag),
|
|
13152
|
+
WebDeliveryAllowedFlag: smithy_client_1.expectString(output.webDeliveryAllowedFlag),
|
|
13153
13153
|
};
|
|
13154
13154
|
};
|
|
13155
13155
|
const deserializeAws_restJson1Scte35TimeSignalScheduleActionSettings = (output, context) => {
|
|
@@ -13164,7 +13164,7 @@ const deserializeAws_restJson1SmpteTtDestinationSettings = (output, context) =>
|
|
|
13164
13164
|
};
|
|
13165
13165
|
const deserializeAws_restJson1StandardHlsSettings = (output, context) => {
|
|
13166
13166
|
return {
|
|
13167
|
-
AudioRenditionSets:
|
|
13167
|
+
AudioRenditionSets: smithy_client_1.expectString(output.audioRenditionSets),
|
|
13168
13168
|
M3u8Settings: output.m3u8Settings !== undefined && output.m3u8Settings !== null
|
|
13169
13169
|
? deserializeAws_restJson1M3u8Settings(output.m3u8Settings, context)
|
|
13170
13170
|
: undefined,
|
|
@@ -13172,29 +13172,29 @@ const deserializeAws_restJson1StandardHlsSettings = (output, context) => {
|
|
|
13172
13172
|
};
|
|
13173
13173
|
const deserializeAws_restJson1StartTimecode = (output, context) => {
|
|
13174
13174
|
return {
|
|
13175
|
-
Timecode:
|
|
13175
|
+
Timecode: smithy_client_1.expectString(output.timecode),
|
|
13176
13176
|
};
|
|
13177
13177
|
};
|
|
13178
13178
|
const deserializeAws_restJson1StaticImageActivateScheduleActionSettings = (output, context) => {
|
|
13179
13179
|
return {
|
|
13180
|
-
Duration:
|
|
13181
|
-
FadeIn:
|
|
13182
|
-
FadeOut:
|
|
13183
|
-
Height:
|
|
13180
|
+
Duration: smithy_client_1.expectInt32(output.duration),
|
|
13181
|
+
FadeIn: smithy_client_1.expectInt32(output.fadeIn),
|
|
13182
|
+
FadeOut: smithy_client_1.expectInt32(output.fadeOut),
|
|
13183
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
13184
13184
|
Image: output.image !== undefined && output.image !== null
|
|
13185
13185
|
? deserializeAws_restJson1InputLocation(output.image, context)
|
|
13186
13186
|
: undefined,
|
|
13187
|
-
ImageX:
|
|
13188
|
-
ImageY:
|
|
13189
|
-
Layer:
|
|
13190
|
-
Opacity:
|
|
13191
|
-
Width:
|
|
13187
|
+
ImageX: smithy_client_1.expectInt32(output.imageX),
|
|
13188
|
+
ImageY: smithy_client_1.expectInt32(output.imageY),
|
|
13189
|
+
Layer: smithy_client_1.expectInt32(output.layer),
|
|
13190
|
+
Opacity: smithy_client_1.expectInt32(output.opacity),
|
|
13191
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
13192
13192
|
};
|
|
13193
13193
|
};
|
|
13194
13194
|
const deserializeAws_restJson1StaticImageDeactivateScheduleActionSettings = (output, context) => {
|
|
13195
13195
|
return {
|
|
13196
|
-
FadeOut:
|
|
13197
|
-
Layer:
|
|
13196
|
+
FadeOut: smithy_client_1.expectInt32(output.fadeOut),
|
|
13197
|
+
Layer: smithy_client_1.expectInt32(output.layer),
|
|
13198
13198
|
};
|
|
13199
13199
|
};
|
|
13200
13200
|
const deserializeAws_restJson1StaticKeySettings = (output, context) => {
|
|
@@ -13202,13 +13202,13 @@ const deserializeAws_restJson1StaticKeySettings = (output, context) => {
|
|
|
13202
13202
|
KeyProviderServer: output.keyProviderServer !== undefined && output.keyProviderServer !== null
|
|
13203
13203
|
? deserializeAws_restJson1InputLocation(output.keyProviderServer, context)
|
|
13204
13204
|
: undefined,
|
|
13205
|
-
StaticKeyValue:
|
|
13205
|
+
StaticKeyValue: smithy_client_1.expectString(output.staticKeyValue),
|
|
13206
13206
|
};
|
|
13207
13207
|
};
|
|
13208
13208
|
const deserializeAws_restJson1StopTimecode = (output, context) => {
|
|
13209
13209
|
return {
|
|
13210
|
-
LastFrameClippingBehavior:
|
|
13211
|
-
Timecode:
|
|
13210
|
+
LastFrameClippingBehavior: smithy_client_1.expectString(output.lastFrameClippingBehavior),
|
|
13211
|
+
Timecode: smithy_client_1.expectString(output.timecode),
|
|
13212
13212
|
};
|
|
13213
13213
|
};
|
|
13214
13214
|
const deserializeAws_restJson1Tags = (output, context) => {
|
|
@@ -13218,7 +13218,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
13218
13218
|
}
|
|
13219
13219
|
return {
|
|
13220
13220
|
...acc,
|
|
13221
|
-
[key]:
|
|
13221
|
+
[key]: smithy_client_1.expectString(value),
|
|
13222
13222
|
};
|
|
13223
13223
|
}, {});
|
|
13224
13224
|
};
|
|
@@ -13230,32 +13230,32 @@ const deserializeAws_restJson1TeletextSourceSettings = (output, context) => {
|
|
|
13230
13230
|
OutputRectangle: output.outputRectangle !== undefined && output.outputRectangle !== null
|
|
13231
13231
|
? deserializeAws_restJson1CaptionRectangle(output.outputRectangle, context)
|
|
13232
13232
|
: undefined,
|
|
13233
|
-
PageNumber:
|
|
13233
|
+
PageNumber: smithy_client_1.expectString(output.pageNumber),
|
|
13234
13234
|
};
|
|
13235
13235
|
};
|
|
13236
13236
|
const deserializeAws_restJson1TemporalFilterSettings = (output, context) => {
|
|
13237
13237
|
return {
|
|
13238
|
-
PostFilterSharpening:
|
|
13239
|
-
Strength:
|
|
13238
|
+
PostFilterSharpening: smithy_client_1.expectString(output.postFilterSharpening),
|
|
13239
|
+
Strength: smithy_client_1.expectString(output.strength),
|
|
13240
13240
|
};
|
|
13241
13241
|
};
|
|
13242
13242
|
const deserializeAws_restJson1TimecodeConfig = (output, context) => {
|
|
13243
13243
|
return {
|
|
13244
|
-
Source:
|
|
13245
|
-
SyncThreshold:
|
|
13244
|
+
Source: smithy_client_1.expectString(output.source),
|
|
13245
|
+
SyncThreshold: smithy_client_1.expectInt32(output.syncThreshold),
|
|
13246
13246
|
};
|
|
13247
13247
|
};
|
|
13248
13248
|
const deserializeAws_restJson1TransferringInputDeviceSummary = (output, context) => {
|
|
13249
13249
|
return {
|
|
13250
|
-
Id:
|
|
13251
|
-
Message:
|
|
13252
|
-
TargetCustomerId:
|
|
13253
|
-
TransferType:
|
|
13250
|
+
Id: smithy_client_1.expectString(output.id),
|
|
13251
|
+
Message: smithy_client_1.expectString(output.message),
|
|
13252
|
+
TargetCustomerId: smithy_client_1.expectString(output.targetCustomerId),
|
|
13253
|
+
TransferType: smithy_client_1.expectString(output.transferType),
|
|
13254
13254
|
};
|
|
13255
13255
|
};
|
|
13256
13256
|
const deserializeAws_restJson1TtmlDestinationSettings = (output, context) => {
|
|
13257
13257
|
return {
|
|
13258
|
-
StyleControl:
|
|
13258
|
+
StyleControl: smithy_client_1.expectString(output.styleControl),
|
|
13259
13259
|
};
|
|
13260
13260
|
};
|
|
13261
13261
|
const deserializeAws_restJson1UdpContainerSettings = (output, context) => {
|
|
@@ -13267,14 +13267,14 @@ const deserializeAws_restJson1UdpContainerSettings = (output, context) => {
|
|
|
13267
13267
|
};
|
|
13268
13268
|
const deserializeAws_restJson1UdpGroupSettings = (output, context) => {
|
|
13269
13269
|
return {
|
|
13270
|
-
InputLossAction:
|
|
13271
|
-
TimedMetadataId3Frame:
|
|
13272
|
-
TimedMetadataId3Period:
|
|
13270
|
+
InputLossAction: smithy_client_1.expectString(output.inputLossAction),
|
|
13271
|
+
TimedMetadataId3Frame: smithy_client_1.expectString(output.timedMetadataId3Frame),
|
|
13272
|
+
TimedMetadataId3Period: smithy_client_1.expectInt32(output.timedMetadataId3Period),
|
|
13273
13273
|
};
|
|
13274
13274
|
};
|
|
13275
13275
|
const deserializeAws_restJson1UdpOutputSettings = (output, context) => {
|
|
13276
13276
|
return {
|
|
13277
|
-
BufferMsec:
|
|
13277
|
+
BufferMsec: smithy_client_1.expectInt32(output.bufferMsec),
|
|
13278
13278
|
ContainerSettings: output.containerSettings !== undefined && output.containerSettings !== null
|
|
13279
13279
|
? deserializeAws_restJson1UdpContainerSettings(output.containerSettings, context)
|
|
13280
13280
|
: undefined,
|
|
@@ -13288,14 +13288,14 @@ const deserializeAws_restJson1UdpOutputSettings = (output, context) => {
|
|
|
13288
13288
|
};
|
|
13289
13289
|
const deserializeAws_restJson1ValidationError = (output, context) => {
|
|
13290
13290
|
return {
|
|
13291
|
-
ElementPath:
|
|
13292
|
-
ErrorMessage:
|
|
13291
|
+
ElementPath: smithy_client_1.expectString(output.elementPath),
|
|
13292
|
+
ErrorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
13293
13293
|
};
|
|
13294
13294
|
};
|
|
13295
13295
|
const deserializeAws_restJson1VideoBlackFailoverSettings = (output, context) => {
|
|
13296
13296
|
return {
|
|
13297
|
-
BlackDetectThreshold:
|
|
13298
|
-
VideoBlackThresholdMsec:
|
|
13297
|
+
BlackDetectThreshold: smithy_client_1.limitedParseDouble(output.blackDetectThreshold),
|
|
13298
|
+
VideoBlackThresholdMsec: smithy_client_1.expectInt32(output.videoBlackThresholdMsec),
|
|
13299
13299
|
};
|
|
13300
13300
|
};
|
|
13301
13301
|
const deserializeAws_restJson1VideoCodecSettings = (output, context) => {
|
|
@@ -13319,21 +13319,21 @@ const deserializeAws_restJson1VideoDescription = (output, context) => {
|
|
|
13319
13319
|
CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null
|
|
13320
13320
|
? deserializeAws_restJson1VideoCodecSettings(output.codecSettings, context)
|
|
13321
13321
|
: undefined,
|
|
13322
|
-
Height:
|
|
13323
|
-
Name:
|
|
13324
|
-
RespondToAfd:
|
|
13325
|
-
ScalingBehavior:
|
|
13326
|
-
Sharpness:
|
|
13327
|
-
Width:
|
|
13322
|
+
Height: smithy_client_1.expectInt32(output.height),
|
|
13323
|
+
Name: smithy_client_1.expectString(output.name),
|
|
13324
|
+
RespondToAfd: smithy_client_1.expectString(output.respondToAfd),
|
|
13325
|
+
ScalingBehavior: smithy_client_1.expectString(output.scalingBehavior),
|
|
13326
|
+
Sharpness: smithy_client_1.expectInt32(output.sharpness),
|
|
13327
|
+
Width: smithy_client_1.expectInt32(output.width),
|
|
13328
13328
|
};
|
|
13329
13329
|
};
|
|
13330
13330
|
const deserializeAws_restJson1VideoSelector = (output, context) => {
|
|
13331
13331
|
return {
|
|
13332
|
-
ColorSpace:
|
|
13332
|
+
ColorSpace: smithy_client_1.expectString(output.colorSpace),
|
|
13333
13333
|
ColorSpaceSettings: output.colorSpaceSettings !== undefined && output.colorSpaceSettings !== null
|
|
13334
13334
|
? deserializeAws_restJson1VideoSelectorColorSpaceSettings(output.colorSpaceSettings, context)
|
|
13335
13335
|
: undefined,
|
|
13336
|
-
ColorSpaceUsage:
|
|
13336
|
+
ColorSpaceUsage: smithy_client_1.expectString(output.colorSpaceUsage),
|
|
13337
13337
|
SelectorSettings: output.selectorSettings !== undefined && output.selectorSettings !== null
|
|
13338
13338
|
? deserializeAws_restJson1VideoSelectorSettings(output.selectorSettings, context)
|
|
13339
13339
|
: undefined,
|
|
@@ -13348,12 +13348,12 @@ const deserializeAws_restJson1VideoSelectorColorSpaceSettings = (output, context
|
|
|
13348
13348
|
};
|
|
13349
13349
|
const deserializeAws_restJson1VideoSelectorPid = (output, context) => {
|
|
13350
13350
|
return {
|
|
13351
|
-
Pid:
|
|
13351
|
+
Pid: smithy_client_1.expectInt32(output.pid),
|
|
13352
13352
|
};
|
|
13353
13353
|
};
|
|
13354
13354
|
const deserializeAws_restJson1VideoSelectorProgramId = (output, context) => {
|
|
13355
13355
|
return {
|
|
13356
|
-
ProgramId:
|
|
13356
|
+
ProgramId: smithy_client_1.expectInt32(output.programId),
|
|
13357
13357
|
};
|
|
13358
13358
|
};
|
|
13359
13359
|
const deserializeAws_restJson1VideoSelectorSettings = (output, context) => {
|
|
@@ -13384,14 +13384,14 @@ const deserializeAws_restJson1VpcOutputSettingsDescription = (output, context) =
|
|
|
13384
13384
|
};
|
|
13385
13385
|
const deserializeAws_restJson1WavSettings = (output, context) => {
|
|
13386
13386
|
return {
|
|
13387
|
-
BitDepth:
|
|
13388
|
-
CodingMode:
|
|
13389
|
-
SampleRate:
|
|
13387
|
+
BitDepth: smithy_client_1.limitedParseDouble(output.bitDepth),
|
|
13388
|
+
CodingMode: smithy_client_1.expectString(output.codingMode),
|
|
13389
|
+
SampleRate: smithy_client_1.limitedParseDouble(output.sampleRate),
|
|
13390
13390
|
};
|
|
13391
13391
|
};
|
|
13392
13392
|
const deserializeAws_restJson1WebvttDestinationSettings = (output, context) => {
|
|
13393
13393
|
return {
|
|
13394
|
-
StyleControl:
|
|
13394
|
+
StyleControl: smithy_client_1.expectString(output.styleControl),
|
|
13395
13395
|
};
|
|
13396
13396
|
};
|
|
13397
13397
|
const deserializeMetadata = (output) => {
|