@aws-sdk/client-chime-sdk-media-pipelines 3.306.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/CreateMediaCapturePipelineCommand.js +2 -2
- package/dist-cjs/commands/CreateMediaConcatenationPipelineCommand.js +2 -2
- package/dist-cjs/commands/CreateMediaInsightsPipelineCommand.js +2 -2
- package/dist-cjs/commands/CreateMediaInsightsPipelineConfigurationCommand.js +2 -2
- package/dist-cjs/commands/CreateMediaLiveConnectorPipelineCommand.js +2 -2
- package/dist-cjs/commands/DeleteMediaCapturePipelineCommand.js +2 -2
- package/dist-cjs/commands/DeleteMediaInsightsPipelineConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeleteMediaPipelineCommand.js +2 -2
- package/dist-cjs/commands/GetMediaCapturePipelineCommand.js +2 -2
- package/dist-cjs/commands/GetMediaInsightsPipelineConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetMediaPipelineCommand.js +2 -2
- package/dist-cjs/commands/ListMediaCapturePipelinesCommand.js +2 -2
- package/dist-cjs/commands/ListMediaInsightsPipelineConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListMediaPipelinesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateMediaInsightsPipelineConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateMediaInsightsPipelineStatusCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +574 -613
- package/dist-es/commands/CreateMediaCapturePipelineCommand.js +3 -3
- package/dist-es/commands/CreateMediaConcatenationPipelineCommand.js +3 -3
- package/dist-es/commands/CreateMediaInsightsPipelineCommand.js +3 -3
- package/dist-es/commands/CreateMediaInsightsPipelineConfigurationCommand.js +3 -3
- package/dist-es/commands/CreateMediaLiveConnectorPipelineCommand.js +3 -3
- package/dist-es/commands/DeleteMediaCapturePipelineCommand.js +3 -3
- package/dist-es/commands/DeleteMediaInsightsPipelineConfigurationCommand.js +3 -3
- package/dist-es/commands/DeleteMediaPipelineCommand.js +3 -3
- package/dist-es/commands/GetMediaCapturePipelineCommand.js +3 -3
- package/dist-es/commands/GetMediaInsightsPipelineConfigurationCommand.js +3 -3
- package/dist-es/commands/GetMediaPipelineCommand.js +3 -3
- package/dist-es/commands/ListMediaCapturePipelinesCommand.js +3 -3
- package/dist-es/commands/ListMediaInsightsPipelineConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListMediaPipelinesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateMediaInsightsPipelineConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateMediaInsightsPipelineStatusCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +535 -574
- package/dist-types/protocols/Aws_restJson1.d.ts +152 -38
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -38
- package/package.json +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UpdateMediaInsightsPipelineStatusCommand = exports.de_UpdateMediaInsightsPipelineConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMediaPipelinesCommand = exports.de_ListMediaInsightsPipelineConfigurationsCommand = exports.de_ListMediaCapturePipelinesCommand = exports.de_GetMediaPipelineCommand = exports.de_GetMediaInsightsPipelineConfigurationCommand = exports.de_GetMediaCapturePipelineCommand = exports.de_DeleteMediaPipelineCommand = exports.de_DeleteMediaInsightsPipelineConfigurationCommand = exports.de_DeleteMediaCapturePipelineCommand = exports.de_CreateMediaLiveConnectorPipelineCommand = exports.de_CreateMediaInsightsPipelineConfigurationCommand = exports.de_CreateMediaInsightsPipelineCommand = exports.de_CreateMediaConcatenationPipelineCommand = exports.de_CreateMediaCapturePipelineCommand = exports.se_UpdateMediaInsightsPipelineStatusCommand = exports.se_UpdateMediaInsightsPipelineConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMediaPipelinesCommand = exports.se_ListMediaInsightsPipelineConfigurationsCommand = exports.se_ListMediaCapturePipelinesCommand = exports.se_GetMediaPipelineCommand = exports.se_GetMediaInsightsPipelineConfigurationCommand = exports.se_GetMediaCapturePipelineCommand = exports.se_DeleteMediaPipelineCommand = exports.se_DeleteMediaInsightsPipelineConfigurationCommand = exports.se_DeleteMediaCapturePipelineCommand = exports.se_CreateMediaLiveConnectorPipelineCommand = exports.se_CreateMediaInsightsPipelineConfigurationCommand = exports.se_CreateMediaInsightsPipelineCommand = exports.se_CreateMediaConcatenationPipelineCommand = exports.se_CreateMediaCapturePipelineCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const ChimeSDKMediaPipelinesServiceException_1 = require("../models/ChimeSDKMediaPipelinesServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const se_CreateMediaCapturePipelineCommand = 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,14 +15,14 @@ const serializeAws_restJson1CreateMediaCapturePipelineCommand = async (input, co
|
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify({
|
|
17
17
|
...(input.ChimeSdkMeetingConfiguration != null && {
|
|
18
|
-
ChimeSdkMeetingConfiguration:
|
|
18
|
+
ChimeSdkMeetingConfiguration: se_ChimeSdkMeetingConfiguration(input.ChimeSdkMeetingConfiguration, context),
|
|
19
19
|
}),
|
|
20
20
|
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
21
21
|
...(input.SinkArn != null && { SinkArn: input.SinkArn }),
|
|
22
22
|
...(input.SinkType != null && { SinkType: input.SinkType }),
|
|
23
23
|
...(input.SourceArn != null && { SourceArn: input.SourceArn }),
|
|
24
24
|
...(input.SourceType != null && { SourceType: input.SourceType }),
|
|
25
|
-
...(input.Tags != null && { Tags:
|
|
25
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
26
26
|
});
|
|
27
27
|
return new protocol_http_1.HttpRequest({
|
|
28
28
|
protocol,
|
|
@@ -34,8 +34,8 @@ const serializeAws_restJson1CreateMediaCapturePipelineCommand = async (input, co
|
|
|
34
34
|
body,
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
|
-
exports.
|
|
38
|
-
const
|
|
37
|
+
exports.se_CreateMediaCapturePipelineCommand = se_CreateMediaCapturePipelineCommand;
|
|
38
|
+
const se_CreateMediaConcatenationPipelineCommand = async (input, context) => {
|
|
39
39
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
40
40
|
const headers = {
|
|
41
41
|
"content-type": "application/json",
|
|
@@ -44,9 +44,9 @@ const serializeAws_restJson1CreateMediaConcatenationPipelineCommand = async (inp
|
|
|
44
44
|
let body;
|
|
45
45
|
body = JSON.stringify({
|
|
46
46
|
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
47
|
-
...(input.Sinks != null && { Sinks:
|
|
48
|
-
...(input.Sources != null && { Sources:
|
|
49
|
-
...(input.Tags != null && { Tags:
|
|
47
|
+
...(input.Sinks != null && { Sinks: se_ConcatenationSinkList(input.Sinks, context) }),
|
|
48
|
+
...(input.Sources != null && { Sources: se_ConcatenationSourceList(input.Sources, context) }),
|
|
49
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
50
50
|
});
|
|
51
51
|
return new protocol_http_1.HttpRequest({
|
|
52
52
|
protocol,
|
|
@@ -58,8 +58,8 @@ const serializeAws_restJson1CreateMediaConcatenationPipelineCommand = async (inp
|
|
|
58
58
|
body,
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
|
-
exports.
|
|
62
|
-
const
|
|
61
|
+
exports.se_CreateMediaConcatenationPipelineCommand = se_CreateMediaConcatenationPipelineCommand;
|
|
62
|
+
const se_CreateMediaInsightsPipelineCommand = async (input, context) => {
|
|
63
63
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
64
64
|
const headers = {
|
|
65
65
|
"content-type": "application/json",
|
|
@@ -69,21 +69,21 @@ const serializeAws_restJson1CreateMediaInsightsPipelineCommand = async (input, c
|
|
|
69
69
|
body = JSON.stringify({
|
|
70
70
|
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
71
71
|
...(input.KinesisVideoStreamRecordingSourceRuntimeConfiguration != null && {
|
|
72
|
-
KinesisVideoStreamRecordingSourceRuntimeConfiguration:
|
|
72
|
+
KinesisVideoStreamRecordingSourceRuntimeConfiguration: se_KinesisVideoStreamRecordingSourceRuntimeConfiguration(input.KinesisVideoStreamRecordingSourceRuntimeConfiguration, context),
|
|
73
73
|
}),
|
|
74
74
|
...(input.KinesisVideoStreamSourceRuntimeConfiguration != null && {
|
|
75
|
-
KinesisVideoStreamSourceRuntimeConfiguration:
|
|
75
|
+
KinesisVideoStreamSourceRuntimeConfiguration: se_KinesisVideoStreamSourceRuntimeConfiguration(input.KinesisVideoStreamSourceRuntimeConfiguration, context),
|
|
76
76
|
}),
|
|
77
77
|
...(input.MediaInsightsPipelineConfigurationArn != null && {
|
|
78
78
|
MediaInsightsPipelineConfigurationArn: input.MediaInsightsPipelineConfigurationArn,
|
|
79
79
|
}),
|
|
80
80
|
...(input.MediaInsightsRuntimeMetadata != null && {
|
|
81
|
-
MediaInsightsRuntimeMetadata:
|
|
81
|
+
MediaInsightsRuntimeMetadata: se_MediaInsightsRuntimeMetadata(input.MediaInsightsRuntimeMetadata, context),
|
|
82
82
|
}),
|
|
83
83
|
...(input.S3RecordingSinkRuntimeConfiguration != null && {
|
|
84
|
-
S3RecordingSinkRuntimeConfiguration:
|
|
84
|
+
S3RecordingSinkRuntimeConfiguration: se_S3RecordingSinkRuntimeConfiguration(input.S3RecordingSinkRuntimeConfiguration, context),
|
|
85
85
|
}),
|
|
86
|
-
...(input.Tags != null && { Tags:
|
|
86
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
87
87
|
});
|
|
88
88
|
return new protocol_http_1.HttpRequest({
|
|
89
89
|
protocol,
|
|
@@ -95,8 +95,8 @@ const serializeAws_restJson1CreateMediaInsightsPipelineCommand = async (input, c
|
|
|
95
95
|
body,
|
|
96
96
|
});
|
|
97
97
|
};
|
|
98
|
-
exports.
|
|
99
|
-
const
|
|
98
|
+
exports.se_CreateMediaInsightsPipelineCommand = se_CreateMediaInsightsPipelineCommand;
|
|
99
|
+
const se_CreateMediaInsightsPipelineConfigurationCommand = async (input, context) => {
|
|
100
100
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
101
101
|
const headers = {
|
|
102
102
|
"content-type": "application/json",
|
|
@@ -105,17 +105,15 @@ const serializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommand = as
|
|
|
105
105
|
let body;
|
|
106
106
|
body = JSON.stringify({
|
|
107
107
|
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
108
|
-
...(input.Elements != null && {
|
|
109
|
-
Elements: serializeAws_restJson1MediaInsightsPipelineConfigurationElements(input.Elements, context),
|
|
110
|
-
}),
|
|
108
|
+
...(input.Elements != null && { Elements: se_MediaInsightsPipelineConfigurationElements(input.Elements, context) }),
|
|
111
109
|
...(input.MediaInsightsPipelineConfigurationName != null && {
|
|
112
110
|
MediaInsightsPipelineConfigurationName: input.MediaInsightsPipelineConfigurationName,
|
|
113
111
|
}),
|
|
114
112
|
...(input.RealTimeAlertConfiguration != null && {
|
|
115
|
-
RealTimeAlertConfiguration:
|
|
113
|
+
RealTimeAlertConfiguration: se_RealTimeAlertConfiguration(input.RealTimeAlertConfiguration, context),
|
|
116
114
|
}),
|
|
117
115
|
...(input.ResourceAccessRoleArn != null && { ResourceAccessRoleArn: input.ResourceAccessRoleArn }),
|
|
118
|
-
...(input.Tags != null && { Tags:
|
|
116
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
119
117
|
});
|
|
120
118
|
return new protocol_http_1.HttpRequest({
|
|
121
119
|
protocol,
|
|
@@ -127,8 +125,8 @@ const serializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommand = as
|
|
|
127
125
|
body,
|
|
128
126
|
});
|
|
129
127
|
};
|
|
130
|
-
exports.
|
|
131
|
-
const
|
|
128
|
+
exports.se_CreateMediaInsightsPipelineConfigurationCommand = se_CreateMediaInsightsPipelineConfigurationCommand;
|
|
129
|
+
const se_CreateMediaLiveConnectorPipelineCommand = async (input, context) => {
|
|
132
130
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
133
131
|
const headers = {
|
|
134
132
|
"content-type": "application/json",
|
|
@@ -137,9 +135,9 @@ const serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = async (inp
|
|
|
137
135
|
let body;
|
|
138
136
|
body = JSON.stringify({
|
|
139
137
|
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
140
|
-
...(input.Sinks != null && { Sinks:
|
|
141
|
-
...(input.Sources != null && { Sources:
|
|
142
|
-
...(input.Tags != null && { Tags:
|
|
138
|
+
...(input.Sinks != null && { Sinks: se_LiveConnectorSinkList(input.Sinks, context) }),
|
|
139
|
+
...(input.Sources != null && { Sources: se_LiveConnectorSourceList(input.Sources, context) }),
|
|
140
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
143
141
|
});
|
|
144
142
|
return new protocol_http_1.HttpRequest({
|
|
145
143
|
protocol,
|
|
@@ -151,8 +149,8 @@ const serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = async (inp
|
|
|
151
149
|
body,
|
|
152
150
|
});
|
|
153
151
|
};
|
|
154
|
-
exports.
|
|
155
|
-
const
|
|
152
|
+
exports.se_CreateMediaLiveConnectorPipelineCommand = se_CreateMediaLiveConnectorPipelineCommand;
|
|
153
|
+
const se_DeleteMediaCapturePipelineCommand = async (input, context) => {
|
|
156
154
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
157
155
|
const headers = {};
|
|
158
156
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -169,8 +167,8 @@ const serializeAws_restJson1DeleteMediaCapturePipelineCommand = async (input, co
|
|
|
169
167
|
body,
|
|
170
168
|
});
|
|
171
169
|
};
|
|
172
|
-
exports.
|
|
173
|
-
const
|
|
170
|
+
exports.se_DeleteMediaCapturePipelineCommand = se_DeleteMediaCapturePipelineCommand;
|
|
171
|
+
const se_DeleteMediaInsightsPipelineConfigurationCommand = async (input, context) => {
|
|
174
172
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
175
173
|
const headers = {};
|
|
176
174
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -187,8 +185,8 @@ const serializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommand = as
|
|
|
187
185
|
body,
|
|
188
186
|
});
|
|
189
187
|
};
|
|
190
|
-
exports.
|
|
191
|
-
const
|
|
188
|
+
exports.se_DeleteMediaInsightsPipelineConfigurationCommand = se_DeleteMediaInsightsPipelineConfigurationCommand;
|
|
189
|
+
const se_DeleteMediaPipelineCommand = async (input, context) => {
|
|
192
190
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
193
191
|
const headers = {};
|
|
194
192
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-pipelines/{MediaPipelineId}";
|
|
@@ -204,8 +202,8 @@ const serializeAws_restJson1DeleteMediaPipelineCommand = async (input, context)
|
|
|
204
202
|
body,
|
|
205
203
|
});
|
|
206
204
|
};
|
|
207
|
-
exports.
|
|
208
|
-
const
|
|
205
|
+
exports.se_DeleteMediaPipelineCommand = se_DeleteMediaPipelineCommand;
|
|
206
|
+
const se_GetMediaCapturePipelineCommand = async (input, context) => {
|
|
209
207
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
210
208
|
const headers = {};
|
|
211
209
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -222,8 +220,8 @@ const serializeAws_restJson1GetMediaCapturePipelineCommand = async (input, conte
|
|
|
222
220
|
body,
|
|
223
221
|
});
|
|
224
222
|
};
|
|
225
|
-
exports.
|
|
226
|
-
const
|
|
223
|
+
exports.se_GetMediaCapturePipelineCommand = se_GetMediaCapturePipelineCommand;
|
|
224
|
+
const se_GetMediaInsightsPipelineConfigurationCommand = async (input, context) => {
|
|
227
225
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
228
226
|
const headers = {};
|
|
229
227
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -240,8 +238,8 @@ const serializeAws_restJson1GetMediaInsightsPipelineConfigurationCommand = async
|
|
|
240
238
|
body,
|
|
241
239
|
});
|
|
242
240
|
};
|
|
243
|
-
exports.
|
|
244
|
-
const
|
|
241
|
+
exports.se_GetMediaInsightsPipelineConfigurationCommand = se_GetMediaInsightsPipelineConfigurationCommand;
|
|
242
|
+
const se_GetMediaPipelineCommand = async (input, context) => {
|
|
245
243
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
246
244
|
const headers = {};
|
|
247
245
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-pipelines/{MediaPipelineId}";
|
|
@@ -257,8 +255,8 @@ const serializeAws_restJson1GetMediaPipelineCommand = async (input, context) =>
|
|
|
257
255
|
body,
|
|
258
256
|
});
|
|
259
257
|
};
|
|
260
|
-
exports.
|
|
261
|
-
const
|
|
258
|
+
exports.se_GetMediaPipelineCommand = se_GetMediaPipelineCommand;
|
|
259
|
+
const se_ListMediaCapturePipelinesCommand = async (input, context) => {
|
|
262
260
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
263
261
|
const headers = {};
|
|
264
262
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-capture-pipelines";
|
|
@@ -278,8 +276,8 @@ const serializeAws_restJson1ListMediaCapturePipelinesCommand = async (input, con
|
|
|
278
276
|
body,
|
|
279
277
|
});
|
|
280
278
|
};
|
|
281
|
-
exports.
|
|
282
|
-
const
|
|
279
|
+
exports.se_ListMediaCapturePipelinesCommand = se_ListMediaCapturePipelinesCommand;
|
|
280
|
+
const se_ListMediaInsightsPipelineConfigurationsCommand = async (input, context) => {
|
|
283
281
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
284
282
|
const headers = {};
|
|
285
283
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipeline-configurations";
|
|
@@ -299,8 +297,8 @@ const serializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommand = asy
|
|
|
299
297
|
body,
|
|
300
298
|
});
|
|
301
299
|
};
|
|
302
|
-
exports.
|
|
303
|
-
const
|
|
300
|
+
exports.se_ListMediaInsightsPipelineConfigurationsCommand = se_ListMediaInsightsPipelineConfigurationsCommand;
|
|
301
|
+
const se_ListMediaPipelinesCommand = async (input, context) => {
|
|
304
302
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
305
303
|
const headers = {};
|
|
306
304
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-pipelines";
|
|
@@ -320,8 +318,8 @@ const serializeAws_restJson1ListMediaPipelinesCommand = async (input, context) =
|
|
|
320
318
|
body,
|
|
321
319
|
});
|
|
322
320
|
};
|
|
323
|
-
exports.
|
|
324
|
-
const
|
|
321
|
+
exports.se_ListMediaPipelinesCommand = se_ListMediaPipelinesCommand;
|
|
322
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
325
323
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
326
324
|
const headers = {};
|
|
327
325
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
@@ -340,8 +338,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
340
338
|
body,
|
|
341
339
|
});
|
|
342
340
|
};
|
|
343
|
-
exports.
|
|
344
|
-
const
|
|
341
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
342
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
345
343
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
346
344
|
const headers = {
|
|
347
345
|
"content-type": "application/json",
|
|
@@ -353,7 +351,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
353
351
|
let body;
|
|
354
352
|
body = JSON.stringify({
|
|
355
353
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
356
|
-
...(input.Tags != null && { Tags:
|
|
354
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
357
355
|
});
|
|
358
356
|
return new protocol_http_1.HttpRequest({
|
|
359
357
|
protocol,
|
|
@@ -366,8 +364,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
366
364
|
body,
|
|
367
365
|
});
|
|
368
366
|
};
|
|
369
|
-
exports.
|
|
370
|
-
const
|
|
367
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
368
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
371
369
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
372
370
|
const headers = {
|
|
373
371
|
"content-type": "application/json",
|
|
@@ -379,7 +377,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
379
377
|
let body;
|
|
380
378
|
body = JSON.stringify({
|
|
381
379
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
382
|
-
...(input.TagKeys != null && { TagKeys:
|
|
380
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
383
381
|
});
|
|
384
382
|
return new protocol_http_1.HttpRequest({
|
|
385
383
|
protocol,
|
|
@@ -392,8 +390,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
392
390
|
body,
|
|
393
391
|
});
|
|
394
392
|
};
|
|
395
|
-
exports.
|
|
396
|
-
const
|
|
393
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
394
|
+
const se_UpdateMediaInsightsPipelineConfigurationCommand = async (input, context) => {
|
|
397
395
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
398
396
|
const headers = {
|
|
399
397
|
"content-type": "application/json",
|
|
@@ -403,11 +401,9 @@ const serializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommand = as
|
|
|
403
401
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
404
402
|
let body;
|
|
405
403
|
body = JSON.stringify({
|
|
406
|
-
...(input.Elements != null && {
|
|
407
|
-
Elements: serializeAws_restJson1MediaInsightsPipelineConfigurationElements(input.Elements, context),
|
|
408
|
-
}),
|
|
404
|
+
...(input.Elements != null && { Elements: se_MediaInsightsPipelineConfigurationElements(input.Elements, context) }),
|
|
409
405
|
...(input.RealTimeAlertConfiguration != null && {
|
|
410
|
-
RealTimeAlertConfiguration:
|
|
406
|
+
RealTimeAlertConfiguration: se_RealTimeAlertConfiguration(input.RealTimeAlertConfiguration, context),
|
|
411
407
|
}),
|
|
412
408
|
...(input.ResourceAccessRoleArn != null && { ResourceAccessRoleArn: input.ResourceAccessRoleArn }),
|
|
413
409
|
});
|
|
@@ -421,8 +417,8 @@ const serializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommand = as
|
|
|
421
417
|
body,
|
|
422
418
|
});
|
|
423
419
|
};
|
|
424
|
-
exports.
|
|
425
|
-
const
|
|
420
|
+
exports.se_UpdateMediaInsightsPipelineConfigurationCommand = se_UpdateMediaInsightsPipelineConfigurationCommand;
|
|
421
|
+
const se_UpdateMediaInsightsPipelineStatusCommand = async (input, context) => {
|
|
426
422
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
427
423
|
const headers = {
|
|
428
424
|
"content-type": "application/json",
|
|
@@ -444,22 +440,22 @@ const serializeAws_restJson1UpdateMediaInsightsPipelineStatusCommand = async (in
|
|
|
444
440
|
body,
|
|
445
441
|
});
|
|
446
442
|
};
|
|
447
|
-
exports.
|
|
448
|
-
const
|
|
443
|
+
exports.se_UpdateMediaInsightsPipelineStatusCommand = se_UpdateMediaInsightsPipelineStatusCommand;
|
|
444
|
+
const de_CreateMediaCapturePipelineCommand = async (output, context) => {
|
|
449
445
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
450
|
-
return
|
|
446
|
+
return de_CreateMediaCapturePipelineCommandError(output, context);
|
|
451
447
|
}
|
|
452
448
|
const contents = map({
|
|
453
449
|
$metadata: deserializeMetadata(output),
|
|
454
450
|
});
|
|
455
451
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
456
452
|
if (data.MediaCapturePipeline != null) {
|
|
457
|
-
contents.MediaCapturePipeline =
|
|
453
|
+
contents.MediaCapturePipeline = de_MediaCapturePipeline(data.MediaCapturePipeline, context);
|
|
458
454
|
}
|
|
459
455
|
return contents;
|
|
460
456
|
};
|
|
461
|
-
exports.
|
|
462
|
-
const
|
|
457
|
+
exports.de_CreateMediaCapturePipelineCommand = de_CreateMediaCapturePipelineCommand;
|
|
458
|
+
const de_CreateMediaCapturePipelineCommandError = async (output, context) => {
|
|
463
459
|
const parsedOutput = {
|
|
464
460
|
...output,
|
|
465
461
|
body: await parseErrorBody(output.body, context),
|
|
@@ -468,25 +464,25 @@ const deserializeAws_restJson1CreateMediaCapturePipelineCommandError = async (ou
|
|
|
468
464
|
switch (errorCode) {
|
|
469
465
|
case "BadRequestException":
|
|
470
466
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
471
|
-
throw await
|
|
467
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
472
468
|
case "ForbiddenException":
|
|
473
469
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
474
|
-
throw await
|
|
470
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
475
471
|
case "ResourceLimitExceededException":
|
|
476
472
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
477
|
-
throw await
|
|
473
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
478
474
|
case "ServiceFailureException":
|
|
479
475
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
480
|
-
throw await
|
|
476
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
481
477
|
case "ServiceUnavailableException":
|
|
482
478
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
483
|
-
throw await
|
|
479
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
484
480
|
case "ThrottledClientException":
|
|
485
481
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
486
|
-
throw await
|
|
482
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
487
483
|
case "UnauthorizedClientException":
|
|
488
484
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
489
|
-
throw await
|
|
485
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
490
486
|
default:
|
|
491
487
|
const parsedBody = parsedOutput.body;
|
|
492
488
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -497,21 +493,21 @@ const deserializeAws_restJson1CreateMediaCapturePipelineCommandError = async (ou
|
|
|
497
493
|
});
|
|
498
494
|
}
|
|
499
495
|
};
|
|
500
|
-
const
|
|
496
|
+
const de_CreateMediaConcatenationPipelineCommand = async (output, context) => {
|
|
501
497
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
502
|
-
return
|
|
498
|
+
return de_CreateMediaConcatenationPipelineCommandError(output, context);
|
|
503
499
|
}
|
|
504
500
|
const contents = map({
|
|
505
501
|
$metadata: deserializeMetadata(output),
|
|
506
502
|
});
|
|
507
503
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
508
504
|
if (data.MediaConcatenationPipeline != null) {
|
|
509
|
-
contents.MediaConcatenationPipeline =
|
|
505
|
+
contents.MediaConcatenationPipeline = de_MediaConcatenationPipeline(data.MediaConcatenationPipeline, context);
|
|
510
506
|
}
|
|
511
507
|
return contents;
|
|
512
508
|
};
|
|
513
|
-
exports.
|
|
514
|
-
const
|
|
509
|
+
exports.de_CreateMediaConcatenationPipelineCommand = de_CreateMediaConcatenationPipelineCommand;
|
|
510
|
+
const de_CreateMediaConcatenationPipelineCommandError = async (output, context) => {
|
|
515
511
|
const parsedOutput = {
|
|
516
512
|
...output,
|
|
517
513
|
body: await parseErrorBody(output.body, context),
|
|
@@ -520,25 +516,25 @@ const deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError = asy
|
|
|
520
516
|
switch (errorCode) {
|
|
521
517
|
case "BadRequestException":
|
|
522
518
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
523
|
-
throw await
|
|
519
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
524
520
|
case "ForbiddenException":
|
|
525
521
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
526
|
-
throw await
|
|
522
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
527
523
|
case "ResourceLimitExceededException":
|
|
528
524
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
529
|
-
throw await
|
|
525
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
530
526
|
case "ServiceFailureException":
|
|
531
527
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
532
|
-
throw await
|
|
528
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
533
529
|
case "ServiceUnavailableException":
|
|
534
530
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
535
|
-
throw await
|
|
531
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
536
532
|
case "ThrottledClientException":
|
|
537
533
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
538
|
-
throw await
|
|
534
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
539
535
|
case "UnauthorizedClientException":
|
|
540
536
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
541
|
-
throw await
|
|
537
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
542
538
|
default:
|
|
543
539
|
const parsedBody = parsedOutput.body;
|
|
544
540
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -549,21 +545,21 @@ const deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError = asy
|
|
|
549
545
|
});
|
|
550
546
|
}
|
|
551
547
|
};
|
|
552
|
-
const
|
|
548
|
+
const de_CreateMediaInsightsPipelineCommand = async (output, context) => {
|
|
553
549
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
554
|
-
return
|
|
550
|
+
return de_CreateMediaInsightsPipelineCommandError(output, context);
|
|
555
551
|
}
|
|
556
552
|
const contents = map({
|
|
557
553
|
$metadata: deserializeMetadata(output),
|
|
558
554
|
});
|
|
559
555
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
560
556
|
if (data.MediaInsightsPipeline != null) {
|
|
561
|
-
contents.MediaInsightsPipeline =
|
|
557
|
+
contents.MediaInsightsPipeline = de_MediaInsightsPipeline(data.MediaInsightsPipeline, context);
|
|
562
558
|
}
|
|
563
559
|
return contents;
|
|
564
560
|
};
|
|
565
|
-
exports.
|
|
566
|
-
const
|
|
561
|
+
exports.de_CreateMediaInsightsPipelineCommand = de_CreateMediaInsightsPipelineCommand;
|
|
562
|
+
const de_CreateMediaInsightsPipelineCommandError = async (output, context) => {
|
|
567
563
|
const parsedOutput = {
|
|
568
564
|
...output,
|
|
569
565
|
body: await parseErrorBody(output.body, context),
|
|
@@ -572,28 +568,28 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineCommandError = async (o
|
|
|
572
568
|
switch (errorCode) {
|
|
573
569
|
case "BadRequestException":
|
|
574
570
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
575
|
-
throw await
|
|
571
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
576
572
|
case "ForbiddenException":
|
|
577
573
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
578
|
-
throw await
|
|
574
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
579
575
|
case "NotFoundException":
|
|
580
576
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
581
|
-
throw await
|
|
577
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
582
578
|
case "ResourceLimitExceededException":
|
|
583
579
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
584
|
-
throw await
|
|
580
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
585
581
|
case "ServiceFailureException":
|
|
586
582
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
587
|
-
throw await
|
|
583
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
588
584
|
case "ServiceUnavailableException":
|
|
589
585
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
590
|
-
throw await
|
|
586
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
591
587
|
case "ThrottledClientException":
|
|
592
588
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
593
|
-
throw await
|
|
589
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
594
590
|
case "UnauthorizedClientException":
|
|
595
591
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
596
|
-
throw await
|
|
592
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
597
593
|
default:
|
|
598
594
|
const parsedBody = parsedOutput.body;
|
|
599
595
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -604,21 +600,21 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineCommandError = async (o
|
|
|
604
600
|
});
|
|
605
601
|
}
|
|
606
602
|
};
|
|
607
|
-
const
|
|
603
|
+
const de_CreateMediaInsightsPipelineConfigurationCommand = async (output, context) => {
|
|
608
604
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
609
|
-
return
|
|
605
|
+
return de_CreateMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
610
606
|
}
|
|
611
607
|
const contents = map({
|
|
612
608
|
$metadata: deserializeMetadata(output),
|
|
613
609
|
});
|
|
614
610
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
615
611
|
if (data.MediaInsightsPipelineConfiguration != null) {
|
|
616
|
-
contents.MediaInsightsPipelineConfiguration =
|
|
612
|
+
contents.MediaInsightsPipelineConfiguration = de_MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
|
|
617
613
|
}
|
|
618
614
|
return contents;
|
|
619
615
|
};
|
|
620
|
-
exports.
|
|
621
|
-
const
|
|
616
|
+
exports.de_CreateMediaInsightsPipelineConfigurationCommand = de_CreateMediaInsightsPipelineConfigurationCommand;
|
|
617
|
+
const de_CreateMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
|
|
622
618
|
const parsedOutput = {
|
|
623
619
|
...output,
|
|
624
620
|
body: await parseErrorBody(output.body, context),
|
|
@@ -627,28 +623,28 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommandErr
|
|
|
627
623
|
switch (errorCode) {
|
|
628
624
|
case "BadRequestException":
|
|
629
625
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
630
|
-
throw await
|
|
626
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
631
627
|
case "ForbiddenException":
|
|
632
628
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
633
|
-
throw await
|
|
629
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
634
630
|
case "NotFoundException":
|
|
635
631
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
636
|
-
throw await
|
|
632
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
637
633
|
case "ResourceLimitExceededException":
|
|
638
634
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
639
|
-
throw await
|
|
635
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
640
636
|
case "ServiceFailureException":
|
|
641
637
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
642
|
-
throw await
|
|
638
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
643
639
|
case "ServiceUnavailableException":
|
|
644
640
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
645
|
-
throw await
|
|
641
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
646
642
|
case "ThrottledClientException":
|
|
647
643
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
648
|
-
throw await
|
|
644
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
649
645
|
case "UnauthorizedClientException":
|
|
650
646
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
651
|
-
throw await
|
|
647
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
652
648
|
default:
|
|
653
649
|
const parsedBody = parsedOutput.body;
|
|
654
650
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -659,21 +655,21 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommandErr
|
|
|
659
655
|
});
|
|
660
656
|
}
|
|
661
657
|
};
|
|
662
|
-
const
|
|
658
|
+
const de_CreateMediaLiveConnectorPipelineCommand = async (output, context) => {
|
|
663
659
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
664
|
-
return
|
|
660
|
+
return de_CreateMediaLiveConnectorPipelineCommandError(output, context);
|
|
665
661
|
}
|
|
666
662
|
const contents = map({
|
|
667
663
|
$metadata: deserializeMetadata(output),
|
|
668
664
|
});
|
|
669
665
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
670
666
|
if (data.MediaLiveConnectorPipeline != null) {
|
|
671
|
-
contents.MediaLiveConnectorPipeline =
|
|
667
|
+
contents.MediaLiveConnectorPipeline = de_MediaLiveConnectorPipeline(data.MediaLiveConnectorPipeline, context);
|
|
672
668
|
}
|
|
673
669
|
return contents;
|
|
674
670
|
};
|
|
675
|
-
exports.
|
|
676
|
-
const
|
|
671
|
+
exports.de_CreateMediaLiveConnectorPipelineCommand = de_CreateMediaLiveConnectorPipelineCommand;
|
|
672
|
+
const de_CreateMediaLiveConnectorPipelineCommandError = async (output, context) => {
|
|
677
673
|
const parsedOutput = {
|
|
678
674
|
...output,
|
|
679
675
|
body: await parseErrorBody(output.body, context),
|
|
@@ -682,25 +678,25 @@ const deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError = asy
|
|
|
682
678
|
switch (errorCode) {
|
|
683
679
|
case "BadRequestException":
|
|
684
680
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
685
|
-
throw await
|
|
681
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
686
682
|
case "ForbiddenException":
|
|
687
683
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
688
|
-
throw await
|
|
684
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
689
685
|
case "ResourceLimitExceededException":
|
|
690
686
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
691
|
-
throw await
|
|
687
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
692
688
|
case "ServiceFailureException":
|
|
693
689
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
694
|
-
throw await
|
|
690
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
695
691
|
case "ServiceUnavailableException":
|
|
696
692
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
697
|
-
throw await
|
|
693
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
698
694
|
case "ThrottledClientException":
|
|
699
695
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
700
|
-
throw await
|
|
696
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
701
697
|
case "UnauthorizedClientException":
|
|
702
698
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
703
|
-
throw await
|
|
699
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
704
700
|
default:
|
|
705
701
|
const parsedBody = parsedOutput.body;
|
|
706
702
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -711,9 +707,9 @@ const deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError = asy
|
|
|
711
707
|
});
|
|
712
708
|
}
|
|
713
709
|
};
|
|
714
|
-
const
|
|
710
|
+
const de_DeleteMediaCapturePipelineCommand = async (output, context) => {
|
|
715
711
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
716
|
-
return
|
|
712
|
+
return de_DeleteMediaCapturePipelineCommandError(output, context);
|
|
717
713
|
}
|
|
718
714
|
const contents = map({
|
|
719
715
|
$metadata: deserializeMetadata(output),
|
|
@@ -721,8 +717,8 @@ const deserializeAws_restJson1DeleteMediaCapturePipelineCommand = async (output,
|
|
|
721
717
|
await collectBody(output.body, context);
|
|
722
718
|
return contents;
|
|
723
719
|
};
|
|
724
|
-
exports.
|
|
725
|
-
const
|
|
720
|
+
exports.de_DeleteMediaCapturePipelineCommand = de_DeleteMediaCapturePipelineCommand;
|
|
721
|
+
const de_DeleteMediaCapturePipelineCommandError = async (output, context) => {
|
|
726
722
|
const parsedOutput = {
|
|
727
723
|
...output,
|
|
728
724
|
body: await parseErrorBody(output.body, context),
|
|
@@ -731,25 +727,25 @@ const deserializeAws_restJson1DeleteMediaCapturePipelineCommandError = async (ou
|
|
|
731
727
|
switch (errorCode) {
|
|
732
728
|
case "BadRequestException":
|
|
733
729
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
734
|
-
throw await
|
|
730
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
735
731
|
case "ForbiddenException":
|
|
736
732
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
737
|
-
throw await
|
|
733
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
738
734
|
case "NotFoundException":
|
|
739
735
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
740
|
-
throw await
|
|
736
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
741
737
|
case "ServiceFailureException":
|
|
742
738
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
743
|
-
throw await
|
|
739
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
744
740
|
case "ServiceUnavailableException":
|
|
745
741
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
746
|
-
throw await
|
|
742
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
747
743
|
case "ThrottledClientException":
|
|
748
744
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
749
|
-
throw await
|
|
745
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
750
746
|
case "UnauthorizedClientException":
|
|
751
747
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
752
|
-
throw await
|
|
748
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
753
749
|
default:
|
|
754
750
|
const parsedBody = parsedOutput.body;
|
|
755
751
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -760,9 +756,9 @@ const deserializeAws_restJson1DeleteMediaCapturePipelineCommandError = async (ou
|
|
|
760
756
|
});
|
|
761
757
|
}
|
|
762
758
|
};
|
|
763
|
-
const
|
|
759
|
+
const de_DeleteMediaInsightsPipelineConfigurationCommand = async (output, context) => {
|
|
764
760
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
765
|
-
return
|
|
761
|
+
return de_DeleteMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
766
762
|
}
|
|
767
763
|
const contents = map({
|
|
768
764
|
$metadata: deserializeMetadata(output),
|
|
@@ -770,8 +766,8 @@ const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommand =
|
|
|
770
766
|
await collectBody(output.body, context);
|
|
771
767
|
return contents;
|
|
772
768
|
};
|
|
773
|
-
exports.
|
|
774
|
-
const
|
|
769
|
+
exports.de_DeleteMediaInsightsPipelineConfigurationCommand = de_DeleteMediaInsightsPipelineConfigurationCommand;
|
|
770
|
+
const de_DeleteMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
|
|
775
771
|
const parsedOutput = {
|
|
776
772
|
...output,
|
|
777
773
|
body: await parseErrorBody(output.body, context),
|
|
@@ -780,28 +776,28 @@ const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommandErr
|
|
|
780
776
|
switch (errorCode) {
|
|
781
777
|
case "BadRequestException":
|
|
782
778
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
783
|
-
throw await
|
|
779
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
784
780
|
case "ConflictException":
|
|
785
781
|
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
786
|
-
throw await
|
|
782
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
787
783
|
case "ForbiddenException":
|
|
788
784
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
789
|
-
throw await
|
|
785
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
790
786
|
case "NotFoundException":
|
|
791
787
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
792
|
-
throw await
|
|
788
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
793
789
|
case "ServiceFailureException":
|
|
794
790
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
795
|
-
throw await
|
|
791
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
796
792
|
case "ServiceUnavailableException":
|
|
797
793
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
798
|
-
throw await
|
|
794
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
799
795
|
case "ThrottledClientException":
|
|
800
796
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
801
|
-
throw await
|
|
797
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
802
798
|
case "UnauthorizedClientException":
|
|
803
799
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
804
|
-
throw await
|
|
800
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
805
801
|
default:
|
|
806
802
|
const parsedBody = parsedOutput.body;
|
|
807
803
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -812,9 +808,9 @@ const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommandErr
|
|
|
812
808
|
});
|
|
813
809
|
}
|
|
814
810
|
};
|
|
815
|
-
const
|
|
811
|
+
const de_DeleteMediaPipelineCommand = async (output, context) => {
|
|
816
812
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
817
|
-
return
|
|
813
|
+
return de_DeleteMediaPipelineCommandError(output, context);
|
|
818
814
|
}
|
|
819
815
|
const contents = map({
|
|
820
816
|
$metadata: deserializeMetadata(output),
|
|
@@ -822,8 +818,8 @@ const deserializeAws_restJson1DeleteMediaPipelineCommand = async (output, contex
|
|
|
822
818
|
await collectBody(output.body, context);
|
|
823
819
|
return contents;
|
|
824
820
|
};
|
|
825
|
-
exports.
|
|
826
|
-
const
|
|
821
|
+
exports.de_DeleteMediaPipelineCommand = de_DeleteMediaPipelineCommand;
|
|
822
|
+
const de_DeleteMediaPipelineCommandError = async (output, context) => {
|
|
827
823
|
const parsedOutput = {
|
|
828
824
|
...output,
|
|
829
825
|
body: await parseErrorBody(output.body, context),
|
|
@@ -832,25 +828,25 @@ const deserializeAws_restJson1DeleteMediaPipelineCommandError = async (output, c
|
|
|
832
828
|
switch (errorCode) {
|
|
833
829
|
case "BadRequestException":
|
|
834
830
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
835
|
-
throw await
|
|
831
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
836
832
|
case "ForbiddenException":
|
|
837
833
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
838
|
-
throw await
|
|
834
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
839
835
|
case "NotFoundException":
|
|
840
836
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
841
|
-
throw await
|
|
837
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
842
838
|
case "ServiceFailureException":
|
|
843
839
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
844
|
-
throw await
|
|
840
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
845
841
|
case "ServiceUnavailableException":
|
|
846
842
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
847
|
-
throw await
|
|
843
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
848
844
|
case "ThrottledClientException":
|
|
849
845
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
850
|
-
throw await
|
|
846
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
851
847
|
case "UnauthorizedClientException":
|
|
852
848
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
853
|
-
throw await
|
|
849
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
854
850
|
default:
|
|
855
851
|
const parsedBody = parsedOutput.body;
|
|
856
852
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -861,21 +857,21 @@ const deserializeAws_restJson1DeleteMediaPipelineCommandError = async (output, c
|
|
|
861
857
|
});
|
|
862
858
|
}
|
|
863
859
|
};
|
|
864
|
-
const
|
|
860
|
+
const de_GetMediaCapturePipelineCommand = async (output, context) => {
|
|
865
861
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
866
|
-
return
|
|
862
|
+
return de_GetMediaCapturePipelineCommandError(output, context);
|
|
867
863
|
}
|
|
868
864
|
const contents = map({
|
|
869
865
|
$metadata: deserializeMetadata(output),
|
|
870
866
|
});
|
|
871
867
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
872
868
|
if (data.MediaCapturePipeline != null) {
|
|
873
|
-
contents.MediaCapturePipeline =
|
|
869
|
+
contents.MediaCapturePipeline = de_MediaCapturePipeline(data.MediaCapturePipeline, context);
|
|
874
870
|
}
|
|
875
871
|
return contents;
|
|
876
872
|
};
|
|
877
|
-
exports.
|
|
878
|
-
const
|
|
873
|
+
exports.de_GetMediaCapturePipelineCommand = de_GetMediaCapturePipelineCommand;
|
|
874
|
+
const de_GetMediaCapturePipelineCommandError = async (output, context) => {
|
|
879
875
|
const parsedOutput = {
|
|
880
876
|
...output,
|
|
881
877
|
body: await parseErrorBody(output.body, context),
|
|
@@ -884,25 +880,25 @@ const deserializeAws_restJson1GetMediaCapturePipelineCommandError = async (outpu
|
|
|
884
880
|
switch (errorCode) {
|
|
885
881
|
case "BadRequestException":
|
|
886
882
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
887
|
-
throw await
|
|
883
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
888
884
|
case "ForbiddenException":
|
|
889
885
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
890
|
-
throw await
|
|
886
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
891
887
|
case "NotFoundException":
|
|
892
888
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
893
|
-
throw await
|
|
889
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
894
890
|
case "ServiceFailureException":
|
|
895
891
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
896
|
-
throw await
|
|
892
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
897
893
|
case "ServiceUnavailableException":
|
|
898
894
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
899
|
-
throw await
|
|
895
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
900
896
|
case "ThrottledClientException":
|
|
901
897
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
902
|
-
throw await
|
|
898
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
903
899
|
case "UnauthorizedClientException":
|
|
904
900
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
905
|
-
throw await
|
|
901
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
906
902
|
default:
|
|
907
903
|
const parsedBody = parsedOutput.body;
|
|
908
904
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -913,21 +909,21 @@ const deserializeAws_restJson1GetMediaCapturePipelineCommandError = async (outpu
|
|
|
913
909
|
});
|
|
914
910
|
}
|
|
915
911
|
};
|
|
916
|
-
const
|
|
912
|
+
const de_GetMediaInsightsPipelineConfigurationCommand = async (output, context) => {
|
|
917
913
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
918
|
-
return
|
|
914
|
+
return de_GetMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
919
915
|
}
|
|
920
916
|
const contents = map({
|
|
921
917
|
$metadata: deserializeMetadata(output),
|
|
922
918
|
});
|
|
923
919
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
924
920
|
if (data.MediaInsightsPipelineConfiguration != null) {
|
|
925
|
-
contents.MediaInsightsPipelineConfiguration =
|
|
921
|
+
contents.MediaInsightsPipelineConfiguration = de_MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
|
|
926
922
|
}
|
|
927
923
|
return contents;
|
|
928
924
|
};
|
|
929
|
-
exports.
|
|
930
|
-
const
|
|
925
|
+
exports.de_GetMediaInsightsPipelineConfigurationCommand = de_GetMediaInsightsPipelineConfigurationCommand;
|
|
926
|
+
const de_GetMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
|
|
931
927
|
const parsedOutput = {
|
|
932
928
|
...output,
|
|
933
929
|
body: await parseErrorBody(output.body, context),
|
|
@@ -936,25 +932,25 @@ const deserializeAws_restJson1GetMediaInsightsPipelineConfigurationCommandError
|
|
|
936
932
|
switch (errorCode) {
|
|
937
933
|
case "BadRequestException":
|
|
938
934
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
939
|
-
throw await
|
|
935
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
940
936
|
case "ForbiddenException":
|
|
941
937
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
942
|
-
throw await
|
|
938
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
943
939
|
case "NotFoundException":
|
|
944
940
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
945
|
-
throw await
|
|
941
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
946
942
|
case "ServiceFailureException":
|
|
947
943
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
948
|
-
throw await
|
|
944
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
949
945
|
case "ServiceUnavailableException":
|
|
950
946
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
951
|
-
throw await
|
|
947
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
952
948
|
case "ThrottledClientException":
|
|
953
949
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
954
|
-
throw await
|
|
950
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
955
951
|
case "UnauthorizedClientException":
|
|
956
952
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
957
|
-
throw await
|
|
953
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
958
954
|
default:
|
|
959
955
|
const parsedBody = parsedOutput.body;
|
|
960
956
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -965,21 +961,21 @@ const deserializeAws_restJson1GetMediaInsightsPipelineConfigurationCommandError
|
|
|
965
961
|
});
|
|
966
962
|
}
|
|
967
963
|
};
|
|
968
|
-
const
|
|
964
|
+
const de_GetMediaPipelineCommand = async (output, context) => {
|
|
969
965
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
970
|
-
return
|
|
966
|
+
return de_GetMediaPipelineCommandError(output, context);
|
|
971
967
|
}
|
|
972
968
|
const contents = map({
|
|
973
969
|
$metadata: deserializeMetadata(output),
|
|
974
970
|
});
|
|
975
971
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
976
972
|
if (data.MediaPipeline != null) {
|
|
977
|
-
contents.MediaPipeline =
|
|
973
|
+
contents.MediaPipeline = de_MediaPipeline(data.MediaPipeline, context);
|
|
978
974
|
}
|
|
979
975
|
return contents;
|
|
980
976
|
};
|
|
981
|
-
exports.
|
|
982
|
-
const
|
|
977
|
+
exports.de_GetMediaPipelineCommand = de_GetMediaPipelineCommand;
|
|
978
|
+
const de_GetMediaPipelineCommandError = async (output, context) => {
|
|
983
979
|
const parsedOutput = {
|
|
984
980
|
...output,
|
|
985
981
|
body: await parseErrorBody(output.body, context),
|
|
@@ -988,25 +984,25 @@ const deserializeAws_restJson1GetMediaPipelineCommandError = async (output, cont
|
|
|
988
984
|
switch (errorCode) {
|
|
989
985
|
case "BadRequestException":
|
|
990
986
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
991
|
-
throw await
|
|
987
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
992
988
|
case "ForbiddenException":
|
|
993
989
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
994
|
-
throw await
|
|
990
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
995
991
|
case "NotFoundException":
|
|
996
992
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
997
|
-
throw await
|
|
993
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
998
994
|
case "ServiceFailureException":
|
|
999
995
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1000
|
-
throw await
|
|
996
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1001
997
|
case "ServiceUnavailableException":
|
|
1002
998
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1003
|
-
throw await
|
|
999
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1004
1000
|
case "ThrottledClientException":
|
|
1005
1001
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1006
|
-
throw await
|
|
1002
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1007
1003
|
case "UnauthorizedClientException":
|
|
1008
1004
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1009
|
-
throw await
|
|
1005
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1010
1006
|
default:
|
|
1011
1007
|
const parsedBody = parsedOutput.body;
|
|
1012
1008
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1017,24 +1013,24 @@ const deserializeAws_restJson1GetMediaPipelineCommandError = async (output, cont
|
|
|
1017
1013
|
});
|
|
1018
1014
|
}
|
|
1019
1015
|
};
|
|
1020
|
-
const
|
|
1016
|
+
const de_ListMediaCapturePipelinesCommand = async (output, context) => {
|
|
1021
1017
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1022
|
-
return
|
|
1018
|
+
return de_ListMediaCapturePipelinesCommandError(output, context);
|
|
1023
1019
|
}
|
|
1024
1020
|
const contents = map({
|
|
1025
1021
|
$metadata: deserializeMetadata(output),
|
|
1026
1022
|
});
|
|
1027
1023
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1028
1024
|
if (data.MediaCapturePipelines != null) {
|
|
1029
|
-
contents.MediaCapturePipelines =
|
|
1025
|
+
contents.MediaCapturePipelines = de_MediaCapturePipelineSummaryList(data.MediaCapturePipelines, context);
|
|
1030
1026
|
}
|
|
1031
1027
|
if (data.NextToken != null) {
|
|
1032
1028
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1033
1029
|
}
|
|
1034
1030
|
return contents;
|
|
1035
1031
|
};
|
|
1036
|
-
exports.
|
|
1037
|
-
const
|
|
1032
|
+
exports.de_ListMediaCapturePipelinesCommand = de_ListMediaCapturePipelinesCommand;
|
|
1033
|
+
const de_ListMediaCapturePipelinesCommandError = async (output, context) => {
|
|
1038
1034
|
const parsedOutput = {
|
|
1039
1035
|
...output,
|
|
1040
1036
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1043,25 +1039,25 @@ const deserializeAws_restJson1ListMediaCapturePipelinesCommandError = async (out
|
|
|
1043
1039
|
switch (errorCode) {
|
|
1044
1040
|
case "BadRequestException":
|
|
1045
1041
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1046
|
-
throw await
|
|
1042
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1047
1043
|
case "ForbiddenException":
|
|
1048
1044
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1049
|
-
throw await
|
|
1045
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1050
1046
|
case "ResourceLimitExceededException":
|
|
1051
1047
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1052
|
-
throw await
|
|
1048
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1053
1049
|
case "ServiceFailureException":
|
|
1054
1050
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1055
|
-
throw await
|
|
1051
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1056
1052
|
case "ServiceUnavailableException":
|
|
1057
1053
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1058
|
-
throw await
|
|
1054
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1059
1055
|
case "ThrottledClientException":
|
|
1060
1056
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1061
|
-
throw await
|
|
1057
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1062
1058
|
case "UnauthorizedClientException":
|
|
1063
1059
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1064
|
-
throw await
|
|
1060
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1065
1061
|
default:
|
|
1066
1062
|
const parsedBody = parsedOutput.body;
|
|
1067
1063
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1072,25 +1068,24 @@ const deserializeAws_restJson1ListMediaCapturePipelinesCommandError = async (out
|
|
|
1072
1068
|
});
|
|
1073
1069
|
}
|
|
1074
1070
|
};
|
|
1075
|
-
const
|
|
1071
|
+
const de_ListMediaInsightsPipelineConfigurationsCommand = async (output, context) => {
|
|
1076
1072
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1077
|
-
return
|
|
1073
|
+
return de_ListMediaInsightsPipelineConfigurationsCommandError(output, context);
|
|
1078
1074
|
}
|
|
1079
1075
|
const contents = map({
|
|
1080
1076
|
$metadata: deserializeMetadata(output),
|
|
1081
1077
|
});
|
|
1082
1078
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1083
1079
|
if (data.MediaInsightsPipelineConfigurations != null) {
|
|
1084
|
-
contents.MediaInsightsPipelineConfigurations =
|
|
1085
|
-
deserializeAws_restJson1MediaInsightsPipelineConfigurationSummaryList(data.MediaInsightsPipelineConfigurations, context);
|
|
1080
|
+
contents.MediaInsightsPipelineConfigurations = de_MediaInsightsPipelineConfigurationSummaryList(data.MediaInsightsPipelineConfigurations, context);
|
|
1086
1081
|
}
|
|
1087
1082
|
if (data.NextToken != null) {
|
|
1088
1083
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1089
1084
|
}
|
|
1090
1085
|
return contents;
|
|
1091
1086
|
};
|
|
1092
|
-
exports.
|
|
1093
|
-
const
|
|
1087
|
+
exports.de_ListMediaInsightsPipelineConfigurationsCommand = de_ListMediaInsightsPipelineConfigurationsCommand;
|
|
1088
|
+
const de_ListMediaInsightsPipelineConfigurationsCommandError = async (output, context) => {
|
|
1094
1089
|
const parsedOutput = {
|
|
1095
1090
|
...output,
|
|
1096
1091
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1099,25 +1094,25 @@ const deserializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommandErro
|
|
|
1099
1094
|
switch (errorCode) {
|
|
1100
1095
|
case "BadRequestException":
|
|
1101
1096
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1102
|
-
throw await
|
|
1097
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1103
1098
|
case "ForbiddenException":
|
|
1104
1099
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1105
|
-
throw await
|
|
1100
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1106
1101
|
case "ResourceLimitExceededException":
|
|
1107
1102
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1108
|
-
throw await
|
|
1103
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1109
1104
|
case "ServiceFailureException":
|
|
1110
1105
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1111
|
-
throw await
|
|
1106
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1112
1107
|
case "ServiceUnavailableException":
|
|
1113
1108
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1114
|
-
throw await
|
|
1109
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1115
1110
|
case "ThrottledClientException":
|
|
1116
1111
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1117
|
-
throw await
|
|
1112
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1118
1113
|
case "UnauthorizedClientException":
|
|
1119
1114
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1120
|
-
throw await
|
|
1115
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1121
1116
|
default:
|
|
1122
1117
|
const parsedBody = parsedOutput.body;
|
|
1123
1118
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1128,24 +1123,24 @@ const deserializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommandErro
|
|
|
1128
1123
|
});
|
|
1129
1124
|
}
|
|
1130
1125
|
};
|
|
1131
|
-
const
|
|
1126
|
+
const de_ListMediaPipelinesCommand = async (output, context) => {
|
|
1132
1127
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1133
|
-
return
|
|
1128
|
+
return de_ListMediaPipelinesCommandError(output, context);
|
|
1134
1129
|
}
|
|
1135
1130
|
const contents = map({
|
|
1136
1131
|
$metadata: deserializeMetadata(output),
|
|
1137
1132
|
});
|
|
1138
1133
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1139
1134
|
if (data.MediaPipelines != null) {
|
|
1140
|
-
contents.MediaPipelines =
|
|
1135
|
+
contents.MediaPipelines = de_MediaPipelineList(data.MediaPipelines, context);
|
|
1141
1136
|
}
|
|
1142
1137
|
if (data.NextToken != null) {
|
|
1143
1138
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1144
1139
|
}
|
|
1145
1140
|
return contents;
|
|
1146
1141
|
};
|
|
1147
|
-
exports.
|
|
1148
|
-
const
|
|
1142
|
+
exports.de_ListMediaPipelinesCommand = de_ListMediaPipelinesCommand;
|
|
1143
|
+
const de_ListMediaPipelinesCommandError = async (output, context) => {
|
|
1149
1144
|
const parsedOutput = {
|
|
1150
1145
|
...output,
|
|
1151
1146
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1154,25 +1149,25 @@ const deserializeAws_restJson1ListMediaPipelinesCommandError = async (output, co
|
|
|
1154
1149
|
switch (errorCode) {
|
|
1155
1150
|
case "BadRequestException":
|
|
1156
1151
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1157
|
-
throw await
|
|
1152
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1158
1153
|
case "ForbiddenException":
|
|
1159
1154
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1160
|
-
throw await
|
|
1155
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1161
1156
|
case "ResourceLimitExceededException":
|
|
1162
1157
|
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1163
|
-
throw await
|
|
1158
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1164
1159
|
case "ServiceFailureException":
|
|
1165
1160
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1166
|
-
throw await
|
|
1161
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1167
1162
|
case "ServiceUnavailableException":
|
|
1168
1163
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1169
|
-
throw await
|
|
1164
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1170
1165
|
case "ThrottledClientException":
|
|
1171
1166
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1172
|
-
throw await
|
|
1167
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1173
1168
|
case "UnauthorizedClientException":
|
|
1174
1169
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1175
|
-
throw await
|
|
1170
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1176
1171
|
default:
|
|
1177
1172
|
const parsedBody = parsedOutput.body;
|
|
1178
1173
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1183,21 +1178,21 @@ const deserializeAws_restJson1ListMediaPipelinesCommandError = async (output, co
|
|
|
1183
1178
|
});
|
|
1184
1179
|
}
|
|
1185
1180
|
};
|
|
1186
|
-
const
|
|
1181
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1187
1182
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1188
|
-
return
|
|
1183
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1189
1184
|
}
|
|
1190
1185
|
const contents = map({
|
|
1191
1186
|
$metadata: deserializeMetadata(output),
|
|
1192
1187
|
});
|
|
1193
1188
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1194
1189
|
if (data.Tags != null) {
|
|
1195
|
-
contents.Tags =
|
|
1190
|
+
contents.Tags = de_TagList(data.Tags, context);
|
|
1196
1191
|
}
|
|
1197
1192
|
return contents;
|
|
1198
1193
|
};
|
|
1199
|
-
exports.
|
|
1200
|
-
const
|
|
1194
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1195
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1201
1196
|
const parsedOutput = {
|
|
1202
1197
|
...output,
|
|
1203
1198
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1206,25 +1201,25 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1206
1201
|
switch (errorCode) {
|
|
1207
1202
|
case "BadRequestException":
|
|
1208
1203
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1209
|
-
throw await
|
|
1204
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1210
1205
|
case "ForbiddenException":
|
|
1211
1206
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1212
|
-
throw await
|
|
1207
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1213
1208
|
case "NotFoundException":
|
|
1214
1209
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1215
|
-
throw await
|
|
1210
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1216
1211
|
case "ServiceFailureException":
|
|
1217
1212
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1218
|
-
throw await
|
|
1213
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1219
1214
|
case "ServiceUnavailableException":
|
|
1220
1215
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1221
|
-
throw await
|
|
1216
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1222
1217
|
case "ThrottledClientException":
|
|
1223
1218
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1224
|
-
throw await
|
|
1219
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1225
1220
|
case "UnauthorizedClientException":
|
|
1226
1221
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1227
|
-
throw await
|
|
1222
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1228
1223
|
default:
|
|
1229
1224
|
const parsedBody = parsedOutput.body;
|
|
1230
1225
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1235,9 +1230,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1235
1230
|
});
|
|
1236
1231
|
}
|
|
1237
1232
|
};
|
|
1238
|
-
const
|
|
1233
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1239
1234
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1240
|
-
return
|
|
1235
|
+
return de_TagResourceCommandError(output, context);
|
|
1241
1236
|
}
|
|
1242
1237
|
const contents = map({
|
|
1243
1238
|
$metadata: deserializeMetadata(output),
|
|
@@ -1245,8 +1240,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
|
1245
1240
|
await collectBody(output.body, context);
|
|
1246
1241
|
return contents;
|
|
1247
1242
|
};
|
|
1248
|
-
exports.
|
|
1249
|
-
const
|
|
1243
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1244
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1250
1245
|
const parsedOutput = {
|
|
1251
1246
|
...output,
|
|
1252
1247
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1255,25 +1250,25 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1255
1250
|
switch (errorCode) {
|
|
1256
1251
|
case "BadRequestException":
|
|
1257
1252
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1258
|
-
throw await
|
|
1253
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1259
1254
|
case "ForbiddenException":
|
|
1260
1255
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1261
|
-
throw await
|
|
1256
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1262
1257
|
case "NotFoundException":
|
|
1263
1258
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1264
|
-
throw await
|
|
1259
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1265
1260
|
case "ServiceFailureException":
|
|
1266
1261
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1267
|
-
throw await
|
|
1262
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1268
1263
|
case "ServiceUnavailableException":
|
|
1269
1264
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1270
|
-
throw await
|
|
1265
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1271
1266
|
case "ThrottledClientException":
|
|
1272
1267
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1273
|
-
throw await
|
|
1268
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1274
1269
|
case "UnauthorizedClientException":
|
|
1275
1270
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1276
|
-
throw await
|
|
1271
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1277
1272
|
default:
|
|
1278
1273
|
const parsedBody = parsedOutput.body;
|
|
1279
1274
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1284,9 +1279,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1284
1279
|
});
|
|
1285
1280
|
}
|
|
1286
1281
|
};
|
|
1287
|
-
const
|
|
1282
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1288
1283
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1289
|
-
return
|
|
1284
|
+
return de_UntagResourceCommandError(output, context);
|
|
1290
1285
|
}
|
|
1291
1286
|
const contents = map({
|
|
1292
1287
|
$metadata: deserializeMetadata(output),
|
|
@@ -1294,8 +1289,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
|
|
|
1294
1289
|
await collectBody(output.body, context);
|
|
1295
1290
|
return contents;
|
|
1296
1291
|
};
|
|
1297
|
-
exports.
|
|
1298
|
-
const
|
|
1292
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1293
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1299
1294
|
const parsedOutput = {
|
|
1300
1295
|
...output,
|
|
1301
1296
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1304,25 +1299,25 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1304
1299
|
switch (errorCode) {
|
|
1305
1300
|
case "BadRequestException":
|
|
1306
1301
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1307
|
-
throw await
|
|
1302
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1308
1303
|
case "ForbiddenException":
|
|
1309
1304
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1310
|
-
throw await
|
|
1305
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1311
1306
|
case "NotFoundException":
|
|
1312
1307
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1313
|
-
throw await
|
|
1308
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1314
1309
|
case "ServiceFailureException":
|
|
1315
1310
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1316
|
-
throw await
|
|
1311
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1317
1312
|
case "ServiceUnavailableException":
|
|
1318
1313
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1319
|
-
throw await
|
|
1314
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1320
1315
|
case "ThrottledClientException":
|
|
1321
1316
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1322
|
-
throw await
|
|
1317
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1323
1318
|
case "UnauthorizedClientException":
|
|
1324
1319
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1325
|
-
throw await
|
|
1320
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1326
1321
|
default:
|
|
1327
1322
|
const parsedBody = parsedOutput.body;
|
|
1328
1323
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1333,21 +1328,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1333
1328
|
});
|
|
1334
1329
|
}
|
|
1335
1330
|
};
|
|
1336
|
-
const
|
|
1331
|
+
const de_UpdateMediaInsightsPipelineConfigurationCommand = async (output, context) => {
|
|
1337
1332
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1338
|
-
return
|
|
1333
|
+
return de_UpdateMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
1339
1334
|
}
|
|
1340
1335
|
const contents = map({
|
|
1341
1336
|
$metadata: deserializeMetadata(output),
|
|
1342
1337
|
});
|
|
1343
1338
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1344
1339
|
if (data.MediaInsightsPipelineConfiguration != null) {
|
|
1345
|
-
contents.MediaInsightsPipelineConfiguration =
|
|
1340
|
+
contents.MediaInsightsPipelineConfiguration = de_MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
|
|
1346
1341
|
}
|
|
1347
1342
|
return contents;
|
|
1348
1343
|
};
|
|
1349
|
-
exports.
|
|
1350
|
-
const
|
|
1344
|
+
exports.de_UpdateMediaInsightsPipelineConfigurationCommand = de_UpdateMediaInsightsPipelineConfigurationCommand;
|
|
1345
|
+
const de_UpdateMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
|
|
1351
1346
|
const parsedOutput = {
|
|
1352
1347
|
...output,
|
|
1353
1348
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1356,28 +1351,28 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommandErr
|
|
|
1356
1351
|
switch (errorCode) {
|
|
1357
1352
|
case "BadRequestException":
|
|
1358
1353
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1359
|
-
throw await
|
|
1354
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1360
1355
|
case "ConflictException":
|
|
1361
1356
|
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1362
|
-
throw await
|
|
1357
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1363
1358
|
case "ForbiddenException":
|
|
1364
1359
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1365
|
-
throw await
|
|
1360
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1366
1361
|
case "NotFoundException":
|
|
1367
1362
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1368
|
-
throw await
|
|
1363
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1369
1364
|
case "ServiceFailureException":
|
|
1370
1365
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1371
|
-
throw await
|
|
1366
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1372
1367
|
case "ServiceUnavailableException":
|
|
1373
1368
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1374
|
-
throw await
|
|
1369
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1375
1370
|
case "ThrottledClientException":
|
|
1376
1371
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1377
|
-
throw await
|
|
1372
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1378
1373
|
case "UnauthorizedClientException":
|
|
1379
1374
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1380
|
-
throw await
|
|
1375
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1381
1376
|
default:
|
|
1382
1377
|
const parsedBody = parsedOutput.body;
|
|
1383
1378
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1388,9 +1383,9 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommandErr
|
|
|
1388
1383
|
});
|
|
1389
1384
|
}
|
|
1390
1385
|
};
|
|
1391
|
-
const
|
|
1386
|
+
const de_UpdateMediaInsightsPipelineStatusCommand = async (output, context) => {
|
|
1392
1387
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1393
|
-
return
|
|
1388
|
+
return de_UpdateMediaInsightsPipelineStatusCommandError(output, context);
|
|
1394
1389
|
}
|
|
1395
1390
|
const contents = map({
|
|
1396
1391
|
$metadata: deserializeMetadata(output),
|
|
@@ -1398,8 +1393,8 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommand = async (
|
|
|
1398
1393
|
await collectBody(output.body, context);
|
|
1399
1394
|
return contents;
|
|
1400
1395
|
};
|
|
1401
|
-
exports.
|
|
1402
|
-
const
|
|
1396
|
+
exports.de_UpdateMediaInsightsPipelineStatusCommand = de_UpdateMediaInsightsPipelineStatusCommand;
|
|
1397
|
+
const de_UpdateMediaInsightsPipelineStatusCommandError = async (output, context) => {
|
|
1403
1398
|
const parsedOutput = {
|
|
1404
1399
|
...output,
|
|
1405
1400
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1408,28 +1403,28 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommandError = as
|
|
|
1408
1403
|
switch (errorCode) {
|
|
1409
1404
|
case "BadRequestException":
|
|
1410
1405
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1411
|
-
throw await
|
|
1406
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1412
1407
|
case "ConflictException":
|
|
1413
1408
|
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1414
|
-
throw await
|
|
1409
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1415
1410
|
case "ForbiddenException":
|
|
1416
1411
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1417
|
-
throw await
|
|
1412
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1418
1413
|
case "NotFoundException":
|
|
1419
1414
|
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1420
|
-
throw await
|
|
1415
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1421
1416
|
case "ServiceFailureException":
|
|
1422
1417
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1423
|
-
throw await
|
|
1418
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1424
1419
|
case "ServiceUnavailableException":
|
|
1425
1420
|
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1426
|
-
throw await
|
|
1421
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1427
1422
|
case "ThrottledClientException":
|
|
1428
1423
|
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1429
|
-
throw await
|
|
1424
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1430
1425
|
case "UnauthorizedClientException":
|
|
1431
1426
|
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1432
|
-
throw await
|
|
1427
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1433
1428
|
default:
|
|
1434
1429
|
const parsedBody = parsedOutput.body;
|
|
1435
1430
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1441,7 +1436,7 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommandError = as
|
|
|
1441
1436
|
}
|
|
1442
1437
|
};
|
|
1443
1438
|
const map = smithy_client_1.map;
|
|
1444
|
-
const
|
|
1439
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1445
1440
|
const contents = map({});
|
|
1446
1441
|
const data = parsedOutput.body;
|
|
1447
1442
|
if (data.Code != null) {
|
|
@@ -1459,7 +1454,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
1459
1454
|
});
|
|
1460
1455
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1461
1456
|
};
|
|
1462
|
-
const
|
|
1457
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1463
1458
|
const contents = map({});
|
|
1464
1459
|
const data = parsedOutput.body;
|
|
1465
1460
|
if (data.Code != null) {
|
|
@@ -1477,7 +1472,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
1477
1472
|
});
|
|
1478
1473
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1479
1474
|
};
|
|
1480
|
-
const
|
|
1475
|
+
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1481
1476
|
const contents = map({});
|
|
1482
1477
|
const data = parsedOutput.body;
|
|
1483
1478
|
if (data.Code != null) {
|
|
@@ -1495,7 +1490,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
1495
1490
|
});
|
|
1496
1491
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1497
1492
|
};
|
|
1498
|
-
const
|
|
1493
|
+
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1499
1494
|
const contents = map({});
|
|
1500
1495
|
const data = parsedOutput.body;
|
|
1501
1496
|
if (data.Code != null) {
|
|
@@ -1513,7 +1508,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
1513
1508
|
});
|
|
1514
1509
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1515
1510
|
};
|
|
1516
|
-
const
|
|
1511
|
+
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1517
1512
|
const contents = map({});
|
|
1518
1513
|
const data = parsedOutput.body;
|
|
1519
1514
|
if (data.Code != null) {
|
|
@@ -1531,7 +1526,7 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
|
|
|
1531
1526
|
});
|
|
1532
1527
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1533
1528
|
};
|
|
1534
|
-
const
|
|
1529
|
+
const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
1535
1530
|
const contents = map({});
|
|
1536
1531
|
const data = parsedOutput.body;
|
|
1537
1532
|
if (data.Code != null) {
|
|
@@ -1549,7 +1544,7 @@ const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOut
|
|
|
1549
1544
|
});
|
|
1550
1545
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1551
1546
|
};
|
|
1552
|
-
const
|
|
1547
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1553
1548
|
const contents = map({});
|
|
1554
1549
|
const data = parsedOutput.body;
|
|
1555
1550
|
if (data.Code != null) {
|
|
@@ -1567,7 +1562,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
1567
1562
|
});
|
|
1568
1563
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1569
1564
|
};
|
|
1570
|
-
const
|
|
1565
|
+
const de_ThrottledClientExceptionRes = async (parsedOutput, context) => {
|
|
1571
1566
|
const contents = map({});
|
|
1572
1567
|
const data = parsedOutput.body;
|
|
1573
1568
|
if (data.Code != null) {
|
|
@@ -1585,7 +1580,7 @@ const deserializeAws_restJson1ThrottledClientExceptionResponse = async (parsedOu
|
|
|
1585
1580
|
});
|
|
1586
1581
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1587
1582
|
};
|
|
1588
|
-
const
|
|
1583
|
+
const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
1589
1584
|
const contents = map({});
|
|
1590
1585
|
const data = parsedOutput.body;
|
|
1591
1586
|
if (data.Code != null) {
|
|
@@ -1603,10 +1598,10 @@ const deserializeAws_restJson1UnauthorizedClientExceptionResponse = async (parse
|
|
|
1603
1598
|
});
|
|
1604
1599
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1605
1600
|
};
|
|
1606
|
-
const
|
|
1601
|
+
const se_AmazonTranscribeCallAnalyticsProcessorConfiguration = (input, context) => {
|
|
1607
1602
|
return {
|
|
1608
1603
|
...(input.CallAnalyticsStreamCategories != null && {
|
|
1609
|
-
CallAnalyticsStreamCategories:
|
|
1604
|
+
CallAnalyticsStreamCategories: se_CategoryNameList(input.CallAnalyticsStreamCategories, context),
|
|
1610
1605
|
}),
|
|
1611
1606
|
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1612
1607
|
...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
|
|
@@ -1619,14 +1614,14 @@ const serializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguration
|
|
|
1619
1614
|
...(input.PartialResultsStability != null && { PartialResultsStability: input.PartialResultsStability }),
|
|
1620
1615
|
...(input.PiiEntityTypes != null && { PiiEntityTypes: input.PiiEntityTypes }),
|
|
1621
1616
|
...(input.PostCallAnalyticsSettings != null && {
|
|
1622
|
-
PostCallAnalyticsSettings:
|
|
1617
|
+
PostCallAnalyticsSettings: se_PostCallAnalyticsSettings(input.PostCallAnalyticsSettings, context),
|
|
1623
1618
|
}),
|
|
1624
1619
|
...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
1625
1620
|
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
1626
1621
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1627
1622
|
};
|
|
1628
1623
|
};
|
|
1629
|
-
const
|
|
1624
|
+
const se_AmazonTranscribeProcessorConfiguration = (input, context) => {
|
|
1630
1625
|
return {
|
|
1631
1626
|
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1632
1627
|
...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
|
|
@@ -1644,314 +1639,306 @@ const serializeAws_restJson1AmazonTranscribeProcessorConfiguration = (input, con
|
|
|
1644
1639
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1645
1640
|
};
|
|
1646
1641
|
};
|
|
1647
|
-
const
|
|
1642
|
+
const se_ArtifactsConcatenationConfiguration = (input, context) => {
|
|
1648
1643
|
return {
|
|
1649
|
-
...(input.Audio != null && { Audio:
|
|
1644
|
+
...(input.Audio != null && { Audio: se_AudioConcatenationConfiguration(input.Audio, context) }),
|
|
1650
1645
|
...(input.CompositedVideo != null && {
|
|
1651
|
-
CompositedVideo:
|
|
1652
|
-
}),
|
|
1653
|
-
...(input.Content != null && {
|
|
1654
|
-
Content: serializeAws_restJson1ContentConcatenationConfiguration(input.Content, context),
|
|
1646
|
+
CompositedVideo: se_CompositedVideoConcatenationConfiguration(input.CompositedVideo, context),
|
|
1655
1647
|
}),
|
|
1648
|
+
...(input.Content != null && { Content: se_ContentConcatenationConfiguration(input.Content, context) }),
|
|
1656
1649
|
...(input.DataChannel != null && {
|
|
1657
|
-
DataChannel:
|
|
1650
|
+
DataChannel: se_DataChannelConcatenationConfiguration(input.DataChannel, context),
|
|
1658
1651
|
}),
|
|
1659
1652
|
...(input.MeetingEvents != null && {
|
|
1660
|
-
MeetingEvents:
|
|
1653
|
+
MeetingEvents: se_MeetingEventsConcatenationConfiguration(input.MeetingEvents, context),
|
|
1661
1654
|
}),
|
|
1662
1655
|
...(input.TranscriptionMessages != null && {
|
|
1663
|
-
TranscriptionMessages:
|
|
1656
|
+
TranscriptionMessages: se_TranscriptionMessagesConcatenationConfiguration(input.TranscriptionMessages, context),
|
|
1664
1657
|
}),
|
|
1665
|
-
...(input.Video != null && { Video:
|
|
1658
|
+
...(input.Video != null && { Video: se_VideoConcatenationConfiguration(input.Video, context) }),
|
|
1666
1659
|
};
|
|
1667
1660
|
};
|
|
1668
|
-
const
|
|
1661
|
+
const se_ArtifactsConfiguration = (input, context) => {
|
|
1669
1662
|
return {
|
|
1670
|
-
...(input.Audio != null && { Audio:
|
|
1663
|
+
...(input.Audio != null && { Audio: se_AudioArtifactsConfiguration(input.Audio, context) }),
|
|
1671
1664
|
...(input.CompositedVideo != null && {
|
|
1672
|
-
CompositedVideo:
|
|
1665
|
+
CompositedVideo: se_CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
|
|
1673
1666
|
}),
|
|
1674
|
-
...(input.Content != null && {
|
|
1675
|
-
|
|
1676
|
-
}),
|
|
1677
|
-
...(input.Video != null && { Video: serializeAws_restJson1VideoArtifactsConfiguration(input.Video, context) }),
|
|
1667
|
+
...(input.Content != null && { Content: se_ContentArtifactsConfiguration(input.Content, context) }),
|
|
1668
|
+
...(input.Video != null && { Video: se_VideoArtifactsConfiguration(input.Video, context) }),
|
|
1678
1669
|
};
|
|
1679
1670
|
};
|
|
1680
|
-
const
|
|
1671
|
+
const se_AttendeeIdList = (input, context) => {
|
|
1681
1672
|
return input
|
|
1682
1673
|
.filter((e) => e != null)
|
|
1683
1674
|
.map((entry) => {
|
|
1684
1675
|
return entry;
|
|
1685
1676
|
});
|
|
1686
1677
|
};
|
|
1687
|
-
const
|
|
1678
|
+
const se_AudioArtifactsConfiguration = (input, context) => {
|
|
1688
1679
|
return {
|
|
1689
1680
|
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
1690
1681
|
};
|
|
1691
1682
|
};
|
|
1692
|
-
const
|
|
1683
|
+
const se_AudioConcatenationConfiguration = (input, context) => {
|
|
1693
1684
|
return {
|
|
1694
1685
|
...(input.State != null && { State: input.State }),
|
|
1695
1686
|
};
|
|
1696
1687
|
};
|
|
1697
|
-
const
|
|
1688
|
+
const se_CategoryNameList = (input, context) => {
|
|
1698
1689
|
return input
|
|
1699
1690
|
.filter((e) => e != null)
|
|
1700
1691
|
.map((entry) => {
|
|
1701
1692
|
return entry;
|
|
1702
1693
|
});
|
|
1703
1694
|
};
|
|
1704
|
-
const
|
|
1695
|
+
const se_ChannelDefinition = (input, context) => {
|
|
1705
1696
|
return {
|
|
1706
1697
|
...(input.ChannelId != null && { ChannelId: input.ChannelId }),
|
|
1707
1698
|
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
1708
1699
|
};
|
|
1709
1700
|
};
|
|
1710
|
-
const
|
|
1701
|
+
const se_ChannelDefinitions = (input, context) => {
|
|
1711
1702
|
return input
|
|
1712
1703
|
.filter((e) => e != null)
|
|
1713
1704
|
.map((entry) => {
|
|
1714
|
-
return
|
|
1705
|
+
return se_ChannelDefinition(entry, context);
|
|
1715
1706
|
});
|
|
1716
1707
|
};
|
|
1717
|
-
const
|
|
1708
|
+
const se_ChimeSdkMeetingConcatenationConfiguration = (input, context) => {
|
|
1718
1709
|
return {
|
|
1719
1710
|
...(input.ArtifactsConfiguration != null && {
|
|
1720
|
-
ArtifactsConfiguration:
|
|
1711
|
+
ArtifactsConfiguration: se_ArtifactsConcatenationConfiguration(input.ArtifactsConfiguration, context),
|
|
1721
1712
|
}),
|
|
1722
1713
|
};
|
|
1723
1714
|
};
|
|
1724
|
-
const
|
|
1715
|
+
const se_ChimeSdkMeetingConfiguration = (input, context) => {
|
|
1725
1716
|
return {
|
|
1726
1717
|
...(input.ArtifactsConfiguration != null && {
|
|
1727
|
-
ArtifactsConfiguration:
|
|
1718
|
+
ArtifactsConfiguration: se_ArtifactsConfiguration(input.ArtifactsConfiguration, context),
|
|
1728
1719
|
}),
|
|
1729
1720
|
...(input.SourceConfiguration != null && {
|
|
1730
|
-
SourceConfiguration:
|
|
1721
|
+
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
1731
1722
|
}),
|
|
1732
1723
|
};
|
|
1733
1724
|
};
|
|
1734
|
-
const
|
|
1725
|
+
const se_ChimeSdkMeetingLiveConnectorConfiguration = (input, context) => {
|
|
1735
1726
|
return {
|
|
1736
1727
|
...(input.Arn != null && { Arn: input.Arn }),
|
|
1737
1728
|
...(input.CompositedVideo != null && {
|
|
1738
|
-
CompositedVideo:
|
|
1729
|
+
CompositedVideo: se_CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
|
|
1739
1730
|
}),
|
|
1740
1731
|
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
1741
1732
|
...(input.SourceConfiguration != null && {
|
|
1742
|
-
SourceConfiguration:
|
|
1733
|
+
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
1743
1734
|
}),
|
|
1744
1735
|
};
|
|
1745
1736
|
};
|
|
1746
|
-
const
|
|
1737
|
+
const se_CompositedVideoArtifactsConfiguration = (input, context) => {
|
|
1747
1738
|
return {
|
|
1748
1739
|
...(input.GridViewConfiguration != null && {
|
|
1749
|
-
GridViewConfiguration:
|
|
1740
|
+
GridViewConfiguration: se_GridViewConfiguration(input.GridViewConfiguration, context),
|
|
1750
1741
|
}),
|
|
1751
1742
|
...(input.Layout != null && { Layout: input.Layout }),
|
|
1752
1743
|
...(input.Resolution != null && { Resolution: input.Resolution }),
|
|
1753
1744
|
};
|
|
1754
1745
|
};
|
|
1755
|
-
const
|
|
1746
|
+
const se_CompositedVideoConcatenationConfiguration = (input, context) => {
|
|
1756
1747
|
return {
|
|
1757
1748
|
...(input.State != null && { State: input.State }),
|
|
1758
1749
|
};
|
|
1759
1750
|
};
|
|
1760
|
-
const
|
|
1751
|
+
const se_ConcatenationSink = (input, context) => {
|
|
1761
1752
|
return {
|
|
1762
1753
|
...(input.S3BucketSinkConfiguration != null && {
|
|
1763
|
-
S3BucketSinkConfiguration:
|
|
1754
|
+
S3BucketSinkConfiguration: se_S3BucketSinkConfiguration(input.S3BucketSinkConfiguration, context),
|
|
1764
1755
|
}),
|
|
1765
1756
|
...(input.Type != null && { Type: input.Type }),
|
|
1766
1757
|
};
|
|
1767
1758
|
};
|
|
1768
|
-
const
|
|
1759
|
+
const se_ConcatenationSinkList = (input, context) => {
|
|
1769
1760
|
return input
|
|
1770
1761
|
.filter((e) => e != null)
|
|
1771
1762
|
.map((entry) => {
|
|
1772
|
-
return
|
|
1763
|
+
return se_ConcatenationSink(entry, context);
|
|
1773
1764
|
});
|
|
1774
1765
|
};
|
|
1775
|
-
const
|
|
1766
|
+
const se_ConcatenationSource = (input, context) => {
|
|
1776
1767
|
return {
|
|
1777
1768
|
...(input.MediaCapturePipelineSourceConfiguration != null && {
|
|
1778
|
-
MediaCapturePipelineSourceConfiguration:
|
|
1769
|
+
MediaCapturePipelineSourceConfiguration: se_MediaCapturePipelineSourceConfiguration(input.MediaCapturePipelineSourceConfiguration, context),
|
|
1779
1770
|
}),
|
|
1780
1771
|
...(input.Type != null && { Type: input.Type }),
|
|
1781
1772
|
};
|
|
1782
1773
|
};
|
|
1783
|
-
const
|
|
1774
|
+
const se_ConcatenationSourceList = (input, context) => {
|
|
1784
1775
|
return input
|
|
1785
1776
|
.filter((e) => e != null)
|
|
1786
1777
|
.map((entry) => {
|
|
1787
|
-
return
|
|
1778
|
+
return se_ConcatenationSource(entry, context);
|
|
1788
1779
|
});
|
|
1789
1780
|
};
|
|
1790
|
-
const
|
|
1781
|
+
const se_ContentArtifactsConfiguration = (input, context) => {
|
|
1791
1782
|
return {
|
|
1792
1783
|
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
1793
1784
|
...(input.State != null && { State: input.State }),
|
|
1794
1785
|
};
|
|
1795
1786
|
};
|
|
1796
|
-
const
|
|
1787
|
+
const se_ContentConcatenationConfiguration = (input, context) => {
|
|
1797
1788
|
return {
|
|
1798
1789
|
...(input.State != null && { State: input.State }),
|
|
1799
1790
|
};
|
|
1800
1791
|
};
|
|
1801
|
-
const
|
|
1792
|
+
const se_DataChannelConcatenationConfiguration = (input, context) => {
|
|
1802
1793
|
return {
|
|
1803
1794
|
...(input.State != null && { State: input.State }),
|
|
1804
1795
|
};
|
|
1805
1796
|
};
|
|
1806
|
-
const
|
|
1797
|
+
const se_ExternalUserIdList = (input, context) => {
|
|
1807
1798
|
return input
|
|
1808
1799
|
.filter((e) => e != null)
|
|
1809
1800
|
.map((entry) => {
|
|
1810
1801
|
return entry;
|
|
1811
1802
|
});
|
|
1812
1803
|
};
|
|
1813
|
-
const
|
|
1804
|
+
const se_FragmentSelector = (input, context) => {
|
|
1814
1805
|
return {
|
|
1815
1806
|
...(input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType }),
|
|
1816
|
-
...(input.TimestampRange != null && {
|
|
1817
|
-
TimestampRange: serializeAws_restJson1TimestampRange(input.TimestampRange, context),
|
|
1818
|
-
}),
|
|
1807
|
+
...(input.TimestampRange != null && { TimestampRange: se_TimestampRange(input.TimestampRange, context) }),
|
|
1819
1808
|
};
|
|
1820
1809
|
};
|
|
1821
|
-
const
|
|
1810
|
+
const se_GridViewConfiguration = (input, context) => {
|
|
1822
1811
|
return {
|
|
1823
1812
|
...(input.ContentShareLayout != null && { ContentShareLayout: input.ContentShareLayout }),
|
|
1824
1813
|
...(input.PresenterOnlyConfiguration != null && {
|
|
1825
|
-
PresenterOnlyConfiguration:
|
|
1814
|
+
PresenterOnlyConfiguration: se_PresenterOnlyConfiguration(input.PresenterOnlyConfiguration, context),
|
|
1826
1815
|
}),
|
|
1827
1816
|
};
|
|
1828
1817
|
};
|
|
1829
|
-
const
|
|
1818
|
+
const se_IssueDetectionConfiguration = (input, context) => {
|
|
1830
1819
|
return {
|
|
1831
1820
|
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
1832
1821
|
};
|
|
1833
1822
|
};
|
|
1834
|
-
const
|
|
1823
|
+
const se_KeywordMatchConfiguration = (input, context) => {
|
|
1835
1824
|
return {
|
|
1836
|
-
...(input.Keywords != null && { Keywords:
|
|
1825
|
+
...(input.Keywords != null && { Keywords: se_KeywordMatchWordList(input.Keywords, context) }),
|
|
1837
1826
|
...(input.Negate != null && { Negate: input.Negate }),
|
|
1838
1827
|
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
1839
1828
|
};
|
|
1840
1829
|
};
|
|
1841
|
-
const
|
|
1830
|
+
const se_KeywordMatchWordList = (input, context) => {
|
|
1842
1831
|
return input
|
|
1843
1832
|
.filter((e) => e != null)
|
|
1844
1833
|
.map((entry) => {
|
|
1845
1834
|
return entry;
|
|
1846
1835
|
});
|
|
1847
1836
|
};
|
|
1848
|
-
const
|
|
1837
|
+
const se_KinesisDataStreamSinkConfiguration = (input, context) => {
|
|
1849
1838
|
return {
|
|
1850
1839
|
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
1851
1840
|
};
|
|
1852
1841
|
};
|
|
1853
|
-
const
|
|
1842
|
+
const se_KinesisVideoStreamRecordingSourceRuntimeConfiguration = (input, context) => {
|
|
1854
1843
|
return {
|
|
1855
|
-
...(input.FragmentSelector != null && {
|
|
1856
|
-
|
|
1857
|
-
}),
|
|
1858
|
-
...(input.Streams != null && { Streams: serializeAws_restJson1RecordingStreamList(input.Streams, context) }),
|
|
1844
|
+
...(input.FragmentSelector != null && { FragmentSelector: se_FragmentSelector(input.FragmentSelector, context) }),
|
|
1845
|
+
...(input.Streams != null && { Streams: se_RecordingStreamList(input.Streams, context) }),
|
|
1859
1846
|
};
|
|
1860
1847
|
};
|
|
1861
|
-
const
|
|
1848
|
+
const se_KinesisVideoStreamSourceRuntimeConfiguration = (input, context) => {
|
|
1862
1849
|
return {
|
|
1863
1850
|
...(input.MediaEncoding != null && { MediaEncoding: input.MediaEncoding }),
|
|
1864
1851
|
...(input.MediaSampleRate != null && { MediaSampleRate: input.MediaSampleRate }),
|
|
1865
|
-
...(input.Streams != null && { Streams:
|
|
1852
|
+
...(input.Streams != null && { Streams: se_Streams(input.Streams, context) }),
|
|
1866
1853
|
};
|
|
1867
1854
|
};
|
|
1868
|
-
const
|
|
1855
|
+
const se_LambdaFunctionSinkConfiguration = (input, context) => {
|
|
1869
1856
|
return {
|
|
1870
1857
|
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
1871
1858
|
};
|
|
1872
1859
|
};
|
|
1873
|
-
const
|
|
1860
|
+
const se_LiveConnectorRTMPConfiguration = (input, context) => {
|
|
1874
1861
|
return {
|
|
1875
1862
|
...(input.AudioChannels != null && { AudioChannels: input.AudioChannels }),
|
|
1876
1863
|
...(input.AudioSampleRate != null && { AudioSampleRate: input.AudioSampleRate }),
|
|
1877
1864
|
...(input.Url != null && { Url: input.Url }),
|
|
1878
1865
|
};
|
|
1879
1866
|
};
|
|
1880
|
-
const
|
|
1867
|
+
const se_LiveConnectorSinkConfiguration = (input, context) => {
|
|
1881
1868
|
return {
|
|
1882
1869
|
...(input.RTMPConfiguration != null && {
|
|
1883
|
-
RTMPConfiguration:
|
|
1870
|
+
RTMPConfiguration: se_LiveConnectorRTMPConfiguration(input.RTMPConfiguration, context),
|
|
1884
1871
|
}),
|
|
1885
1872
|
...(input.SinkType != null && { SinkType: input.SinkType }),
|
|
1886
1873
|
};
|
|
1887
1874
|
};
|
|
1888
|
-
const
|
|
1875
|
+
const se_LiveConnectorSinkList = (input, context) => {
|
|
1889
1876
|
return input
|
|
1890
1877
|
.filter((e) => e != null)
|
|
1891
1878
|
.map((entry) => {
|
|
1892
|
-
return
|
|
1879
|
+
return se_LiveConnectorSinkConfiguration(entry, context);
|
|
1893
1880
|
});
|
|
1894
1881
|
};
|
|
1895
|
-
const
|
|
1882
|
+
const se_LiveConnectorSourceConfiguration = (input, context) => {
|
|
1896
1883
|
return {
|
|
1897
1884
|
...(input.ChimeSdkMeetingLiveConnectorConfiguration != null && {
|
|
1898
|
-
ChimeSdkMeetingLiveConnectorConfiguration:
|
|
1885
|
+
ChimeSdkMeetingLiveConnectorConfiguration: se_ChimeSdkMeetingLiveConnectorConfiguration(input.ChimeSdkMeetingLiveConnectorConfiguration, context),
|
|
1899
1886
|
}),
|
|
1900
1887
|
...(input.SourceType != null && { SourceType: input.SourceType }),
|
|
1901
1888
|
};
|
|
1902
1889
|
};
|
|
1903
|
-
const
|
|
1890
|
+
const se_LiveConnectorSourceList = (input, context) => {
|
|
1904
1891
|
return input
|
|
1905
1892
|
.filter((e) => e != null)
|
|
1906
1893
|
.map((entry) => {
|
|
1907
|
-
return
|
|
1894
|
+
return se_LiveConnectorSourceConfiguration(entry, context);
|
|
1908
1895
|
});
|
|
1909
1896
|
};
|
|
1910
|
-
const
|
|
1897
|
+
const se_MediaCapturePipelineSourceConfiguration = (input, context) => {
|
|
1911
1898
|
return {
|
|
1912
1899
|
...(input.ChimeSdkMeetingConfiguration != null && {
|
|
1913
|
-
ChimeSdkMeetingConfiguration:
|
|
1900
|
+
ChimeSdkMeetingConfiguration: se_ChimeSdkMeetingConcatenationConfiguration(input.ChimeSdkMeetingConfiguration, context),
|
|
1914
1901
|
}),
|
|
1915
1902
|
...(input.MediaPipelineArn != null && { MediaPipelineArn: input.MediaPipelineArn }),
|
|
1916
1903
|
};
|
|
1917
1904
|
};
|
|
1918
|
-
const
|
|
1905
|
+
const se_MediaInsightsPipelineConfigurationElement = (input, context) => {
|
|
1919
1906
|
return {
|
|
1920
1907
|
...(input.AmazonTranscribeCallAnalyticsProcessorConfiguration != null && {
|
|
1921
|
-
AmazonTranscribeCallAnalyticsProcessorConfiguration:
|
|
1908
|
+
AmazonTranscribeCallAnalyticsProcessorConfiguration: se_AmazonTranscribeCallAnalyticsProcessorConfiguration(input.AmazonTranscribeCallAnalyticsProcessorConfiguration, context),
|
|
1922
1909
|
}),
|
|
1923
1910
|
...(input.AmazonTranscribeProcessorConfiguration != null && {
|
|
1924
|
-
AmazonTranscribeProcessorConfiguration:
|
|
1911
|
+
AmazonTranscribeProcessorConfiguration: se_AmazonTranscribeProcessorConfiguration(input.AmazonTranscribeProcessorConfiguration, context),
|
|
1925
1912
|
}),
|
|
1926
1913
|
...(input.KinesisDataStreamSinkConfiguration != null && {
|
|
1927
|
-
KinesisDataStreamSinkConfiguration:
|
|
1914
|
+
KinesisDataStreamSinkConfiguration: se_KinesisDataStreamSinkConfiguration(input.KinesisDataStreamSinkConfiguration, context),
|
|
1928
1915
|
}),
|
|
1929
1916
|
...(input.LambdaFunctionSinkConfiguration != null && {
|
|
1930
|
-
LambdaFunctionSinkConfiguration:
|
|
1917
|
+
LambdaFunctionSinkConfiguration: se_LambdaFunctionSinkConfiguration(input.LambdaFunctionSinkConfiguration, context),
|
|
1931
1918
|
}),
|
|
1932
1919
|
...(input.S3RecordingSinkConfiguration != null && {
|
|
1933
|
-
S3RecordingSinkConfiguration:
|
|
1920
|
+
S3RecordingSinkConfiguration: se_S3RecordingSinkConfiguration(input.S3RecordingSinkConfiguration, context),
|
|
1934
1921
|
}),
|
|
1935
1922
|
...(input.SnsTopicSinkConfiguration != null && {
|
|
1936
|
-
SnsTopicSinkConfiguration:
|
|
1923
|
+
SnsTopicSinkConfiguration: se_SnsTopicSinkConfiguration(input.SnsTopicSinkConfiguration, context),
|
|
1937
1924
|
}),
|
|
1938
1925
|
...(input.SqsQueueSinkConfiguration != null && {
|
|
1939
|
-
SqsQueueSinkConfiguration:
|
|
1926
|
+
SqsQueueSinkConfiguration: se_SqsQueueSinkConfiguration(input.SqsQueueSinkConfiguration, context),
|
|
1940
1927
|
}),
|
|
1941
1928
|
...(input.Type != null && { Type: input.Type }),
|
|
1942
1929
|
...(input.VoiceAnalyticsProcessorConfiguration != null && {
|
|
1943
|
-
VoiceAnalyticsProcessorConfiguration:
|
|
1930
|
+
VoiceAnalyticsProcessorConfiguration: se_VoiceAnalyticsProcessorConfiguration(input.VoiceAnalyticsProcessorConfiguration, context),
|
|
1944
1931
|
}),
|
|
1945
1932
|
};
|
|
1946
1933
|
};
|
|
1947
|
-
const
|
|
1934
|
+
const se_MediaInsightsPipelineConfigurationElements = (input, context) => {
|
|
1948
1935
|
return input
|
|
1949
1936
|
.filter((e) => e != null)
|
|
1950
1937
|
.map((entry) => {
|
|
1951
|
-
return
|
|
1938
|
+
return se_MediaInsightsPipelineConfigurationElement(entry, context);
|
|
1952
1939
|
});
|
|
1953
1940
|
};
|
|
1954
|
-
const
|
|
1941
|
+
const se_MediaInsightsRuntimeMetadata = (input, context) => {
|
|
1955
1942
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1956
1943
|
if (value === null) {
|
|
1957
1944
|
return acc;
|
|
@@ -1960,12 +1947,12 @@ const serializeAws_restJson1MediaInsightsRuntimeMetadata = (input, context) => {
|
|
|
1960
1947
|
return acc;
|
|
1961
1948
|
}, {});
|
|
1962
1949
|
};
|
|
1963
|
-
const
|
|
1950
|
+
const se_MeetingEventsConcatenationConfiguration = (input, context) => {
|
|
1964
1951
|
return {
|
|
1965
1952
|
...(input.State != null && { State: input.State }),
|
|
1966
1953
|
};
|
|
1967
1954
|
};
|
|
1968
|
-
const
|
|
1955
|
+
const se_PostCallAnalyticsSettings = (input, context) => {
|
|
1969
1956
|
return {
|
|
1970
1957
|
...(input.ContentRedactionOutput != null && { ContentRedactionOutput: input.ContentRedactionOutput }),
|
|
1971
1958
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
@@ -1973,174 +1960,172 @@ const serializeAws_restJson1PostCallAnalyticsSettings = (input, context) => {
|
|
|
1973
1960
|
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
1974
1961
|
};
|
|
1975
1962
|
};
|
|
1976
|
-
const
|
|
1963
|
+
const se_PresenterOnlyConfiguration = (input, context) => {
|
|
1977
1964
|
return {
|
|
1978
1965
|
...(input.PresenterPosition != null && { PresenterPosition: input.PresenterPosition }),
|
|
1979
1966
|
};
|
|
1980
1967
|
};
|
|
1981
|
-
const
|
|
1968
|
+
const se_RealTimeAlertConfiguration = (input, context) => {
|
|
1982
1969
|
return {
|
|
1983
1970
|
...(input.Disabled != null && { Disabled: input.Disabled }),
|
|
1984
|
-
...(input.Rules != null && { Rules:
|
|
1971
|
+
...(input.Rules != null && { Rules: se_RealTimeAlertRuleList(input.Rules, context) }),
|
|
1985
1972
|
};
|
|
1986
1973
|
};
|
|
1987
|
-
const
|
|
1974
|
+
const se_RealTimeAlertRule = (input, context) => {
|
|
1988
1975
|
return {
|
|
1989
1976
|
...(input.IssueDetectionConfiguration != null && {
|
|
1990
|
-
IssueDetectionConfiguration:
|
|
1977
|
+
IssueDetectionConfiguration: se_IssueDetectionConfiguration(input.IssueDetectionConfiguration, context),
|
|
1991
1978
|
}),
|
|
1992
1979
|
...(input.KeywordMatchConfiguration != null && {
|
|
1993
|
-
KeywordMatchConfiguration:
|
|
1980
|
+
KeywordMatchConfiguration: se_KeywordMatchConfiguration(input.KeywordMatchConfiguration, context),
|
|
1994
1981
|
}),
|
|
1995
1982
|
...(input.SentimentConfiguration != null && {
|
|
1996
|
-
SentimentConfiguration:
|
|
1983
|
+
SentimentConfiguration: se_SentimentConfiguration(input.SentimentConfiguration, context),
|
|
1997
1984
|
}),
|
|
1998
1985
|
...(input.Type != null && { Type: input.Type }),
|
|
1999
1986
|
};
|
|
2000
1987
|
};
|
|
2001
|
-
const
|
|
1988
|
+
const se_RealTimeAlertRuleList = (input, context) => {
|
|
2002
1989
|
return input
|
|
2003
1990
|
.filter((e) => e != null)
|
|
2004
1991
|
.map((entry) => {
|
|
2005
|
-
return
|
|
1992
|
+
return se_RealTimeAlertRule(entry, context);
|
|
2006
1993
|
});
|
|
2007
1994
|
};
|
|
2008
|
-
const
|
|
1995
|
+
const se_RecordingStreamConfiguration = (input, context) => {
|
|
2009
1996
|
return {
|
|
2010
1997
|
...(input.StreamArn != null && { StreamArn: input.StreamArn }),
|
|
2011
1998
|
};
|
|
2012
1999
|
};
|
|
2013
|
-
const
|
|
2000
|
+
const se_RecordingStreamList = (input, context) => {
|
|
2014
2001
|
return input
|
|
2015
2002
|
.filter((e) => e != null)
|
|
2016
2003
|
.map((entry) => {
|
|
2017
|
-
return
|
|
2004
|
+
return se_RecordingStreamConfiguration(entry, context);
|
|
2018
2005
|
});
|
|
2019
2006
|
};
|
|
2020
|
-
const
|
|
2007
|
+
const se_S3BucketSinkConfiguration = (input, context) => {
|
|
2021
2008
|
return {
|
|
2022
2009
|
...(input.Destination != null && { Destination: input.Destination }),
|
|
2023
2010
|
};
|
|
2024
2011
|
};
|
|
2025
|
-
const
|
|
2012
|
+
const se_S3RecordingSinkConfiguration = (input, context) => {
|
|
2026
2013
|
return {
|
|
2027
2014
|
...(input.Destination != null && { Destination: input.Destination }),
|
|
2028
2015
|
};
|
|
2029
2016
|
};
|
|
2030
|
-
const
|
|
2017
|
+
const se_S3RecordingSinkRuntimeConfiguration = (input, context) => {
|
|
2031
2018
|
return {
|
|
2032
2019
|
...(input.Destination != null && { Destination: input.Destination }),
|
|
2033
2020
|
...(input.RecordingFileFormat != null && { RecordingFileFormat: input.RecordingFileFormat }),
|
|
2034
2021
|
};
|
|
2035
2022
|
};
|
|
2036
|
-
const
|
|
2023
|
+
const se_SelectedVideoStreams = (input, context) => {
|
|
2037
2024
|
return {
|
|
2038
|
-
...(input.AttendeeIds != null && { AttendeeIds:
|
|
2039
|
-
...(input.ExternalUserIds != null && {
|
|
2040
|
-
ExternalUserIds: serializeAws_restJson1ExternalUserIdList(input.ExternalUserIds, context),
|
|
2041
|
-
}),
|
|
2025
|
+
...(input.AttendeeIds != null && { AttendeeIds: se_AttendeeIdList(input.AttendeeIds, context) }),
|
|
2026
|
+
...(input.ExternalUserIds != null && { ExternalUserIds: se_ExternalUserIdList(input.ExternalUserIds, context) }),
|
|
2042
2027
|
};
|
|
2043
2028
|
};
|
|
2044
|
-
const
|
|
2029
|
+
const se_SentimentConfiguration = (input, context) => {
|
|
2045
2030
|
return {
|
|
2046
2031
|
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
2047
2032
|
...(input.SentimentType != null && { SentimentType: input.SentimentType }),
|
|
2048
2033
|
...(input.TimePeriod != null && { TimePeriod: input.TimePeriod }),
|
|
2049
2034
|
};
|
|
2050
2035
|
};
|
|
2051
|
-
const
|
|
2036
|
+
const se_SnsTopicSinkConfiguration = (input, context) => {
|
|
2052
2037
|
return {
|
|
2053
2038
|
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
2054
2039
|
};
|
|
2055
2040
|
};
|
|
2056
|
-
const
|
|
2041
|
+
const se_SourceConfiguration = (input, context) => {
|
|
2057
2042
|
return {
|
|
2058
2043
|
...(input.SelectedVideoStreams != null && {
|
|
2059
|
-
SelectedVideoStreams:
|
|
2044
|
+
SelectedVideoStreams: se_SelectedVideoStreams(input.SelectedVideoStreams, context),
|
|
2060
2045
|
}),
|
|
2061
2046
|
};
|
|
2062
2047
|
};
|
|
2063
|
-
const
|
|
2048
|
+
const se_SqsQueueSinkConfiguration = (input, context) => {
|
|
2064
2049
|
return {
|
|
2065
2050
|
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
2066
2051
|
};
|
|
2067
2052
|
};
|
|
2068
|
-
const
|
|
2053
|
+
const se_StreamChannelDefinition = (input, context) => {
|
|
2069
2054
|
return {
|
|
2070
2055
|
...(input.ChannelDefinitions != null && {
|
|
2071
|
-
ChannelDefinitions:
|
|
2056
|
+
ChannelDefinitions: se_ChannelDefinitions(input.ChannelDefinitions, context),
|
|
2072
2057
|
}),
|
|
2073
2058
|
...(input.NumberOfChannels != null && { NumberOfChannels: input.NumberOfChannels }),
|
|
2074
2059
|
};
|
|
2075
2060
|
};
|
|
2076
|
-
const
|
|
2061
|
+
const se_StreamConfiguration = (input, context) => {
|
|
2077
2062
|
return {
|
|
2078
2063
|
...(input.FragmentNumber != null && { FragmentNumber: input.FragmentNumber }),
|
|
2079
2064
|
...(input.StreamArn != null && { StreamArn: input.StreamArn }),
|
|
2080
2065
|
...(input.StreamChannelDefinition != null && {
|
|
2081
|
-
StreamChannelDefinition:
|
|
2066
|
+
StreamChannelDefinition: se_StreamChannelDefinition(input.StreamChannelDefinition, context),
|
|
2082
2067
|
}),
|
|
2083
2068
|
};
|
|
2084
2069
|
};
|
|
2085
|
-
const
|
|
2070
|
+
const se_Streams = (input, context) => {
|
|
2086
2071
|
return input
|
|
2087
2072
|
.filter((e) => e != null)
|
|
2088
2073
|
.map((entry) => {
|
|
2089
|
-
return
|
|
2074
|
+
return se_StreamConfiguration(entry, context);
|
|
2090
2075
|
});
|
|
2091
2076
|
};
|
|
2092
|
-
const
|
|
2077
|
+
const se_Tag = (input, context) => {
|
|
2093
2078
|
return {
|
|
2094
2079
|
...(input.Key != null && { Key: input.Key }),
|
|
2095
2080
|
...(input.Value != null && { Value: input.Value }),
|
|
2096
2081
|
};
|
|
2097
2082
|
};
|
|
2098
|
-
const
|
|
2083
|
+
const se_TagKeyList = (input, context) => {
|
|
2099
2084
|
return input
|
|
2100
2085
|
.filter((e) => e != null)
|
|
2101
2086
|
.map((entry) => {
|
|
2102
2087
|
return entry;
|
|
2103
2088
|
});
|
|
2104
2089
|
};
|
|
2105
|
-
const
|
|
2090
|
+
const se_TagList = (input, context) => {
|
|
2106
2091
|
return input
|
|
2107
2092
|
.filter((e) => e != null)
|
|
2108
2093
|
.map((entry) => {
|
|
2109
|
-
return
|
|
2094
|
+
return se_Tag(entry, context);
|
|
2110
2095
|
});
|
|
2111
2096
|
};
|
|
2112
|
-
const
|
|
2097
|
+
const se_TimestampRange = (input, context) => {
|
|
2113
2098
|
return {
|
|
2114
2099
|
...(input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) }),
|
|
2115
2100
|
...(input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
2116
2101
|
};
|
|
2117
2102
|
};
|
|
2118
|
-
const
|
|
2103
|
+
const se_TranscriptionMessagesConcatenationConfiguration = (input, context) => {
|
|
2119
2104
|
return {
|
|
2120
2105
|
...(input.State != null && { State: input.State }),
|
|
2121
2106
|
};
|
|
2122
2107
|
};
|
|
2123
|
-
const
|
|
2108
|
+
const se_VideoArtifactsConfiguration = (input, context) => {
|
|
2124
2109
|
return {
|
|
2125
2110
|
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
2126
2111
|
...(input.State != null && { State: input.State }),
|
|
2127
2112
|
};
|
|
2128
2113
|
};
|
|
2129
|
-
const
|
|
2114
|
+
const se_VideoConcatenationConfiguration = (input, context) => {
|
|
2130
2115
|
return {
|
|
2131
2116
|
...(input.State != null && { State: input.State }),
|
|
2132
2117
|
};
|
|
2133
2118
|
};
|
|
2134
|
-
const
|
|
2119
|
+
const se_VoiceAnalyticsProcessorConfiguration = (input, context) => {
|
|
2135
2120
|
return {
|
|
2136
2121
|
...(input.SpeakerSearchStatus != null && { SpeakerSearchStatus: input.SpeakerSearchStatus }),
|
|
2137
2122
|
...(input.VoiceToneAnalysisStatus != null && { VoiceToneAnalysisStatus: input.VoiceToneAnalysisStatus }),
|
|
2138
2123
|
};
|
|
2139
2124
|
};
|
|
2140
|
-
const
|
|
2125
|
+
const de_AmazonTranscribeCallAnalyticsProcessorConfiguration = (output, context) => {
|
|
2141
2126
|
return {
|
|
2142
2127
|
CallAnalyticsStreamCategories: output.CallAnalyticsStreamCategories != null
|
|
2143
|
-
?
|
|
2128
|
+
? de_CategoryNameList(output.CallAnalyticsStreamCategories, context)
|
|
2144
2129
|
: undefined,
|
|
2145
2130
|
ContentIdentificationType: (0, smithy_client_1.expectString)(output.ContentIdentificationType),
|
|
2146
2131
|
ContentRedactionType: (0, smithy_client_1.expectString)(output.ContentRedactionType),
|
|
@@ -2151,14 +2136,14 @@ const deserializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguratio
|
|
|
2151
2136
|
PartialResultsStability: (0, smithy_client_1.expectString)(output.PartialResultsStability),
|
|
2152
2137
|
PiiEntityTypes: (0, smithy_client_1.expectString)(output.PiiEntityTypes),
|
|
2153
2138
|
PostCallAnalyticsSettings: output.PostCallAnalyticsSettings != null
|
|
2154
|
-
?
|
|
2139
|
+
? de_PostCallAnalyticsSettings(output.PostCallAnalyticsSettings, context)
|
|
2155
2140
|
: undefined,
|
|
2156
2141
|
VocabularyFilterMethod: (0, smithy_client_1.expectString)(output.VocabularyFilterMethod),
|
|
2157
2142
|
VocabularyFilterName: (0, smithy_client_1.expectString)(output.VocabularyFilterName),
|
|
2158
2143
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
2159
2144
|
};
|
|
2160
2145
|
};
|
|
2161
|
-
const
|
|
2146
|
+
const de_AmazonTranscribeProcessorConfiguration = (output, context) => {
|
|
2162
2147
|
return {
|
|
2163
2148
|
ContentIdentificationType: (0, smithy_client_1.expectString)(output.ContentIdentificationType),
|
|
2164
2149
|
ContentRedactionType: (0, smithy_client_1.expectString)(output.ContentRedactionType),
|
|
@@ -2174,40 +2159,34 @@ const deserializeAws_restJson1AmazonTranscribeProcessorConfiguration = (output,
|
|
|
2174
2159
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
2175
2160
|
};
|
|
2176
2161
|
};
|
|
2177
|
-
const
|
|
2162
|
+
const de_ArtifactsConcatenationConfiguration = (output, context) => {
|
|
2178
2163
|
return {
|
|
2179
|
-
Audio: output.Audio != null ?
|
|
2164
|
+
Audio: output.Audio != null ? de_AudioConcatenationConfiguration(output.Audio, context) : undefined,
|
|
2180
2165
|
CompositedVideo: output.CompositedVideo != null
|
|
2181
|
-
?
|
|
2182
|
-
: undefined,
|
|
2183
|
-
Content: output.Content != null
|
|
2184
|
-
? deserializeAws_restJson1ContentConcatenationConfiguration(output.Content, context)
|
|
2185
|
-
: undefined,
|
|
2186
|
-
DataChannel: output.DataChannel != null
|
|
2187
|
-
? deserializeAws_restJson1DataChannelConcatenationConfiguration(output.DataChannel, context)
|
|
2166
|
+
? de_CompositedVideoConcatenationConfiguration(output.CompositedVideo, context)
|
|
2188
2167
|
: undefined,
|
|
2168
|
+
Content: output.Content != null ? de_ContentConcatenationConfiguration(output.Content, context) : undefined,
|
|
2169
|
+
DataChannel: output.DataChannel != null ? de_DataChannelConcatenationConfiguration(output.DataChannel, context) : undefined,
|
|
2189
2170
|
MeetingEvents: output.MeetingEvents != null
|
|
2190
|
-
?
|
|
2171
|
+
? de_MeetingEventsConcatenationConfiguration(output.MeetingEvents, context)
|
|
2191
2172
|
: undefined,
|
|
2192
2173
|
TranscriptionMessages: output.TranscriptionMessages != null
|
|
2193
|
-
?
|
|
2174
|
+
? de_TranscriptionMessagesConcatenationConfiguration(output.TranscriptionMessages, context)
|
|
2194
2175
|
: undefined,
|
|
2195
|
-
Video: output.Video != null ?
|
|
2176
|
+
Video: output.Video != null ? de_VideoConcatenationConfiguration(output.Video, context) : undefined,
|
|
2196
2177
|
};
|
|
2197
2178
|
};
|
|
2198
|
-
const
|
|
2179
|
+
const de_ArtifactsConfiguration = (output, context) => {
|
|
2199
2180
|
return {
|
|
2200
|
-
Audio: output.Audio != null ?
|
|
2181
|
+
Audio: output.Audio != null ? de_AudioArtifactsConfiguration(output.Audio, context) : undefined,
|
|
2201
2182
|
CompositedVideo: output.CompositedVideo != null
|
|
2202
|
-
?
|
|
2203
|
-
: undefined,
|
|
2204
|
-
Content: output.Content != null
|
|
2205
|
-
? deserializeAws_restJson1ContentArtifactsConfiguration(output.Content, context)
|
|
2183
|
+
? de_CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
|
|
2206
2184
|
: undefined,
|
|
2207
|
-
|
|
2185
|
+
Content: output.Content != null ? de_ContentArtifactsConfiguration(output.Content, context) : undefined,
|
|
2186
|
+
Video: output.Video != null ? de_VideoArtifactsConfiguration(output.Video, context) : undefined,
|
|
2208
2187
|
};
|
|
2209
2188
|
};
|
|
2210
|
-
const
|
|
2189
|
+
const de_AttendeeIdList = (output, context) => {
|
|
2211
2190
|
const retVal = (output || [])
|
|
2212
2191
|
.filter((e) => e != null)
|
|
2213
2192
|
.map((entry) => {
|
|
@@ -2218,17 +2197,17 @@ const deserializeAws_restJson1AttendeeIdList = (output, context) => {
|
|
|
2218
2197
|
});
|
|
2219
2198
|
return retVal;
|
|
2220
2199
|
};
|
|
2221
|
-
const
|
|
2200
|
+
const de_AudioArtifactsConfiguration = (output, context) => {
|
|
2222
2201
|
return {
|
|
2223
2202
|
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2224
2203
|
};
|
|
2225
2204
|
};
|
|
2226
|
-
const
|
|
2205
|
+
const de_AudioConcatenationConfiguration = (output, context) => {
|
|
2227
2206
|
return {
|
|
2228
2207
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2229
2208
|
};
|
|
2230
2209
|
};
|
|
2231
|
-
const
|
|
2210
|
+
const de_CategoryNameList = (output, context) => {
|
|
2232
2211
|
const retVal = (output || [])
|
|
2233
2212
|
.filter((e) => e != null)
|
|
2234
2213
|
.map((entry) => {
|
|
@@ -2239,121 +2218,117 @@ const deserializeAws_restJson1CategoryNameList = (output, context) => {
|
|
|
2239
2218
|
});
|
|
2240
2219
|
return retVal;
|
|
2241
2220
|
};
|
|
2242
|
-
const
|
|
2221
|
+
const de_ChannelDefinition = (output, context) => {
|
|
2243
2222
|
return {
|
|
2244
2223
|
ChannelId: (0, smithy_client_1.expectInt32)(output.ChannelId),
|
|
2245
2224
|
ParticipantRole: (0, smithy_client_1.expectString)(output.ParticipantRole),
|
|
2246
2225
|
};
|
|
2247
2226
|
};
|
|
2248
|
-
const
|
|
2227
|
+
const de_ChannelDefinitions = (output, context) => {
|
|
2249
2228
|
const retVal = (output || [])
|
|
2250
2229
|
.filter((e) => e != null)
|
|
2251
2230
|
.map((entry) => {
|
|
2252
2231
|
if (entry === null) {
|
|
2253
2232
|
return null;
|
|
2254
2233
|
}
|
|
2255
|
-
return
|
|
2234
|
+
return de_ChannelDefinition(entry, context);
|
|
2256
2235
|
});
|
|
2257
2236
|
return retVal;
|
|
2258
2237
|
};
|
|
2259
|
-
const
|
|
2238
|
+
const de_ChimeSdkMeetingConcatenationConfiguration = (output, context) => {
|
|
2260
2239
|
return {
|
|
2261
2240
|
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
2262
|
-
?
|
|
2241
|
+
? de_ArtifactsConcatenationConfiguration(output.ArtifactsConfiguration, context)
|
|
2263
2242
|
: undefined,
|
|
2264
2243
|
};
|
|
2265
2244
|
};
|
|
2266
|
-
const
|
|
2245
|
+
const de_ChimeSdkMeetingConfiguration = (output, context) => {
|
|
2267
2246
|
return {
|
|
2268
2247
|
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
2269
|
-
?
|
|
2270
|
-
: undefined,
|
|
2271
|
-
SourceConfiguration: output.SourceConfiguration != null
|
|
2272
|
-
? deserializeAws_restJson1SourceConfiguration(output.SourceConfiguration, context)
|
|
2248
|
+
? de_ArtifactsConfiguration(output.ArtifactsConfiguration, context)
|
|
2273
2249
|
: undefined,
|
|
2250
|
+
SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
|
|
2274
2251
|
};
|
|
2275
2252
|
};
|
|
2276
|
-
const
|
|
2253
|
+
const de_ChimeSdkMeetingLiveConnectorConfiguration = (output, context) => {
|
|
2277
2254
|
return {
|
|
2278
2255
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2279
2256
|
CompositedVideo: output.CompositedVideo != null
|
|
2280
|
-
?
|
|
2257
|
+
? de_CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
|
|
2281
2258
|
: undefined,
|
|
2282
2259
|
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2283
|
-
SourceConfiguration: output.SourceConfiguration != null
|
|
2284
|
-
? deserializeAws_restJson1SourceConfiguration(output.SourceConfiguration, context)
|
|
2285
|
-
: undefined,
|
|
2260
|
+
SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
|
|
2286
2261
|
};
|
|
2287
2262
|
};
|
|
2288
|
-
const
|
|
2263
|
+
const de_CompositedVideoArtifactsConfiguration = (output, context) => {
|
|
2289
2264
|
return {
|
|
2290
2265
|
GridViewConfiguration: output.GridViewConfiguration != null
|
|
2291
|
-
?
|
|
2266
|
+
? de_GridViewConfiguration(output.GridViewConfiguration, context)
|
|
2292
2267
|
: undefined,
|
|
2293
2268
|
Layout: (0, smithy_client_1.expectString)(output.Layout),
|
|
2294
2269
|
Resolution: (0, smithy_client_1.expectString)(output.Resolution),
|
|
2295
2270
|
};
|
|
2296
2271
|
};
|
|
2297
|
-
const
|
|
2272
|
+
const de_CompositedVideoConcatenationConfiguration = (output, context) => {
|
|
2298
2273
|
return {
|
|
2299
2274
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2300
2275
|
};
|
|
2301
2276
|
};
|
|
2302
|
-
const
|
|
2277
|
+
const de_ConcatenationSink = (output, context) => {
|
|
2303
2278
|
return {
|
|
2304
2279
|
S3BucketSinkConfiguration: output.S3BucketSinkConfiguration != null
|
|
2305
|
-
?
|
|
2280
|
+
? de_S3BucketSinkConfiguration(output.S3BucketSinkConfiguration, context)
|
|
2306
2281
|
: undefined,
|
|
2307
2282
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2308
2283
|
};
|
|
2309
2284
|
};
|
|
2310
|
-
const
|
|
2285
|
+
const de_ConcatenationSinkList = (output, context) => {
|
|
2311
2286
|
const retVal = (output || [])
|
|
2312
2287
|
.filter((e) => e != null)
|
|
2313
2288
|
.map((entry) => {
|
|
2314
2289
|
if (entry === null) {
|
|
2315
2290
|
return null;
|
|
2316
2291
|
}
|
|
2317
|
-
return
|
|
2292
|
+
return de_ConcatenationSink(entry, context);
|
|
2318
2293
|
});
|
|
2319
2294
|
return retVal;
|
|
2320
2295
|
};
|
|
2321
|
-
const
|
|
2296
|
+
const de_ConcatenationSource = (output, context) => {
|
|
2322
2297
|
return {
|
|
2323
2298
|
MediaCapturePipelineSourceConfiguration: output.MediaCapturePipelineSourceConfiguration != null
|
|
2324
|
-
?
|
|
2299
|
+
? de_MediaCapturePipelineSourceConfiguration(output.MediaCapturePipelineSourceConfiguration, context)
|
|
2325
2300
|
: undefined,
|
|
2326
2301
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2327
2302
|
};
|
|
2328
2303
|
};
|
|
2329
|
-
const
|
|
2304
|
+
const de_ConcatenationSourceList = (output, context) => {
|
|
2330
2305
|
const retVal = (output || [])
|
|
2331
2306
|
.filter((e) => e != null)
|
|
2332
2307
|
.map((entry) => {
|
|
2333
2308
|
if (entry === null) {
|
|
2334
2309
|
return null;
|
|
2335
2310
|
}
|
|
2336
|
-
return
|
|
2311
|
+
return de_ConcatenationSource(entry, context);
|
|
2337
2312
|
});
|
|
2338
2313
|
return retVal;
|
|
2339
2314
|
};
|
|
2340
|
-
const
|
|
2315
|
+
const de_ContentArtifactsConfiguration = (output, context) => {
|
|
2341
2316
|
return {
|
|
2342
2317
|
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2343
2318
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2344
2319
|
};
|
|
2345
2320
|
};
|
|
2346
|
-
const
|
|
2321
|
+
const de_ContentConcatenationConfiguration = (output, context) => {
|
|
2347
2322
|
return {
|
|
2348
2323
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2349
2324
|
};
|
|
2350
2325
|
};
|
|
2351
|
-
const
|
|
2326
|
+
const de_DataChannelConcatenationConfiguration = (output, context) => {
|
|
2352
2327
|
return {
|
|
2353
2328
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2354
2329
|
};
|
|
2355
2330
|
};
|
|
2356
|
-
const
|
|
2331
|
+
const de_ExternalUserIdList = (output, context) => {
|
|
2357
2332
|
const retVal = (output || [])
|
|
2358
2333
|
.filter((e) => e != null)
|
|
2359
2334
|
.map((entry) => {
|
|
@@ -2364,35 +2339,33 @@ const deserializeAws_restJson1ExternalUserIdList = (output, context) => {
|
|
|
2364
2339
|
});
|
|
2365
2340
|
return retVal;
|
|
2366
2341
|
};
|
|
2367
|
-
const
|
|
2342
|
+
const de_FragmentSelector = (output, context) => {
|
|
2368
2343
|
return {
|
|
2369
2344
|
FragmentSelectorType: (0, smithy_client_1.expectString)(output.FragmentSelectorType),
|
|
2370
|
-
TimestampRange: output.TimestampRange != null
|
|
2371
|
-
? deserializeAws_restJson1TimestampRange(output.TimestampRange, context)
|
|
2372
|
-
: undefined,
|
|
2345
|
+
TimestampRange: output.TimestampRange != null ? de_TimestampRange(output.TimestampRange, context) : undefined,
|
|
2373
2346
|
};
|
|
2374
2347
|
};
|
|
2375
|
-
const
|
|
2348
|
+
const de_GridViewConfiguration = (output, context) => {
|
|
2376
2349
|
return {
|
|
2377
2350
|
ContentShareLayout: (0, smithy_client_1.expectString)(output.ContentShareLayout),
|
|
2378
2351
|
PresenterOnlyConfiguration: output.PresenterOnlyConfiguration != null
|
|
2379
|
-
?
|
|
2352
|
+
? de_PresenterOnlyConfiguration(output.PresenterOnlyConfiguration, context)
|
|
2380
2353
|
: undefined,
|
|
2381
2354
|
};
|
|
2382
2355
|
};
|
|
2383
|
-
const
|
|
2356
|
+
const de_IssueDetectionConfiguration = (output, context) => {
|
|
2384
2357
|
return {
|
|
2385
2358
|
RuleName: (0, smithy_client_1.expectString)(output.RuleName),
|
|
2386
2359
|
};
|
|
2387
2360
|
};
|
|
2388
|
-
const
|
|
2361
|
+
const de_KeywordMatchConfiguration = (output, context) => {
|
|
2389
2362
|
return {
|
|
2390
|
-
Keywords: output.Keywords != null ?
|
|
2363
|
+
Keywords: output.Keywords != null ? de_KeywordMatchWordList(output.Keywords, context) : undefined,
|
|
2391
2364
|
Negate: (0, smithy_client_1.expectBoolean)(output.Negate),
|
|
2392
2365
|
RuleName: (0, smithy_client_1.expectString)(output.RuleName),
|
|
2393
2366
|
};
|
|
2394
2367
|
};
|
|
2395
|
-
const
|
|
2368
|
+
const de_KeywordMatchWordList = (output, context) => {
|
|
2396
2369
|
const retVal = (output || [])
|
|
2397
2370
|
.filter((e) => e != null)
|
|
2398
2371
|
.map((entry) => {
|
|
@@ -2403,80 +2376,78 @@ const deserializeAws_restJson1KeywordMatchWordList = (output, context) => {
|
|
|
2403
2376
|
});
|
|
2404
2377
|
return retVal;
|
|
2405
2378
|
};
|
|
2406
|
-
const
|
|
2379
|
+
const de_KinesisDataStreamSinkConfiguration = (output, context) => {
|
|
2407
2380
|
return {
|
|
2408
2381
|
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2409
2382
|
};
|
|
2410
2383
|
};
|
|
2411
|
-
const
|
|
2384
|
+
const de_KinesisVideoStreamRecordingSourceRuntimeConfiguration = (output, context) => {
|
|
2412
2385
|
return {
|
|
2413
|
-
FragmentSelector: output.FragmentSelector != null
|
|
2414
|
-
|
|
2415
|
-
: undefined,
|
|
2416
|
-
Streams: output.Streams != null ? deserializeAws_restJson1RecordingStreamList(output.Streams, context) : undefined,
|
|
2386
|
+
FragmentSelector: output.FragmentSelector != null ? de_FragmentSelector(output.FragmentSelector, context) : undefined,
|
|
2387
|
+
Streams: output.Streams != null ? de_RecordingStreamList(output.Streams, context) : undefined,
|
|
2417
2388
|
};
|
|
2418
2389
|
};
|
|
2419
|
-
const
|
|
2390
|
+
const de_KinesisVideoStreamSourceRuntimeConfiguration = (output, context) => {
|
|
2420
2391
|
return {
|
|
2421
2392
|
MediaEncoding: (0, smithy_client_1.expectString)(output.MediaEncoding),
|
|
2422
2393
|
MediaSampleRate: (0, smithy_client_1.expectInt32)(output.MediaSampleRate),
|
|
2423
|
-
Streams: output.Streams != null ?
|
|
2394
|
+
Streams: output.Streams != null ? de_Streams(output.Streams, context) : undefined,
|
|
2424
2395
|
};
|
|
2425
2396
|
};
|
|
2426
|
-
const
|
|
2397
|
+
const de_LambdaFunctionSinkConfiguration = (output, context) => {
|
|
2427
2398
|
return {
|
|
2428
2399
|
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2429
2400
|
};
|
|
2430
2401
|
};
|
|
2431
|
-
const
|
|
2402
|
+
const de_LiveConnectorRTMPConfiguration = (output, context) => {
|
|
2432
2403
|
return {
|
|
2433
2404
|
AudioChannels: (0, smithy_client_1.expectString)(output.AudioChannels),
|
|
2434
2405
|
AudioSampleRate: (0, smithy_client_1.expectString)(output.AudioSampleRate),
|
|
2435
2406
|
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
2436
2407
|
};
|
|
2437
2408
|
};
|
|
2438
|
-
const
|
|
2409
|
+
const de_LiveConnectorSinkConfiguration = (output, context) => {
|
|
2439
2410
|
return {
|
|
2440
2411
|
RTMPConfiguration: output.RTMPConfiguration != null
|
|
2441
|
-
?
|
|
2412
|
+
? de_LiveConnectorRTMPConfiguration(output.RTMPConfiguration, context)
|
|
2442
2413
|
: undefined,
|
|
2443
2414
|
SinkType: (0, smithy_client_1.expectString)(output.SinkType),
|
|
2444
2415
|
};
|
|
2445
2416
|
};
|
|
2446
|
-
const
|
|
2417
|
+
const de_LiveConnectorSinkList = (output, context) => {
|
|
2447
2418
|
const retVal = (output || [])
|
|
2448
2419
|
.filter((e) => e != null)
|
|
2449
2420
|
.map((entry) => {
|
|
2450
2421
|
if (entry === null) {
|
|
2451
2422
|
return null;
|
|
2452
2423
|
}
|
|
2453
|
-
return
|
|
2424
|
+
return de_LiveConnectorSinkConfiguration(entry, context);
|
|
2454
2425
|
});
|
|
2455
2426
|
return retVal;
|
|
2456
2427
|
};
|
|
2457
|
-
const
|
|
2428
|
+
const de_LiveConnectorSourceConfiguration = (output, context) => {
|
|
2458
2429
|
return {
|
|
2459
2430
|
ChimeSdkMeetingLiveConnectorConfiguration: output.ChimeSdkMeetingLiveConnectorConfiguration != null
|
|
2460
|
-
?
|
|
2431
|
+
? de_ChimeSdkMeetingLiveConnectorConfiguration(output.ChimeSdkMeetingLiveConnectorConfiguration, context)
|
|
2461
2432
|
: undefined,
|
|
2462
2433
|
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
2463
2434
|
};
|
|
2464
2435
|
};
|
|
2465
|
-
const
|
|
2436
|
+
const de_LiveConnectorSourceList = (output, context) => {
|
|
2466
2437
|
const retVal = (output || [])
|
|
2467
2438
|
.filter((e) => e != null)
|
|
2468
2439
|
.map((entry) => {
|
|
2469
2440
|
if (entry === null) {
|
|
2470
2441
|
return null;
|
|
2471
2442
|
}
|
|
2472
|
-
return
|
|
2443
|
+
return de_LiveConnectorSourceConfiguration(entry, context);
|
|
2473
2444
|
});
|
|
2474
2445
|
return retVal;
|
|
2475
2446
|
};
|
|
2476
|
-
const
|
|
2447
|
+
const de_MediaCapturePipeline = (output, context) => {
|
|
2477
2448
|
return {
|
|
2478
2449
|
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
|
|
2479
|
-
?
|
|
2450
|
+
? de_ChimeSdkMeetingConfiguration(output.ChimeSdkMeetingConfiguration, context)
|
|
2480
2451
|
: undefined,
|
|
2481
2452
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
2482
2453
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedTimestamp))
|
|
@@ -2493,82 +2464,80 @@ const deserializeAws_restJson1MediaCapturePipeline = (output, context) => {
|
|
|
2493
2464
|
: undefined,
|
|
2494
2465
|
};
|
|
2495
2466
|
};
|
|
2496
|
-
const
|
|
2467
|
+
const de_MediaCapturePipelineSourceConfiguration = (output, context) => {
|
|
2497
2468
|
return {
|
|
2498
2469
|
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
|
|
2499
|
-
?
|
|
2470
|
+
? de_ChimeSdkMeetingConcatenationConfiguration(output.ChimeSdkMeetingConfiguration, context)
|
|
2500
2471
|
: undefined,
|
|
2501
2472
|
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2502
2473
|
};
|
|
2503
2474
|
};
|
|
2504
|
-
const
|
|
2475
|
+
const de_MediaCapturePipelineSummary = (output, context) => {
|
|
2505
2476
|
return {
|
|
2506
2477
|
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2507
2478
|
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2508
2479
|
};
|
|
2509
2480
|
};
|
|
2510
|
-
const
|
|
2481
|
+
const de_MediaCapturePipelineSummaryList = (output, context) => {
|
|
2511
2482
|
const retVal = (output || [])
|
|
2512
2483
|
.filter((e) => e != null)
|
|
2513
2484
|
.map((entry) => {
|
|
2514
2485
|
if (entry === null) {
|
|
2515
2486
|
return null;
|
|
2516
2487
|
}
|
|
2517
|
-
return
|
|
2488
|
+
return de_MediaCapturePipelineSummary(entry, context);
|
|
2518
2489
|
});
|
|
2519
2490
|
return retVal;
|
|
2520
2491
|
};
|
|
2521
|
-
const
|
|
2492
|
+
const de_MediaConcatenationPipeline = (output, context) => {
|
|
2522
2493
|
return {
|
|
2523
2494
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
2524
2495
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedTimestamp))
|
|
2525
2496
|
: undefined,
|
|
2526
2497
|
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2527
2498
|
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2528
|
-
Sinks: output.Sinks != null ?
|
|
2529
|
-
Sources: output.Sources != null ?
|
|
2499
|
+
Sinks: output.Sinks != null ? de_ConcatenationSinkList(output.Sinks, context) : undefined,
|
|
2500
|
+
Sources: output.Sources != null ? de_ConcatenationSourceList(output.Sources, context) : undefined,
|
|
2530
2501
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2531
2502
|
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
2532
2503
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTimestamp))
|
|
2533
2504
|
: undefined,
|
|
2534
2505
|
};
|
|
2535
2506
|
};
|
|
2536
|
-
const
|
|
2507
|
+
const de_MediaInsightsPipeline = (output, context) => {
|
|
2537
2508
|
return {
|
|
2538
2509
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
2539
2510
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedTimestamp))
|
|
2540
2511
|
: undefined,
|
|
2541
2512
|
KinesisVideoStreamRecordingSourceRuntimeConfiguration: output.KinesisVideoStreamRecordingSourceRuntimeConfiguration != null
|
|
2542
|
-
?
|
|
2513
|
+
? de_KinesisVideoStreamRecordingSourceRuntimeConfiguration(output.KinesisVideoStreamRecordingSourceRuntimeConfiguration, context)
|
|
2543
2514
|
: undefined,
|
|
2544
2515
|
KinesisVideoStreamSourceRuntimeConfiguration: output.KinesisVideoStreamSourceRuntimeConfiguration != null
|
|
2545
|
-
?
|
|
2516
|
+
? de_KinesisVideoStreamSourceRuntimeConfiguration(output.KinesisVideoStreamSourceRuntimeConfiguration, context)
|
|
2546
2517
|
: undefined,
|
|
2547
2518
|
MediaInsightsPipelineConfigurationArn: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationArn),
|
|
2548
2519
|
MediaInsightsRuntimeMetadata: output.MediaInsightsRuntimeMetadata != null
|
|
2549
|
-
?
|
|
2520
|
+
? de_MediaInsightsRuntimeMetadata(output.MediaInsightsRuntimeMetadata, context)
|
|
2550
2521
|
: undefined,
|
|
2551
2522
|
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2552
2523
|
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2553
2524
|
S3RecordingSinkRuntimeConfiguration: output.S3RecordingSinkRuntimeConfiguration != null
|
|
2554
|
-
?
|
|
2525
|
+
? de_S3RecordingSinkRuntimeConfiguration(output.S3RecordingSinkRuntimeConfiguration, context)
|
|
2555
2526
|
: undefined,
|
|
2556
2527
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2557
2528
|
};
|
|
2558
2529
|
};
|
|
2559
|
-
const
|
|
2530
|
+
const de_MediaInsightsPipelineConfiguration = (output, context) => {
|
|
2560
2531
|
return {
|
|
2561
2532
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
2562
2533
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedTimestamp))
|
|
2563
2534
|
: undefined,
|
|
2564
|
-
Elements: output.Elements != null
|
|
2565
|
-
? deserializeAws_restJson1MediaInsightsPipelineConfigurationElements(output.Elements, context)
|
|
2566
|
-
: undefined,
|
|
2535
|
+
Elements: output.Elements != null ? de_MediaInsightsPipelineConfigurationElements(output.Elements, context) : undefined,
|
|
2567
2536
|
MediaInsightsPipelineConfigurationArn: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationArn),
|
|
2568
2537
|
MediaInsightsPipelineConfigurationId: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationId),
|
|
2569
2538
|
MediaInsightsPipelineConfigurationName: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationName),
|
|
2570
2539
|
RealTimeAlertConfiguration: output.RealTimeAlertConfiguration != null
|
|
2571
|
-
?
|
|
2540
|
+
? de_RealTimeAlertConfiguration(output.RealTimeAlertConfiguration, context)
|
|
2572
2541
|
: undefined,
|
|
2573
2542
|
ResourceAccessRoleArn: (0, smithy_client_1.expectString)(output.ResourceAccessRoleArn),
|
|
2574
2543
|
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
@@ -2576,65 +2545,65 @@ const deserializeAws_restJson1MediaInsightsPipelineConfiguration = (output, cont
|
|
|
2576
2545
|
: undefined,
|
|
2577
2546
|
};
|
|
2578
2547
|
};
|
|
2579
|
-
const
|
|
2548
|
+
const de_MediaInsightsPipelineConfigurationElement = (output, context) => {
|
|
2580
2549
|
return {
|
|
2581
2550
|
AmazonTranscribeCallAnalyticsProcessorConfiguration: output.AmazonTranscribeCallAnalyticsProcessorConfiguration != null
|
|
2582
|
-
?
|
|
2551
|
+
? de_AmazonTranscribeCallAnalyticsProcessorConfiguration(output.AmazonTranscribeCallAnalyticsProcessorConfiguration, context)
|
|
2583
2552
|
: undefined,
|
|
2584
2553
|
AmazonTranscribeProcessorConfiguration: output.AmazonTranscribeProcessorConfiguration != null
|
|
2585
|
-
?
|
|
2554
|
+
? de_AmazonTranscribeProcessorConfiguration(output.AmazonTranscribeProcessorConfiguration, context)
|
|
2586
2555
|
: undefined,
|
|
2587
2556
|
KinesisDataStreamSinkConfiguration: output.KinesisDataStreamSinkConfiguration != null
|
|
2588
|
-
?
|
|
2557
|
+
? de_KinesisDataStreamSinkConfiguration(output.KinesisDataStreamSinkConfiguration, context)
|
|
2589
2558
|
: undefined,
|
|
2590
2559
|
LambdaFunctionSinkConfiguration: output.LambdaFunctionSinkConfiguration != null
|
|
2591
|
-
?
|
|
2560
|
+
? de_LambdaFunctionSinkConfiguration(output.LambdaFunctionSinkConfiguration, context)
|
|
2592
2561
|
: undefined,
|
|
2593
2562
|
S3RecordingSinkConfiguration: output.S3RecordingSinkConfiguration != null
|
|
2594
|
-
?
|
|
2563
|
+
? de_S3RecordingSinkConfiguration(output.S3RecordingSinkConfiguration, context)
|
|
2595
2564
|
: undefined,
|
|
2596
2565
|
SnsTopicSinkConfiguration: output.SnsTopicSinkConfiguration != null
|
|
2597
|
-
?
|
|
2566
|
+
? de_SnsTopicSinkConfiguration(output.SnsTopicSinkConfiguration, context)
|
|
2598
2567
|
: undefined,
|
|
2599
2568
|
SqsQueueSinkConfiguration: output.SqsQueueSinkConfiguration != null
|
|
2600
|
-
?
|
|
2569
|
+
? de_SqsQueueSinkConfiguration(output.SqsQueueSinkConfiguration, context)
|
|
2601
2570
|
: undefined,
|
|
2602
2571
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2603
2572
|
VoiceAnalyticsProcessorConfiguration: output.VoiceAnalyticsProcessorConfiguration != null
|
|
2604
|
-
?
|
|
2573
|
+
? de_VoiceAnalyticsProcessorConfiguration(output.VoiceAnalyticsProcessorConfiguration, context)
|
|
2605
2574
|
: undefined,
|
|
2606
2575
|
};
|
|
2607
2576
|
};
|
|
2608
|
-
const
|
|
2577
|
+
const de_MediaInsightsPipelineConfigurationElements = (output, context) => {
|
|
2609
2578
|
const retVal = (output || [])
|
|
2610
2579
|
.filter((e) => e != null)
|
|
2611
2580
|
.map((entry) => {
|
|
2612
2581
|
if (entry === null) {
|
|
2613
2582
|
return null;
|
|
2614
2583
|
}
|
|
2615
|
-
return
|
|
2584
|
+
return de_MediaInsightsPipelineConfigurationElement(entry, context);
|
|
2616
2585
|
});
|
|
2617
2586
|
return retVal;
|
|
2618
2587
|
};
|
|
2619
|
-
const
|
|
2588
|
+
const de_MediaInsightsPipelineConfigurationSummary = (output, context) => {
|
|
2620
2589
|
return {
|
|
2621
2590
|
MediaInsightsPipelineConfigurationArn: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationArn),
|
|
2622
2591
|
MediaInsightsPipelineConfigurationId: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationId),
|
|
2623
2592
|
MediaInsightsPipelineConfigurationName: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationName),
|
|
2624
2593
|
};
|
|
2625
2594
|
};
|
|
2626
|
-
const
|
|
2595
|
+
const de_MediaInsightsPipelineConfigurationSummaryList = (output, context) => {
|
|
2627
2596
|
const retVal = (output || [])
|
|
2628
2597
|
.filter((e) => e != null)
|
|
2629
2598
|
.map((entry) => {
|
|
2630
2599
|
if (entry === null) {
|
|
2631
2600
|
return null;
|
|
2632
2601
|
}
|
|
2633
|
-
return
|
|
2602
|
+
return de_MediaInsightsPipelineConfigurationSummary(entry, context);
|
|
2634
2603
|
});
|
|
2635
2604
|
return retVal;
|
|
2636
2605
|
};
|
|
2637
|
-
const
|
|
2606
|
+
const de_MediaInsightsRuntimeMetadata = (output, context) => {
|
|
2638
2607
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2639
2608
|
if (value === null) {
|
|
2640
2609
|
return acc;
|
|
@@ -2643,60 +2612,58 @@ const deserializeAws_restJson1MediaInsightsRuntimeMetadata = (output, context) =
|
|
|
2643
2612
|
return acc;
|
|
2644
2613
|
}, {});
|
|
2645
2614
|
};
|
|
2646
|
-
const
|
|
2615
|
+
const de_MediaLiveConnectorPipeline = (output, context) => {
|
|
2647
2616
|
return {
|
|
2648
2617
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
2649
2618
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedTimestamp))
|
|
2650
2619
|
: undefined,
|
|
2651
2620
|
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2652
2621
|
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2653
|
-
Sinks: output.Sinks != null ?
|
|
2654
|
-
Sources: output.Sources != null ?
|
|
2622
|
+
Sinks: output.Sinks != null ? de_LiveConnectorSinkList(output.Sinks, context) : undefined,
|
|
2623
|
+
Sources: output.Sources != null ? de_LiveConnectorSourceList(output.Sources, context) : undefined,
|
|
2655
2624
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2656
2625
|
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
2657
2626
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTimestamp))
|
|
2658
2627
|
: undefined,
|
|
2659
2628
|
};
|
|
2660
2629
|
};
|
|
2661
|
-
const
|
|
2630
|
+
const de_MediaPipeline = (output, context) => {
|
|
2662
2631
|
return {
|
|
2663
|
-
MediaCapturePipeline: output.MediaCapturePipeline != null
|
|
2664
|
-
? deserializeAws_restJson1MediaCapturePipeline(output.MediaCapturePipeline, context)
|
|
2665
|
-
: undefined,
|
|
2632
|
+
MediaCapturePipeline: output.MediaCapturePipeline != null ? de_MediaCapturePipeline(output.MediaCapturePipeline, context) : undefined,
|
|
2666
2633
|
MediaConcatenationPipeline: output.MediaConcatenationPipeline != null
|
|
2667
|
-
?
|
|
2634
|
+
? de_MediaConcatenationPipeline(output.MediaConcatenationPipeline, context)
|
|
2668
2635
|
: undefined,
|
|
2669
2636
|
MediaInsightsPipeline: output.MediaInsightsPipeline != null
|
|
2670
|
-
?
|
|
2637
|
+
? de_MediaInsightsPipeline(output.MediaInsightsPipeline, context)
|
|
2671
2638
|
: undefined,
|
|
2672
2639
|
MediaLiveConnectorPipeline: output.MediaLiveConnectorPipeline != null
|
|
2673
|
-
?
|
|
2640
|
+
? de_MediaLiveConnectorPipeline(output.MediaLiveConnectorPipeline, context)
|
|
2674
2641
|
: undefined,
|
|
2675
2642
|
};
|
|
2676
2643
|
};
|
|
2677
|
-
const
|
|
2644
|
+
const de_MediaPipelineList = (output, context) => {
|
|
2678
2645
|
const retVal = (output || [])
|
|
2679
2646
|
.filter((e) => e != null)
|
|
2680
2647
|
.map((entry) => {
|
|
2681
2648
|
if (entry === null) {
|
|
2682
2649
|
return null;
|
|
2683
2650
|
}
|
|
2684
|
-
return
|
|
2651
|
+
return de_MediaPipelineSummary(entry, context);
|
|
2685
2652
|
});
|
|
2686
2653
|
return retVal;
|
|
2687
2654
|
};
|
|
2688
|
-
const
|
|
2655
|
+
const de_MediaPipelineSummary = (output, context) => {
|
|
2689
2656
|
return {
|
|
2690
2657
|
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2691
2658
|
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2692
2659
|
};
|
|
2693
2660
|
};
|
|
2694
|
-
const
|
|
2661
|
+
const de_MeetingEventsConcatenationConfiguration = (output, context) => {
|
|
2695
2662
|
return {
|
|
2696
2663
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2697
2664
|
};
|
|
2698
2665
|
};
|
|
2699
|
-
const
|
|
2666
|
+
const de_PostCallAnalyticsSettings = (output, context) => {
|
|
2700
2667
|
return {
|
|
2701
2668
|
ContentRedactionOutput: (0, smithy_client_1.expectString)(output.ContentRedactionOutput),
|
|
2702
2669
|
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
@@ -2704,152 +2671,146 @@ const deserializeAws_restJson1PostCallAnalyticsSettings = (output, context) => {
|
|
|
2704
2671
|
OutputLocation: (0, smithy_client_1.expectString)(output.OutputLocation),
|
|
2705
2672
|
};
|
|
2706
2673
|
};
|
|
2707
|
-
const
|
|
2674
|
+
const de_PresenterOnlyConfiguration = (output, context) => {
|
|
2708
2675
|
return {
|
|
2709
2676
|
PresenterPosition: (0, smithy_client_1.expectString)(output.PresenterPosition),
|
|
2710
2677
|
};
|
|
2711
2678
|
};
|
|
2712
|
-
const
|
|
2679
|
+
const de_RealTimeAlertConfiguration = (output, context) => {
|
|
2713
2680
|
return {
|
|
2714
2681
|
Disabled: (0, smithy_client_1.expectBoolean)(output.Disabled),
|
|
2715
|
-
Rules: output.Rules != null ?
|
|
2682
|
+
Rules: output.Rules != null ? de_RealTimeAlertRuleList(output.Rules, context) : undefined,
|
|
2716
2683
|
};
|
|
2717
2684
|
};
|
|
2718
|
-
const
|
|
2685
|
+
const de_RealTimeAlertRule = (output, context) => {
|
|
2719
2686
|
return {
|
|
2720
2687
|
IssueDetectionConfiguration: output.IssueDetectionConfiguration != null
|
|
2721
|
-
?
|
|
2688
|
+
? de_IssueDetectionConfiguration(output.IssueDetectionConfiguration, context)
|
|
2722
2689
|
: undefined,
|
|
2723
2690
|
KeywordMatchConfiguration: output.KeywordMatchConfiguration != null
|
|
2724
|
-
?
|
|
2691
|
+
? de_KeywordMatchConfiguration(output.KeywordMatchConfiguration, context)
|
|
2725
2692
|
: undefined,
|
|
2726
2693
|
SentimentConfiguration: output.SentimentConfiguration != null
|
|
2727
|
-
?
|
|
2694
|
+
? de_SentimentConfiguration(output.SentimentConfiguration, context)
|
|
2728
2695
|
: undefined,
|
|
2729
2696
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2730
2697
|
};
|
|
2731
2698
|
};
|
|
2732
|
-
const
|
|
2699
|
+
const de_RealTimeAlertRuleList = (output, context) => {
|
|
2733
2700
|
const retVal = (output || [])
|
|
2734
2701
|
.filter((e) => e != null)
|
|
2735
2702
|
.map((entry) => {
|
|
2736
2703
|
if (entry === null) {
|
|
2737
2704
|
return null;
|
|
2738
2705
|
}
|
|
2739
|
-
return
|
|
2706
|
+
return de_RealTimeAlertRule(entry, context);
|
|
2740
2707
|
});
|
|
2741
2708
|
return retVal;
|
|
2742
2709
|
};
|
|
2743
|
-
const
|
|
2710
|
+
const de_RecordingStreamConfiguration = (output, context) => {
|
|
2744
2711
|
return {
|
|
2745
2712
|
StreamArn: (0, smithy_client_1.expectString)(output.StreamArn),
|
|
2746
2713
|
};
|
|
2747
2714
|
};
|
|
2748
|
-
const
|
|
2715
|
+
const de_RecordingStreamList = (output, context) => {
|
|
2749
2716
|
const retVal = (output || [])
|
|
2750
2717
|
.filter((e) => e != null)
|
|
2751
2718
|
.map((entry) => {
|
|
2752
2719
|
if (entry === null) {
|
|
2753
2720
|
return null;
|
|
2754
2721
|
}
|
|
2755
|
-
return
|
|
2722
|
+
return de_RecordingStreamConfiguration(entry, context);
|
|
2756
2723
|
});
|
|
2757
2724
|
return retVal;
|
|
2758
2725
|
};
|
|
2759
|
-
const
|
|
2726
|
+
const de_S3BucketSinkConfiguration = (output, context) => {
|
|
2760
2727
|
return {
|
|
2761
2728
|
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
2762
2729
|
};
|
|
2763
2730
|
};
|
|
2764
|
-
const
|
|
2731
|
+
const de_S3RecordingSinkConfiguration = (output, context) => {
|
|
2765
2732
|
return {
|
|
2766
2733
|
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
2767
2734
|
};
|
|
2768
2735
|
};
|
|
2769
|
-
const
|
|
2736
|
+
const de_S3RecordingSinkRuntimeConfiguration = (output, context) => {
|
|
2770
2737
|
return {
|
|
2771
2738
|
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
2772
2739
|
RecordingFileFormat: (0, smithy_client_1.expectString)(output.RecordingFileFormat),
|
|
2773
2740
|
};
|
|
2774
2741
|
};
|
|
2775
|
-
const
|
|
2742
|
+
const de_SelectedVideoStreams = (output, context) => {
|
|
2776
2743
|
return {
|
|
2777
|
-
AttendeeIds: output.AttendeeIds != null ?
|
|
2778
|
-
ExternalUserIds: output.ExternalUserIds != null
|
|
2779
|
-
? deserializeAws_restJson1ExternalUserIdList(output.ExternalUserIds, context)
|
|
2780
|
-
: undefined,
|
|
2744
|
+
AttendeeIds: output.AttendeeIds != null ? de_AttendeeIdList(output.AttendeeIds, context) : undefined,
|
|
2745
|
+
ExternalUserIds: output.ExternalUserIds != null ? de_ExternalUserIdList(output.ExternalUserIds, context) : undefined,
|
|
2781
2746
|
};
|
|
2782
2747
|
};
|
|
2783
|
-
const
|
|
2748
|
+
const de_SentimentConfiguration = (output, context) => {
|
|
2784
2749
|
return {
|
|
2785
2750
|
RuleName: (0, smithy_client_1.expectString)(output.RuleName),
|
|
2786
2751
|
SentimentType: (0, smithy_client_1.expectString)(output.SentimentType),
|
|
2787
2752
|
TimePeriod: (0, smithy_client_1.expectInt32)(output.TimePeriod),
|
|
2788
2753
|
};
|
|
2789
2754
|
};
|
|
2790
|
-
const
|
|
2755
|
+
const de_SnsTopicSinkConfiguration = (output, context) => {
|
|
2791
2756
|
return {
|
|
2792
2757
|
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2793
2758
|
};
|
|
2794
2759
|
};
|
|
2795
|
-
const
|
|
2760
|
+
const de_SourceConfiguration = (output, context) => {
|
|
2796
2761
|
return {
|
|
2797
|
-
SelectedVideoStreams: output.SelectedVideoStreams != null
|
|
2798
|
-
? deserializeAws_restJson1SelectedVideoStreams(output.SelectedVideoStreams, context)
|
|
2799
|
-
: undefined,
|
|
2762
|
+
SelectedVideoStreams: output.SelectedVideoStreams != null ? de_SelectedVideoStreams(output.SelectedVideoStreams, context) : undefined,
|
|
2800
2763
|
};
|
|
2801
2764
|
};
|
|
2802
|
-
const
|
|
2765
|
+
const de_SqsQueueSinkConfiguration = (output, context) => {
|
|
2803
2766
|
return {
|
|
2804
2767
|
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2805
2768
|
};
|
|
2806
2769
|
};
|
|
2807
|
-
const
|
|
2770
|
+
const de_StreamChannelDefinition = (output, context) => {
|
|
2808
2771
|
return {
|
|
2809
|
-
ChannelDefinitions: output.ChannelDefinitions != null
|
|
2810
|
-
? deserializeAws_restJson1ChannelDefinitions(output.ChannelDefinitions, context)
|
|
2811
|
-
: undefined,
|
|
2772
|
+
ChannelDefinitions: output.ChannelDefinitions != null ? de_ChannelDefinitions(output.ChannelDefinitions, context) : undefined,
|
|
2812
2773
|
NumberOfChannels: (0, smithy_client_1.expectInt32)(output.NumberOfChannels),
|
|
2813
2774
|
};
|
|
2814
2775
|
};
|
|
2815
|
-
const
|
|
2776
|
+
const de_StreamConfiguration = (output, context) => {
|
|
2816
2777
|
return {
|
|
2817
2778
|
FragmentNumber: (0, smithy_client_1.expectString)(output.FragmentNumber),
|
|
2818
2779
|
StreamArn: (0, smithy_client_1.expectString)(output.StreamArn),
|
|
2819
2780
|
StreamChannelDefinition: output.StreamChannelDefinition != null
|
|
2820
|
-
?
|
|
2781
|
+
? de_StreamChannelDefinition(output.StreamChannelDefinition, context)
|
|
2821
2782
|
: undefined,
|
|
2822
2783
|
};
|
|
2823
2784
|
};
|
|
2824
|
-
const
|
|
2785
|
+
const de_Streams = (output, context) => {
|
|
2825
2786
|
const retVal = (output || [])
|
|
2826
2787
|
.filter((e) => e != null)
|
|
2827
2788
|
.map((entry) => {
|
|
2828
2789
|
if (entry === null) {
|
|
2829
2790
|
return null;
|
|
2830
2791
|
}
|
|
2831
|
-
return
|
|
2792
|
+
return de_StreamConfiguration(entry, context);
|
|
2832
2793
|
});
|
|
2833
2794
|
return retVal;
|
|
2834
2795
|
};
|
|
2835
|
-
const
|
|
2796
|
+
const de_Tag = (output, context) => {
|
|
2836
2797
|
return {
|
|
2837
2798
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2838
2799
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2839
2800
|
};
|
|
2840
2801
|
};
|
|
2841
|
-
const
|
|
2802
|
+
const de_TagList = (output, context) => {
|
|
2842
2803
|
const retVal = (output || [])
|
|
2843
2804
|
.filter((e) => e != null)
|
|
2844
2805
|
.map((entry) => {
|
|
2845
2806
|
if (entry === null) {
|
|
2846
2807
|
return null;
|
|
2847
2808
|
}
|
|
2848
|
-
return
|
|
2809
|
+
return de_Tag(entry, context);
|
|
2849
2810
|
});
|
|
2850
2811
|
return retVal;
|
|
2851
2812
|
};
|
|
2852
|
-
const
|
|
2813
|
+
const de_TimestampRange = (output, context) => {
|
|
2853
2814
|
return {
|
|
2854
2815
|
EndTimestamp: output.EndTimestamp != null
|
|
2855
2816
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTimestamp)))
|
|
@@ -2859,23 +2820,23 @@ const deserializeAws_restJson1TimestampRange = (output, context) => {
|
|
|
2859
2820
|
: undefined,
|
|
2860
2821
|
};
|
|
2861
2822
|
};
|
|
2862
|
-
const
|
|
2823
|
+
const de_TranscriptionMessagesConcatenationConfiguration = (output, context) => {
|
|
2863
2824
|
return {
|
|
2864
2825
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2865
2826
|
};
|
|
2866
2827
|
};
|
|
2867
|
-
const
|
|
2828
|
+
const de_VideoArtifactsConfiguration = (output, context) => {
|
|
2868
2829
|
return {
|
|
2869
2830
|
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2870
2831
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2871
2832
|
};
|
|
2872
2833
|
};
|
|
2873
|
-
const
|
|
2834
|
+
const de_VideoConcatenationConfiguration = (output, context) => {
|
|
2874
2835
|
return {
|
|
2875
2836
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2876
2837
|
};
|
|
2877
2838
|
};
|
|
2878
|
-
const
|
|
2839
|
+
const de_VoiceAnalyticsProcessorConfiguration = (output, context) => {
|
|
2879
2840
|
return {
|
|
2880
2841
|
SpeakerSearchStatus: (0, smithy_client_1.expectString)(output.SpeakerSearchStatus),
|
|
2881
2842
|
VoiceToneAnalysisStatus: (0, smithy_client_1.expectString)(output.VoiceToneAnalysisStatus),
|