@aws-sdk/client-mediatailor 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/ConfigureLogsForChannelCommand.js +2 -2
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +2 -2
- package/dist-cjs/commands/CreateChannelCommand.js +2 -2
- package/dist-cjs/commands/CreateLiveSourceCommand.js +2 -2
- package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +2 -2
- package/dist-cjs/commands/CreateProgramCommand.js +2 -2
- package/dist-cjs/commands/CreateSourceLocationCommand.js +2 -2
- package/dist-cjs/commands/CreateVodSourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteChannelCommand.js +2 -2
- package/dist-cjs/commands/DeleteChannelPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteLiveSourceCommand.js +2 -2
- package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +2 -2
- package/dist-cjs/commands/DeleteProgramCommand.js +2 -2
- package/dist-cjs/commands/DeleteSourceLocationCommand.js +2 -2
- package/dist-cjs/commands/DeleteVodSourceCommand.js +2 -2
- package/dist-cjs/commands/DescribeChannelCommand.js +2 -2
- package/dist-cjs/commands/DescribeLiveSourceCommand.js +2 -2
- package/dist-cjs/commands/DescribeProgramCommand.js +2 -2
- package/dist-cjs/commands/DescribeSourceLocationCommand.js +2 -2
- package/dist-cjs/commands/DescribeVodSourceCommand.js +2 -2
- package/dist-cjs/commands/GetChannelPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetChannelScheduleCommand.js +2 -2
- package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetPrefetchScheduleCommand.js +2 -2
- package/dist-cjs/commands/ListAlertsCommand.js +2 -2
- package/dist-cjs/commands/ListChannelsCommand.js +2 -2
- package/dist-cjs/commands/ListLiveSourcesCommand.js +2 -2
- package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +2 -2
- package/dist-cjs/commands/ListSourceLocationsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListVodSourcesCommand.js +2 -2
- package/dist-cjs/commands/PutChannelPolicyCommand.js +2 -2
- package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +2 -2
- package/dist-cjs/commands/StartChannelCommand.js +2 -2
- package/dist-cjs/commands/StopChannelCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateChannelCommand.js +2 -2
- package/dist-cjs/commands/UpdateLiveSourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateProgramCommand.js +2 -2
- package/dist-cjs/commands/UpdateSourceLocationCommand.js +2 -2
- package/dist-cjs/commands/UpdateVodSourceCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +552 -594
- package/dist-es/commands/ConfigureLogsForChannelCommand.js +3 -3
- package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +3 -3
- package/dist-es/commands/CreateChannelCommand.js +3 -3
- package/dist-es/commands/CreateLiveSourceCommand.js +3 -3
- package/dist-es/commands/CreatePrefetchScheduleCommand.js +3 -3
- package/dist-es/commands/CreateProgramCommand.js +3 -3
- package/dist-es/commands/CreateSourceLocationCommand.js +3 -3
- package/dist-es/commands/CreateVodSourceCommand.js +3 -3
- package/dist-es/commands/DeleteChannelCommand.js +3 -3
- package/dist-es/commands/DeleteChannelPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteLiveSourceCommand.js +3 -3
- package/dist-es/commands/DeletePlaybackConfigurationCommand.js +3 -3
- package/dist-es/commands/DeletePrefetchScheduleCommand.js +3 -3
- package/dist-es/commands/DeleteProgramCommand.js +3 -3
- package/dist-es/commands/DeleteSourceLocationCommand.js +3 -3
- package/dist-es/commands/DeleteVodSourceCommand.js +3 -3
- package/dist-es/commands/DescribeChannelCommand.js +3 -3
- package/dist-es/commands/DescribeLiveSourceCommand.js +3 -3
- package/dist-es/commands/DescribeProgramCommand.js +3 -3
- package/dist-es/commands/DescribeSourceLocationCommand.js +3 -3
- package/dist-es/commands/DescribeVodSourceCommand.js +3 -3
- package/dist-es/commands/GetChannelPolicyCommand.js +3 -3
- package/dist-es/commands/GetChannelScheduleCommand.js +3 -3
- package/dist-es/commands/GetPlaybackConfigurationCommand.js +3 -3
- package/dist-es/commands/GetPrefetchScheduleCommand.js +3 -3
- package/dist-es/commands/ListAlertsCommand.js +3 -3
- package/dist-es/commands/ListChannelsCommand.js +3 -3
- package/dist-es/commands/ListLiveSourcesCommand.js +3 -3
- package/dist-es/commands/ListPlaybackConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListPrefetchSchedulesCommand.js +3 -3
- package/dist-es/commands/ListSourceLocationsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListVodSourcesCommand.js +3 -3
- package/dist-es/commands/PutChannelPolicyCommand.js +3 -3
- package/dist-es/commands/PutPlaybackConfigurationCommand.js +3 -3
- package/dist-es/commands/StartChannelCommand.js +3 -3
- package/dist-es/commands/StopChannelCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateChannelCommand.js +3 -3
- package/dist-es/commands/UpdateLiveSourceCommand.js +3 -3
- package/dist-es/commands/UpdateProgramCommand.js +3 -3
- package/dist-es/commands/UpdateSourceLocationCommand.js +3 -3
- package/dist-es/commands/UpdateVodSourceCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +462 -504
- package/dist-types/protocols/Aws_restJson1.d.ts +352 -88
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +88 -88
- package/package.json +29 -29
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_CreateProgramCommand = exports.de_CreatePrefetchScheduleCommand = exports.de_CreateLiveSourceCommand = exports.de_CreateChannelCommand = exports.de_ConfigureLogsForPlaybackConfigurationCommand = exports.de_ConfigureLogsForChannelCommand = exports.se_UpdateVodSourceCommand = exports.se_UpdateSourceLocationCommand = exports.se_UpdateProgramCommand = exports.se_UpdateLiveSourceCommand = exports.se_UpdateChannelCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopChannelCommand = exports.se_StartChannelCommand = exports.se_PutPlaybackConfigurationCommand = exports.se_PutChannelPolicyCommand = exports.se_ListVodSourcesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSourceLocationsCommand = exports.se_ListPrefetchSchedulesCommand = exports.se_ListPlaybackConfigurationsCommand = exports.se_ListLiveSourcesCommand = exports.se_ListChannelsCommand = exports.se_ListAlertsCommand = exports.se_GetPrefetchScheduleCommand = exports.se_GetPlaybackConfigurationCommand = exports.se_GetChannelScheduleCommand = exports.se_GetChannelPolicyCommand = exports.se_DescribeVodSourceCommand = exports.se_DescribeSourceLocationCommand = exports.se_DescribeProgramCommand = exports.se_DescribeLiveSourceCommand = exports.se_DescribeChannelCommand = exports.se_DeleteVodSourceCommand = exports.se_DeleteSourceLocationCommand = exports.se_DeleteProgramCommand = exports.se_DeletePrefetchScheduleCommand = exports.se_DeletePlaybackConfigurationCommand = exports.se_DeleteLiveSourceCommand = exports.se_DeleteChannelPolicyCommand = exports.se_DeleteChannelCommand = exports.se_CreateVodSourceCommand = exports.se_CreateSourceLocationCommand = exports.se_CreateProgramCommand = exports.se_CreatePrefetchScheduleCommand = exports.se_CreateLiveSourceCommand = exports.se_CreateChannelCommand = exports.se_ConfigureLogsForPlaybackConfigurationCommand = exports.se_ConfigureLogsForChannelCommand = void 0;
|
|
4
|
+
exports.de_UpdateVodSourceCommand = exports.de_UpdateSourceLocationCommand = exports.de_UpdateProgramCommand = exports.de_UpdateLiveSourceCommand = exports.de_UpdateChannelCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopChannelCommand = exports.de_StartChannelCommand = exports.de_PutPlaybackConfigurationCommand = exports.de_PutChannelPolicyCommand = exports.de_ListVodSourcesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSourceLocationsCommand = exports.de_ListPrefetchSchedulesCommand = exports.de_ListPlaybackConfigurationsCommand = exports.de_ListLiveSourcesCommand = exports.de_ListChannelsCommand = exports.de_ListAlertsCommand = exports.de_GetPrefetchScheduleCommand = exports.de_GetPlaybackConfigurationCommand = exports.de_GetChannelScheduleCommand = exports.de_GetChannelPolicyCommand = exports.de_DescribeVodSourceCommand = exports.de_DescribeSourceLocationCommand = exports.de_DescribeProgramCommand = exports.de_DescribeLiveSourceCommand = exports.de_DescribeChannelCommand = exports.de_DeleteVodSourceCommand = exports.de_DeleteSourceLocationCommand = exports.de_DeleteProgramCommand = exports.de_DeletePrefetchScheduleCommand = exports.de_DeletePlaybackConfigurationCommand = exports.de_DeleteLiveSourceCommand = exports.de_DeleteChannelPolicyCommand = exports.de_DeleteChannelCommand = exports.de_CreateVodSourceCommand = exports.de_CreateSourceLocationCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const MediaTailorServiceException_1 = require("../models/MediaTailorServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const se_ConfigureLogsForChannelCommand = async (input, context) => {
|
|
10
10
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
@@ -15,7 +15,7 @@ const serializeAws_restJson1ConfigureLogsForChannelCommand = async (input, conte
|
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify({
|
|
17
17
|
...(input.ChannelName != null && { ChannelName: input.ChannelName }),
|
|
18
|
-
...(input.LogTypes != null && { LogTypes:
|
|
18
|
+
...(input.LogTypes != null && { LogTypes: se_LogTypes(input.LogTypes, context) }),
|
|
19
19
|
});
|
|
20
20
|
return new protocol_http_1.HttpRequest({
|
|
21
21
|
protocol,
|
|
@@ -27,8 +27,8 @@ const serializeAws_restJson1ConfigureLogsForChannelCommand = async (input, conte
|
|
|
27
27
|
body,
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
|
-
exports.
|
|
31
|
-
const
|
|
30
|
+
exports.se_ConfigureLogsForChannelCommand = se_ConfigureLogsForChannelCommand;
|
|
31
|
+
const se_ConfigureLogsForPlaybackConfigurationCommand = async (input, context) => {
|
|
32
32
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/json",
|
|
@@ -49,8 +49,8 @@ const serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = async
|
|
|
49
49
|
body,
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
|
-
exports.
|
|
53
|
-
const
|
|
52
|
+
exports.se_ConfigureLogsForPlaybackConfigurationCommand = se_ConfigureLogsForPlaybackConfigurationCommand;
|
|
53
|
+
const se_CreateChannelCommand = async (input, context) => {
|
|
54
54
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
55
55
|
const headers = {
|
|
56
56
|
"content-type": "application/json",
|
|
@@ -59,10 +59,10 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
|
|
|
59
59
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ChannelName", () => input.ChannelName, "{ChannelName}", false);
|
|
60
60
|
let body;
|
|
61
61
|
body = JSON.stringify({
|
|
62
|
-
...(input.FillerSlate != null && { FillerSlate:
|
|
63
|
-
...(input.Outputs != null && { Outputs:
|
|
62
|
+
...(input.FillerSlate != null && { FillerSlate: se_SlateSource(input.FillerSlate, context) }),
|
|
63
|
+
...(input.Outputs != null && { Outputs: se_RequestOutputs(input.Outputs, context) }),
|
|
64
64
|
...(input.PlaybackMode != null && { PlaybackMode: input.PlaybackMode }),
|
|
65
|
-
...(input.Tags != null && { tags:
|
|
65
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
66
66
|
...(input.Tier != null && { Tier: input.Tier }),
|
|
67
67
|
});
|
|
68
68
|
return new protocol_http_1.HttpRequest({
|
|
@@ -75,8 +75,8 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
|
|
|
75
75
|
body,
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
|
-
exports.
|
|
79
|
-
const
|
|
78
|
+
exports.se_CreateChannelCommand = se_CreateChannelCommand;
|
|
79
|
+
const se_CreateLiveSourceCommand = async (input, context) => {
|
|
80
80
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
81
81
|
const headers = {
|
|
82
82
|
"content-type": "application/json",
|
|
@@ -88,9 +88,9 @@ const serializeAws_restJson1CreateLiveSourceCommand = async (input, context) =>
|
|
|
88
88
|
let body;
|
|
89
89
|
body = JSON.stringify({
|
|
90
90
|
...(input.HttpPackageConfigurations != null && {
|
|
91
|
-
HttpPackageConfigurations:
|
|
91
|
+
HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
|
|
92
92
|
}),
|
|
93
|
-
...(input.Tags != null && { tags:
|
|
93
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
94
94
|
});
|
|
95
95
|
return new protocol_http_1.HttpRequest({
|
|
96
96
|
protocol,
|
|
@@ -102,8 +102,8 @@ const serializeAws_restJson1CreateLiveSourceCommand = async (input, context) =>
|
|
|
102
102
|
body,
|
|
103
103
|
});
|
|
104
104
|
};
|
|
105
|
-
exports.
|
|
106
|
-
const
|
|
105
|
+
exports.se_CreateLiveSourceCommand = se_CreateLiveSourceCommand;
|
|
106
|
+
const se_CreatePrefetchScheduleCommand = async (input, context) => {
|
|
107
107
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
108
108
|
const headers = {
|
|
109
109
|
"content-type": "application/json",
|
|
@@ -114,10 +114,8 @@ const serializeAws_restJson1CreatePrefetchScheduleCommand = async (input, contex
|
|
|
114
114
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PlaybackConfigurationName", () => input.PlaybackConfigurationName, "{PlaybackConfigurationName}", false);
|
|
115
115
|
let body;
|
|
116
116
|
body = JSON.stringify({
|
|
117
|
-
...(input.Consumption != null && {
|
|
118
|
-
|
|
119
|
-
}),
|
|
120
|
-
...(input.Retrieval != null && { Retrieval: serializeAws_restJson1PrefetchRetrieval(input.Retrieval, context) }),
|
|
117
|
+
...(input.Consumption != null && { Consumption: se_PrefetchConsumption(input.Consumption, context) }),
|
|
118
|
+
...(input.Retrieval != null && { Retrieval: se_PrefetchRetrieval(input.Retrieval, context) }),
|
|
121
119
|
...(input.StreamId != null && { StreamId: input.StreamId }),
|
|
122
120
|
});
|
|
123
121
|
return new protocol_http_1.HttpRequest({
|
|
@@ -130,8 +128,8 @@ const serializeAws_restJson1CreatePrefetchScheduleCommand = async (input, contex
|
|
|
130
128
|
body,
|
|
131
129
|
});
|
|
132
130
|
};
|
|
133
|
-
exports.
|
|
134
|
-
const
|
|
131
|
+
exports.se_CreatePrefetchScheduleCommand = se_CreatePrefetchScheduleCommand;
|
|
132
|
+
const se_CreateProgramCommand = async (input, context) => {
|
|
135
133
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
136
134
|
const headers = {
|
|
137
135
|
"content-type": "application/json",
|
|
@@ -142,10 +140,10 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
|
|
|
142
140
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ProgramName", () => input.ProgramName, "{ProgramName}", false);
|
|
143
141
|
let body;
|
|
144
142
|
body = JSON.stringify({
|
|
145
|
-
...(input.AdBreaks != null && { AdBreaks:
|
|
143
|
+
...(input.AdBreaks != null && { AdBreaks: se___listOfAdBreak(input.AdBreaks, context) }),
|
|
146
144
|
...(input.LiveSourceName != null && { LiveSourceName: input.LiveSourceName }),
|
|
147
145
|
...(input.ScheduleConfiguration != null && {
|
|
148
|
-
ScheduleConfiguration:
|
|
146
|
+
ScheduleConfiguration: se_ScheduleConfiguration(input.ScheduleConfiguration, context),
|
|
149
147
|
}),
|
|
150
148
|
...(input.SourceLocationName != null && { SourceLocationName: input.SourceLocationName }),
|
|
151
149
|
...(input.VodSourceName != null && { VodSourceName: input.VodSourceName }),
|
|
@@ -160,8 +158,8 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
|
|
|
160
158
|
body,
|
|
161
159
|
});
|
|
162
160
|
};
|
|
163
|
-
exports.
|
|
164
|
-
const
|
|
161
|
+
exports.se_CreateProgramCommand = se_CreateProgramCommand;
|
|
162
|
+
const se_CreateSourceLocationCommand = async (input, context) => {
|
|
165
163
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
166
164
|
const headers = {
|
|
167
165
|
"content-type": "application/json",
|
|
@@ -171,18 +169,18 @@ const serializeAws_restJson1CreateSourceLocationCommand = async (input, context)
|
|
|
171
169
|
let body;
|
|
172
170
|
body = JSON.stringify({
|
|
173
171
|
...(input.AccessConfiguration != null && {
|
|
174
|
-
AccessConfiguration:
|
|
172
|
+
AccessConfiguration: se_AccessConfiguration(input.AccessConfiguration, context),
|
|
175
173
|
}),
|
|
176
174
|
...(input.DefaultSegmentDeliveryConfiguration != null && {
|
|
177
|
-
DefaultSegmentDeliveryConfiguration:
|
|
175
|
+
DefaultSegmentDeliveryConfiguration: se_DefaultSegmentDeliveryConfiguration(input.DefaultSegmentDeliveryConfiguration, context),
|
|
178
176
|
}),
|
|
179
177
|
...(input.HttpConfiguration != null && {
|
|
180
|
-
HttpConfiguration:
|
|
178
|
+
HttpConfiguration: se_HttpConfiguration(input.HttpConfiguration, context),
|
|
181
179
|
}),
|
|
182
180
|
...(input.SegmentDeliveryConfigurations != null && {
|
|
183
|
-
SegmentDeliveryConfigurations:
|
|
181
|
+
SegmentDeliveryConfigurations: se___listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
|
|
184
182
|
}),
|
|
185
|
-
...(input.Tags != null && { tags:
|
|
183
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
186
184
|
});
|
|
187
185
|
return new protocol_http_1.HttpRequest({
|
|
188
186
|
protocol,
|
|
@@ -194,8 +192,8 @@ const serializeAws_restJson1CreateSourceLocationCommand = async (input, context)
|
|
|
194
192
|
body,
|
|
195
193
|
});
|
|
196
194
|
};
|
|
197
|
-
exports.
|
|
198
|
-
const
|
|
195
|
+
exports.se_CreateSourceLocationCommand = se_CreateSourceLocationCommand;
|
|
196
|
+
const se_CreateVodSourceCommand = async (input, context) => {
|
|
199
197
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
200
198
|
const headers = {
|
|
201
199
|
"content-type": "application/json",
|
|
@@ -207,9 +205,9 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
|
|
|
207
205
|
let body;
|
|
208
206
|
body = JSON.stringify({
|
|
209
207
|
...(input.HttpPackageConfigurations != null && {
|
|
210
|
-
HttpPackageConfigurations:
|
|
208
|
+
HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
|
|
211
209
|
}),
|
|
212
|
-
...(input.Tags != null && { tags:
|
|
210
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
213
211
|
});
|
|
214
212
|
return new protocol_http_1.HttpRequest({
|
|
215
213
|
protocol,
|
|
@@ -221,8 +219,8 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
|
|
|
221
219
|
body,
|
|
222
220
|
});
|
|
223
221
|
};
|
|
224
|
-
exports.
|
|
225
|
-
const
|
|
222
|
+
exports.se_CreateVodSourceCommand = se_CreateVodSourceCommand;
|
|
223
|
+
const se_DeleteChannelCommand = async (input, context) => {
|
|
226
224
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
227
225
|
const headers = {};
|
|
228
226
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}";
|
|
@@ -238,8 +236,8 @@ const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
|
|
|
238
236
|
body,
|
|
239
237
|
});
|
|
240
238
|
};
|
|
241
|
-
exports.
|
|
242
|
-
const
|
|
239
|
+
exports.se_DeleteChannelCommand = se_DeleteChannelCommand;
|
|
240
|
+
const se_DeleteChannelPolicyCommand = async (input, context) => {
|
|
243
241
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
244
242
|
const headers = {};
|
|
245
243
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/policy";
|
|
@@ -255,8 +253,8 @@ const serializeAws_restJson1DeleteChannelPolicyCommand = async (input, context)
|
|
|
255
253
|
body,
|
|
256
254
|
});
|
|
257
255
|
};
|
|
258
|
-
exports.
|
|
259
|
-
const
|
|
256
|
+
exports.se_DeleteChannelPolicyCommand = se_DeleteChannelPolicyCommand;
|
|
257
|
+
const se_DeleteLiveSourceCommand = async (input, context) => {
|
|
260
258
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
261
259
|
const headers = {};
|
|
262
260
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -274,8 +272,8 @@ const serializeAws_restJson1DeleteLiveSourceCommand = async (input, context) =>
|
|
|
274
272
|
body,
|
|
275
273
|
});
|
|
276
274
|
};
|
|
277
|
-
exports.
|
|
278
|
-
const
|
|
275
|
+
exports.se_DeleteLiveSourceCommand = se_DeleteLiveSourceCommand;
|
|
276
|
+
const se_DeletePlaybackConfigurationCommand = async (input, context) => {
|
|
279
277
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
280
278
|
const headers = {};
|
|
281
279
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfiguration/{Name}";
|
|
@@ -291,8 +289,8 @@ const serializeAws_restJson1DeletePlaybackConfigurationCommand = async (input, c
|
|
|
291
289
|
body,
|
|
292
290
|
});
|
|
293
291
|
};
|
|
294
|
-
exports.
|
|
295
|
-
const
|
|
292
|
+
exports.se_DeletePlaybackConfigurationCommand = se_DeletePlaybackConfigurationCommand;
|
|
293
|
+
const se_DeletePrefetchScheduleCommand = async (input, context) => {
|
|
296
294
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
297
295
|
const headers = {};
|
|
298
296
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -310,8 +308,8 @@ const serializeAws_restJson1DeletePrefetchScheduleCommand = async (input, contex
|
|
|
310
308
|
body,
|
|
311
309
|
});
|
|
312
310
|
};
|
|
313
|
-
exports.
|
|
314
|
-
const
|
|
311
|
+
exports.se_DeletePrefetchScheduleCommand = se_DeletePrefetchScheduleCommand;
|
|
312
|
+
const se_DeleteProgramCommand = async (input, context) => {
|
|
315
313
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
316
314
|
const headers = {};
|
|
317
315
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -329,8 +327,8 @@ const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
|
|
|
329
327
|
body,
|
|
330
328
|
});
|
|
331
329
|
};
|
|
332
|
-
exports.
|
|
333
|
-
const
|
|
330
|
+
exports.se_DeleteProgramCommand = se_DeleteProgramCommand;
|
|
331
|
+
const se_DeleteSourceLocationCommand = async (input, context) => {
|
|
334
332
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
335
333
|
const headers = {};
|
|
336
334
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocation/{SourceLocationName}";
|
|
@@ -346,8 +344,8 @@ const serializeAws_restJson1DeleteSourceLocationCommand = async (input, context)
|
|
|
346
344
|
body,
|
|
347
345
|
});
|
|
348
346
|
};
|
|
349
|
-
exports.
|
|
350
|
-
const
|
|
347
|
+
exports.se_DeleteSourceLocationCommand = se_DeleteSourceLocationCommand;
|
|
348
|
+
const se_DeleteVodSourceCommand = async (input, context) => {
|
|
351
349
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
352
350
|
const headers = {};
|
|
353
351
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -365,8 +363,8 @@ const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
|
|
|
365
363
|
body,
|
|
366
364
|
});
|
|
367
365
|
};
|
|
368
|
-
exports.
|
|
369
|
-
const
|
|
366
|
+
exports.se_DeleteVodSourceCommand = se_DeleteVodSourceCommand;
|
|
367
|
+
const se_DescribeChannelCommand = async (input, context) => {
|
|
370
368
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
371
369
|
const headers = {};
|
|
372
370
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}";
|
|
@@ -382,8 +380,8 @@ const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
|
|
|
382
380
|
body,
|
|
383
381
|
});
|
|
384
382
|
};
|
|
385
|
-
exports.
|
|
386
|
-
const
|
|
383
|
+
exports.se_DescribeChannelCommand = se_DescribeChannelCommand;
|
|
384
|
+
const se_DescribeLiveSourceCommand = async (input, context) => {
|
|
387
385
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
388
386
|
const headers = {};
|
|
389
387
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -401,8 +399,8 @@ const serializeAws_restJson1DescribeLiveSourceCommand = async (input, context) =
|
|
|
401
399
|
body,
|
|
402
400
|
});
|
|
403
401
|
};
|
|
404
|
-
exports.
|
|
405
|
-
const
|
|
402
|
+
exports.se_DescribeLiveSourceCommand = se_DescribeLiveSourceCommand;
|
|
403
|
+
const se_DescribeProgramCommand = async (input, context) => {
|
|
406
404
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
407
405
|
const headers = {};
|
|
408
406
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -420,8 +418,8 @@ const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
|
|
|
420
418
|
body,
|
|
421
419
|
});
|
|
422
420
|
};
|
|
423
|
-
exports.
|
|
424
|
-
const
|
|
421
|
+
exports.se_DescribeProgramCommand = se_DescribeProgramCommand;
|
|
422
|
+
const se_DescribeSourceLocationCommand = async (input, context) => {
|
|
425
423
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
426
424
|
const headers = {};
|
|
427
425
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocation/{SourceLocationName}";
|
|
@@ -437,8 +435,8 @@ const serializeAws_restJson1DescribeSourceLocationCommand = async (input, contex
|
|
|
437
435
|
body,
|
|
438
436
|
});
|
|
439
437
|
};
|
|
440
|
-
exports.
|
|
441
|
-
const
|
|
438
|
+
exports.se_DescribeSourceLocationCommand = se_DescribeSourceLocationCommand;
|
|
439
|
+
const se_DescribeVodSourceCommand = async (input, context) => {
|
|
442
440
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
443
441
|
const headers = {};
|
|
444
442
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -456,8 +454,8 @@ const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) =>
|
|
|
456
454
|
body,
|
|
457
455
|
});
|
|
458
456
|
};
|
|
459
|
-
exports.
|
|
460
|
-
const
|
|
457
|
+
exports.se_DescribeVodSourceCommand = se_DescribeVodSourceCommand;
|
|
458
|
+
const se_GetChannelPolicyCommand = async (input, context) => {
|
|
461
459
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
462
460
|
const headers = {};
|
|
463
461
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/policy";
|
|
@@ -473,8 +471,8 @@ const serializeAws_restJson1GetChannelPolicyCommand = async (input, context) =>
|
|
|
473
471
|
body,
|
|
474
472
|
});
|
|
475
473
|
};
|
|
476
|
-
exports.
|
|
477
|
-
const
|
|
474
|
+
exports.se_GetChannelPolicyCommand = se_GetChannelPolicyCommand;
|
|
475
|
+
const se_GetChannelScheduleCommand = async (input, context) => {
|
|
478
476
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
479
477
|
const headers = {};
|
|
480
478
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/schedule";
|
|
@@ -496,8 +494,8 @@ const serializeAws_restJson1GetChannelScheduleCommand = async (input, context) =
|
|
|
496
494
|
body,
|
|
497
495
|
});
|
|
498
496
|
};
|
|
499
|
-
exports.
|
|
500
|
-
const
|
|
497
|
+
exports.se_GetChannelScheduleCommand = se_GetChannelScheduleCommand;
|
|
498
|
+
const se_GetPlaybackConfigurationCommand = async (input, context) => {
|
|
501
499
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
502
500
|
const headers = {};
|
|
503
501
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfiguration/{Name}";
|
|
@@ -513,8 +511,8 @@ const serializeAws_restJson1GetPlaybackConfigurationCommand = async (input, cont
|
|
|
513
511
|
body,
|
|
514
512
|
});
|
|
515
513
|
};
|
|
516
|
-
exports.
|
|
517
|
-
const
|
|
514
|
+
exports.se_GetPlaybackConfigurationCommand = se_GetPlaybackConfigurationCommand;
|
|
515
|
+
const se_GetPrefetchScheduleCommand = async (input, context) => {
|
|
518
516
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
519
517
|
const headers = {};
|
|
520
518
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -532,8 +530,8 @@ const serializeAws_restJson1GetPrefetchScheduleCommand = async (input, context)
|
|
|
532
530
|
body,
|
|
533
531
|
});
|
|
534
532
|
};
|
|
535
|
-
exports.
|
|
536
|
-
const
|
|
533
|
+
exports.se_GetPrefetchScheduleCommand = se_GetPrefetchScheduleCommand;
|
|
534
|
+
const se_ListAlertsCommand = async (input, context) => {
|
|
537
535
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
538
536
|
const headers = {};
|
|
539
537
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/alerts";
|
|
@@ -554,8 +552,8 @@ const serializeAws_restJson1ListAlertsCommand = async (input, context) => {
|
|
|
554
552
|
body,
|
|
555
553
|
});
|
|
556
554
|
};
|
|
557
|
-
exports.
|
|
558
|
-
const
|
|
555
|
+
exports.se_ListAlertsCommand = se_ListAlertsCommand;
|
|
556
|
+
const se_ListChannelsCommand = async (input, context) => {
|
|
559
557
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
560
558
|
const headers = {};
|
|
561
559
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
@@ -575,8 +573,8 @@ const serializeAws_restJson1ListChannelsCommand = async (input, context) => {
|
|
|
575
573
|
body,
|
|
576
574
|
});
|
|
577
575
|
};
|
|
578
|
-
exports.
|
|
579
|
-
const
|
|
576
|
+
exports.se_ListChannelsCommand = se_ListChannelsCommand;
|
|
577
|
+
const se_ListLiveSourcesCommand = async (input, context) => {
|
|
580
578
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
581
579
|
const headers = {};
|
|
582
580
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -598,8 +596,8 @@ const serializeAws_restJson1ListLiveSourcesCommand = async (input, context) => {
|
|
|
598
596
|
body,
|
|
599
597
|
});
|
|
600
598
|
};
|
|
601
|
-
exports.
|
|
602
|
-
const
|
|
599
|
+
exports.se_ListLiveSourcesCommand = se_ListLiveSourcesCommand;
|
|
600
|
+
const se_ListPlaybackConfigurationsCommand = async (input, context) => {
|
|
603
601
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
604
602
|
const headers = {};
|
|
605
603
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfigurations";
|
|
@@ -619,8 +617,8 @@ const serializeAws_restJson1ListPlaybackConfigurationsCommand = async (input, co
|
|
|
619
617
|
body,
|
|
620
618
|
});
|
|
621
619
|
};
|
|
622
|
-
exports.
|
|
623
|
-
const
|
|
620
|
+
exports.se_ListPlaybackConfigurationsCommand = se_ListPlaybackConfigurationsCommand;
|
|
621
|
+
const se_ListPrefetchSchedulesCommand = async (input, context) => {
|
|
624
622
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
625
623
|
const headers = {
|
|
626
624
|
"content-type": "application/json",
|
|
@@ -644,8 +642,8 @@ const serializeAws_restJson1ListPrefetchSchedulesCommand = async (input, context
|
|
|
644
642
|
body,
|
|
645
643
|
});
|
|
646
644
|
};
|
|
647
|
-
exports.
|
|
648
|
-
const
|
|
645
|
+
exports.se_ListPrefetchSchedulesCommand = se_ListPrefetchSchedulesCommand;
|
|
646
|
+
const se_ListSourceLocationsCommand = async (input, context) => {
|
|
649
647
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
650
648
|
const headers = {};
|
|
651
649
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocations";
|
|
@@ -665,8 +663,8 @@ const serializeAws_restJson1ListSourceLocationsCommand = async (input, context)
|
|
|
665
663
|
body,
|
|
666
664
|
});
|
|
667
665
|
};
|
|
668
|
-
exports.
|
|
669
|
-
const
|
|
666
|
+
exports.se_ListSourceLocationsCommand = se_ListSourceLocationsCommand;
|
|
667
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
670
668
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
671
669
|
const headers = {};
|
|
672
670
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
@@ -682,8 +680,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
682
680
|
body,
|
|
683
681
|
});
|
|
684
682
|
};
|
|
685
|
-
exports.
|
|
686
|
-
const
|
|
683
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
684
|
+
const se_ListVodSourcesCommand = async (input, context) => {
|
|
687
685
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
688
686
|
const headers = {};
|
|
689
687
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -705,8 +703,8 @@ const serializeAws_restJson1ListVodSourcesCommand = async (input, context) => {
|
|
|
705
703
|
body,
|
|
706
704
|
});
|
|
707
705
|
};
|
|
708
|
-
exports.
|
|
709
|
-
const
|
|
706
|
+
exports.se_ListVodSourcesCommand = se_ListVodSourcesCommand;
|
|
707
|
+
const se_PutChannelPolicyCommand = async (input, context) => {
|
|
710
708
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
711
709
|
const headers = {
|
|
712
710
|
"content-type": "application/json",
|
|
@@ -727,8 +725,8 @@ const serializeAws_restJson1PutChannelPolicyCommand = async (input, context) =>
|
|
|
727
725
|
body,
|
|
728
726
|
});
|
|
729
727
|
};
|
|
730
|
-
exports.
|
|
731
|
-
const
|
|
728
|
+
exports.se_PutChannelPolicyCommand = se_PutChannelPolicyCommand;
|
|
729
|
+
const se_PutPlaybackConfigurationCommand = async (input, context) => {
|
|
732
730
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
733
731
|
const headers = {
|
|
734
732
|
"content-type": "application/json",
|
|
@@ -737,31 +735,27 @@ const serializeAws_restJson1PutPlaybackConfigurationCommand = async (input, cont
|
|
|
737
735
|
let body;
|
|
738
736
|
body = JSON.stringify({
|
|
739
737
|
...(input.AdDecisionServerUrl != null && { AdDecisionServerUrl: input.AdDecisionServerUrl }),
|
|
740
|
-
...(input.AvailSuppression != null && {
|
|
741
|
-
|
|
742
|
-
}),
|
|
743
|
-
...(input.Bumper != null && { Bumper: serializeAws_restJson1Bumper(input.Bumper, context) }),
|
|
744
|
-
...(input.CdnConfiguration != null && {
|
|
745
|
-
CdnConfiguration: serializeAws_restJson1CdnConfiguration(input.CdnConfiguration, context),
|
|
746
|
-
}),
|
|
738
|
+
...(input.AvailSuppression != null && { AvailSuppression: se_AvailSuppression(input.AvailSuppression, context) }),
|
|
739
|
+
...(input.Bumper != null && { Bumper: se_Bumper(input.Bumper, context) }),
|
|
740
|
+
...(input.CdnConfiguration != null && { CdnConfiguration: se_CdnConfiguration(input.CdnConfiguration, context) }),
|
|
747
741
|
...(input.ConfigurationAliases != null && {
|
|
748
|
-
ConfigurationAliases:
|
|
742
|
+
ConfigurationAliases: se_ConfigurationAliasesRequest(input.ConfigurationAliases, context),
|
|
749
743
|
}),
|
|
750
744
|
...(input.DashConfiguration != null && {
|
|
751
|
-
DashConfiguration:
|
|
745
|
+
DashConfiguration: se_DashConfigurationForPut(input.DashConfiguration, context),
|
|
752
746
|
}),
|
|
753
747
|
...(input.LivePreRollConfiguration != null && {
|
|
754
|
-
LivePreRollConfiguration:
|
|
748
|
+
LivePreRollConfiguration: se_LivePreRollConfiguration(input.LivePreRollConfiguration, context),
|
|
755
749
|
}),
|
|
756
750
|
...(input.ManifestProcessingRules != null && {
|
|
757
|
-
ManifestProcessingRules:
|
|
751
|
+
ManifestProcessingRules: se_ManifestProcessingRules(input.ManifestProcessingRules, context),
|
|
758
752
|
}),
|
|
759
753
|
...(input.Name != null && { Name: input.Name }),
|
|
760
754
|
...(input.PersonalizationThresholdSeconds != null && {
|
|
761
755
|
PersonalizationThresholdSeconds: input.PersonalizationThresholdSeconds,
|
|
762
756
|
}),
|
|
763
757
|
...(input.SlateAdUrl != null && { SlateAdUrl: input.SlateAdUrl }),
|
|
764
|
-
...(input.Tags != null && { tags:
|
|
758
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
765
759
|
...(input.TranscodeProfileName != null && { TranscodeProfileName: input.TranscodeProfileName }),
|
|
766
760
|
...(input.VideoContentSourceUrl != null && { VideoContentSourceUrl: input.VideoContentSourceUrl }),
|
|
767
761
|
});
|
|
@@ -775,8 +769,8 @@ const serializeAws_restJson1PutPlaybackConfigurationCommand = async (input, cont
|
|
|
775
769
|
body,
|
|
776
770
|
});
|
|
777
771
|
};
|
|
778
|
-
exports.
|
|
779
|
-
const
|
|
772
|
+
exports.se_PutPlaybackConfigurationCommand = se_PutPlaybackConfigurationCommand;
|
|
773
|
+
const se_StartChannelCommand = async (input, context) => {
|
|
780
774
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
781
775
|
const headers = {};
|
|
782
776
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/start";
|
|
@@ -792,8 +786,8 @@ const serializeAws_restJson1StartChannelCommand = async (input, context) => {
|
|
|
792
786
|
body,
|
|
793
787
|
});
|
|
794
788
|
};
|
|
795
|
-
exports.
|
|
796
|
-
const
|
|
789
|
+
exports.se_StartChannelCommand = se_StartChannelCommand;
|
|
790
|
+
const se_StopChannelCommand = async (input, context) => {
|
|
797
791
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
798
792
|
const headers = {};
|
|
799
793
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel/{ChannelName}/stop";
|
|
@@ -809,8 +803,8 @@ const serializeAws_restJson1StopChannelCommand = async (input, context) => {
|
|
|
809
803
|
body,
|
|
810
804
|
});
|
|
811
805
|
};
|
|
812
|
-
exports.
|
|
813
|
-
const
|
|
806
|
+
exports.se_StopChannelCommand = se_StopChannelCommand;
|
|
807
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
814
808
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
815
809
|
const headers = {
|
|
816
810
|
"content-type": "application/json",
|
|
@@ -819,7 +813,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
819
813
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
820
814
|
let body;
|
|
821
815
|
body = JSON.stringify({
|
|
822
|
-
...(input.Tags != null && { tags:
|
|
816
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
823
817
|
});
|
|
824
818
|
return new protocol_http_1.HttpRequest({
|
|
825
819
|
protocol,
|
|
@@ -831,8 +825,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
831
825
|
body,
|
|
832
826
|
});
|
|
833
827
|
};
|
|
834
|
-
exports.
|
|
835
|
-
const
|
|
828
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
829
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
836
830
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
837
831
|
const headers = {};
|
|
838
832
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
@@ -855,8 +849,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
855
849
|
body,
|
|
856
850
|
});
|
|
857
851
|
};
|
|
858
|
-
exports.
|
|
859
|
-
const
|
|
852
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
853
|
+
const se_UpdateChannelCommand = async (input, context) => {
|
|
860
854
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
861
855
|
const headers = {
|
|
862
856
|
"content-type": "application/json",
|
|
@@ -865,8 +859,8 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
|
|
|
865
859
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ChannelName", () => input.ChannelName, "{ChannelName}", false);
|
|
866
860
|
let body;
|
|
867
861
|
body = JSON.stringify({
|
|
868
|
-
...(input.FillerSlate != null && { FillerSlate:
|
|
869
|
-
...(input.Outputs != null && { Outputs:
|
|
862
|
+
...(input.FillerSlate != null && { FillerSlate: se_SlateSource(input.FillerSlate, context) }),
|
|
863
|
+
...(input.Outputs != null && { Outputs: se_RequestOutputs(input.Outputs, context) }),
|
|
870
864
|
});
|
|
871
865
|
return new protocol_http_1.HttpRequest({
|
|
872
866
|
protocol,
|
|
@@ -878,8 +872,8 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
|
|
|
878
872
|
body,
|
|
879
873
|
});
|
|
880
874
|
};
|
|
881
|
-
exports.
|
|
882
|
-
const
|
|
875
|
+
exports.se_UpdateChannelCommand = se_UpdateChannelCommand;
|
|
876
|
+
const se_UpdateLiveSourceCommand = async (input, context) => {
|
|
883
877
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
884
878
|
const headers = {
|
|
885
879
|
"content-type": "application/json",
|
|
@@ -891,7 +885,7 @@ const serializeAws_restJson1UpdateLiveSourceCommand = async (input, context) =>
|
|
|
891
885
|
let body;
|
|
892
886
|
body = JSON.stringify({
|
|
893
887
|
...(input.HttpPackageConfigurations != null && {
|
|
894
|
-
HttpPackageConfigurations:
|
|
888
|
+
HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
|
|
895
889
|
}),
|
|
896
890
|
});
|
|
897
891
|
return new protocol_http_1.HttpRequest({
|
|
@@ -904,8 +898,8 @@ const serializeAws_restJson1UpdateLiveSourceCommand = async (input, context) =>
|
|
|
904
898
|
body,
|
|
905
899
|
});
|
|
906
900
|
};
|
|
907
|
-
exports.
|
|
908
|
-
const
|
|
901
|
+
exports.se_UpdateLiveSourceCommand = se_UpdateLiveSourceCommand;
|
|
902
|
+
const se_UpdateProgramCommand = async (input, context) => {
|
|
909
903
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
910
904
|
const headers = {
|
|
911
905
|
"content-type": "application/json",
|
|
@@ -916,9 +910,9 @@ const serializeAws_restJson1UpdateProgramCommand = async (input, context) => {
|
|
|
916
910
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ProgramName", () => input.ProgramName, "{ProgramName}", false);
|
|
917
911
|
let body;
|
|
918
912
|
body = JSON.stringify({
|
|
919
|
-
...(input.AdBreaks != null && { AdBreaks:
|
|
913
|
+
...(input.AdBreaks != null && { AdBreaks: se___listOfAdBreak(input.AdBreaks, context) }),
|
|
920
914
|
...(input.ScheduleConfiguration != null && {
|
|
921
|
-
ScheduleConfiguration:
|
|
915
|
+
ScheduleConfiguration: se_UpdateProgramScheduleConfiguration(input.ScheduleConfiguration, context),
|
|
922
916
|
}),
|
|
923
917
|
});
|
|
924
918
|
return new protocol_http_1.HttpRequest({
|
|
@@ -931,8 +925,8 @@ const serializeAws_restJson1UpdateProgramCommand = async (input, context) => {
|
|
|
931
925
|
body,
|
|
932
926
|
});
|
|
933
927
|
};
|
|
934
|
-
exports.
|
|
935
|
-
const
|
|
928
|
+
exports.se_UpdateProgramCommand = se_UpdateProgramCommand;
|
|
929
|
+
const se_UpdateSourceLocationCommand = async (input, context) => {
|
|
936
930
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
937
931
|
const headers = {
|
|
938
932
|
"content-type": "application/json",
|
|
@@ -942,16 +936,16 @@ const serializeAws_restJson1UpdateSourceLocationCommand = async (input, context)
|
|
|
942
936
|
let body;
|
|
943
937
|
body = JSON.stringify({
|
|
944
938
|
...(input.AccessConfiguration != null && {
|
|
945
|
-
AccessConfiguration:
|
|
939
|
+
AccessConfiguration: se_AccessConfiguration(input.AccessConfiguration, context),
|
|
946
940
|
}),
|
|
947
941
|
...(input.DefaultSegmentDeliveryConfiguration != null && {
|
|
948
|
-
DefaultSegmentDeliveryConfiguration:
|
|
942
|
+
DefaultSegmentDeliveryConfiguration: se_DefaultSegmentDeliveryConfiguration(input.DefaultSegmentDeliveryConfiguration, context),
|
|
949
943
|
}),
|
|
950
944
|
...(input.HttpConfiguration != null && {
|
|
951
|
-
HttpConfiguration:
|
|
945
|
+
HttpConfiguration: se_HttpConfiguration(input.HttpConfiguration, context),
|
|
952
946
|
}),
|
|
953
947
|
...(input.SegmentDeliveryConfigurations != null && {
|
|
954
|
-
SegmentDeliveryConfigurations:
|
|
948
|
+
SegmentDeliveryConfigurations: se___listOfSegmentDeliveryConfiguration(input.SegmentDeliveryConfigurations, context),
|
|
955
949
|
}),
|
|
956
950
|
});
|
|
957
951
|
return new protocol_http_1.HttpRequest({
|
|
@@ -964,8 +958,8 @@ const serializeAws_restJson1UpdateSourceLocationCommand = async (input, context)
|
|
|
964
958
|
body,
|
|
965
959
|
});
|
|
966
960
|
};
|
|
967
|
-
exports.
|
|
968
|
-
const
|
|
961
|
+
exports.se_UpdateSourceLocationCommand = se_UpdateSourceLocationCommand;
|
|
962
|
+
const se_UpdateVodSourceCommand = async (input, context) => {
|
|
969
963
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
970
964
|
const headers = {
|
|
971
965
|
"content-type": "application/json",
|
|
@@ -977,7 +971,7 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
|
|
|
977
971
|
let body;
|
|
978
972
|
body = JSON.stringify({
|
|
979
973
|
...(input.HttpPackageConfigurations != null && {
|
|
980
|
-
HttpPackageConfigurations:
|
|
974
|
+
HttpPackageConfigurations: se_HttpPackageConfigurations(input.HttpPackageConfigurations, context),
|
|
981
975
|
}),
|
|
982
976
|
});
|
|
983
977
|
return new protocol_http_1.HttpRequest({
|
|
@@ -990,10 +984,10 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
|
|
|
990
984
|
body,
|
|
991
985
|
});
|
|
992
986
|
};
|
|
993
|
-
exports.
|
|
994
|
-
const
|
|
987
|
+
exports.se_UpdateVodSourceCommand = se_UpdateVodSourceCommand;
|
|
988
|
+
const de_ConfigureLogsForChannelCommand = async (output, context) => {
|
|
995
989
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
996
|
-
return
|
|
990
|
+
return de_ConfigureLogsForChannelCommandError(output, context);
|
|
997
991
|
}
|
|
998
992
|
const contents = map({
|
|
999
993
|
$metadata: deserializeMetadata(output),
|
|
@@ -1003,12 +997,12 @@ const deserializeAws_restJson1ConfigureLogsForChannelCommand = async (output, co
|
|
|
1003
997
|
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
1004
998
|
}
|
|
1005
999
|
if (data.LogTypes != null) {
|
|
1006
|
-
contents.LogTypes =
|
|
1000
|
+
contents.LogTypes = de_LogTypes(data.LogTypes, context);
|
|
1007
1001
|
}
|
|
1008
1002
|
return contents;
|
|
1009
1003
|
};
|
|
1010
|
-
exports.
|
|
1011
|
-
const
|
|
1004
|
+
exports.de_ConfigureLogsForChannelCommand = de_ConfigureLogsForChannelCommand;
|
|
1005
|
+
const de_ConfigureLogsForChannelCommandError = async (output, context) => {
|
|
1012
1006
|
const parsedOutput = {
|
|
1013
1007
|
...output,
|
|
1014
1008
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1022,9 +1016,9 @@ const deserializeAws_restJson1ConfigureLogsForChannelCommandError = async (outpu
|
|
|
1022
1016
|
errorCode,
|
|
1023
1017
|
});
|
|
1024
1018
|
};
|
|
1025
|
-
const
|
|
1019
|
+
const de_ConfigureLogsForPlaybackConfigurationCommand = async (output, context) => {
|
|
1026
1020
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1027
|
-
return
|
|
1021
|
+
return de_ConfigureLogsForPlaybackConfigurationCommandError(output, context);
|
|
1028
1022
|
}
|
|
1029
1023
|
const contents = map({
|
|
1030
1024
|
$metadata: deserializeMetadata(output),
|
|
@@ -1038,8 +1032,8 @@ const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = asy
|
|
|
1038
1032
|
}
|
|
1039
1033
|
return contents;
|
|
1040
1034
|
};
|
|
1041
|
-
exports.
|
|
1042
|
-
const
|
|
1035
|
+
exports.de_ConfigureLogsForPlaybackConfigurationCommand = de_ConfigureLogsForPlaybackConfigurationCommand;
|
|
1036
|
+
const de_ConfigureLogsForPlaybackConfigurationCommandError = async (output, context) => {
|
|
1043
1037
|
const parsedOutput = {
|
|
1044
1038
|
...output,
|
|
1045
1039
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1053,9 +1047,9 @@ const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError
|
|
|
1053
1047
|
errorCode,
|
|
1054
1048
|
});
|
|
1055
1049
|
};
|
|
1056
|
-
const
|
|
1050
|
+
const de_CreateChannelCommand = async (output, context) => {
|
|
1057
1051
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1058
|
-
return
|
|
1052
|
+
return de_CreateChannelCommandError(output, context);
|
|
1059
1053
|
}
|
|
1060
1054
|
const contents = map({
|
|
1061
1055
|
$metadata: deserializeMetadata(output),
|
|
@@ -1074,27 +1068,27 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
|
|
|
1074
1068
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1075
1069
|
}
|
|
1076
1070
|
if (data.FillerSlate != null) {
|
|
1077
|
-
contents.FillerSlate =
|
|
1071
|
+
contents.FillerSlate = de_SlateSource(data.FillerSlate, context);
|
|
1078
1072
|
}
|
|
1079
1073
|
if (data.LastModifiedTime != null) {
|
|
1080
1074
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1081
1075
|
}
|
|
1082
1076
|
if (data.Outputs != null) {
|
|
1083
|
-
contents.Outputs =
|
|
1077
|
+
contents.Outputs = de_ResponseOutputs(data.Outputs, context);
|
|
1084
1078
|
}
|
|
1085
1079
|
if (data.PlaybackMode != null) {
|
|
1086
1080
|
contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
|
|
1087
1081
|
}
|
|
1088
1082
|
if (data.tags != null) {
|
|
1089
|
-
contents.Tags =
|
|
1083
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1090
1084
|
}
|
|
1091
1085
|
if (data.Tier != null) {
|
|
1092
1086
|
contents.Tier = (0, smithy_client_1.expectString)(data.Tier);
|
|
1093
1087
|
}
|
|
1094
1088
|
return contents;
|
|
1095
1089
|
};
|
|
1096
|
-
exports.
|
|
1097
|
-
const
|
|
1090
|
+
exports.de_CreateChannelCommand = de_CreateChannelCommand;
|
|
1091
|
+
const de_CreateChannelCommandError = async (output, context) => {
|
|
1098
1092
|
const parsedOutput = {
|
|
1099
1093
|
...output,
|
|
1100
1094
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1108,9 +1102,9 @@ const deserializeAws_restJson1CreateChannelCommandError = async (output, context
|
|
|
1108
1102
|
errorCode,
|
|
1109
1103
|
});
|
|
1110
1104
|
};
|
|
1111
|
-
const
|
|
1105
|
+
const de_CreateLiveSourceCommand = async (output, context) => {
|
|
1112
1106
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1113
|
-
return
|
|
1107
|
+
return de_CreateLiveSourceCommandError(output, context);
|
|
1114
1108
|
}
|
|
1115
1109
|
const contents = map({
|
|
1116
1110
|
$metadata: deserializeMetadata(output),
|
|
@@ -1123,7 +1117,7 @@ const deserializeAws_restJson1CreateLiveSourceCommand = async (output, context)
|
|
|
1123
1117
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1124
1118
|
}
|
|
1125
1119
|
if (data.HttpPackageConfigurations != null) {
|
|
1126
|
-
contents.HttpPackageConfigurations =
|
|
1120
|
+
contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
1127
1121
|
}
|
|
1128
1122
|
if (data.LastModifiedTime != null) {
|
|
1129
1123
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
@@ -1135,12 +1129,12 @@ const deserializeAws_restJson1CreateLiveSourceCommand = async (output, context)
|
|
|
1135
1129
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1136
1130
|
}
|
|
1137
1131
|
if (data.tags != null) {
|
|
1138
|
-
contents.Tags =
|
|
1132
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1139
1133
|
}
|
|
1140
1134
|
return contents;
|
|
1141
1135
|
};
|
|
1142
|
-
exports.
|
|
1143
|
-
const
|
|
1136
|
+
exports.de_CreateLiveSourceCommand = de_CreateLiveSourceCommand;
|
|
1137
|
+
const de_CreateLiveSourceCommandError = async (output, context) => {
|
|
1144
1138
|
const parsedOutput = {
|
|
1145
1139
|
...output,
|
|
1146
1140
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1154,9 +1148,9 @@ const deserializeAws_restJson1CreateLiveSourceCommandError = async (output, cont
|
|
|
1154
1148
|
errorCode,
|
|
1155
1149
|
});
|
|
1156
1150
|
};
|
|
1157
|
-
const
|
|
1151
|
+
const de_CreatePrefetchScheduleCommand = async (output, context) => {
|
|
1158
1152
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1159
|
-
return
|
|
1153
|
+
return de_CreatePrefetchScheduleCommandError(output, context);
|
|
1160
1154
|
}
|
|
1161
1155
|
const contents = map({
|
|
1162
1156
|
$metadata: deserializeMetadata(output),
|
|
@@ -1166,7 +1160,7 @@ const deserializeAws_restJson1CreatePrefetchScheduleCommand = async (output, con
|
|
|
1166
1160
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1167
1161
|
}
|
|
1168
1162
|
if (data.Consumption != null) {
|
|
1169
|
-
contents.Consumption =
|
|
1163
|
+
contents.Consumption = de_PrefetchConsumption(data.Consumption, context);
|
|
1170
1164
|
}
|
|
1171
1165
|
if (data.Name != null) {
|
|
1172
1166
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
@@ -1175,15 +1169,15 @@ const deserializeAws_restJson1CreatePrefetchScheduleCommand = async (output, con
|
|
|
1175
1169
|
contents.PlaybackConfigurationName = (0, smithy_client_1.expectString)(data.PlaybackConfigurationName);
|
|
1176
1170
|
}
|
|
1177
1171
|
if (data.Retrieval != null) {
|
|
1178
|
-
contents.Retrieval =
|
|
1172
|
+
contents.Retrieval = de_PrefetchRetrieval(data.Retrieval, context);
|
|
1179
1173
|
}
|
|
1180
1174
|
if (data.StreamId != null) {
|
|
1181
1175
|
contents.StreamId = (0, smithy_client_1.expectString)(data.StreamId);
|
|
1182
1176
|
}
|
|
1183
1177
|
return contents;
|
|
1184
1178
|
};
|
|
1185
|
-
exports.
|
|
1186
|
-
const
|
|
1179
|
+
exports.de_CreatePrefetchScheduleCommand = de_CreatePrefetchScheduleCommand;
|
|
1180
|
+
const de_CreatePrefetchScheduleCommandError = async (output, context) => {
|
|
1187
1181
|
const parsedOutput = {
|
|
1188
1182
|
...output,
|
|
1189
1183
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1197,16 +1191,16 @@ const deserializeAws_restJson1CreatePrefetchScheduleCommandError = async (output
|
|
|
1197
1191
|
errorCode,
|
|
1198
1192
|
});
|
|
1199
1193
|
};
|
|
1200
|
-
const
|
|
1194
|
+
const de_CreateProgramCommand = async (output, context) => {
|
|
1201
1195
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1202
|
-
return
|
|
1196
|
+
return de_CreateProgramCommandError(output, context);
|
|
1203
1197
|
}
|
|
1204
1198
|
const contents = map({
|
|
1205
1199
|
$metadata: deserializeMetadata(output),
|
|
1206
1200
|
});
|
|
1207
1201
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1208
1202
|
if (data.AdBreaks != null) {
|
|
1209
|
-
contents.AdBreaks =
|
|
1203
|
+
contents.AdBreaks = de___listOfAdBreak(data.AdBreaks, context);
|
|
1210
1204
|
}
|
|
1211
1205
|
if (data.Arn != null) {
|
|
1212
1206
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -1215,7 +1209,7 @@ const deserializeAws_restJson1CreateProgramCommand = async (output, context) =>
|
|
|
1215
1209
|
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
1216
1210
|
}
|
|
1217
1211
|
if (data.ClipRange != null) {
|
|
1218
|
-
contents.ClipRange =
|
|
1212
|
+
contents.ClipRange = de_ClipRange(data.ClipRange, context);
|
|
1219
1213
|
}
|
|
1220
1214
|
if (data.CreationTime != null) {
|
|
1221
1215
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
@@ -1240,8 +1234,8 @@ const deserializeAws_restJson1CreateProgramCommand = async (output, context) =>
|
|
|
1240
1234
|
}
|
|
1241
1235
|
return contents;
|
|
1242
1236
|
};
|
|
1243
|
-
exports.
|
|
1244
|
-
const
|
|
1237
|
+
exports.de_CreateProgramCommand = de_CreateProgramCommand;
|
|
1238
|
+
const de_CreateProgramCommandError = async (output, context) => {
|
|
1245
1239
|
const parsedOutput = {
|
|
1246
1240
|
...output,
|
|
1247
1241
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1255,16 +1249,16 @@ const deserializeAws_restJson1CreateProgramCommandError = async (output, context
|
|
|
1255
1249
|
errorCode,
|
|
1256
1250
|
});
|
|
1257
1251
|
};
|
|
1258
|
-
const
|
|
1252
|
+
const de_CreateSourceLocationCommand = async (output, context) => {
|
|
1259
1253
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1260
|
-
return
|
|
1254
|
+
return de_CreateSourceLocationCommandError(output, context);
|
|
1261
1255
|
}
|
|
1262
1256
|
const contents = map({
|
|
1263
1257
|
$metadata: deserializeMetadata(output),
|
|
1264
1258
|
});
|
|
1265
1259
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1266
1260
|
if (data.AccessConfiguration != null) {
|
|
1267
|
-
contents.AccessConfiguration =
|
|
1261
|
+
contents.AccessConfiguration = de_AccessConfiguration(data.AccessConfiguration, context);
|
|
1268
1262
|
}
|
|
1269
1263
|
if (data.Arn != null) {
|
|
1270
1264
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -1273,27 +1267,27 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
|
|
|
1273
1267
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1274
1268
|
}
|
|
1275
1269
|
if (data.DefaultSegmentDeliveryConfiguration != null) {
|
|
1276
|
-
contents.DefaultSegmentDeliveryConfiguration =
|
|
1270
|
+
contents.DefaultSegmentDeliveryConfiguration = de_DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
|
|
1277
1271
|
}
|
|
1278
1272
|
if (data.HttpConfiguration != null) {
|
|
1279
|
-
contents.HttpConfiguration =
|
|
1273
|
+
contents.HttpConfiguration = de_HttpConfiguration(data.HttpConfiguration, context);
|
|
1280
1274
|
}
|
|
1281
1275
|
if (data.LastModifiedTime != null) {
|
|
1282
1276
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1283
1277
|
}
|
|
1284
1278
|
if (data.SegmentDeliveryConfigurations != null) {
|
|
1285
|
-
contents.SegmentDeliveryConfigurations =
|
|
1279
|
+
contents.SegmentDeliveryConfigurations = de___listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
|
|
1286
1280
|
}
|
|
1287
1281
|
if (data.SourceLocationName != null) {
|
|
1288
1282
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1289
1283
|
}
|
|
1290
1284
|
if (data.tags != null) {
|
|
1291
|
-
contents.Tags =
|
|
1285
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1292
1286
|
}
|
|
1293
1287
|
return contents;
|
|
1294
1288
|
};
|
|
1295
|
-
exports.
|
|
1296
|
-
const
|
|
1289
|
+
exports.de_CreateSourceLocationCommand = de_CreateSourceLocationCommand;
|
|
1290
|
+
const de_CreateSourceLocationCommandError = async (output, context) => {
|
|
1297
1291
|
const parsedOutput = {
|
|
1298
1292
|
...output,
|
|
1299
1293
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1307,9 +1301,9 @@ const deserializeAws_restJson1CreateSourceLocationCommandError = async (output,
|
|
|
1307
1301
|
errorCode,
|
|
1308
1302
|
});
|
|
1309
1303
|
};
|
|
1310
|
-
const
|
|
1304
|
+
const de_CreateVodSourceCommand = async (output, context) => {
|
|
1311
1305
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1312
|
-
return
|
|
1306
|
+
return de_CreateVodSourceCommandError(output, context);
|
|
1313
1307
|
}
|
|
1314
1308
|
const contents = map({
|
|
1315
1309
|
$metadata: deserializeMetadata(output),
|
|
@@ -1322,7 +1316,7 @@ const deserializeAws_restJson1CreateVodSourceCommand = async (output, context) =
|
|
|
1322
1316
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1323
1317
|
}
|
|
1324
1318
|
if (data.HttpPackageConfigurations != null) {
|
|
1325
|
-
contents.HttpPackageConfigurations =
|
|
1319
|
+
contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
1326
1320
|
}
|
|
1327
1321
|
if (data.LastModifiedTime != null) {
|
|
1328
1322
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
@@ -1331,15 +1325,15 @@ const deserializeAws_restJson1CreateVodSourceCommand = async (output, context) =
|
|
|
1331
1325
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1332
1326
|
}
|
|
1333
1327
|
if (data.tags != null) {
|
|
1334
|
-
contents.Tags =
|
|
1328
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1335
1329
|
}
|
|
1336
1330
|
if (data.VodSourceName != null) {
|
|
1337
1331
|
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
1338
1332
|
}
|
|
1339
1333
|
return contents;
|
|
1340
1334
|
};
|
|
1341
|
-
exports.
|
|
1342
|
-
const
|
|
1335
|
+
exports.de_CreateVodSourceCommand = de_CreateVodSourceCommand;
|
|
1336
|
+
const de_CreateVodSourceCommandError = async (output, context) => {
|
|
1343
1337
|
const parsedOutput = {
|
|
1344
1338
|
...output,
|
|
1345
1339
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1353,9 +1347,9 @@ const deserializeAws_restJson1CreateVodSourceCommandError = async (output, conte
|
|
|
1353
1347
|
errorCode,
|
|
1354
1348
|
});
|
|
1355
1349
|
};
|
|
1356
|
-
const
|
|
1350
|
+
const de_DeleteChannelCommand = async (output, context) => {
|
|
1357
1351
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1358
|
-
return
|
|
1352
|
+
return de_DeleteChannelCommandError(output, context);
|
|
1359
1353
|
}
|
|
1360
1354
|
const contents = map({
|
|
1361
1355
|
$metadata: deserializeMetadata(output),
|
|
@@ -1363,8 +1357,8 @@ const deserializeAws_restJson1DeleteChannelCommand = async (output, context) =>
|
|
|
1363
1357
|
await collectBody(output.body, context);
|
|
1364
1358
|
return contents;
|
|
1365
1359
|
};
|
|
1366
|
-
exports.
|
|
1367
|
-
const
|
|
1360
|
+
exports.de_DeleteChannelCommand = de_DeleteChannelCommand;
|
|
1361
|
+
const de_DeleteChannelCommandError = async (output, context) => {
|
|
1368
1362
|
const parsedOutput = {
|
|
1369
1363
|
...output,
|
|
1370
1364
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1378,9 +1372,9 @@ const deserializeAws_restJson1DeleteChannelCommandError = async (output, context
|
|
|
1378
1372
|
errorCode,
|
|
1379
1373
|
});
|
|
1380
1374
|
};
|
|
1381
|
-
const
|
|
1375
|
+
const de_DeleteChannelPolicyCommand = async (output, context) => {
|
|
1382
1376
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1383
|
-
return
|
|
1377
|
+
return de_DeleteChannelPolicyCommandError(output, context);
|
|
1384
1378
|
}
|
|
1385
1379
|
const contents = map({
|
|
1386
1380
|
$metadata: deserializeMetadata(output),
|
|
@@ -1388,8 +1382,8 @@ const deserializeAws_restJson1DeleteChannelPolicyCommand = async (output, contex
|
|
|
1388
1382
|
await collectBody(output.body, context);
|
|
1389
1383
|
return contents;
|
|
1390
1384
|
};
|
|
1391
|
-
exports.
|
|
1392
|
-
const
|
|
1385
|
+
exports.de_DeleteChannelPolicyCommand = de_DeleteChannelPolicyCommand;
|
|
1386
|
+
const de_DeleteChannelPolicyCommandError = async (output, context) => {
|
|
1393
1387
|
const parsedOutput = {
|
|
1394
1388
|
...output,
|
|
1395
1389
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1403,9 +1397,9 @@ const deserializeAws_restJson1DeleteChannelPolicyCommandError = async (output, c
|
|
|
1403
1397
|
errorCode,
|
|
1404
1398
|
});
|
|
1405
1399
|
};
|
|
1406
|
-
const
|
|
1400
|
+
const de_DeleteLiveSourceCommand = async (output, context) => {
|
|
1407
1401
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1408
|
-
return
|
|
1402
|
+
return de_DeleteLiveSourceCommandError(output, context);
|
|
1409
1403
|
}
|
|
1410
1404
|
const contents = map({
|
|
1411
1405
|
$metadata: deserializeMetadata(output),
|
|
@@ -1413,8 +1407,8 @@ const deserializeAws_restJson1DeleteLiveSourceCommand = async (output, context)
|
|
|
1413
1407
|
await collectBody(output.body, context);
|
|
1414
1408
|
return contents;
|
|
1415
1409
|
};
|
|
1416
|
-
exports.
|
|
1417
|
-
const
|
|
1410
|
+
exports.de_DeleteLiveSourceCommand = de_DeleteLiveSourceCommand;
|
|
1411
|
+
const de_DeleteLiveSourceCommandError = async (output, context) => {
|
|
1418
1412
|
const parsedOutput = {
|
|
1419
1413
|
...output,
|
|
1420
1414
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1428,9 +1422,9 @@ const deserializeAws_restJson1DeleteLiveSourceCommandError = async (output, cont
|
|
|
1428
1422
|
errorCode,
|
|
1429
1423
|
});
|
|
1430
1424
|
};
|
|
1431
|
-
const
|
|
1425
|
+
const de_DeletePlaybackConfigurationCommand = async (output, context) => {
|
|
1432
1426
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1433
|
-
return
|
|
1427
|
+
return de_DeletePlaybackConfigurationCommandError(output, context);
|
|
1434
1428
|
}
|
|
1435
1429
|
const contents = map({
|
|
1436
1430
|
$metadata: deserializeMetadata(output),
|
|
@@ -1438,8 +1432,8 @@ const deserializeAws_restJson1DeletePlaybackConfigurationCommand = async (output
|
|
|
1438
1432
|
await collectBody(output.body, context);
|
|
1439
1433
|
return contents;
|
|
1440
1434
|
};
|
|
1441
|
-
exports.
|
|
1442
|
-
const
|
|
1435
|
+
exports.de_DeletePlaybackConfigurationCommand = de_DeletePlaybackConfigurationCommand;
|
|
1436
|
+
const de_DeletePlaybackConfigurationCommandError = async (output, context) => {
|
|
1443
1437
|
const parsedOutput = {
|
|
1444
1438
|
...output,
|
|
1445
1439
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1453,9 +1447,9 @@ const deserializeAws_restJson1DeletePlaybackConfigurationCommandError = async (o
|
|
|
1453
1447
|
errorCode,
|
|
1454
1448
|
});
|
|
1455
1449
|
};
|
|
1456
|
-
const
|
|
1450
|
+
const de_DeletePrefetchScheduleCommand = async (output, context) => {
|
|
1457
1451
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1458
|
-
return
|
|
1452
|
+
return de_DeletePrefetchScheduleCommandError(output, context);
|
|
1459
1453
|
}
|
|
1460
1454
|
const contents = map({
|
|
1461
1455
|
$metadata: deserializeMetadata(output),
|
|
@@ -1463,8 +1457,8 @@ const deserializeAws_restJson1DeletePrefetchScheduleCommand = async (output, con
|
|
|
1463
1457
|
await collectBody(output.body, context);
|
|
1464
1458
|
return contents;
|
|
1465
1459
|
};
|
|
1466
|
-
exports.
|
|
1467
|
-
const
|
|
1460
|
+
exports.de_DeletePrefetchScheduleCommand = de_DeletePrefetchScheduleCommand;
|
|
1461
|
+
const de_DeletePrefetchScheduleCommandError = async (output, context) => {
|
|
1468
1462
|
const parsedOutput = {
|
|
1469
1463
|
...output,
|
|
1470
1464
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1478,9 +1472,9 @@ const deserializeAws_restJson1DeletePrefetchScheduleCommandError = async (output
|
|
|
1478
1472
|
errorCode,
|
|
1479
1473
|
});
|
|
1480
1474
|
};
|
|
1481
|
-
const
|
|
1475
|
+
const de_DeleteProgramCommand = async (output, context) => {
|
|
1482
1476
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1483
|
-
return
|
|
1477
|
+
return de_DeleteProgramCommandError(output, context);
|
|
1484
1478
|
}
|
|
1485
1479
|
const contents = map({
|
|
1486
1480
|
$metadata: deserializeMetadata(output),
|
|
@@ -1488,8 +1482,8 @@ const deserializeAws_restJson1DeleteProgramCommand = async (output, context) =>
|
|
|
1488
1482
|
await collectBody(output.body, context);
|
|
1489
1483
|
return contents;
|
|
1490
1484
|
};
|
|
1491
|
-
exports.
|
|
1492
|
-
const
|
|
1485
|
+
exports.de_DeleteProgramCommand = de_DeleteProgramCommand;
|
|
1486
|
+
const de_DeleteProgramCommandError = async (output, context) => {
|
|
1493
1487
|
const parsedOutput = {
|
|
1494
1488
|
...output,
|
|
1495
1489
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1503,9 +1497,9 @@ const deserializeAws_restJson1DeleteProgramCommandError = async (output, context
|
|
|
1503
1497
|
errorCode,
|
|
1504
1498
|
});
|
|
1505
1499
|
};
|
|
1506
|
-
const
|
|
1500
|
+
const de_DeleteSourceLocationCommand = async (output, context) => {
|
|
1507
1501
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1508
|
-
return
|
|
1502
|
+
return de_DeleteSourceLocationCommandError(output, context);
|
|
1509
1503
|
}
|
|
1510
1504
|
const contents = map({
|
|
1511
1505
|
$metadata: deserializeMetadata(output),
|
|
@@ -1513,8 +1507,8 @@ const deserializeAws_restJson1DeleteSourceLocationCommand = async (output, conte
|
|
|
1513
1507
|
await collectBody(output.body, context);
|
|
1514
1508
|
return contents;
|
|
1515
1509
|
};
|
|
1516
|
-
exports.
|
|
1517
|
-
const
|
|
1510
|
+
exports.de_DeleteSourceLocationCommand = de_DeleteSourceLocationCommand;
|
|
1511
|
+
const de_DeleteSourceLocationCommandError = async (output, context) => {
|
|
1518
1512
|
const parsedOutput = {
|
|
1519
1513
|
...output,
|
|
1520
1514
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1528,9 +1522,9 @@ const deserializeAws_restJson1DeleteSourceLocationCommandError = async (output,
|
|
|
1528
1522
|
errorCode,
|
|
1529
1523
|
});
|
|
1530
1524
|
};
|
|
1531
|
-
const
|
|
1525
|
+
const de_DeleteVodSourceCommand = async (output, context) => {
|
|
1532
1526
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1533
|
-
return
|
|
1527
|
+
return de_DeleteVodSourceCommandError(output, context);
|
|
1534
1528
|
}
|
|
1535
1529
|
const contents = map({
|
|
1536
1530
|
$metadata: deserializeMetadata(output),
|
|
@@ -1538,8 +1532,8 @@ const deserializeAws_restJson1DeleteVodSourceCommand = async (output, context) =
|
|
|
1538
1532
|
await collectBody(output.body, context);
|
|
1539
1533
|
return contents;
|
|
1540
1534
|
};
|
|
1541
|
-
exports.
|
|
1542
|
-
const
|
|
1535
|
+
exports.de_DeleteVodSourceCommand = de_DeleteVodSourceCommand;
|
|
1536
|
+
const de_DeleteVodSourceCommandError = async (output, context) => {
|
|
1543
1537
|
const parsedOutput = {
|
|
1544
1538
|
...output,
|
|
1545
1539
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1553,9 +1547,9 @@ const deserializeAws_restJson1DeleteVodSourceCommandError = async (output, conte
|
|
|
1553
1547
|
errorCode,
|
|
1554
1548
|
});
|
|
1555
1549
|
};
|
|
1556
|
-
const
|
|
1550
|
+
const de_DescribeChannelCommand = async (output, context) => {
|
|
1557
1551
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1558
|
-
return
|
|
1552
|
+
return de_DescribeChannelCommandError(output, context);
|
|
1559
1553
|
}
|
|
1560
1554
|
const contents = map({
|
|
1561
1555
|
$metadata: deserializeMetadata(output),
|
|
@@ -1574,30 +1568,30 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
1574
1568
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1575
1569
|
}
|
|
1576
1570
|
if (data.FillerSlate != null) {
|
|
1577
|
-
contents.FillerSlate =
|
|
1571
|
+
contents.FillerSlate = de_SlateSource(data.FillerSlate, context);
|
|
1578
1572
|
}
|
|
1579
1573
|
if (data.LastModifiedTime != null) {
|
|
1580
1574
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1581
1575
|
}
|
|
1582
1576
|
if (data.LogConfiguration != null) {
|
|
1583
|
-
contents.LogConfiguration =
|
|
1577
|
+
contents.LogConfiguration = de_LogConfigurationForChannel(data.LogConfiguration, context);
|
|
1584
1578
|
}
|
|
1585
1579
|
if (data.Outputs != null) {
|
|
1586
|
-
contents.Outputs =
|
|
1580
|
+
contents.Outputs = de_ResponseOutputs(data.Outputs, context);
|
|
1587
1581
|
}
|
|
1588
1582
|
if (data.PlaybackMode != null) {
|
|
1589
1583
|
contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
|
|
1590
1584
|
}
|
|
1591
1585
|
if (data.tags != null) {
|
|
1592
|
-
contents.Tags =
|
|
1586
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1593
1587
|
}
|
|
1594
1588
|
if (data.Tier != null) {
|
|
1595
1589
|
contents.Tier = (0, smithy_client_1.expectString)(data.Tier);
|
|
1596
1590
|
}
|
|
1597
1591
|
return contents;
|
|
1598
1592
|
};
|
|
1599
|
-
exports.
|
|
1600
|
-
const
|
|
1593
|
+
exports.de_DescribeChannelCommand = de_DescribeChannelCommand;
|
|
1594
|
+
const de_DescribeChannelCommandError = async (output, context) => {
|
|
1601
1595
|
const parsedOutput = {
|
|
1602
1596
|
...output,
|
|
1603
1597
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1611,9 +1605,9 @@ const deserializeAws_restJson1DescribeChannelCommandError = async (output, conte
|
|
|
1611
1605
|
errorCode,
|
|
1612
1606
|
});
|
|
1613
1607
|
};
|
|
1614
|
-
const
|
|
1608
|
+
const de_DescribeLiveSourceCommand = async (output, context) => {
|
|
1615
1609
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1616
|
-
return
|
|
1610
|
+
return de_DescribeLiveSourceCommandError(output, context);
|
|
1617
1611
|
}
|
|
1618
1612
|
const contents = map({
|
|
1619
1613
|
$metadata: deserializeMetadata(output),
|
|
@@ -1626,7 +1620,7 @@ const deserializeAws_restJson1DescribeLiveSourceCommand = async (output, context
|
|
|
1626
1620
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1627
1621
|
}
|
|
1628
1622
|
if (data.HttpPackageConfigurations != null) {
|
|
1629
|
-
contents.HttpPackageConfigurations =
|
|
1623
|
+
contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
1630
1624
|
}
|
|
1631
1625
|
if (data.LastModifiedTime != null) {
|
|
1632
1626
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
@@ -1638,12 +1632,12 @@ const deserializeAws_restJson1DescribeLiveSourceCommand = async (output, context
|
|
|
1638
1632
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1639
1633
|
}
|
|
1640
1634
|
if (data.tags != null) {
|
|
1641
|
-
contents.Tags =
|
|
1635
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1642
1636
|
}
|
|
1643
1637
|
return contents;
|
|
1644
1638
|
};
|
|
1645
|
-
exports.
|
|
1646
|
-
const
|
|
1639
|
+
exports.de_DescribeLiveSourceCommand = de_DescribeLiveSourceCommand;
|
|
1640
|
+
const de_DescribeLiveSourceCommandError = async (output, context) => {
|
|
1647
1641
|
const parsedOutput = {
|
|
1648
1642
|
...output,
|
|
1649
1643
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1657,16 +1651,16 @@ const deserializeAws_restJson1DescribeLiveSourceCommandError = async (output, co
|
|
|
1657
1651
|
errorCode,
|
|
1658
1652
|
});
|
|
1659
1653
|
};
|
|
1660
|
-
const
|
|
1654
|
+
const de_DescribeProgramCommand = async (output, context) => {
|
|
1661
1655
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1662
|
-
return
|
|
1656
|
+
return de_DescribeProgramCommandError(output, context);
|
|
1663
1657
|
}
|
|
1664
1658
|
const contents = map({
|
|
1665
1659
|
$metadata: deserializeMetadata(output),
|
|
1666
1660
|
});
|
|
1667
1661
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1668
1662
|
if (data.AdBreaks != null) {
|
|
1669
|
-
contents.AdBreaks =
|
|
1663
|
+
contents.AdBreaks = de___listOfAdBreak(data.AdBreaks, context);
|
|
1670
1664
|
}
|
|
1671
1665
|
if (data.Arn != null) {
|
|
1672
1666
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -1675,7 +1669,7 @@ const deserializeAws_restJson1DescribeProgramCommand = async (output, context) =
|
|
|
1675
1669
|
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
1676
1670
|
}
|
|
1677
1671
|
if (data.ClipRange != null) {
|
|
1678
|
-
contents.ClipRange =
|
|
1672
|
+
contents.ClipRange = de_ClipRange(data.ClipRange, context);
|
|
1679
1673
|
}
|
|
1680
1674
|
if (data.CreationTime != null) {
|
|
1681
1675
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
@@ -1700,8 +1694,8 @@ const deserializeAws_restJson1DescribeProgramCommand = async (output, context) =
|
|
|
1700
1694
|
}
|
|
1701
1695
|
return contents;
|
|
1702
1696
|
};
|
|
1703
|
-
exports.
|
|
1704
|
-
const
|
|
1697
|
+
exports.de_DescribeProgramCommand = de_DescribeProgramCommand;
|
|
1698
|
+
const de_DescribeProgramCommandError = async (output, context) => {
|
|
1705
1699
|
const parsedOutput = {
|
|
1706
1700
|
...output,
|
|
1707
1701
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1715,16 +1709,16 @@ const deserializeAws_restJson1DescribeProgramCommandError = async (output, conte
|
|
|
1715
1709
|
errorCode,
|
|
1716
1710
|
});
|
|
1717
1711
|
};
|
|
1718
|
-
const
|
|
1712
|
+
const de_DescribeSourceLocationCommand = async (output, context) => {
|
|
1719
1713
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1720
|
-
return
|
|
1714
|
+
return de_DescribeSourceLocationCommandError(output, context);
|
|
1721
1715
|
}
|
|
1722
1716
|
const contents = map({
|
|
1723
1717
|
$metadata: deserializeMetadata(output),
|
|
1724
1718
|
});
|
|
1725
1719
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1726
1720
|
if (data.AccessConfiguration != null) {
|
|
1727
|
-
contents.AccessConfiguration =
|
|
1721
|
+
contents.AccessConfiguration = de_AccessConfiguration(data.AccessConfiguration, context);
|
|
1728
1722
|
}
|
|
1729
1723
|
if (data.Arn != null) {
|
|
1730
1724
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -1733,27 +1727,27 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
|
|
|
1733
1727
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1734
1728
|
}
|
|
1735
1729
|
if (data.DefaultSegmentDeliveryConfiguration != null) {
|
|
1736
|
-
contents.DefaultSegmentDeliveryConfiguration =
|
|
1730
|
+
contents.DefaultSegmentDeliveryConfiguration = de_DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
|
|
1737
1731
|
}
|
|
1738
1732
|
if (data.HttpConfiguration != null) {
|
|
1739
|
-
contents.HttpConfiguration =
|
|
1733
|
+
contents.HttpConfiguration = de_HttpConfiguration(data.HttpConfiguration, context);
|
|
1740
1734
|
}
|
|
1741
1735
|
if (data.LastModifiedTime != null) {
|
|
1742
1736
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
1743
1737
|
}
|
|
1744
1738
|
if (data.SegmentDeliveryConfigurations != null) {
|
|
1745
|
-
contents.SegmentDeliveryConfigurations =
|
|
1739
|
+
contents.SegmentDeliveryConfigurations = de___listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
|
|
1746
1740
|
}
|
|
1747
1741
|
if (data.SourceLocationName != null) {
|
|
1748
1742
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1749
1743
|
}
|
|
1750
1744
|
if (data.tags != null) {
|
|
1751
|
-
contents.Tags =
|
|
1745
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1752
1746
|
}
|
|
1753
1747
|
return contents;
|
|
1754
1748
|
};
|
|
1755
|
-
exports.
|
|
1756
|
-
const
|
|
1749
|
+
exports.de_DescribeSourceLocationCommand = de_DescribeSourceLocationCommand;
|
|
1750
|
+
const de_DescribeSourceLocationCommandError = async (output, context) => {
|
|
1757
1751
|
const parsedOutput = {
|
|
1758
1752
|
...output,
|
|
1759
1753
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1767,9 +1761,9 @@ const deserializeAws_restJson1DescribeSourceLocationCommandError = async (output
|
|
|
1767
1761
|
errorCode,
|
|
1768
1762
|
});
|
|
1769
1763
|
};
|
|
1770
|
-
const
|
|
1764
|
+
const de_DescribeVodSourceCommand = async (output, context) => {
|
|
1771
1765
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1772
|
-
return
|
|
1766
|
+
return de_DescribeVodSourceCommandError(output, context);
|
|
1773
1767
|
}
|
|
1774
1768
|
const contents = map({
|
|
1775
1769
|
$metadata: deserializeMetadata(output),
|
|
@@ -1782,7 +1776,7 @@ const deserializeAws_restJson1DescribeVodSourceCommand = async (output, context)
|
|
|
1782
1776
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
1783
1777
|
}
|
|
1784
1778
|
if (data.HttpPackageConfigurations != null) {
|
|
1785
|
-
contents.HttpPackageConfigurations =
|
|
1779
|
+
contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
1786
1780
|
}
|
|
1787
1781
|
if (data.LastModifiedTime != null) {
|
|
1788
1782
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
@@ -1791,15 +1785,15 @@ const deserializeAws_restJson1DescribeVodSourceCommand = async (output, context)
|
|
|
1791
1785
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
1792
1786
|
}
|
|
1793
1787
|
if (data.tags != null) {
|
|
1794
|
-
contents.Tags =
|
|
1788
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1795
1789
|
}
|
|
1796
1790
|
if (data.VodSourceName != null) {
|
|
1797
1791
|
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
1798
1792
|
}
|
|
1799
1793
|
return contents;
|
|
1800
1794
|
};
|
|
1801
|
-
exports.
|
|
1802
|
-
const
|
|
1795
|
+
exports.de_DescribeVodSourceCommand = de_DescribeVodSourceCommand;
|
|
1796
|
+
const de_DescribeVodSourceCommandError = async (output, context) => {
|
|
1803
1797
|
const parsedOutput = {
|
|
1804
1798
|
...output,
|
|
1805
1799
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1813,9 +1807,9 @@ const deserializeAws_restJson1DescribeVodSourceCommandError = async (output, con
|
|
|
1813
1807
|
errorCode,
|
|
1814
1808
|
});
|
|
1815
1809
|
};
|
|
1816
|
-
const
|
|
1810
|
+
const de_GetChannelPolicyCommand = async (output, context) => {
|
|
1817
1811
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1818
|
-
return
|
|
1812
|
+
return de_GetChannelPolicyCommandError(output, context);
|
|
1819
1813
|
}
|
|
1820
1814
|
const contents = map({
|
|
1821
1815
|
$metadata: deserializeMetadata(output),
|
|
@@ -1826,8 +1820,8 @@ const deserializeAws_restJson1GetChannelPolicyCommand = async (output, context)
|
|
|
1826
1820
|
}
|
|
1827
1821
|
return contents;
|
|
1828
1822
|
};
|
|
1829
|
-
exports.
|
|
1830
|
-
const
|
|
1823
|
+
exports.de_GetChannelPolicyCommand = de_GetChannelPolicyCommand;
|
|
1824
|
+
const de_GetChannelPolicyCommandError = async (output, context) => {
|
|
1831
1825
|
const parsedOutput = {
|
|
1832
1826
|
...output,
|
|
1833
1827
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1841,24 +1835,24 @@ const deserializeAws_restJson1GetChannelPolicyCommandError = async (output, cont
|
|
|
1841
1835
|
errorCode,
|
|
1842
1836
|
});
|
|
1843
1837
|
};
|
|
1844
|
-
const
|
|
1838
|
+
const de_GetChannelScheduleCommand = async (output, context) => {
|
|
1845
1839
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1846
|
-
return
|
|
1840
|
+
return de_GetChannelScheduleCommandError(output, context);
|
|
1847
1841
|
}
|
|
1848
1842
|
const contents = map({
|
|
1849
1843
|
$metadata: deserializeMetadata(output),
|
|
1850
1844
|
});
|
|
1851
1845
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1852
1846
|
if (data.Items != null) {
|
|
1853
|
-
contents.Items =
|
|
1847
|
+
contents.Items = de___listOfScheduleEntry(data.Items, context);
|
|
1854
1848
|
}
|
|
1855
1849
|
if (data.NextToken != null) {
|
|
1856
1850
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1857
1851
|
}
|
|
1858
1852
|
return contents;
|
|
1859
1853
|
};
|
|
1860
|
-
exports.
|
|
1861
|
-
const
|
|
1854
|
+
exports.de_GetChannelScheduleCommand = de_GetChannelScheduleCommand;
|
|
1855
|
+
const de_GetChannelScheduleCommandError = async (output, context) => {
|
|
1862
1856
|
const parsedOutput = {
|
|
1863
1857
|
...output,
|
|
1864
1858
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1872,9 +1866,9 @@ const deserializeAws_restJson1GetChannelScheduleCommandError = async (output, co
|
|
|
1872
1866
|
errorCode,
|
|
1873
1867
|
});
|
|
1874
1868
|
};
|
|
1875
|
-
const
|
|
1869
|
+
const de_GetPlaybackConfigurationCommand = async (output, context) => {
|
|
1876
1870
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1877
|
-
return
|
|
1871
|
+
return de_GetPlaybackConfigurationCommandError(output, context);
|
|
1878
1872
|
}
|
|
1879
1873
|
const contents = map({
|
|
1880
1874
|
$metadata: deserializeMetadata(output),
|
|
@@ -1884,31 +1878,31 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
|
|
|
1884
1878
|
contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
|
|
1885
1879
|
}
|
|
1886
1880
|
if (data.AvailSuppression != null) {
|
|
1887
|
-
contents.AvailSuppression =
|
|
1881
|
+
contents.AvailSuppression = de_AvailSuppression(data.AvailSuppression, context);
|
|
1888
1882
|
}
|
|
1889
1883
|
if (data.Bumper != null) {
|
|
1890
|
-
contents.Bumper =
|
|
1884
|
+
contents.Bumper = de_Bumper(data.Bumper, context);
|
|
1891
1885
|
}
|
|
1892
1886
|
if (data.CdnConfiguration != null) {
|
|
1893
|
-
contents.CdnConfiguration =
|
|
1887
|
+
contents.CdnConfiguration = de_CdnConfiguration(data.CdnConfiguration, context);
|
|
1894
1888
|
}
|
|
1895
1889
|
if (data.ConfigurationAliases != null) {
|
|
1896
|
-
contents.ConfigurationAliases =
|
|
1890
|
+
contents.ConfigurationAliases = de_ConfigurationAliasesResponse(data.ConfigurationAliases, context);
|
|
1897
1891
|
}
|
|
1898
1892
|
if (data.DashConfiguration != null) {
|
|
1899
|
-
contents.DashConfiguration =
|
|
1893
|
+
contents.DashConfiguration = de_DashConfiguration(data.DashConfiguration, context);
|
|
1900
1894
|
}
|
|
1901
1895
|
if (data.HlsConfiguration != null) {
|
|
1902
|
-
contents.HlsConfiguration =
|
|
1896
|
+
contents.HlsConfiguration = de_HlsConfiguration(data.HlsConfiguration, context);
|
|
1903
1897
|
}
|
|
1904
1898
|
if (data.LivePreRollConfiguration != null) {
|
|
1905
|
-
contents.LivePreRollConfiguration =
|
|
1899
|
+
contents.LivePreRollConfiguration = de_LivePreRollConfiguration(data.LivePreRollConfiguration, context);
|
|
1906
1900
|
}
|
|
1907
1901
|
if (data.LogConfiguration != null) {
|
|
1908
|
-
contents.LogConfiguration =
|
|
1902
|
+
contents.LogConfiguration = de_LogConfiguration(data.LogConfiguration, context);
|
|
1909
1903
|
}
|
|
1910
1904
|
if (data.ManifestProcessingRules != null) {
|
|
1911
|
-
contents.ManifestProcessingRules =
|
|
1905
|
+
contents.ManifestProcessingRules = de_ManifestProcessingRules(data.ManifestProcessingRules, context);
|
|
1912
1906
|
}
|
|
1913
1907
|
if (data.Name != null) {
|
|
1914
1908
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
@@ -1929,7 +1923,7 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
|
|
|
1929
1923
|
contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
|
|
1930
1924
|
}
|
|
1931
1925
|
if (data.tags != null) {
|
|
1932
|
-
contents.Tags =
|
|
1926
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1933
1927
|
}
|
|
1934
1928
|
if (data.TranscodeProfileName != null) {
|
|
1935
1929
|
contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
|
|
@@ -1939,8 +1933,8 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
|
|
|
1939
1933
|
}
|
|
1940
1934
|
return contents;
|
|
1941
1935
|
};
|
|
1942
|
-
exports.
|
|
1943
|
-
const
|
|
1936
|
+
exports.de_GetPlaybackConfigurationCommand = de_GetPlaybackConfigurationCommand;
|
|
1937
|
+
const de_GetPlaybackConfigurationCommandError = async (output, context) => {
|
|
1944
1938
|
const parsedOutput = {
|
|
1945
1939
|
...output,
|
|
1946
1940
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1954,9 +1948,9 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommandError = async (outp
|
|
|
1954
1948
|
errorCode,
|
|
1955
1949
|
});
|
|
1956
1950
|
};
|
|
1957
|
-
const
|
|
1951
|
+
const de_GetPrefetchScheduleCommand = async (output, context) => {
|
|
1958
1952
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1959
|
-
return
|
|
1953
|
+
return de_GetPrefetchScheduleCommandError(output, context);
|
|
1960
1954
|
}
|
|
1961
1955
|
const contents = map({
|
|
1962
1956
|
$metadata: deserializeMetadata(output),
|
|
@@ -1966,7 +1960,7 @@ const deserializeAws_restJson1GetPrefetchScheduleCommand = async (output, contex
|
|
|
1966
1960
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1967
1961
|
}
|
|
1968
1962
|
if (data.Consumption != null) {
|
|
1969
|
-
contents.Consumption =
|
|
1963
|
+
contents.Consumption = de_PrefetchConsumption(data.Consumption, context);
|
|
1970
1964
|
}
|
|
1971
1965
|
if (data.Name != null) {
|
|
1972
1966
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
@@ -1975,15 +1969,15 @@ const deserializeAws_restJson1GetPrefetchScheduleCommand = async (output, contex
|
|
|
1975
1969
|
contents.PlaybackConfigurationName = (0, smithy_client_1.expectString)(data.PlaybackConfigurationName);
|
|
1976
1970
|
}
|
|
1977
1971
|
if (data.Retrieval != null) {
|
|
1978
|
-
contents.Retrieval =
|
|
1972
|
+
contents.Retrieval = de_PrefetchRetrieval(data.Retrieval, context);
|
|
1979
1973
|
}
|
|
1980
1974
|
if (data.StreamId != null) {
|
|
1981
1975
|
contents.StreamId = (0, smithy_client_1.expectString)(data.StreamId);
|
|
1982
1976
|
}
|
|
1983
1977
|
return contents;
|
|
1984
1978
|
};
|
|
1985
|
-
exports.
|
|
1986
|
-
const
|
|
1979
|
+
exports.de_GetPrefetchScheduleCommand = de_GetPrefetchScheduleCommand;
|
|
1980
|
+
const de_GetPrefetchScheduleCommandError = async (output, context) => {
|
|
1987
1981
|
const parsedOutput = {
|
|
1988
1982
|
...output,
|
|
1989
1983
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1997,24 +1991,24 @@ const deserializeAws_restJson1GetPrefetchScheduleCommandError = async (output, c
|
|
|
1997
1991
|
errorCode,
|
|
1998
1992
|
});
|
|
1999
1993
|
};
|
|
2000
|
-
const
|
|
1994
|
+
const de_ListAlertsCommand = async (output, context) => {
|
|
2001
1995
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2002
|
-
return
|
|
1996
|
+
return de_ListAlertsCommandError(output, context);
|
|
2003
1997
|
}
|
|
2004
1998
|
const contents = map({
|
|
2005
1999
|
$metadata: deserializeMetadata(output),
|
|
2006
2000
|
});
|
|
2007
2001
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2008
2002
|
if (data.Items != null) {
|
|
2009
|
-
contents.Items =
|
|
2003
|
+
contents.Items = de___listOfAlert(data.Items, context);
|
|
2010
2004
|
}
|
|
2011
2005
|
if (data.NextToken != null) {
|
|
2012
2006
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2013
2007
|
}
|
|
2014
2008
|
return contents;
|
|
2015
2009
|
};
|
|
2016
|
-
exports.
|
|
2017
|
-
const
|
|
2010
|
+
exports.de_ListAlertsCommand = de_ListAlertsCommand;
|
|
2011
|
+
const de_ListAlertsCommandError = async (output, context) => {
|
|
2018
2012
|
const parsedOutput = {
|
|
2019
2013
|
...output,
|
|
2020
2014
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2028,24 +2022,24 @@ const deserializeAws_restJson1ListAlertsCommandError = async (output, context) =
|
|
|
2028
2022
|
errorCode,
|
|
2029
2023
|
});
|
|
2030
2024
|
};
|
|
2031
|
-
const
|
|
2025
|
+
const de_ListChannelsCommand = async (output, context) => {
|
|
2032
2026
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2033
|
-
return
|
|
2027
|
+
return de_ListChannelsCommandError(output, context);
|
|
2034
2028
|
}
|
|
2035
2029
|
const contents = map({
|
|
2036
2030
|
$metadata: deserializeMetadata(output),
|
|
2037
2031
|
});
|
|
2038
2032
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2039
2033
|
if (data.Items != null) {
|
|
2040
|
-
contents.Items =
|
|
2034
|
+
contents.Items = de___listOfChannel(data.Items, context);
|
|
2041
2035
|
}
|
|
2042
2036
|
if (data.NextToken != null) {
|
|
2043
2037
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2044
2038
|
}
|
|
2045
2039
|
return contents;
|
|
2046
2040
|
};
|
|
2047
|
-
exports.
|
|
2048
|
-
const
|
|
2041
|
+
exports.de_ListChannelsCommand = de_ListChannelsCommand;
|
|
2042
|
+
const de_ListChannelsCommandError = async (output, context) => {
|
|
2049
2043
|
const parsedOutput = {
|
|
2050
2044
|
...output,
|
|
2051
2045
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2059,24 +2053,24 @@ const deserializeAws_restJson1ListChannelsCommandError = async (output, context)
|
|
|
2059
2053
|
errorCode,
|
|
2060
2054
|
});
|
|
2061
2055
|
};
|
|
2062
|
-
const
|
|
2056
|
+
const de_ListLiveSourcesCommand = async (output, context) => {
|
|
2063
2057
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2064
|
-
return
|
|
2058
|
+
return de_ListLiveSourcesCommandError(output, context);
|
|
2065
2059
|
}
|
|
2066
2060
|
const contents = map({
|
|
2067
2061
|
$metadata: deserializeMetadata(output),
|
|
2068
2062
|
});
|
|
2069
2063
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2070
2064
|
if (data.Items != null) {
|
|
2071
|
-
contents.Items =
|
|
2065
|
+
contents.Items = de___listOfLiveSource(data.Items, context);
|
|
2072
2066
|
}
|
|
2073
2067
|
if (data.NextToken != null) {
|
|
2074
2068
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2075
2069
|
}
|
|
2076
2070
|
return contents;
|
|
2077
2071
|
};
|
|
2078
|
-
exports.
|
|
2079
|
-
const
|
|
2072
|
+
exports.de_ListLiveSourcesCommand = de_ListLiveSourcesCommand;
|
|
2073
|
+
const de_ListLiveSourcesCommandError = async (output, context) => {
|
|
2080
2074
|
const parsedOutput = {
|
|
2081
2075
|
...output,
|
|
2082
2076
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2090,24 +2084,24 @@ const deserializeAws_restJson1ListLiveSourcesCommandError = async (output, conte
|
|
|
2090
2084
|
errorCode,
|
|
2091
2085
|
});
|
|
2092
2086
|
};
|
|
2093
|
-
const
|
|
2087
|
+
const de_ListPlaybackConfigurationsCommand = async (output, context) => {
|
|
2094
2088
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2095
|
-
return
|
|
2089
|
+
return de_ListPlaybackConfigurationsCommandError(output, context);
|
|
2096
2090
|
}
|
|
2097
2091
|
const contents = map({
|
|
2098
2092
|
$metadata: deserializeMetadata(output),
|
|
2099
2093
|
});
|
|
2100
2094
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2101
2095
|
if (data.Items != null) {
|
|
2102
|
-
contents.Items =
|
|
2096
|
+
contents.Items = de___listOfPlaybackConfiguration(data.Items, context);
|
|
2103
2097
|
}
|
|
2104
2098
|
if (data.NextToken != null) {
|
|
2105
2099
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2106
2100
|
}
|
|
2107
2101
|
return contents;
|
|
2108
2102
|
};
|
|
2109
|
-
exports.
|
|
2110
|
-
const
|
|
2103
|
+
exports.de_ListPlaybackConfigurationsCommand = de_ListPlaybackConfigurationsCommand;
|
|
2104
|
+
const de_ListPlaybackConfigurationsCommandError = async (output, context) => {
|
|
2111
2105
|
const parsedOutput = {
|
|
2112
2106
|
...output,
|
|
2113
2107
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2121,24 +2115,24 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommandError = async (ou
|
|
|
2121
2115
|
errorCode,
|
|
2122
2116
|
});
|
|
2123
2117
|
};
|
|
2124
|
-
const
|
|
2118
|
+
const de_ListPrefetchSchedulesCommand = async (output, context) => {
|
|
2125
2119
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2126
|
-
return
|
|
2120
|
+
return de_ListPrefetchSchedulesCommandError(output, context);
|
|
2127
2121
|
}
|
|
2128
2122
|
const contents = map({
|
|
2129
2123
|
$metadata: deserializeMetadata(output),
|
|
2130
2124
|
});
|
|
2131
2125
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2132
2126
|
if (data.Items != null) {
|
|
2133
|
-
contents.Items =
|
|
2127
|
+
contents.Items = de___listOfPrefetchSchedule(data.Items, context);
|
|
2134
2128
|
}
|
|
2135
2129
|
if (data.NextToken != null) {
|
|
2136
2130
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2137
2131
|
}
|
|
2138
2132
|
return contents;
|
|
2139
2133
|
};
|
|
2140
|
-
exports.
|
|
2141
|
-
const
|
|
2134
|
+
exports.de_ListPrefetchSchedulesCommand = de_ListPrefetchSchedulesCommand;
|
|
2135
|
+
const de_ListPrefetchSchedulesCommandError = async (output, context) => {
|
|
2142
2136
|
const parsedOutput = {
|
|
2143
2137
|
...output,
|
|
2144
2138
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2152,24 +2146,24 @@ const deserializeAws_restJson1ListPrefetchSchedulesCommandError = async (output,
|
|
|
2152
2146
|
errorCode,
|
|
2153
2147
|
});
|
|
2154
2148
|
};
|
|
2155
|
-
const
|
|
2149
|
+
const de_ListSourceLocationsCommand = async (output, context) => {
|
|
2156
2150
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2157
|
-
return
|
|
2151
|
+
return de_ListSourceLocationsCommandError(output, context);
|
|
2158
2152
|
}
|
|
2159
2153
|
const contents = map({
|
|
2160
2154
|
$metadata: deserializeMetadata(output),
|
|
2161
2155
|
});
|
|
2162
2156
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2163
2157
|
if (data.Items != null) {
|
|
2164
|
-
contents.Items =
|
|
2158
|
+
contents.Items = de___listOfSourceLocation(data.Items, context);
|
|
2165
2159
|
}
|
|
2166
2160
|
if (data.NextToken != null) {
|
|
2167
2161
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2168
2162
|
}
|
|
2169
2163
|
return contents;
|
|
2170
2164
|
};
|
|
2171
|
-
exports.
|
|
2172
|
-
const
|
|
2165
|
+
exports.de_ListSourceLocationsCommand = de_ListSourceLocationsCommand;
|
|
2166
|
+
const de_ListSourceLocationsCommandError = async (output, context) => {
|
|
2173
2167
|
const parsedOutput = {
|
|
2174
2168
|
...output,
|
|
2175
2169
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2183,21 +2177,21 @@ const deserializeAws_restJson1ListSourceLocationsCommandError = async (output, c
|
|
|
2183
2177
|
errorCode,
|
|
2184
2178
|
});
|
|
2185
2179
|
};
|
|
2186
|
-
const
|
|
2180
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2187
2181
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2188
|
-
return
|
|
2182
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2189
2183
|
}
|
|
2190
2184
|
const contents = map({
|
|
2191
2185
|
$metadata: deserializeMetadata(output),
|
|
2192
2186
|
});
|
|
2193
2187
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2194
2188
|
if (data.tags != null) {
|
|
2195
|
-
contents.Tags =
|
|
2189
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
2196
2190
|
}
|
|
2197
2191
|
return contents;
|
|
2198
2192
|
};
|
|
2199
|
-
exports.
|
|
2200
|
-
const
|
|
2193
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2194
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2201
2195
|
const parsedOutput = {
|
|
2202
2196
|
...output,
|
|
2203
2197
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2206,7 +2200,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2206
2200
|
switch (errorCode) {
|
|
2207
2201
|
case "BadRequestException":
|
|
2208
2202
|
case "com.amazonaws.mediatailor#BadRequestException":
|
|
2209
|
-
throw await
|
|
2203
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2210
2204
|
default:
|
|
2211
2205
|
const parsedBody = parsedOutput.body;
|
|
2212
2206
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2217,24 +2211,24 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2217
2211
|
});
|
|
2218
2212
|
}
|
|
2219
2213
|
};
|
|
2220
|
-
const
|
|
2214
|
+
const de_ListVodSourcesCommand = async (output, context) => {
|
|
2221
2215
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2222
|
-
return
|
|
2216
|
+
return de_ListVodSourcesCommandError(output, context);
|
|
2223
2217
|
}
|
|
2224
2218
|
const contents = map({
|
|
2225
2219
|
$metadata: deserializeMetadata(output),
|
|
2226
2220
|
});
|
|
2227
2221
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2228
2222
|
if (data.Items != null) {
|
|
2229
|
-
contents.Items =
|
|
2223
|
+
contents.Items = de___listOfVodSource(data.Items, context);
|
|
2230
2224
|
}
|
|
2231
2225
|
if (data.NextToken != null) {
|
|
2232
2226
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2233
2227
|
}
|
|
2234
2228
|
return contents;
|
|
2235
2229
|
};
|
|
2236
|
-
exports.
|
|
2237
|
-
const
|
|
2230
|
+
exports.de_ListVodSourcesCommand = de_ListVodSourcesCommand;
|
|
2231
|
+
const de_ListVodSourcesCommandError = async (output, context) => {
|
|
2238
2232
|
const parsedOutput = {
|
|
2239
2233
|
...output,
|
|
2240
2234
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2248,9 +2242,9 @@ const deserializeAws_restJson1ListVodSourcesCommandError = async (output, contex
|
|
|
2248
2242
|
errorCode,
|
|
2249
2243
|
});
|
|
2250
2244
|
};
|
|
2251
|
-
const
|
|
2245
|
+
const de_PutChannelPolicyCommand = async (output, context) => {
|
|
2252
2246
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2253
|
-
return
|
|
2247
|
+
return de_PutChannelPolicyCommandError(output, context);
|
|
2254
2248
|
}
|
|
2255
2249
|
const contents = map({
|
|
2256
2250
|
$metadata: deserializeMetadata(output),
|
|
@@ -2258,8 +2252,8 @@ const deserializeAws_restJson1PutChannelPolicyCommand = async (output, context)
|
|
|
2258
2252
|
await collectBody(output.body, context);
|
|
2259
2253
|
return contents;
|
|
2260
2254
|
};
|
|
2261
|
-
exports.
|
|
2262
|
-
const
|
|
2255
|
+
exports.de_PutChannelPolicyCommand = de_PutChannelPolicyCommand;
|
|
2256
|
+
const de_PutChannelPolicyCommandError = async (output, context) => {
|
|
2263
2257
|
const parsedOutput = {
|
|
2264
2258
|
...output,
|
|
2265
2259
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2273,9 +2267,9 @@ const deserializeAws_restJson1PutChannelPolicyCommandError = async (output, cont
|
|
|
2273
2267
|
errorCode,
|
|
2274
2268
|
});
|
|
2275
2269
|
};
|
|
2276
|
-
const
|
|
2270
|
+
const de_PutPlaybackConfigurationCommand = async (output, context) => {
|
|
2277
2271
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2278
|
-
return
|
|
2272
|
+
return de_PutPlaybackConfigurationCommandError(output, context);
|
|
2279
2273
|
}
|
|
2280
2274
|
const contents = map({
|
|
2281
2275
|
$metadata: deserializeMetadata(output),
|
|
@@ -2285,31 +2279,31 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
|
|
|
2285
2279
|
contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
|
|
2286
2280
|
}
|
|
2287
2281
|
if (data.AvailSuppression != null) {
|
|
2288
|
-
contents.AvailSuppression =
|
|
2282
|
+
contents.AvailSuppression = de_AvailSuppression(data.AvailSuppression, context);
|
|
2289
2283
|
}
|
|
2290
2284
|
if (data.Bumper != null) {
|
|
2291
|
-
contents.Bumper =
|
|
2285
|
+
contents.Bumper = de_Bumper(data.Bumper, context);
|
|
2292
2286
|
}
|
|
2293
2287
|
if (data.CdnConfiguration != null) {
|
|
2294
|
-
contents.CdnConfiguration =
|
|
2288
|
+
contents.CdnConfiguration = de_CdnConfiguration(data.CdnConfiguration, context);
|
|
2295
2289
|
}
|
|
2296
2290
|
if (data.ConfigurationAliases != null) {
|
|
2297
|
-
contents.ConfigurationAliases =
|
|
2291
|
+
contents.ConfigurationAliases = de_ConfigurationAliasesResponse(data.ConfigurationAliases, context);
|
|
2298
2292
|
}
|
|
2299
2293
|
if (data.DashConfiguration != null) {
|
|
2300
|
-
contents.DashConfiguration =
|
|
2294
|
+
contents.DashConfiguration = de_DashConfiguration(data.DashConfiguration, context);
|
|
2301
2295
|
}
|
|
2302
2296
|
if (data.HlsConfiguration != null) {
|
|
2303
|
-
contents.HlsConfiguration =
|
|
2297
|
+
contents.HlsConfiguration = de_HlsConfiguration(data.HlsConfiguration, context);
|
|
2304
2298
|
}
|
|
2305
2299
|
if (data.LivePreRollConfiguration != null) {
|
|
2306
|
-
contents.LivePreRollConfiguration =
|
|
2300
|
+
contents.LivePreRollConfiguration = de_LivePreRollConfiguration(data.LivePreRollConfiguration, context);
|
|
2307
2301
|
}
|
|
2308
2302
|
if (data.LogConfiguration != null) {
|
|
2309
|
-
contents.LogConfiguration =
|
|
2303
|
+
contents.LogConfiguration = de_LogConfiguration(data.LogConfiguration, context);
|
|
2310
2304
|
}
|
|
2311
2305
|
if (data.ManifestProcessingRules != null) {
|
|
2312
|
-
contents.ManifestProcessingRules =
|
|
2306
|
+
contents.ManifestProcessingRules = de_ManifestProcessingRules(data.ManifestProcessingRules, context);
|
|
2313
2307
|
}
|
|
2314
2308
|
if (data.Name != null) {
|
|
2315
2309
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
@@ -2330,7 +2324,7 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
|
|
|
2330
2324
|
contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
|
|
2331
2325
|
}
|
|
2332
2326
|
if (data.tags != null) {
|
|
2333
|
-
contents.Tags =
|
|
2327
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
2334
2328
|
}
|
|
2335
2329
|
if (data.TranscodeProfileName != null) {
|
|
2336
2330
|
contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
|
|
@@ -2340,8 +2334,8 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
|
|
|
2340
2334
|
}
|
|
2341
2335
|
return contents;
|
|
2342
2336
|
};
|
|
2343
|
-
exports.
|
|
2344
|
-
const
|
|
2337
|
+
exports.de_PutPlaybackConfigurationCommand = de_PutPlaybackConfigurationCommand;
|
|
2338
|
+
const de_PutPlaybackConfigurationCommandError = async (output, context) => {
|
|
2345
2339
|
const parsedOutput = {
|
|
2346
2340
|
...output,
|
|
2347
2341
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2355,9 +2349,9 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommandError = async (outp
|
|
|
2355
2349
|
errorCode,
|
|
2356
2350
|
});
|
|
2357
2351
|
};
|
|
2358
|
-
const
|
|
2352
|
+
const de_StartChannelCommand = async (output, context) => {
|
|
2359
2353
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2360
|
-
return
|
|
2354
|
+
return de_StartChannelCommandError(output, context);
|
|
2361
2355
|
}
|
|
2362
2356
|
const contents = map({
|
|
2363
2357
|
$metadata: deserializeMetadata(output),
|
|
@@ -2365,8 +2359,8 @@ const deserializeAws_restJson1StartChannelCommand = async (output, context) => {
|
|
|
2365
2359
|
await collectBody(output.body, context);
|
|
2366
2360
|
return contents;
|
|
2367
2361
|
};
|
|
2368
|
-
exports.
|
|
2369
|
-
const
|
|
2362
|
+
exports.de_StartChannelCommand = de_StartChannelCommand;
|
|
2363
|
+
const de_StartChannelCommandError = async (output, context) => {
|
|
2370
2364
|
const parsedOutput = {
|
|
2371
2365
|
...output,
|
|
2372
2366
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2380,9 +2374,9 @@ const deserializeAws_restJson1StartChannelCommandError = async (output, context)
|
|
|
2380
2374
|
errorCode,
|
|
2381
2375
|
});
|
|
2382
2376
|
};
|
|
2383
|
-
const
|
|
2377
|
+
const de_StopChannelCommand = async (output, context) => {
|
|
2384
2378
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2385
|
-
return
|
|
2379
|
+
return de_StopChannelCommandError(output, context);
|
|
2386
2380
|
}
|
|
2387
2381
|
const contents = map({
|
|
2388
2382
|
$metadata: deserializeMetadata(output),
|
|
@@ -2390,8 +2384,8 @@ const deserializeAws_restJson1StopChannelCommand = async (output, context) => {
|
|
|
2390
2384
|
await collectBody(output.body, context);
|
|
2391
2385
|
return contents;
|
|
2392
2386
|
};
|
|
2393
|
-
exports.
|
|
2394
|
-
const
|
|
2387
|
+
exports.de_StopChannelCommand = de_StopChannelCommand;
|
|
2388
|
+
const de_StopChannelCommandError = async (output, context) => {
|
|
2395
2389
|
const parsedOutput = {
|
|
2396
2390
|
...output,
|
|
2397
2391
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2405,9 +2399,9 @@ const deserializeAws_restJson1StopChannelCommandError = async (output, context)
|
|
|
2405
2399
|
errorCode,
|
|
2406
2400
|
});
|
|
2407
2401
|
};
|
|
2408
|
-
const
|
|
2402
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
2409
2403
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2410
|
-
return
|
|
2404
|
+
return de_TagResourceCommandError(output, context);
|
|
2411
2405
|
}
|
|
2412
2406
|
const contents = map({
|
|
2413
2407
|
$metadata: deserializeMetadata(output),
|
|
@@ -2415,8 +2409,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
|
2415
2409
|
await collectBody(output.body, context);
|
|
2416
2410
|
return contents;
|
|
2417
2411
|
};
|
|
2418
|
-
exports.
|
|
2419
|
-
const
|
|
2412
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2413
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2420
2414
|
const parsedOutput = {
|
|
2421
2415
|
...output,
|
|
2422
2416
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2425,7 +2419,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2425
2419
|
switch (errorCode) {
|
|
2426
2420
|
case "BadRequestException":
|
|
2427
2421
|
case "com.amazonaws.mediatailor#BadRequestException":
|
|
2428
|
-
throw await
|
|
2422
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2429
2423
|
default:
|
|
2430
2424
|
const parsedBody = parsedOutput.body;
|
|
2431
2425
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2436,9 +2430,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2436
2430
|
});
|
|
2437
2431
|
}
|
|
2438
2432
|
};
|
|
2439
|
-
const
|
|
2433
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
2440
2434
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2441
|
-
return
|
|
2435
|
+
return de_UntagResourceCommandError(output, context);
|
|
2442
2436
|
}
|
|
2443
2437
|
const contents = map({
|
|
2444
2438
|
$metadata: deserializeMetadata(output),
|
|
@@ -2446,8 +2440,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
|
|
|
2446
2440
|
await collectBody(output.body, context);
|
|
2447
2441
|
return contents;
|
|
2448
2442
|
};
|
|
2449
|
-
exports.
|
|
2450
|
-
const
|
|
2443
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2444
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2451
2445
|
const parsedOutput = {
|
|
2452
2446
|
...output,
|
|
2453
2447
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2456,7 +2450,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2456
2450
|
switch (errorCode) {
|
|
2457
2451
|
case "BadRequestException":
|
|
2458
2452
|
case "com.amazonaws.mediatailor#BadRequestException":
|
|
2459
|
-
throw await
|
|
2453
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2460
2454
|
default:
|
|
2461
2455
|
const parsedBody = parsedOutput.body;
|
|
2462
2456
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2467,9 +2461,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2467
2461
|
});
|
|
2468
2462
|
}
|
|
2469
2463
|
};
|
|
2470
|
-
const
|
|
2464
|
+
const de_UpdateChannelCommand = async (output, context) => {
|
|
2471
2465
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2472
|
-
return
|
|
2466
|
+
return de_UpdateChannelCommandError(output, context);
|
|
2473
2467
|
}
|
|
2474
2468
|
const contents = map({
|
|
2475
2469
|
$metadata: deserializeMetadata(output),
|
|
@@ -2488,27 +2482,27 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
|
|
|
2488
2482
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2489
2483
|
}
|
|
2490
2484
|
if (data.FillerSlate != null) {
|
|
2491
|
-
contents.FillerSlate =
|
|
2485
|
+
contents.FillerSlate = de_SlateSource(data.FillerSlate, context);
|
|
2492
2486
|
}
|
|
2493
2487
|
if (data.LastModifiedTime != null) {
|
|
2494
2488
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
2495
2489
|
}
|
|
2496
2490
|
if (data.Outputs != null) {
|
|
2497
|
-
contents.Outputs =
|
|
2491
|
+
contents.Outputs = de_ResponseOutputs(data.Outputs, context);
|
|
2498
2492
|
}
|
|
2499
2493
|
if (data.PlaybackMode != null) {
|
|
2500
2494
|
contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
|
|
2501
2495
|
}
|
|
2502
2496
|
if (data.tags != null) {
|
|
2503
|
-
contents.Tags =
|
|
2497
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
2504
2498
|
}
|
|
2505
2499
|
if (data.Tier != null) {
|
|
2506
2500
|
contents.Tier = (0, smithy_client_1.expectString)(data.Tier);
|
|
2507
2501
|
}
|
|
2508
2502
|
return contents;
|
|
2509
2503
|
};
|
|
2510
|
-
exports.
|
|
2511
|
-
const
|
|
2504
|
+
exports.de_UpdateChannelCommand = de_UpdateChannelCommand;
|
|
2505
|
+
const de_UpdateChannelCommandError = async (output, context) => {
|
|
2512
2506
|
const parsedOutput = {
|
|
2513
2507
|
...output,
|
|
2514
2508
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2522,9 +2516,9 @@ const deserializeAws_restJson1UpdateChannelCommandError = async (output, context
|
|
|
2522
2516
|
errorCode,
|
|
2523
2517
|
});
|
|
2524
2518
|
};
|
|
2525
|
-
const
|
|
2519
|
+
const de_UpdateLiveSourceCommand = async (output, context) => {
|
|
2526
2520
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2527
|
-
return
|
|
2521
|
+
return de_UpdateLiveSourceCommandError(output, context);
|
|
2528
2522
|
}
|
|
2529
2523
|
const contents = map({
|
|
2530
2524
|
$metadata: deserializeMetadata(output),
|
|
@@ -2537,7 +2531,7 @@ const deserializeAws_restJson1UpdateLiveSourceCommand = async (output, context)
|
|
|
2537
2531
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2538
2532
|
}
|
|
2539
2533
|
if (data.HttpPackageConfigurations != null) {
|
|
2540
|
-
contents.HttpPackageConfigurations =
|
|
2534
|
+
contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
2541
2535
|
}
|
|
2542
2536
|
if (data.LastModifiedTime != null) {
|
|
2543
2537
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
@@ -2549,12 +2543,12 @@ const deserializeAws_restJson1UpdateLiveSourceCommand = async (output, context)
|
|
|
2549
2543
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
2550
2544
|
}
|
|
2551
2545
|
if (data.tags != null) {
|
|
2552
|
-
contents.Tags =
|
|
2546
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
2553
2547
|
}
|
|
2554
2548
|
return contents;
|
|
2555
2549
|
};
|
|
2556
|
-
exports.
|
|
2557
|
-
const
|
|
2550
|
+
exports.de_UpdateLiveSourceCommand = de_UpdateLiveSourceCommand;
|
|
2551
|
+
const de_UpdateLiveSourceCommandError = async (output, context) => {
|
|
2558
2552
|
const parsedOutput = {
|
|
2559
2553
|
...output,
|
|
2560
2554
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2568,16 +2562,16 @@ const deserializeAws_restJson1UpdateLiveSourceCommandError = async (output, cont
|
|
|
2568
2562
|
errorCode,
|
|
2569
2563
|
});
|
|
2570
2564
|
};
|
|
2571
|
-
const
|
|
2565
|
+
const de_UpdateProgramCommand = async (output, context) => {
|
|
2572
2566
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2573
|
-
return
|
|
2567
|
+
return de_UpdateProgramCommandError(output, context);
|
|
2574
2568
|
}
|
|
2575
2569
|
const contents = map({
|
|
2576
2570
|
$metadata: deserializeMetadata(output),
|
|
2577
2571
|
});
|
|
2578
2572
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2579
2573
|
if (data.AdBreaks != null) {
|
|
2580
|
-
contents.AdBreaks =
|
|
2574
|
+
contents.AdBreaks = de___listOfAdBreak(data.AdBreaks, context);
|
|
2581
2575
|
}
|
|
2582
2576
|
if (data.Arn != null) {
|
|
2583
2577
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -2586,7 +2580,7 @@ const deserializeAws_restJson1UpdateProgramCommand = async (output, context) =>
|
|
|
2586
2580
|
contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
|
|
2587
2581
|
}
|
|
2588
2582
|
if (data.ClipRange != null) {
|
|
2589
|
-
contents.ClipRange =
|
|
2583
|
+
contents.ClipRange = de_ClipRange(data.ClipRange, context);
|
|
2590
2584
|
}
|
|
2591
2585
|
if (data.CreationTime != null) {
|
|
2592
2586
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
@@ -2611,8 +2605,8 @@ const deserializeAws_restJson1UpdateProgramCommand = async (output, context) =>
|
|
|
2611
2605
|
}
|
|
2612
2606
|
return contents;
|
|
2613
2607
|
};
|
|
2614
|
-
exports.
|
|
2615
|
-
const
|
|
2608
|
+
exports.de_UpdateProgramCommand = de_UpdateProgramCommand;
|
|
2609
|
+
const de_UpdateProgramCommandError = async (output, context) => {
|
|
2616
2610
|
const parsedOutput = {
|
|
2617
2611
|
...output,
|
|
2618
2612
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2626,16 +2620,16 @@ const deserializeAws_restJson1UpdateProgramCommandError = async (output, context
|
|
|
2626
2620
|
errorCode,
|
|
2627
2621
|
});
|
|
2628
2622
|
};
|
|
2629
|
-
const
|
|
2623
|
+
const de_UpdateSourceLocationCommand = async (output, context) => {
|
|
2630
2624
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2631
|
-
return
|
|
2625
|
+
return de_UpdateSourceLocationCommandError(output, context);
|
|
2632
2626
|
}
|
|
2633
2627
|
const contents = map({
|
|
2634
2628
|
$metadata: deserializeMetadata(output),
|
|
2635
2629
|
});
|
|
2636
2630
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2637
2631
|
if (data.AccessConfiguration != null) {
|
|
2638
|
-
contents.AccessConfiguration =
|
|
2632
|
+
contents.AccessConfiguration = de_AccessConfiguration(data.AccessConfiguration, context);
|
|
2639
2633
|
}
|
|
2640
2634
|
if (data.Arn != null) {
|
|
2641
2635
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -2644,27 +2638,27 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
|
|
|
2644
2638
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2645
2639
|
}
|
|
2646
2640
|
if (data.DefaultSegmentDeliveryConfiguration != null) {
|
|
2647
|
-
contents.DefaultSegmentDeliveryConfiguration =
|
|
2641
|
+
contents.DefaultSegmentDeliveryConfiguration = de_DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
|
|
2648
2642
|
}
|
|
2649
2643
|
if (data.HttpConfiguration != null) {
|
|
2650
|
-
contents.HttpConfiguration =
|
|
2644
|
+
contents.HttpConfiguration = de_HttpConfiguration(data.HttpConfiguration, context);
|
|
2651
2645
|
}
|
|
2652
2646
|
if (data.LastModifiedTime != null) {
|
|
2653
2647
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
2654
2648
|
}
|
|
2655
2649
|
if (data.SegmentDeliveryConfigurations != null) {
|
|
2656
|
-
contents.SegmentDeliveryConfigurations =
|
|
2650
|
+
contents.SegmentDeliveryConfigurations = de___listOfSegmentDeliveryConfiguration(data.SegmentDeliveryConfigurations, context);
|
|
2657
2651
|
}
|
|
2658
2652
|
if (data.SourceLocationName != null) {
|
|
2659
2653
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
2660
2654
|
}
|
|
2661
2655
|
if (data.tags != null) {
|
|
2662
|
-
contents.Tags =
|
|
2656
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
2663
2657
|
}
|
|
2664
2658
|
return contents;
|
|
2665
2659
|
};
|
|
2666
|
-
exports.
|
|
2667
|
-
const
|
|
2660
|
+
exports.de_UpdateSourceLocationCommand = de_UpdateSourceLocationCommand;
|
|
2661
|
+
const de_UpdateSourceLocationCommandError = async (output, context) => {
|
|
2668
2662
|
const parsedOutput = {
|
|
2669
2663
|
...output,
|
|
2670
2664
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2678,9 +2672,9 @@ const deserializeAws_restJson1UpdateSourceLocationCommandError = async (output,
|
|
|
2678
2672
|
errorCode,
|
|
2679
2673
|
});
|
|
2680
2674
|
};
|
|
2681
|
-
const
|
|
2675
|
+
const de_UpdateVodSourceCommand = async (output, context) => {
|
|
2682
2676
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2683
|
-
return
|
|
2677
|
+
return de_UpdateVodSourceCommandError(output, context);
|
|
2684
2678
|
}
|
|
2685
2679
|
const contents = map({
|
|
2686
2680
|
$metadata: deserializeMetadata(output),
|
|
@@ -2693,7 +2687,7 @@ const deserializeAws_restJson1UpdateVodSourceCommand = async (output, context) =
|
|
|
2693
2687
|
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
|
|
2694
2688
|
}
|
|
2695
2689
|
if (data.HttpPackageConfigurations != null) {
|
|
2696
|
-
contents.HttpPackageConfigurations =
|
|
2690
|
+
contents.HttpPackageConfigurations = de_HttpPackageConfigurations(data.HttpPackageConfigurations, context);
|
|
2697
2691
|
}
|
|
2698
2692
|
if (data.LastModifiedTime != null) {
|
|
2699
2693
|
contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
|
|
@@ -2702,15 +2696,15 @@ const deserializeAws_restJson1UpdateVodSourceCommand = async (output, context) =
|
|
|
2702
2696
|
contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
|
|
2703
2697
|
}
|
|
2704
2698
|
if (data.tags != null) {
|
|
2705
|
-
contents.Tags =
|
|
2699
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
2706
2700
|
}
|
|
2707
2701
|
if (data.VodSourceName != null) {
|
|
2708
2702
|
contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
|
|
2709
2703
|
}
|
|
2710
2704
|
return contents;
|
|
2711
2705
|
};
|
|
2712
|
-
exports.
|
|
2713
|
-
const
|
|
2706
|
+
exports.de_UpdateVodSourceCommand = de_UpdateVodSourceCommand;
|
|
2707
|
+
const de_UpdateVodSourceCommandError = async (output, context) => {
|
|
2714
2708
|
const parsedOutput = {
|
|
2715
2709
|
...output,
|
|
2716
2710
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2725,7 +2719,7 @@ const deserializeAws_restJson1UpdateVodSourceCommandError = async (output, conte
|
|
|
2725
2719
|
});
|
|
2726
2720
|
};
|
|
2727
2721
|
const map = smithy_client_1.map;
|
|
2728
|
-
const
|
|
2722
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
2729
2723
|
const contents = map({});
|
|
2730
2724
|
const data = parsedOutput.body;
|
|
2731
2725
|
if (data.Message != null) {
|
|
@@ -2737,28 +2731,28 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
2737
2731
|
});
|
|
2738
2732
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2739
2733
|
};
|
|
2740
|
-
const
|
|
2734
|
+
const se___listOfAdBreak = (input, context) => {
|
|
2741
2735
|
return input
|
|
2742
2736
|
.filter((e) => e != null)
|
|
2743
2737
|
.map((entry) => {
|
|
2744
|
-
return
|
|
2738
|
+
return se_AdBreak(entry, context);
|
|
2745
2739
|
});
|
|
2746
2740
|
};
|
|
2747
|
-
const
|
|
2741
|
+
const se___listOfAvailMatchingCriteria = (input, context) => {
|
|
2748
2742
|
return input
|
|
2749
2743
|
.filter((e) => e != null)
|
|
2750
2744
|
.map((entry) => {
|
|
2751
|
-
return
|
|
2745
|
+
return se_AvailMatchingCriteria(entry, context);
|
|
2752
2746
|
});
|
|
2753
2747
|
};
|
|
2754
|
-
const
|
|
2748
|
+
const se___listOfSegmentDeliveryConfiguration = (input, context) => {
|
|
2755
2749
|
return input
|
|
2756
2750
|
.filter((e) => e != null)
|
|
2757
2751
|
.map((entry) => {
|
|
2758
|
-
return
|
|
2752
|
+
return se_SegmentDeliveryConfiguration(entry, context);
|
|
2759
2753
|
});
|
|
2760
2754
|
};
|
|
2761
|
-
const
|
|
2755
|
+
const se___mapOf__string = (input, context) => {
|
|
2762
2756
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2763
2757
|
if (value === null) {
|
|
2764
2758
|
return acc;
|
|
@@ -2767,77 +2761,77 @@ const serializeAws_restJson1__mapOf__string = (input, context) => {
|
|
|
2767
2761
|
return acc;
|
|
2768
2762
|
}, {});
|
|
2769
2763
|
};
|
|
2770
|
-
const
|
|
2764
|
+
const se_AccessConfiguration = (input, context) => {
|
|
2771
2765
|
return {
|
|
2772
2766
|
...(input.AccessType != null && { AccessType: input.AccessType }),
|
|
2773
2767
|
...(input.SecretsManagerAccessTokenConfiguration != null && {
|
|
2774
|
-
SecretsManagerAccessTokenConfiguration:
|
|
2768
|
+
SecretsManagerAccessTokenConfiguration: se_SecretsManagerAccessTokenConfiguration(input.SecretsManagerAccessTokenConfiguration, context),
|
|
2775
2769
|
}),
|
|
2776
2770
|
};
|
|
2777
2771
|
};
|
|
2778
|
-
const
|
|
2772
|
+
const se_AdBreak = (input, context) => {
|
|
2779
2773
|
return {
|
|
2780
2774
|
...(input.MessageType != null && { MessageType: input.MessageType }),
|
|
2781
2775
|
...(input.OffsetMillis != null && { OffsetMillis: input.OffsetMillis }),
|
|
2782
|
-
...(input.Slate != null && { Slate:
|
|
2776
|
+
...(input.Slate != null && { Slate: se_SlateSource(input.Slate, context) }),
|
|
2783
2777
|
...(input.SpliceInsertMessage != null && {
|
|
2784
|
-
SpliceInsertMessage:
|
|
2778
|
+
SpliceInsertMessage: se_SpliceInsertMessage(input.SpliceInsertMessage, context),
|
|
2785
2779
|
}),
|
|
2786
2780
|
...(input.TimeSignalMessage != null && {
|
|
2787
|
-
TimeSignalMessage:
|
|
2781
|
+
TimeSignalMessage: se_TimeSignalMessage(input.TimeSignalMessage, context),
|
|
2788
2782
|
}),
|
|
2789
2783
|
};
|
|
2790
2784
|
};
|
|
2791
|
-
const
|
|
2785
|
+
const se_AdMarkerPassthrough = (input, context) => {
|
|
2792
2786
|
return {
|
|
2793
2787
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
2794
2788
|
};
|
|
2795
2789
|
};
|
|
2796
|
-
const
|
|
2790
|
+
const se_AvailMatchingCriteria = (input, context) => {
|
|
2797
2791
|
return {
|
|
2798
2792
|
...(input.DynamicVariable != null && { DynamicVariable: input.DynamicVariable }),
|
|
2799
2793
|
...(input.Operator != null && { Operator: input.Operator }),
|
|
2800
2794
|
};
|
|
2801
2795
|
};
|
|
2802
|
-
const
|
|
2796
|
+
const se_AvailSuppression = (input, context) => {
|
|
2803
2797
|
return {
|
|
2804
2798
|
...(input.Mode != null && { Mode: input.Mode }),
|
|
2805
2799
|
...(input.Value != null && { Value: input.Value }),
|
|
2806
2800
|
};
|
|
2807
2801
|
};
|
|
2808
|
-
const
|
|
2802
|
+
const se_Bumper = (input, context) => {
|
|
2809
2803
|
return {
|
|
2810
2804
|
...(input.EndUrl != null && { EndUrl: input.EndUrl }),
|
|
2811
2805
|
...(input.StartUrl != null && { StartUrl: input.StartUrl }),
|
|
2812
2806
|
};
|
|
2813
2807
|
};
|
|
2814
|
-
const
|
|
2808
|
+
const se_CdnConfiguration = (input, context) => {
|
|
2815
2809
|
return {
|
|
2816
2810
|
...(input.AdSegmentUrlPrefix != null && { AdSegmentUrlPrefix: input.AdSegmentUrlPrefix }),
|
|
2817
2811
|
...(input.ContentSegmentUrlPrefix != null && { ContentSegmentUrlPrefix: input.ContentSegmentUrlPrefix }),
|
|
2818
2812
|
};
|
|
2819
2813
|
};
|
|
2820
|
-
const
|
|
2814
|
+
const se_ClipRange = (input, context) => {
|
|
2821
2815
|
return {
|
|
2822
2816
|
...(input.EndOffsetMillis != null && { EndOffsetMillis: input.EndOffsetMillis }),
|
|
2823
2817
|
};
|
|
2824
2818
|
};
|
|
2825
|
-
const
|
|
2819
|
+
const se_ConfigurationAliasesRequest = (input, context) => {
|
|
2826
2820
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2827
2821
|
if (value === null) {
|
|
2828
2822
|
return acc;
|
|
2829
2823
|
}
|
|
2830
|
-
acc[key] =
|
|
2824
|
+
acc[key] = se___mapOf__string(value, context);
|
|
2831
2825
|
return acc;
|
|
2832
2826
|
}, {});
|
|
2833
2827
|
};
|
|
2834
|
-
const
|
|
2828
|
+
const se_DashConfigurationForPut = (input, context) => {
|
|
2835
2829
|
return {
|
|
2836
2830
|
...(input.MpdLocation != null && { MpdLocation: input.MpdLocation }),
|
|
2837
2831
|
...(input.OriginManifestType != null && { OriginManifestType: input.OriginManifestType }),
|
|
2838
2832
|
};
|
|
2839
2833
|
};
|
|
2840
|
-
const
|
|
2834
|
+
const se_DashPlaylistSettings = (input, context) => {
|
|
2841
2835
|
return {
|
|
2842
2836
|
...(input.ManifestWindowSeconds != null && { ManifestWindowSeconds: input.ManifestWindowSeconds }),
|
|
2843
2837
|
...(input.MinBufferTimeSeconds != null && { MinBufferTimeSeconds: input.MinBufferTimeSeconds }),
|
|
@@ -2847,106 +2841,104 @@ const serializeAws_restJson1DashPlaylistSettings = (input, context) => {
|
|
|
2847
2841
|
}),
|
|
2848
2842
|
};
|
|
2849
2843
|
};
|
|
2850
|
-
const
|
|
2844
|
+
const se_DefaultSegmentDeliveryConfiguration = (input, context) => {
|
|
2851
2845
|
return {
|
|
2852
2846
|
...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
|
|
2853
2847
|
};
|
|
2854
2848
|
};
|
|
2855
|
-
const
|
|
2849
|
+
const se_HlsPlaylistSettings = (input, context) => {
|
|
2856
2850
|
return {
|
|
2857
2851
|
...(input.ManifestWindowSeconds != null && { ManifestWindowSeconds: input.ManifestWindowSeconds }),
|
|
2858
2852
|
};
|
|
2859
2853
|
};
|
|
2860
|
-
const
|
|
2854
|
+
const se_HttpConfiguration = (input, context) => {
|
|
2861
2855
|
return {
|
|
2862
2856
|
...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
|
|
2863
2857
|
};
|
|
2864
2858
|
};
|
|
2865
|
-
const
|
|
2859
|
+
const se_HttpPackageConfiguration = (input, context) => {
|
|
2866
2860
|
return {
|
|
2867
2861
|
...(input.Path != null && { Path: input.Path }),
|
|
2868
2862
|
...(input.SourceGroup != null && { SourceGroup: input.SourceGroup }),
|
|
2869
2863
|
...(input.Type != null && { Type: input.Type }),
|
|
2870
2864
|
};
|
|
2871
2865
|
};
|
|
2872
|
-
const
|
|
2866
|
+
const se_HttpPackageConfigurations = (input, context) => {
|
|
2873
2867
|
return input
|
|
2874
2868
|
.filter((e) => e != null)
|
|
2875
2869
|
.map((entry) => {
|
|
2876
|
-
return
|
|
2870
|
+
return se_HttpPackageConfiguration(entry, context);
|
|
2877
2871
|
});
|
|
2878
2872
|
};
|
|
2879
|
-
const
|
|
2873
|
+
const se_LivePreRollConfiguration = (input, context) => {
|
|
2880
2874
|
return {
|
|
2881
2875
|
...(input.AdDecisionServerUrl != null && { AdDecisionServerUrl: input.AdDecisionServerUrl }),
|
|
2882
2876
|
...(input.MaxDurationSeconds != null && { MaxDurationSeconds: input.MaxDurationSeconds }),
|
|
2883
2877
|
};
|
|
2884
2878
|
};
|
|
2885
|
-
const
|
|
2879
|
+
const se_LogTypes = (input, context) => {
|
|
2886
2880
|
return input
|
|
2887
2881
|
.filter((e) => e != null)
|
|
2888
2882
|
.map((entry) => {
|
|
2889
2883
|
return entry;
|
|
2890
2884
|
});
|
|
2891
2885
|
};
|
|
2892
|
-
const
|
|
2886
|
+
const se_ManifestProcessingRules = (input, context) => {
|
|
2893
2887
|
return {
|
|
2894
2888
|
...(input.AdMarkerPassthrough != null && {
|
|
2895
|
-
AdMarkerPassthrough:
|
|
2889
|
+
AdMarkerPassthrough: se_AdMarkerPassthrough(input.AdMarkerPassthrough, context),
|
|
2896
2890
|
}),
|
|
2897
2891
|
};
|
|
2898
2892
|
};
|
|
2899
|
-
const
|
|
2893
|
+
const se_PrefetchConsumption = (input, context) => {
|
|
2900
2894
|
return {
|
|
2901
2895
|
...(input.AvailMatchingCriteria != null && {
|
|
2902
|
-
AvailMatchingCriteria:
|
|
2896
|
+
AvailMatchingCriteria: se___listOfAvailMatchingCriteria(input.AvailMatchingCriteria, context),
|
|
2903
2897
|
}),
|
|
2904
2898
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
2905
2899
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
2906
2900
|
};
|
|
2907
2901
|
};
|
|
2908
|
-
const
|
|
2902
|
+
const se_PrefetchRetrieval = (input, context) => {
|
|
2909
2903
|
return {
|
|
2910
|
-
...(input.DynamicVariables != null && {
|
|
2911
|
-
DynamicVariables: serializeAws_restJson1__mapOf__string(input.DynamicVariables, context),
|
|
2912
|
-
}),
|
|
2904
|
+
...(input.DynamicVariables != null && { DynamicVariables: se___mapOf__string(input.DynamicVariables, context) }),
|
|
2913
2905
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
2914
2906
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
2915
2907
|
};
|
|
2916
2908
|
};
|
|
2917
|
-
const
|
|
2909
|
+
const se_RequestOutputItem = (input, context) => {
|
|
2918
2910
|
return {
|
|
2919
2911
|
...(input.DashPlaylistSettings != null && {
|
|
2920
|
-
DashPlaylistSettings:
|
|
2912
|
+
DashPlaylistSettings: se_DashPlaylistSettings(input.DashPlaylistSettings, context),
|
|
2921
2913
|
}),
|
|
2922
2914
|
...(input.HlsPlaylistSettings != null && {
|
|
2923
|
-
HlsPlaylistSettings:
|
|
2915
|
+
HlsPlaylistSettings: se_HlsPlaylistSettings(input.HlsPlaylistSettings, context),
|
|
2924
2916
|
}),
|
|
2925
2917
|
...(input.ManifestName != null && { ManifestName: input.ManifestName }),
|
|
2926
2918
|
...(input.SourceGroup != null && { SourceGroup: input.SourceGroup }),
|
|
2927
2919
|
};
|
|
2928
2920
|
};
|
|
2929
|
-
const
|
|
2921
|
+
const se_RequestOutputs = (input, context) => {
|
|
2930
2922
|
return input
|
|
2931
2923
|
.filter((e) => e != null)
|
|
2932
2924
|
.map((entry) => {
|
|
2933
|
-
return
|
|
2925
|
+
return se_RequestOutputItem(entry, context);
|
|
2934
2926
|
});
|
|
2935
2927
|
};
|
|
2936
|
-
const
|
|
2928
|
+
const se_ScheduleConfiguration = (input, context) => {
|
|
2937
2929
|
return {
|
|
2938
|
-
...(input.ClipRange != null && { ClipRange:
|
|
2939
|
-
...(input.Transition != null && { Transition:
|
|
2930
|
+
...(input.ClipRange != null && { ClipRange: se_ClipRange(input.ClipRange, context) }),
|
|
2931
|
+
...(input.Transition != null && { Transition: se_Transition(input.Transition, context) }),
|
|
2940
2932
|
};
|
|
2941
2933
|
};
|
|
2942
|
-
const
|
|
2934
|
+
const se_SecretsManagerAccessTokenConfiguration = (input, context) => {
|
|
2943
2935
|
return {
|
|
2944
2936
|
...(input.HeaderName != null && { HeaderName: input.HeaderName }),
|
|
2945
2937
|
...(input.SecretArn != null && { SecretArn: input.SecretArn }),
|
|
2946
2938
|
...(input.SecretStringKey != null && { SecretStringKey: input.SecretStringKey }),
|
|
2947
2939
|
};
|
|
2948
2940
|
};
|
|
2949
|
-
const
|
|
2941
|
+
const se_SegmentationDescriptor = (input, context) => {
|
|
2950
2942
|
return {
|
|
2951
2943
|
...(input.SegmentNum != null && { SegmentNum: input.SegmentNum }),
|
|
2952
2944
|
...(input.SegmentationEventId != null && { SegmentationEventId: input.SegmentationEventId }),
|
|
@@ -2958,26 +2950,26 @@ const serializeAws_restJson1SegmentationDescriptor = (input, context) => {
|
|
|
2958
2950
|
...(input.SubSegmentsExpected != null && { SubSegmentsExpected: input.SubSegmentsExpected }),
|
|
2959
2951
|
};
|
|
2960
2952
|
};
|
|
2961
|
-
const
|
|
2953
|
+
const se_SegmentationDescriptorList = (input, context) => {
|
|
2962
2954
|
return input
|
|
2963
2955
|
.filter((e) => e != null)
|
|
2964
2956
|
.map((entry) => {
|
|
2965
|
-
return
|
|
2957
|
+
return se_SegmentationDescriptor(entry, context);
|
|
2966
2958
|
});
|
|
2967
2959
|
};
|
|
2968
|
-
const
|
|
2960
|
+
const se_SegmentDeliveryConfiguration = (input, context) => {
|
|
2969
2961
|
return {
|
|
2970
2962
|
...(input.BaseUrl != null && { BaseUrl: input.BaseUrl }),
|
|
2971
2963
|
...(input.Name != null && { Name: input.Name }),
|
|
2972
2964
|
};
|
|
2973
2965
|
};
|
|
2974
|
-
const
|
|
2966
|
+
const se_SlateSource = (input, context) => {
|
|
2975
2967
|
return {
|
|
2976
2968
|
...(input.SourceLocationName != null && { SourceLocationName: input.SourceLocationName }),
|
|
2977
2969
|
...(input.VodSourceName != null && { VodSourceName: input.VodSourceName }),
|
|
2978
2970
|
};
|
|
2979
2971
|
};
|
|
2980
|
-
const
|
|
2972
|
+
const se_SpliceInsertMessage = (input, context) => {
|
|
2981
2973
|
return {
|
|
2982
2974
|
...(input.AvailNum != null && { AvailNum: input.AvailNum }),
|
|
2983
2975
|
...(input.AvailsExpected != null && { AvailsExpected: input.AvailsExpected }),
|
|
@@ -2985,14 +2977,14 @@ const serializeAws_restJson1SpliceInsertMessage = (input, context) => {
|
|
|
2985
2977
|
...(input.UniqueProgramId != null && { UniqueProgramId: input.UniqueProgramId }),
|
|
2986
2978
|
};
|
|
2987
2979
|
};
|
|
2988
|
-
const
|
|
2980
|
+
const se_TimeSignalMessage = (input, context) => {
|
|
2989
2981
|
return {
|
|
2990
2982
|
...(input.SegmentationDescriptors != null && {
|
|
2991
|
-
SegmentationDescriptors:
|
|
2983
|
+
SegmentationDescriptors: se_SegmentationDescriptorList(input.SegmentationDescriptors, context),
|
|
2992
2984
|
}),
|
|
2993
2985
|
};
|
|
2994
2986
|
};
|
|
2995
|
-
const
|
|
2987
|
+
const se_Transition = (input, context) => {
|
|
2996
2988
|
return {
|
|
2997
2989
|
...(input.DurationMillis != null && { DurationMillis: input.DurationMillis }),
|
|
2998
2990
|
...(input.RelativePosition != null && { RelativePosition: input.RelativePosition }),
|
|
@@ -3001,21 +2993,19 @@ const serializeAws_restJson1Transition = (input, context) => {
|
|
|
3001
2993
|
...(input.Type != null && { Type: input.Type }),
|
|
3002
2994
|
};
|
|
3003
2995
|
};
|
|
3004
|
-
const
|
|
2996
|
+
const se_UpdateProgramScheduleConfiguration = (input, context) => {
|
|
3005
2997
|
return {
|
|
3006
|
-
...(input.ClipRange != null && { ClipRange:
|
|
3007
|
-
...(input.Transition != null && {
|
|
3008
|
-
Transition: serializeAws_restJson1UpdateProgramTransition(input.Transition, context),
|
|
3009
|
-
}),
|
|
2998
|
+
...(input.ClipRange != null && { ClipRange: se_ClipRange(input.ClipRange, context) }),
|
|
2999
|
+
...(input.Transition != null && { Transition: se_UpdateProgramTransition(input.Transition, context) }),
|
|
3010
3000
|
};
|
|
3011
3001
|
};
|
|
3012
|
-
const
|
|
3002
|
+
const se_UpdateProgramTransition = (input, context) => {
|
|
3013
3003
|
return {
|
|
3014
3004
|
...(input.DurationMillis != null && { DurationMillis: input.DurationMillis }),
|
|
3015
3005
|
...(input.ScheduledStartTimeMillis != null && { ScheduledStartTimeMillis: input.ScheduledStartTimeMillis }),
|
|
3016
3006
|
};
|
|
3017
3007
|
};
|
|
3018
|
-
const
|
|
3008
|
+
const de___listOf__string = (output, context) => {
|
|
3019
3009
|
const retVal = (output || [])
|
|
3020
3010
|
.filter((e) => e != null)
|
|
3021
3011
|
.map((entry) => {
|
|
@@ -3026,139 +3016,139 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
3026
3016
|
});
|
|
3027
3017
|
return retVal;
|
|
3028
3018
|
};
|
|
3029
|
-
const
|
|
3019
|
+
const de___listOfAdBreak = (output, context) => {
|
|
3030
3020
|
const retVal = (output || [])
|
|
3031
3021
|
.filter((e) => e != null)
|
|
3032
3022
|
.map((entry) => {
|
|
3033
3023
|
if (entry === null) {
|
|
3034
3024
|
return null;
|
|
3035
3025
|
}
|
|
3036
|
-
return
|
|
3026
|
+
return de_AdBreak(entry, context);
|
|
3037
3027
|
});
|
|
3038
3028
|
return retVal;
|
|
3039
3029
|
};
|
|
3040
|
-
const
|
|
3030
|
+
const de___listOfAlert = (output, context) => {
|
|
3041
3031
|
const retVal = (output || [])
|
|
3042
3032
|
.filter((e) => e != null)
|
|
3043
3033
|
.map((entry) => {
|
|
3044
3034
|
if (entry === null) {
|
|
3045
3035
|
return null;
|
|
3046
3036
|
}
|
|
3047
|
-
return
|
|
3037
|
+
return de_Alert(entry, context);
|
|
3048
3038
|
});
|
|
3049
3039
|
return retVal;
|
|
3050
3040
|
};
|
|
3051
|
-
const
|
|
3041
|
+
const de___listOfAvailMatchingCriteria = (output, context) => {
|
|
3052
3042
|
const retVal = (output || [])
|
|
3053
3043
|
.filter((e) => e != null)
|
|
3054
3044
|
.map((entry) => {
|
|
3055
3045
|
if (entry === null) {
|
|
3056
3046
|
return null;
|
|
3057
3047
|
}
|
|
3058
|
-
return
|
|
3048
|
+
return de_AvailMatchingCriteria(entry, context);
|
|
3059
3049
|
});
|
|
3060
3050
|
return retVal;
|
|
3061
3051
|
};
|
|
3062
|
-
const
|
|
3052
|
+
const de___listOfChannel = (output, context) => {
|
|
3063
3053
|
const retVal = (output || [])
|
|
3064
3054
|
.filter((e) => e != null)
|
|
3065
3055
|
.map((entry) => {
|
|
3066
3056
|
if (entry === null) {
|
|
3067
3057
|
return null;
|
|
3068
3058
|
}
|
|
3069
|
-
return
|
|
3059
|
+
return de_Channel(entry, context);
|
|
3070
3060
|
});
|
|
3071
3061
|
return retVal;
|
|
3072
3062
|
};
|
|
3073
|
-
const
|
|
3063
|
+
const de___listOfLiveSource = (output, context) => {
|
|
3074
3064
|
const retVal = (output || [])
|
|
3075
3065
|
.filter((e) => e != null)
|
|
3076
3066
|
.map((entry) => {
|
|
3077
3067
|
if (entry === null) {
|
|
3078
3068
|
return null;
|
|
3079
3069
|
}
|
|
3080
|
-
return
|
|
3070
|
+
return de_LiveSource(entry, context);
|
|
3081
3071
|
});
|
|
3082
3072
|
return retVal;
|
|
3083
3073
|
};
|
|
3084
|
-
const
|
|
3074
|
+
const de___listOfPlaybackConfiguration = (output, context) => {
|
|
3085
3075
|
const retVal = (output || [])
|
|
3086
3076
|
.filter((e) => e != null)
|
|
3087
3077
|
.map((entry) => {
|
|
3088
3078
|
if (entry === null) {
|
|
3089
3079
|
return null;
|
|
3090
3080
|
}
|
|
3091
|
-
return
|
|
3081
|
+
return de_PlaybackConfiguration(entry, context);
|
|
3092
3082
|
});
|
|
3093
3083
|
return retVal;
|
|
3094
3084
|
};
|
|
3095
|
-
const
|
|
3085
|
+
const de___listOfPrefetchSchedule = (output, context) => {
|
|
3096
3086
|
const retVal = (output || [])
|
|
3097
3087
|
.filter((e) => e != null)
|
|
3098
3088
|
.map((entry) => {
|
|
3099
3089
|
if (entry === null) {
|
|
3100
3090
|
return null;
|
|
3101
3091
|
}
|
|
3102
|
-
return
|
|
3092
|
+
return de_PrefetchSchedule(entry, context);
|
|
3103
3093
|
});
|
|
3104
3094
|
return retVal;
|
|
3105
3095
|
};
|
|
3106
|
-
const
|
|
3096
|
+
const de___listOfScheduleAdBreak = (output, context) => {
|
|
3107
3097
|
const retVal = (output || [])
|
|
3108
3098
|
.filter((e) => e != null)
|
|
3109
3099
|
.map((entry) => {
|
|
3110
3100
|
if (entry === null) {
|
|
3111
3101
|
return null;
|
|
3112
3102
|
}
|
|
3113
|
-
return
|
|
3103
|
+
return de_ScheduleAdBreak(entry, context);
|
|
3114
3104
|
});
|
|
3115
3105
|
return retVal;
|
|
3116
3106
|
};
|
|
3117
|
-
const
|
|
3107
|
+
const de___listOfScheduleEntry = (output, context) => {
|
|
3118
3108
|
const retVal = (output || [])
|
|
3119
3109
|
.filter((e) => e != null)
|
|
3120
3110
|
.map((entry) => {
|
|
3121
3111
|
if (entry === null) {
|
|
3122
3112
|
return null;
|
|
3123
3113
|
}
|
|
3124
|
-
return
|
|
3114
|
+
return de_ScheduleEntry(entry, context);
|
|
3125
3115
|
});
|
|
3126
3116
|
return retVal;
|
|
3127
3117
|
};
|
|
3128
|
-
const
|
|
3118
|
+
const de___listOfSegmentDeliveryConfiguration = (output, context) => {
|
|
3129
3119
|
const retVal = (output || [])
|
|
3130
3120
|
.filter((e) => e != null)
|
|
3131
3121
|
.map((entry) => {
|
|
3132
3122
|
if (entry === null) {
|
|
3133
3123
|
return null;
|
|
3134
3124
|
}
|
|
3135
|
-
return
|
|
3125
|
+
return de_SegmentDeliveryConfiguration(entry, context);
|
|
3136
3126
|
});
|
|
3137
3127
|
return retVal;
|
|
3138
3128
|
};
|
|
3139
|
-
const
|
|
3129
|
+
const de___listOfSourceLocation = (output, context) => {
|
|
3140
3130
|
const retVal = (output || [])
|
|
3141
3131
|
.filter((e) => e != null)
|
|
3142
3132
|
.map((entry) => {
|
|
3143
3133
|
if (entry === null) {
|
|
3144
3134
|
return null;
|
|
3145
3135
|
}
|
|
3146
|
-
return
|
|
3136
|
+
return de_SourceLocation(entry, context);
|
|
3147
3137
|
});
|
|
3148
3138
|
return retVal;
|
|
3149
3139
|
};
|
|
3150
|
-
const
|
|
3140
|
+
const de___listOfVodSource = (output, context) => {
|
|
3151
3141
|
const retVal = (output || [])
|
|
3152
3142
|
.filter((e) => e != null)
|
|
3153
3143
|
.map((entry) => {
|
|
3154
3144
|
if (entry === null) {
|
|
3155
3145
|
return null;
|
|
3156
3146
|
}
|
|
3157
|
-
return
|
|
3147
|
+
return de_VodSource(entry, context);
|
|
3158
3148
|
});
|
|
3159
3149
|
return retVal;
|
|
3160
3150
|
};
|
|
3161
|
-
const
|
|
3151
|
+
const de___mapOf__string = (output, context) => {
|
|
3162
3152
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3163
3153
|
if (value === null) {
|
|
3164
3154
|
return acc;
|
|
@@ -3167,70 +3157,64 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
|
|
|
3167
3157
|
return acc;
|
|
3168
3158
|
}, {});
|
|
3169
3159
|
};
|
|
3170
|
-
const
|
|
3160
|
+
const de_AccessConfiguration = (output, context) => {
|
|
3171
3161
|
return {
|
|
3172
3162
|
AccessType: (0, smithy_client_1.expectString)(output.AccessType),
|
|
3173
3163
|
SecretsManagerAccessTokenConfiguration: output.SecretsManagerAccessTokenConfiguration != null
|
|
3174
|
-
?
|
|
3164
|
+
? de_SecretsManagerAccessTokenConfiguration(output.SecretsManagerAccessTokenConfiguration, context)
|
|
3175
3165
|
: undefined,
|
|
3176
3166
|
};
|
|
3177
3167
|
};
|
|
3178
|
-
const
|
|
3168
|
+
const de_AdBreak = (output, context) => {
|
|
3179
3169
|
return {
|
|
3180
3170
|
MessageType: (0, smithy_client_1.expectString)(output.MessageType),
|
|
3181
3171
|
OffsetMillis: (0, smithy_client_1.expectLong)(output.OffsetMillis),
|
|
3182
|
-
Slate: output.Slate != null ?
|
|
3183
|
-
SpliceInsertMessage: output.SpliceInsertMessage != null
|
|
3184
|
-
|
|
3185
|
-
: undefined,
|
|
3186
|
-
TimeSignalMessage: output.TimeSignalMessage != null
|
|
3187
|
-
? deserializeAws_restJson1TimeSignalMessage(output.TimeSignalMessage, context)
|
|
3188
|
-
: undefined,
|
|
3172
|
+
Slate: output.Slate != null ? de_SlateSource(output.Slate, context) : undefined,
|
|
3173
|
+
SpliceInsertMessage: output.SpliceInsertMessage != null ? de_SpliceInsertMessage(output.SpliceInsertMessage, context) : undefined,
|
|
3174
|
+
TimeSignalMessage: output.TimeSignalMessage != null ? de_TimeSignalMessage(output.TimeSignalMessage, context) : undefined,
|
|
3189
3175
|
};
|
|
3190
3176
|
};
|
|
3191
|
-
const
|
|
3177
|
+
const de_AdMarkerPassthrough = (output, context) => {
|
|
3192
3178
|
return {
|
|
3193
3179
|
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3194
3180
|
};
|
|
3195
3181
|
};
|
|
3196
|
-
const
|
|
3182
|
+
const de_Alert = (output, context) => {
|
|
3197
3183
|
return {
|
|
3198
3184
|
AlertCode: (0, smithy_client_1.expectString)(output.AlertCode),
|
|
3199
3185
|
AlertMessage: (0, smithy_client_1.expectString)(output.AlertMessage),
|
|
3200
3186
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3201
3187
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3202
3188
|
: undefined,
|
|
3203
|
-
RelatedResourceArns: output.RelatedResourceArns != null
|
|
3204
|
-
? deserializeAws_restJson1__listOf__string(output.RelatedResourceArns, context)
|
|
3205
|
-
: undefined,
|
|
3189
|
+
RelatedResourceArns: output.RelatedResourceArns != null ? de___listOf__string(output.RelatedResourceArns, context) : undefined,
|
|
3206
3190
|
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3207
3191
|
};
|
|
3208
3192
|
};
|
|
3209
|
-
const
|
|
3193
|
+
const de_AvailMatchingCriteria = (output, context) => {
|
|
3210
3194
|
return {
|
|
3211
3195
|
DynamicVariable: (0, smithy_client_1.expectString)(output.DynamicVariable),
|
|
3212
3196
|
Operator: (0, smithy_client_1.expectString)(output.Operator),
|
|
3213
3197
|
};
|
|
3214
3198
|
};
|
|
3215
|
-
const
|
|
3199
|
+
const de_AvailSuppression = (output, context) => {
|
|
3216
3200
|
return {
|
|
3217
3201
|
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
3218
3202
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3219
3203
|
};
|
|
3220
3204
|
};
|
|
3221
|
-
const
|
|
3205
|
+
const de_Bumper = (output, context) => {
|
|
3222
3206
|
return {
|
|
3223
3207
|
EndUrl: (0, smithy_client_1.expectString)(output.EndUrl),
|
|
3224
3208
|
StartUrl: (0, smithy_client_1.expectString)(output.StartUrl),
|
|
3225
3209
|
};
|
|
3226
3210
|
};
|
|
3227
|
-
const
|
|
3211
|
+
const de_CdnConfiguration = (output, context) => {
|
|
3228
3212
|
return {
|
|
3229
3213
|
AdSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.AdSegmentUrlPrefix),
|
|
3230
3214
|
ContentSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.ContentSegmentUrlPrefix),
|
|
3231
3215
|
};
|
|
3232
3216
|
};
|
|
3233
|
-
const
|
|
3217
|
+
const de_Channel = (output, context) => {
|
|
3234
3218
|
return {
|
|
3235
3219
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3236
3220
|
ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
|
|
@@ -3238,41 +3222,39 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
3238
3222
|
CreationTime: output.CreationTime != null
|
|
3239
3223
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3240
3224
|
: undefined,
|
|
3241
|
-
FillerSlate: output.FillerSlate != null ?
|
|
3225
|
+
FillerSlate: output.FillerSlate != null ? de_SlateSource(output.FillerSlate, context) : undefined,
|
|
3242
3226
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3243
3227
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3244
3228
|
: undefined,
|
|
3245
|
-
LogConfiguration: output.LogConfiguration != null
|
|
3246
|
-
|
|
3247
|
-
: undefined,
|
|
3248
|
-
Outputs: output.Outputs != null ? deserializeAws_restJson1ResponseOutputs(output.Outputs, context) : undefined,
|
|
3229
|
+
LogConfiguration: output.LogConfiguration != null ? de_LogConfigurationForChannel(output.LogConfiguration, context) : undefined,
|
|
3230
|
+
Outputs: output.Outputs != null ? de_ResponseOutputs(output.Outputs, context) : undefined,
|
|
3249
3231
|
PlaybackMode: (0, smithy_client_1.expectString)(output.PlaybackMode),
|
|
3250
|
-
Tags: output.tags != null ?
|
|
3232
|
+
Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
|
|
3251
3233
|
Tier: (0, smithy_client_1.expectString)(output.Tier),
|
|
3252
3234
|
};
|
|
3253
3235
|
};
|
|
3254
|
-
const
|
|
3236
|
+
const de_ClipRange = (output, context) => {
|
|
3255
3237
|
return {
|
|
3256
3238
|
EndOffsetMillis: (0, smithy_client_1.expectLong)(output.EndOffsetMillis),
|
|
3257
3239
|
};
|
|
3258
3240
|
};
|
|
3259
|
-
const
|
|
3241
|
+
const de_ConfigurationAliasesResponse = (output, context) => {
|
|
3260
3242
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3261
3243
|
if (value === null) {
|
|
3262
3244
|
return acc;
|
|
3263
3245
|
}
|
|
3264
|
-
acc[key] =
|
|
3246
|
+
acc[key] = de___mapOf__string(value, context);
|
|
3265
3247
|
return acc;
|
|
3266
3248
|
}, {});
|
|
3267
3249
|
};
|
|
3268
|
-
const
|
|
3250
|
+
const de_DashConfiguration = (output, context) => {
|
|
3269
3251
|
return {
|
|
3270
3252
|
ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
|
|
3271
3253
|
MpdLocation: (0, smithy_client_1.expectString)(output.MpdLocation),
|
|
3272
3254
|
OriginManifestType: (0, smithy_client_1.expectString)(output.OriginManifestType),
|
|
3273
3255
|
};
|
|
3274
3256
|
};
|
|
3275
|
-
const
|
|
3257
|
+
const de_DashPlaylistSettings = (output, context) => {
|
|
3276
3258
|
return {
|
|
3277
3259
|
ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
|
|
3278
3260
|
MinBufferTimeSeconds: (0, smithy_client_1.expectInt32)(output.MinBufferTimeSeconds),
|
|
@@ -3280,78 +3262,78 @@ const deserializeAws_restJson1DashPlaylistSettings = (output, context) => {
|
|
|
3280
3262
|
SuggestedPresentationDelaySeconds: (0, smithy_client_1.expectInt32)(output.SuggestedPresentationDelaySeconds),
|
|
3281
3263
|
};
|
|
3282
3264
|
};
|
|
3283
|
-
const
|
|
3265
|
+
const de_DefaultSegmentDeliveryConfiguration = (output, context) => {
|
|
3284
3266
|
return {
|
|
3285
3267
|
BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
|
|
3286
3268
|
};
|
|
3287
3269
|
};
|
|
3288
|
-
const
|
|
3270
|
+
const de_HlsConfiguration = (output, context) => {
|
|
3289
3271
|
return {
|
|
3290
3272
|
ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
|
|
3291
3273
|
};
|
|
3292
3274
|
};
|
|
3293
|
-
const
|
|
3275
|
+
const de_HlsPlaylistSettings = (output, context) => {
|
|
3294
3276
|
return {
|
|
3295
3277
|
ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
|
|
3296
3278
|
};
|
|
3297
3279
|
};
|
|
3298
|
-
const
|
|
3280
|
+
const de_HttpConfiguration = (output, context) => {
|
|
3299
3281
|
return {
|
|
3300
3282
|
BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
|
|
3301
3283
|
};
|
|
3302
3284
|
};
|
|
3303
|
-
const
|
|
3285
|
+
const de_HttpPackageConfiguration = (output, context) => {
|
|
3304
3286
|
return {
|
|
3305
3287
|
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
3306
3288
|
SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
|
|
3307
3289
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3308
3290
|
};
|
|
3309
3291
|
};
|
|
3310
|
-
const
|
|
3292
|
+
const de_HttpPackageConfigurations = (output, context) => {
|
|
3311
3293
|
const retVal = (output || [])
|
|
3312
3294
|
.filter((e) => e != null)
|
|
3313
3295
|
.map((entry) => {
|
|
3314
3296
|
if (entry === null) {
|
|
3315
3297
|
return null;
|
|
3316
3298
|
}
|
|
3317
|
-
return
|
|
3299
|
+
return de_HttpPackageConfiguration(entry, context);
|
|
3318
3300
|
});
|
|
3319
3301
|
return retVal;
|
|
3320
3302
|
};
|
|
3321
|
-
const
|
|
3303
|
+
const de_LivePreRollConfiguration = (output, context) => {
|
|
3322
3304
|
return {
|
|
3323
3305
|
AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
|
|
3324
3306
|
MaxDurationSeconds: (0, smithy_client_1.expectInt32)(output.MaxDurationSeconds),
|
|
3325
3307
|
};
|
|
3326
3308
|
};
|
|
3327
|
-
const
|
|
3309
|
+
const de_LiveSource = (output, context) => {
|
|
3328
3310
|
return {
|
|
3329
3311
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3330
3312
|
CreationTime: output.CreationTime != null
|
|
3331
3313
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3332
3314
|
: undefined,
|
|
3333
3315
|
HttpPackageConfigurations: output.HttpPackageConfigurations != null
|
|
3334
|
-
?
|
|
3316
|
+
? de_HttpPackageConfigurations(output.HttpPackageConfigurations, context)
|
|
3335
3317
|
: undefined,
|
|
3336
3318
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3337
3319
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3338
3320
|
: undefined,
|
|
3339
3321
|
LiveSourceName: (0, smithy_client_1.expectString)(output.LiveSourceName),
|
|
3340
3322
|
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3341
|
-
Tags: output.tags != null ?
|
|
3323
|
+
Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
|
|
3342
3324
|
};
|
|
3343
3325
|
};
|
|
3344
|
-
const
|
|
3326
|
+
const de_LogConfiguration = (output, context) => {
|
|
3345
3327
|
return {
|
|
3346
3328
|
PercentEnabled: (0, smithy_client_1.expectInt32)(output.PercentEnabled),
|
|
3347
3329
|
};
|
|
3348
3330
|
};
|
|
3349
|
-
const
|
|
3331
|
+
const de_LogConfigurationForChannel = (output, context) => {
|
|
3350
3332
|
return {
|
|
3351
|
-
LogTypes: output.LogTypes != null ?
|
|
3333
|
+
LogTypes: output.LogTypes != null ? de_LogTypes(output.LogTypes, context) : undefined,
|
|
3352
3334
|
};
|
|
3353
3335
|
};
|
|
3354
|
-
const
|
|
3336
|
+
const de_LogTypes = (output, context) => {
|
|
3355
3337
|
const retVal = (output || [])
|
|
3356
3338
|
.filter((e) => e != null)
|
|
3357
3339
|
.map((entry) => {
|
|
@@ -3362,40 +3344,28 @@ const deserializeAws_restJson1LogTypes = (output, context) => {
|
|
|
3362
3344
|
});
|
|
3363
3345
|
return retVal;
|
|
3364
3346
|
};
|
|
3365
|
-
const
|
|
3347
|
+
const de_ManifestProcessingRules = (output, context) => {
|
|
3366
3348
|
return {
|
|
3367
|
-
AdMarkerPassthrough: output.AdMarkerPassthrough != null
|
|
3368
|
-
? deserializeAws_restJson1AdMarkerPassthrough(output.AdMarkerPassthrough, context)
|
|
3369
|
-
: undefined,
|
|
3349
|
+
AdMarkerPassthrough: output.AdMarkerPassthrough != null ? de_AdMarkerPassthrough(output.AdMarkerPassthrough, context) : undefined,
|
|
3370
3350
|
};
|
|
3371
3351
|
};
|
|
3372
|
-
const
|
|
3352
|
+
const de_PlaybackConfiguration = (output, context) => {
|
|
3373
3353
|
return {
|
|
3374
3354
|
AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
|
|
3375
|
-
AvailSuppression: output.AvailSuppression != null
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
Bumper: output.Bumper != null ? deserializeAws_restJson1Bumper(output.Bumper, context) : undefined,
|
|
3379
|
-
CdnConfiguration: output.CdnConfiguration != null
|
|
3380
|
-
? deserializeAws_restJson1CdnConfiguration(output.CdnConfiguration, context)
|
|
3381
|
-
: undefined,
|
|
3355
|
+
AvailSuppression: output.AvailSuppression != null ? de_AvailSuppression(output.AvailSuppression, context) : undefined,
|
|
3356
|
+
Bumper: output.Bumper != null ? de_Bumper(output.Bumper, context) : undefined,
|
|
3357
|
+
CdnConfiguration: output.CdnConfiguration != null ? de_CdnConfiguration(output.CdnConfiguration, context) : undefined,
|
|
3382
3358
|
ConfigurationAliases: output.ConfigurationAliases != null
|
|
3383
|
-
?
|
|
3384
|
-
: undefined,
|
|
3385
|
-
DashConfiguration: output.DashConfiguration != null
|
|
3386
|
-
? deserializeAws_restJson1DashConfiguration(output.DashConfiguration, context)
|
|
3387
|
-
: undefined,
|
|
3388
|
-
HlsConfiguration: output.HlsConfiguration != null
|
|
3389
|
-
? deserializeAws_restJson1HlsConfiguration(output.HlsConfiguration, context)
|
|
3359
|
+
? de_ConfigurationAliasesResponse(output.ConfigurationAliases, context)
|
|
3390
3360
|
: undefined,
|
|
3361
|
+
DashConfiguration: output.DashConfiguration != null ? de_DashConfiguration(output.DashConfiguration, context) : undefined,
|
|
3362
|
+
HlsConfiguration: output.HlsConfiguration != null ? de_HlsConfiguration(output.HlsConfiguration, context) : undefined,
|
|
3391
3363
|
LivePreRollConfiguration: output.LivePreRollConfiguration != null
|
|
3392
|
-
?
|
|
3393
|
-
: undefined,
|
|
3394
|
-
LogConfiguration: output.LogConfiguration != null
|
|
3395
|
-
? deserializeAws_restJson1LogConfiguration(output.LogConfiguration, context)
|
|
3364
|
+
? de_LivePreRollConfiguration(output.LivePreRollConfiguration, context)
|
|
3396
3365
|
: undefined,
|
|
3366
|
+
LogConfiguration: output.LogConfiguration != null ? de_LogConfiguration(output.LogConfiguration, context) : undefined,
|
|
3397
3367
|
ManifestProcessingRules: output.ManifestProcessingRules != null
|
|
3398
|
-
?
|
|
3368
|
+
? de_ManifestProcessingRules(output.ManifestProcessingRules, context)
|
|
3399
3369
|
: undefined,
|
|
3400
3370
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3401
3371
|
PersonalizationThresholdSeconds: (0, smithy_client_1.expectInt32)(output.PersonalizationThresholdSeconds),
|
|
@@ -3403,64 +3373,58 @@ const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
|
|
|
3403
3373
|
PlaybackEndpointPrefix: (0, smithy_client_1.expectString)(output.PlaybackEndpointPrefix),
|
|
3404
3374
|
SessionInitializationEndpointPrefix: (0, smithy_client_1.expectString)(output.SessionInitializationEndpointPrefix),
|
|
3405
3375
|
SlateAdUrl: (0, smithy_client_1.expectString)(output.SlateAdUrl),
|
|
3406
|
-
Tags: output.tags != null ?
|
|
3376
|
+
Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
|
|
3407
3377
|
TranscodeProfileName: (0, smithy_client_1.expectString)(output.TranscodeProfileName),
|
|
3408
3378
|
VideoContentSourceUrl: (0, smithy_client_1.expectString)(output.VideoContentSourceUrl),
|
|
3409
3379
|
};
|
|
3410
3380
|
};
|
|
3411
|
-
const
|
|
3381
|
+
const de_PrefetchConsumption = (output, context) => {
|
|
3412
3382
|
return {
|
|
3413
3383
|
AvailMatchingCriteria: output.AvailMatchingCriteria != null
|
|
3414
|
-
?
|
|
3384
|
+
? de___listOfAvailMatchingCriteria(output.AvailMatchingCriteria, context)
|
|
3415
3385
|
: undefined,
|
|
3416
3386
|
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
3417
3387
|
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3418
3388
|
};
|
|
3419
3389
|
};
|
|
3420
|
-
const
|
|
3390
|
+
const de_PrefetchRetrieval = (output, context) => {
|
|
3421
3391
|
return {
|
|
3422
|
-
DynamicVariables: output.DynamicVariables != null
|
|
3423
|
-
? deserializeAws_restJson1__mapOf__string(output.DynamicVariables, context)
|
|
3424
|
-
: undefined,
|
|
3392
|
+
DynamicVariables: output.DynamicVariables != null ? de___mapOf__string(output.DynamicVariables, context) : undefined,
|
|
3425
3393
|
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
3426
3394
|
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3427
3395
|
};
|
|
3428
3396
|
};
|
|
3429
|
-
const
|
|
3397
|
+
const de_PrefetchSchedule = (output, context) => {
|
|
3430
3398
|
return {
|
|
3431
3399
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3432
|
-
Consumption: output.Consumption != null ?
|
|
3400
|
+
Consumption: output.Consumption != null ? de_PrefetchConsumption(output.Consumption, context) : undefined,
|
|
3433
3401
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3434
3402
|
PlaybackConfigurationName: (0, smithy_client_1.expectString)(output.PlaybackConfigurationName),
|
|
3435
|
-
Retrieval: output.Retrieval != null ?
|
|
3403
|
+
Retrieval: output.Retrieval != null ? de_PrefetchRetrieval(output.Retrieval, context) : undefined,
|
|
3436
3404
|
StreamId: (0, smithy_client_1.expectString)(output.StreamId),
|
|
3437
3405
|
};
|
|
3438
3406
|
};
|
|
3439
|
-
const
|
|
3407
|
+
const de_ResponseOutputItem = (output, context) => {
|
|
3440
3408
|
return {
|
|
3441
|
-
DashPlaylistSettings: output.DashPlaylistSettings != null
|
|
3442
|
-
|
|
3443
|
-
: undefined,
|
|
3444
|
-
HlsPlaylistSettings: output.HlsPlaylistSettings != null
|
|
3445
|
-
? deserializeAws_restJson1HlsPlaylistSettings(output.HlsPlaylistSettings, context)
|
|
3446
|
-
: undefined,
|
|
3409
|
+
DashPlaylistSettings: output.DashPlaylistSettings != null ? de_DashPlaylistSettings(output.DashPlaylistSettings, context) : undefined,
|
|
3410
|
+
HlsPlaylistSettings: output.HlsPlaylistSettings != null ? de_HlsPlaylistSettings(output.HlsPlaylistSettings, context) : undefined,
|
|
3447
3411
|
ManifestName: (0, smithy_client_1.expectString)(output.ManifestName),
|
|
3448
3412
|
PlaybackUrl: (0, smithy_client_1.expectString)(output.PlaybackUrl),
|
|
3449
3413
|
SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
|
|
3450
3414
|
};
|
|
3451
3415
|
};
|
|
3452
|
-
const
|
|
3416
|
+
const de_ResponseOutputs = (output, context) => {
|
|
3453
3417
|
const retVal = (output || [])
|
|
3454
3418
|
.filter((e) => e != null)
|
|
3455
3419
|
.map((entry) => {
|
|
3456
3420
|
if (entry === null) {
|
|
3457
3421
|
return null;
|
|
3458
3422
|
}
|
|
3459
|
-
return
|
|
3423
|
+
return de_ResponseOutputItem(entry, context);
|
|
3460
3424
|
});
|
|
3461
3425
|
return retVal;
|
|
3462
3426
|
};
|
|
3463
|
-
const
|
|
3427
|
+
const de_ScheduleAdBreak = (output, context) => {
|
|
3464
3428
|
return {
|
|
3465
3429
|
ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
|
|
3466
3430
|
ApproximateStartTime: output.ApproximateStartTime != null
|
|
@@ -3470,7 +3434,7 @@ const deserializeAws_restJson1ScheduleAdBreak = (output, context) => {
|
|
|
3470
3434
|
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3471
3435
|
};
|
|
3472
3436
|
};
|
|
3473
|
-
const
|
|
3437
|
+
const de_ScheduleEntry = (output, context) => {
|
|
3474
3438
|
return {
|
|
3475
3439
|
ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
|
|
3476
3440
|
ApproximateStartTime: output.ApproximateStartTime != null
|
|
@@ -3480,22 +3444,20 @@ const deserializeAws_restJson1ScheduleEntry = (output, context) => {
|
|
|
3480
3444
|
ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
|
|
3481
3445
|
LiveSourceName: (0, smithy_client_1.expectString)(output.LiveSourceName),
|
|
3482
3446
|
ProgramName: (0, smithy_client_1.expectString)(output.ProgramName),
|
|
3483
|
-
ScheduleAdBreaks: output.ScheduleAdBreaks != null
|
|
3484
|
-
? deserializeAws_restJson1__listOfScheduleAdBreak(output.ScheduleAdBreaks, context)
|
|
3485
|
-
: undefined,
|
|
3447
|
+
ScheduleAdBreaks: output.ScheduleAdBreaks != null ? de___listOfScheduleAdBreak(output.ScheduleAdBreaks, context) : undefined,
|
|
3486
3448
|
ScheduleEntryType: (0, smithy_client_1.expectString)(output.ScheduleEntryType),
|
|
3487
3449
|
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3488
3450
|
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3489
3451
|
};
|
|
3490
3452
|
};
|
|
3491
|
-
const
|
|
3453
|
+
const de_SecretsManagerAccessTokenConfiguration = (output, context) => {
|
|
3492
3454
|
return {
|
|
3493
3455
|
HeaderName: (0, smithy_client_1.expectString)(output.HeaderName),
|
|
3494
3456
|
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
3495
3457
|
SecretStringKey: (0, smithy_client_1.expectString)(output.SecretStringKey),
|
|
3496
3458
|
};
|
|
3497
3459
|
};
|
|
3498
|
-
const
|
|
3460
|
+
const de_SegmentationDescriptor = (output, context) => {
|
|
3499
3461
|
return {
|
|
3500
3462
|
SegmentNum: (0, smithy_client_1.expectInt32)(output.SegmentNum),
|
|
3501
3463
|
SegmentationEventId: (0, smithy_client_1.expectInt32)(output.SegmentationEventId),
|
|
@@ -3507,55 +3469,51 @@ const deserializeAws_restJson1SegmentationDescriptor = (output, context) => {
|
|
|
3507
3469
|
SubSegmentsExpected: (0, smithy_client_1.expectInt32)(output.SubSegmentsExpected),
|
|
3508
3470
|
};
|
|
3509
3471
|
};
|
|
3510
|
-
const
|
|
3472
|
+
const de_SegmentationDescriptorList = (output, context) => {
|
|
3511
3473
|
const retVal = (output || [])
|
|
3512
3474
|
.filter((e) => e != null)
|
|
3513
3475
|
.map((entry) => {
|
|
3514
3476
|
if (entry === null) {
|
|
3515
3477
|
return null;
|
|
3516
3478
|
}
|
|
3517
|
-
return
|
|
3479
|
+
return de_SegmentationDescriptor(entry, context);
|
|
3518
3480
|
});
|
|
3519
3481
|
return retVal;
|
|
3520
3482
|
};
|
|
3521
|
-
const
|
|
3483
|
+
const de_SegmentDeliveryConfiguration = (output, context) => {
|
|
3522
3484
|
return {
|
|
3523
3485
|
BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
|
|
3524
3486
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3525
3487
|
};
|
|
3526
3488
|
};
|
|
3527
|
-
const
|
|
3489
|
+
const de_SlateSource = (output, context) => {
|
|
3528
3490
|
return {
|
|
3529
3491
|
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3530
3492
|
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3531
3493
|
};
|
|
3532
3494
|
};
|
|
3533
|
-
const
|
|
3495
|
+
const de_SourceLocation = (output, context) => {
|
|
3534
3496
|
return {
|
|
3535
|
-
AccessConfiguration: output.AccessConfiguration != null
|
|
3536
|
-
? deserializeAws_restJson1AccessConfiguration(output.AccessConfiguration, context)
|
|
3537
|
-
: undefined,
|
|
3497
|
+
AccessConfiguration: output.AccessConfiguration != null ? de_AccessConfiguration(output.AccessConfiguration, context) : undefined,
|
|
3538
3498
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3539
3499
|
CreationTime: output.CreationTime != null
|
|
3540
3500
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3541
3501
|
: undefined,
|
|
3542
3502
|
DefaultSegmentDeliveryConfiguration: output.DefaultSegmentDeliveryConfiguration != null
|
|
3543
|
-
?
|
|
3544
|
-
: undefined,
|
|
3545
|
-
HttpConfiguration: output.HttpConfiguration != null
|
|
3546
|
-
? deserializeAws_restJson1HttpConfiguration(output.HttpConfiguration, context)
|
|
3503
|
+
? de_DefaultSegmentDeliveryConfiguration(output.DefaultSegmentDeliveryConfiguration, context)
|
|
3547
3504
|
: undefined,
|
|
3505
|
+
HttpConfiguration: output.HttpConfiguration != null ? de_HttpConfiguration(output.HttpConfiguration, context) : undefined,
|
|
3548
3506
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3549
3507
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3550
3508
|
: undefined,
|
|
3551
3509
|
SegmentDeliveryConfigurations: output.SegmentDeliveryConfigurations != null
|
|
3552
|
-
?
|
|
3510
|
+
? de___listOfSegmentDeliveryConfiguration(output.SegmentDeliveryConfigurations, context)
|
|
3553
3511
|
: undefined,
|
|
3554
3512
|
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3555
|
-
Tags: output.tags != null ?
|
|
3513
|
+
Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
|
|
3556
3514
|
};
|
|
3557
3515
|
};
|
|
3558
|
-
const
|
|
3516
|
+
const de_SpliceInsertMessage = (output, context) => {
|
|
3559
3517
|
return {
|
|
3560
3518
|
AvailNum: (0, smithy_client_1.expectInt32)(output.AvailNum),
|
|
3561
3519
|
AvailsExpected: (0, smithy_client_1.expectInt32)(output.AvailsExpected),
|
|
@@ -3563,27 +3521,27 @@ const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
|
|
|
3563
3521
|
UniqueProgramId: (0, smithy_client_1.expectInt32)(output.UniqueProgramId),
|
|
3564
3522
|
};
|
|
3565
3523
|
};
|
|
3566
|
-
const
|
|
3524
|
+
const de_TimeSignalMessage = (output, context) => {
|
|
3567
3525
|
return {
|
|
3568
3526
|
SegmentationDescriptors: output.SegmentationDescriptors != null
|
|
3569
|
-
?
|
|
3527
|
+
? de_SegmentationDescriptorList(output.SegmentationDescriptors, context)
|
|
3570
3528
|
: undefined,
|
|
3571
3529
|
};
|
|
3572
3530
|
};
|
|
3573
|
-
const
|
|
3531
|
+
const de_VodSource = (output, context) => {
|
|
3574
3532
|
return {
|
|
3575
3533
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3576
3534
|
CreationTime: output.CreationTime != null
|
|
3577
3535
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3578
3536
|
: undefined,
|
|
3579
3537
|
HttpPackageConfigurations: output.HttpPackageConfigurations != null
|
|
3580
|
-
?
|
|
3538
|
+
? de_HttpPackageConfigurations(output.HttpPackageConfigurations, context)
|
|
3581
3539
|
: undefined,
|
|
3582
3540
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3583
3541
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3584
3542
|
: undefined,
|
|
3585
3543
|
SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
|
|
3586
|
-
Tags: output.tags != null ?
|
|
3544
|
+
Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
|
|
3587
3545
|
VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
|
|
3588
3546
|
};
|
|
3589
3547
|
};
|