@aws-sdk/client-medialive 3.234.0 → 3.236.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.
Files changed (29) hide show
  1. package/dist-cjs/commands/StartMultiplexCommand.js +3 -3
  2. package/dist-cjs/commands/StopChannelCommand.js +3 -3
  3. package/dist-cjs/commands/StopMultiplexCommand.js +1 -2
  4. package/dist-cjs/endpoint/ruleset.js +4 -306
  5. package/dist-cjs/models/models_0.js +20 -15
  6. package/dist-cjs/models/models_1.js +40 -26
  7. package/dist-cjs/models/models_2.js +21 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +52 -0
  9. package/dist-es/commands/StartMultiplexCommand.js +1 -1
  10. package/dist-es/commands/StopChannelCommand.js +1 -1
  11. package/dist-es/commands/StopMultiplexCommand.js +1 -2
  12. package/dist-es/endpoint/ruleset.js +4 -306
  13. package/dist-es/models/models_0.js +15 -11
  14. package/dist-es/models/models_1.js +33 -15
  15. package/dist-es/models/models_2.js +15 -0
  16. package/dist-es/protocols/Aws_restJson1.js +52 -0
  17. package/dist-types/commands/StartMultiplexCommand.d.ts +1 -1
  18. package/dist-types/commands/StopChannelCommand.d.ts +1 -1
  19. package/dist-types/commands/StopMultiplexCommand.d.ts +1 -2
  20. package/dist-types/models/models_0.d.ts +28 -9
  21. package/dist-types/models/models_1.d.ts +73 -181
  22. package/dist-types/models/models_2.d.ts +173 -2
  23. package/dist-types/ts3.4/commands/StartMultiplexCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/StopChannelCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/StopMultiplexCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/models/models_0.d.ts +18 -9
  27. package/dist-types/ts3.4/models/models_1.d.ts +38 -58
  28. package/dist-types/ts3.4/models/models_2.d.ts +61 -0
  29. package/package.json +4 -4
@@ -1,6 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateReservationResponseFilterSensitiveLog = exports.UpdateReservationRequestFilterSensitiveLog = exports.UpdateMultiplexProgramResponseFilterSensitiveLog = exports.UpdateMultiplexProgramRequestFilterSensitiveLog = exports.UpdateMultiplexResponseFilterSensitiveLog = exports.UpdateMultiplexRequestFilterSensitiveLog = exports.UpdateInputSecurityGroupResponseFilterSensitiveLog = exports.UpdateInputSecurityGroupRequestFilterSensitiveLog = exports.UpdateInputDeviceResponseFilterSensitiveLog = exports.UpdateInputDeviceRequestFilterSensitiveLog = exports.UpdateInputResponseFilterSensitiveLog = exports.UpdateInputRequestFilterSensitiveLog = exports.UpdateChannelClassResponseFilterSensitiveLog = exports.UpdateChannelClassRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.TransferInputDeviceResponseFilterSensitiveLog = exports.TransferInputDeviceRequestFilterSensitiveLog = exports.StopMultiplexResponseFilterSensitiveLog = void 0;
3
+ exports.UpdateReservationResponseFilterSensitiveLog = exports.UpdateReservationRequestFilterSensitiveLog = exports.UpdateMultiplexProgramResponseFilterSensitiveLog = exports.UpdateMultiplexProgramRequestFilterSensitiveLog = exports.UpdateMultiplexResponseFilterSensitiveLog = exports.UpdateMultiplexRequestFilterSensitiveLog = exports.UpdateInputSecurityGroupResponseFilterSensitiveLog = exports.UpdateInputSecurityGroupRequestFilterSensitiveLog = exports.UpdateInputDeviceResponseFilterSensitiveLog = exports.UpdateInputDeviceRequestFilterSensitiveLog = exports.UpdateInputResponseFilterSensitiveLog = exports.UpdateInputRequestFilterSensitiveLog = exports.UpdateChannelClassResponseFilterSensitiveLog = exports.UpdateChannelClassRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.TransferInputDeviceResponseFilterSensitiveLog = exports.TransferInputDeviceRequestFilterSensitiveLog = exports.StopMultiplexResponseFilterSensitiveLog = exports.StopMultiplexRequestFilterSensitiveLog = exports.StopChannelResponseFilterSensitiveLog = exports.StopChannelRequestFilterSensitiveLog = exports.StartMultiplexResponseFilterSensitiveLog = exports.StartMultiplexRequestFilterSensitiveLog = void 0;
4
+ const StartMultiplexRequestFilterSensitiveLog = (obj) => ({
5
+ ...obj,
6
+ });
7
+ exports.StartMultiplexRequestFilterSensitiveLog = StartMultiplexRequestFilterSensitiveLog;
8
+ const StartMultiplexResponseFilterSensitiveLog = (obj) => ({
9
+ ...obj,
10
+ });
11
+ exports.StartMultiplexResponseFilterSensitiveLog = StartMultiplexResponseFilterSensitiveLog;
12
+ const StopChannelRequestFilterSensitiveLog = (obj) => ({
13
+ ...obj,
14
+ });
15
+ exports.StopChannelRequestFilterSensitiveLog = StopChannelRequestFilterSensitiveLog;
16
+ const StopChannelResponseFilterSensitiveLog = (obj) => ({
17
+ ...obj,
18
+ });
19
+ exports.StopChannelResponseFilterSensitiveLog = StopChannelResponseFilterSensitiveLog;
20
+ const StopMultiplexRequestFilterSensitiveLog = (obj) => ({
21
+ ...obj,
22
+ });
23
+ exports.StopMultiplexRequestFilterSensitiveLog = StopMultiplexRequestFilterSensitiveLog;
4
24
  const StopMultiplexResponseFilterSensitiveLog = (obj) => ({
5
25
  ...obj,
6
26
  });
@@ -5501,6 +5501,11 @@ const serializeAws_restJson1AudioDescription = (input, context) => {
5501
5501
  ...(input.StreamName != null && { streamName: input.StreamName }),
5502
5502
  };
5503
5503
  };
5504
+ const serializeAws_restJson1AudioDolbyEDecode = (input, context) => {
5505
+ return {
5506
+ ...(input.ProgramSelection != null && { programSelection: input.ProgramSelection }),
5507
+ };
5508
+ };
5504
5509
  const serializeAws_restJson1AudioHlsRenditionSelection = (input, context) => {
5505
5510
  return {
5506
5511
  ...(input.GroupId != null && { groupId: input.GroupId }),
@@ -5572,6 +5577,9 @@ const serializeAws_restJson1AudioTrack = (input, context) => {
5572
5577
  };
5573
5578
  const serializeAws_restJson1AudioTrackSelection = (input, context) => {
5574
5579
  return {
5580
+ ...(input.DolbyEDecode != null && {
5581
+ dolbyEDecode: serializeAws_restJson1AudioDolbyEDecode(input.DolbyEDecode, context),
5582
+ }),
5575
5583
  ...(input.Tracks != null && { tracks: serializeAws_restJson1__listOfAudioTrack(input.Tracks, context) }),
5576
5584
  };
5577
5585
  };
@@ -6021,6 +6029,9 @@ const serializeAws_restJson1FrameCaptureSettings = (input, context) => {
6021
6029
  return {
6022
6030
  ...(input.CaptureInterval != null && { captureInterval: input.CaptureInterval }),
6023
6031
  ...(input.CaptureIntervalUnits != null && { captureIntervalUnits: input.CaptureIntervalUnits }),
6032
+ ...(input.TimecodeBurninSettings != null && {
6033
+ timecodeBurninSettings: serializeAws_restJson1TimecodeBurninSettings(input.TimecodeBurninSettings, context),
6034
+ }),
6024
6035
  };
6025
6036
  };
6026
6037
  const serializeAws_restJson1GlobalConfiguration = (input, context) => {
@@ -6101,6 +6112,9 @@ const serializeAws_restJson1H264Settings = (input, context) => {
6101
6112
  ...(input.SubgopLength != null && { subgopLength: input.SubgopLength }),
6102
6113
  ...(input.Syntax != null && { syntax: input.Syntax }),
6103
6114
  ...(input.TemporalAq != null && { temporalAq: input.TemporalAq }),
6115
+ ...(input.TimecodeBurninSettings != null && {
6116
+ timecodeBurninSettings: serializeAws_restJson1TimecodeBurninSettings(input.TimecodeBurninSettings, context),
6117
+ }),
6104
6118
  ...(input.TimecodeInsertion != null && { timecodeInsertion: input.TimecodeInsertion }),
6105
6119
  };
6106
6120
  };
@@ -6166,6 +6180,9 @@ const serializeAws_restJson1H265Settings = (input, context) => {
6166
6180
  ...(input.SceneChangeDetect != null && { sceneChangeDetect: input.SceneChangeDetect }),
6167
6181
  ...(input.Slices != null && { slices: input.Slices }),
6168
6182
  ...(input.Tier != null && { tier: input.Tier }),
6183
+ ...(input.TimecodeBurninSettings != null && {
6184
+ timecodeBurninSettings: serializeAws_restJson1TimecodeBurninSettings(input.TimecodeBurninSettings, context),
6185
+ }),
6169
6186
  ...(input.TimecodeInsertion != null && { timecodeInsertion: input.TimecodeInsertion }),
6170
6187
  };
6171
6188
  };
@@ -6663,6 +6680,9 @@ const serializeAws_restJson1Mpeg2Settings = (input, context) => {
6663
6680
  ...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
6664
6681
  ...(input.ScanType != null && { scanType: input.ScanType }),
6665
6682
  ...(input.SubgopLength != null && { subgopLength: input.SubgopLength }),
6683
+ ...(input.TimecodeBurninSettings != null && {
6684
+ timecodeBurninSettings: serializeAws_restJson1TimecodeBurninSettings(input.TimecodeBurninSettings, context),
6685
+ }),
6666
6686
  ...(input.TimecodeInsertion != null && { timecodeInsertion: input.TimecodeInsertion }),
6667
6687
  };
6668
6688
  };
@@ -7210,6 +7230,13 @@ const serializeAws_restJson1TemporalFilterSettings = (input, context) => {
7210
7230
  ...(input.Strength != null && { strength: input.Strength }),
7211
7231
  };
7212
7232
  };
7233
+ const serializeAws_restJson1TimecodeBurninSettings = (input, context) => {
7234
+ return {
7235
+ ...(input.FontSize != null && { fontSize: input.FontSize }),
7236
+ ...(input.Position != null && { position: input.Position }),
7237
+ ...(input.Prefix != null && { prefix: input.Prefix }),
7238
+ };
7239
+ };
7213
7240
  const serializeAws_restJson1TimecodeConfig = (input, context) => {
7214
7241
  return {
7215
7242
  ...(input.Source != null && { source: input.Source }),
@@ -7945,6 +7972,11 @@ const deserializeAws_restJson1AudioDescription = (output, context) => {
7945
7972
  StreamName: (0, smithy_client_1.expectString)(output.streamName),
7946
7973
  };
7947
7974
  };
7975
+ const deserializeAws_restJson1AudioDolbyEDecode = (output, context) => {
7976
+ return {
7977
+ ProgramSelection: (0, smithy_client_1.expectString)(output.programSelection),
7978
+ };
7979
+ };
7948
7980
  const deserializeAws_restJson1AudioHlsRenditionSelection = (output, context) => {
7949
7981
  return {
7950
7982
  GroupId: (0, smithy_client_1.expectString)(output.groupId),
@@ -8014,6 +8046,7 @@ const deserializeAws_restJson1AudioTrack = (output, context) => {
8014
8046
  };
8015
8047
  const deserializeAws_restJson1AudioTrackSelection = (output, context) => {
8016
8048
  return {
8049
+ DolbyEDecode: output.dolbyEDecode != null ? deserializeAws_restJson1AudioDolbyEDecode(output.dolbyEDecode, context) : undefined,
8017
8050
  Tracks: output.tracks != null ? deserializeAws_restJson1__listOfAudioTrack(output.tracks, context) : undefined,
8018
8051
  };
8019
8052
  };
@@ -8539,6 +8572,9 @@ const deserializeAws_restJson1FrameCaptureSettings = (output, context) => {
8539
8572
  return {
8540
8573
  CaptureInterval: (0, smithy_client_1.expectInt32)(output.captureInterval),
8541
8574
  CaptureIntervalUnits: (0, smithy_client_1.expectString)(output.captureIntervalUnits),
8575
+ TimecodeBurninSettings: output.timecodeBurninSettings != null
8576
+ ? deserializeAws_restJson1TimecodeBurninSettings(output.timecodeBurninSettings, context)
8577
+ : undefined,
8542
8578
  };
8543
8579
  };
8544
8580
  const deserializeAws_restJson1GlobalConfiguration = (output, context) => {
@@ -8619,6 +8655,9 @@ const deserializeAws_restJson1H264Settings = (output, context) => {
8619
8655
  SubgopLength: (0, smithy_client_1.expectString)(output.subgopLength),
8620
8656
  Syntax: (0, smithy_client_1.expectString)(output.syntax),
8621
8657
  TemporalAq: (0, smithy_client_1.expectString)(output.temporalAq),
8658
+ TimecodeBurninSettings: output.timecodeBurninSettings != null
8659
+ ? deserializeAws_restJson1TimecodeBurninSettings(output.timecodeBurninSettings, context)
8660
+ : undefined,
8622
8661
  TimecodeInsertion: (0, smithy_client_1.expectString)(output.timecodeInsertion),
8623
8662
  };
8624
8663
  };
@@ -8680,6 +8719,9 @@ const deserializeAws_restJson1H265Settings = (output, context) => {
8680
8719
  SceneChangeDetect: (0, smithy_client_1.expectString)(output.sceneChangeDetect),
8681
8720
  Slices: (0, smithy_client_1.expectInt32)(output.slices),
8682
8721
  Tier: (0, smithy_client_1.expectString)(output.tier),
8722
+ TimecodeBurninSettings: output.timecodeBurninSettings != null
8723
+ ? deserializeAws_restJson1TimecodeBurninSettings(output.timecodeBurninSettings, context)
8724
+ : undefined,
8683
8725
  TimecodeInsertion: (0, smithy_client_1.expectString)(output.timecodeInsertion),
8684
8726
  };
8685
8727
  };
@@ -9244,6 +9286,9 @@ const deserializeAws_restJson1Mpeg2Settings = (output, context) => {
9244
9286
  GopSizeUnits: (0, smithy_client_1.expectString)(output.gopSizeUnits),
9245
9287
  ScanType: (0, smithy_client_1.expectString)(output.scanType),
9246
9288
  SubgopLength: (0, smithy_client_1.expectString)(output.subgopLength),
9289
+ TimecodeBurninSettings: output.timecodeBurninSettings != null
9290
+ ? deserializeAws_restJson1TimecodeBurninSettings(output.timecodeBurninSettings, context)
9291
+ : undefined,
9247
9292
  TimecodeInsertion: (0, smithy_client_1.expectString)(output.timecodeInsertion),
9248
9293
  };
9249
9294
  };
@@ -9936,6 +9981,13 @@ const deserializeAws_restJson1TemporalFilterSettings = (output, context) => {
9936
9981
  Strength: (0, smithy_client_1.expectString)(output.strength),
9937
9982
  };
9938
9983
  };
9984
+ const deserializeAws_restJson1TimecodeBurninSettings = (output, context) => {
9985
+ return {
9986
+ FontSize: (0, smithy_client_1.expectString)(output.fontSize),
9987
+ Position: (0, smithy_client_1.expectString)(output.position),
9988
+ Prefix: (0, smithy_client_1.expectString)(output.prefix),
9989
+ };
9990
+ };
9939
9991
  const deserializeAws_restJson1TimecodeConfig = (output, context) => {
9940
9992
  return {
9941
9993
  Source: (0, smithy_client_1.expectString)(output.source),
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartMultiplexRequestFilterSensitiveLog, StartMultiplexResponseFilterSensitiveLog, } from "../models/models_1";
4
+ import { StartMultiplexRequestFilterSensitiveLog, StartMultiplexResponseFilterSensitiveLog, } from "../models/models_2";
5
5
  import { deserializeAws_restJson1StartMultiplexCommand, serializeAws_restJson1StartMultiplexCommand, } from "../protocols/Aws_restJson1";
6
6
  export class StartMultiplexCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StopChannelRequestFilterSensitiveLog, StopChannelResponseFilterSensitiveLog, } from "../models/models_1";
4
+ import { StopChannelRequestFilterSensitiveLog, StopChannelResponseFilterSensitiveLog, } from "../models/models_2";
5
5
  import { deserializeAws_restJson1StopChannelCommand, serializeAws_restJson1StopChannelCommand, } from "../protocols/Aws_restJson1";
6
6
  export class StopChannelCommand extends $Command {
7
7
  constructor(input) {
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StopMultiplexRequestFilterSensitiveLog } from "../models/models_1";
5
- import { StopMultiplexResponseFilterSensitiveLog } from "../models/models_2";
4
+ import { StopMultiplexRequestFilterSensitiveLog, StopMultiplexResponseFilterSensitiveLog, } from "../models/models_2";
6
5
  import { deserializeAws_restJson1StopMultiplexCommand, serializeAws_restJson1StopMultiplexCommand, } from "../protocols/Aws_restJson1";
7
6
  export class StopMultiplexCommand extends $Command {
8
7
  constructor(input) {
@@ -1,306 +1,4 @@
1
- export const ruleSet = {
2
- version: "1.0",
3
- parameters: {
4
- Region: {
5
- builtIn: "AWS::Region",
6
- required: true,
7
- documentation: "The AWS region used to dispatch the request.",
8
- type: "String",
9
- },
10
- UseDualStack: {
11
- builtIn: "AWS::UseDualStack",
12
- required: true,
13
- default: false,
14
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
15
- type: "Boolean",
16
- },
17
- UseFIPS: {
18
- builtIn: "AWS::UseFIPS",
19
- required: true,
20
- default: false,
21
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
22
- type: "Boolean",
23
- },
24
- Endpoint: {
25
- builtIn: "SDK::Endpoint",
26
- required: false,
27
- documentation: "Override the endpoint used to send this request",
28
- type: "String",
29
- },
30
- },
31
- rules: [
32
- {
33
- conditions: [
34
- {
35
- fn: "aws.partition",
36
- argv: [
37
- {
38
- ref: "Region",
39
- },
40
- ],
41
- assign: "PartitionResult",
42
- },
43
- ],
44
- type: "tree",
45
- rules: [
46
- {
47
- conditions: [
48
- {
49
- fn: "isSet",
50
- argv: [
51
- {
52
- ref: "Endpoint",
53
- },
54
- ],
55
- },
56
- ],
57
- type: "tree",
58
- rules: [
59
- {
60
- conditions: [
61
- {
62
- fn: "booleanEquals",
63
- argv: [
64
- {
65
- ref: "UseFIPS",
66
- },
67
- true,
68
- ],
69
- },
70
- ],
71
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
72
- type: "error",
73
- },
74
- {
75
- conditions: [],
76
- type: "tree",
77
- rules: [
78
- {
79
- conditions: [
80
- {
81
- fn: "booleanEquals",
82
- argv: [
83
- {
84
- ref: "UseDualStack",
85
- },
86
- true,
87
- ],
88
- },
89
- ],
90
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
91
- type: "error",
92
- },
93
- {
94
- conditions: [],
95
- endpoint: {
96
- url: {
97
- ref: "Endpoint",
98
- },
99
- properties: {},
100
- headers: {},
101
- },
102
- type: "endpoint",
103
- },
104
- ],
105
- },
106
- ],
107
- },
108
- {
109
- conditions: [
110
- {
111
- fn: "booleanEquals",
112
- argv: [
113
- {
114
- ref: "UseFIPS",
115
- },
116
- true,
117
- ],
118
- },
119
- {
120
- fn: "booleanEquals",
121
- argv: [
122
- {
123
- ref: "UseDualStack",
124
- },
125
- true,
126
- ],
127
- },
128
- ],
129
- type: "tree",
130
- rules: [
131
- {
132
- conditions: [
133
- {
134
- fn: "booleanEquals",
135
- argv: [
136
- true,
137
- {
138
- fn: "getAttr",
139
- argv: [
140
- {
141
- ref: "PartitionResult",
142
- },
143
- "supportsFIPS",
144
- ],
145
- },
146
- ],
147
- },
148
- {
149
- fn: "booleanEquals",
150
- argv: [
151
- true,
152
- {
153
- fn: "getAttr",
154
- argv: [
155
- {
156
- ref: "PartitionResult",
157
- },
158
- "supportsDualStack",
159
- ],
160
- },
161
- ],
162
- },
163
- ],
164
- type: "tree",
165
- rules: [
166
- {
167
- conditions: [],
168
- endpoint: {
169
- url: "https://medialive-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
170
- properties: {},
171
- headers: {},
172
- },
173
- type: "endpoint",
174
- },
175
- ],
176
- },
177
- {
178
- conditions: [],
179
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
180
- type: "error",
181
- },
182
- ],
183
- },
184
- {
185
- conditions: [
186
- {
187
- fn: "booleanEquals",
188
- argv: [
189
- {
190
- ref: "UseFIPS",
191
- },
192
- true,
193
- ],
194
- },
195
- ],
196
- type: "tree",
197
- rules: [
198
- {
199
- conditions: [
200
- {
201
- fn: "booleanEquals",
202
- argv: [
203
- true,
204
- {
205
- fn: "getAttr",
206
- argv: [
207
- {
208
- ref: "PartitionResult",
209
- },
210
- "supportsFIPS",
211
- ],
212
- },
213
- ],
214
- },
215
- ],
216
- type: "tree",
217
- rules: [
218
- {
219
- conditions: [],
220
- type: "tree",
221
- rules: [
222
- {
223
- conditions: [],
224
- endpoint: {
225
- url: "https://medialive-fips.{Region}.{PartitionResult#dnsSuffix}",
226
- properties: {},
227
- headers: {},
228
- },
229
- type: "endpoint",
230
- },
231
- ],
232
- },
233
- ],
234
- },
235
- {
236
- conditions: [],
237
- error: "FIPS is enabled but this partition does not support FIPS",
238
- type: "error",
239
- },
240
- ],
241
- },
242
- {
243
- conditions: [
244
- {
245
- fn: "booleanEquals",
246
- argv: [
247
- {
248
- ref: "UseDualStack",
249
- },
250
- true,
251
- ],
252
- },
253
- ],
254
- type: "tree",
255
- rules: [
256
- {
257
- conditions: [
258
- {
259
- fn: "booleanEquals",
260
- argv: [
261
- true,
262
- {
263
- fn: "getAttr",
264
- argv: [
265
- {
266
- ref: "PartitionResult",
267
- },
268
- "supportsDualStack",
269
- ],
270
- },
271
- ],
272
- },
273
- ],
274
- type: "tree",
275
- rules: [
276
- {
277
- conditions: [],
278
- endpoint: {
279
- url: "https://medialive.{Region}.{PartitionResult#dualStackDnsSuffix}",
280
- properties: {},
281
- headers: {},
282
- },
283
- type: "endpoint",
284
- },
285
- ],
286
- },
287
- {
288
- conditions: [],
289
- error: "DualStack is enabled but this partition does not support DualStack",
290
- type: "error",
291
- },
292
- ],
293
- },
294
- {
295
- conditions: [],
296
- endpoint: {
297
- url: "https://medialive.{Region}.{PartitionResult#dnsSuffix}",
298
- properties: {},
299
- headers: {},
300
- },
301
- type: "endpoint",
302
- },
303
- ],
304
- },
305
- ],
306
- };
1
+ const q = "fn", r = "argv", s = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://medialive-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://medialive-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://medialive.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://medialive.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ export const ruleSet = _data;
@@ -235,6 +235,18 @@ export var AudioLanguageSelectionPolicy;
235
235
  AudioLanguageSelectionPolicy["LOOSE"] = "LOOSE";
236
236
  AudioLanguageSelectionPolicy["STRICT"] = "STRICT";
237
237
  })(AudioLanguageSelectionPolicy || (AudioLanguageSelectionPolicy = {}));
238
+ export var DolbyEProgramSelection;
239
+ (function (DolbyEProgramSelection) {
240
+ DolbyEProgramSelection["ALL_CHANNELS"] = "ALL_CHANNELS";
241
+ DolbyEProgramSelection["PROGRAM_1"] = "PROGRAM_1";
242
+ DolbyEProgramSelection["PROGRAM_2"] = "PROGRAM_2";
243
+ DolbyEProgramSelection["PROGRAM_3"] = "PROGRAM_3";
244
+ DolbyEProgramSelection["PROGRAM_4"] = "PROGRAM_4";
245
+ DolbyEProgramSelection["PROGRAM_5"] = "PROGRAM_5";
246
+ DolbyEProgramSelection["PROGRAM_6"] = "PROGRAM_6";
247
+ DolbyEProgramSelection["PROGRAM_7"] = "PROGRAM_7";
248
+ DolbyEProgramSelection["PROGRAM_8"] = "PROGRAM_8";
249
+ })(DolbyEProgramSelection || (DolbyEProgramSelection = {}));
238
250
  export var AccessibilityType;
239
251
  (function (AccessibilityType) {
240
252
  AccessibilityType["DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES"] = "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES";
@@ -913,17 +925,6 @@ export var HlsMode;
913
925
  HlsMode["LIVE"] = "LIVE";
914
926
  HlsMode["VOD"] = "VOD";
915
927
  })(HlsMode || (HlsMode = {}));
916
- export var HlsOutputSelection;
917
- (function (HlsOutputSelection) {
918
- HlsOutputSelection["MANIFESTS_AND_SEGMENTS"] = "MANIFESTS_AND_SEGMENTS";
919
- HlsOutputSelection["SEGMENTS_ONLY"] = "SEGMENTS_ONLY";
920
- HlsOutputSelection["VARIANT_MANIFESTS_AND_SEGMENTS"] = "VARIANT_MANIFESTS_AND_SEGMENTS";
921
- })(HlsOutputSelection || (HlsOutputSelection = {}));
922
- export var HlsProgramDateTime;
923
- (function (HlsProgramDateTime) {
924
- HlsProgramDateTime["EXCLUDE"] = "EXCLUDE";
925
- HlsProgramDateTime["INCLUDE"] = "INCLUDE";
926
- })(HlsProgramDateTime || (HlsProgramDateTime = {}));
927
928
  export const InputChannelLevelFilterSensitiveLog = (obj) => ({
928
929
  ...obj,
929
930
  });
@@ -984,6 +985,9 @@ export const AudioLanguageSelectionFilterSensitiveLog = (obj) => ({
984
985
  export const AudioPidSelectionFilterSensitiveLog = (obj) => ({
985
986
  ...obj,
986
987
  });
988
+ export const AudioDolbyEDecodeFilterSensitiveLog = (obj) => ({
989
+ ...obj,
990
+ });
987
991
  export const AudioTrackFilterSensitiveLog = (obj) => ({
988
992
  ...obj,
989
993
  });
@@ -1,4 +1,15 @@
1
1
  import { MediaLiveServiceException as __BaseException } from "./MediaLiveServiceException";
2
+ export var HlsOutputSelection;
3
+ (function (HlsOutputSelection) {
4
+ HlsOutputSelection["MANIFESTS_AND_SEGMENTS"] = "MANIFESTS_AND_SEGMENTS";
5
+ HlsOutputSelection["SEGMENTS_ONLY"] = "SEGMENTS_ONLY";
6
+ HlsOutputSelection["VARIANT_MANIFESTS_AND_SEGMENTS"] = "VARIANT_MANIFESTS_AND_SEGMENTS";
7
+ })(HlsOutputSelection || (HlsOutputSelection = {}));
8
+ export var HlsProgramDateTime;
9
+ (function (HlsProgramDateTime) {
10
+ HlsProgramDateTime["EXCLUDE"] = "EXCLUDE";
11
+ HlsProgramDateTime["INCLUDE"] = "INCLUDE";
12
+ })(HlsProgramDateTime || (HlsProgramDateTime = {}));
2
13
  export var HlsProgramDateTimeClock;
3
14
  (function (HlsProgramDateTimeClock) {
4
15
  HlsProgramDateTimeClock["INITIALIZE_FROM_OUTPUT_TIMECODE"] = "INITIALIZE_FROM_OUTPUT_TIMECODE";
@@ -189,6 +200,25 @@ export var FrameCaptureIntervalUnit;
189
200
  FrameCaptureIntervalUnit["MILLISECONDS"] = "MILLISECONDS";
190
201
  FrameCaptureIntervalUnit["SECONDS"] = "SECONDS";
191
202
  })(FrameCaptureIntervalUnit || (FrameCaptureIntervalUnit = {}));
203
+ export var TimecodeBurninFontSize;
204
+ (function (TimecodeBurninFontSize) {
205
+ TimecodeBurninFontSize["EXTRA_SMALL_10"] = "EXTRA_SMALL_10";
206
+ TimecodeBurninFontSize["LARGE_48"] = "LARGE_48";
207
+ TimecodeBurninFontSize["MEDIUM_32"] = "MEDIUM_32";
208
+ TimecodeBurninFontSize["SMALL_16"] = "SMALL_16";
209
+ })(TimecodeBurninFontSize || (TimecodeBurninFontSize = {}));
210
+ export var TimecodeBurninPosition;
211
+ (function (TimecodeBurninPosition) {
212
+ TimecodeBurninPosition["BOTTOM_CENTER"] = "BOTTOM_CENTER";
213
+ TimecodeBurninPosition["BOTTOM_LEFT"] = "BOTTOM_LEFT";
214
+ TimecodeBurninPosition["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
215
+ TimecodeBurninPosition["MIDDLE_CENTER"] = "MIDDLE_CENTER";
216
+ TimecodeBurninPosition["MIDDLE_LEFT"] = "MIDDLE_LEFT";
217
+ TimecodeBurninPosition["MIDDLE_RIGHT"] = "MIDDLE_RIGHT";
218
+ TimecodeBurninPosition["TOP_CENTER"] = "TOP_CENTER";
219
+ TimecodeBurninPosition["TOP_LEFT"] = "TOP_LEFT";
220
+ TimecodeBurninPosition["TOP_RIGHT"] = "TOP_RIGHT";
221
+ })(TimecodeBurninPosition || (TimecodeBurninPosition = {}));
192
222
  export var H264AdaptiveQuantization;
193
223
  (function (H264AdaptiveQuantization) {
194
224
  H264AdaptiveQuantization["AUTO"] = "AUTO";
@@ -843,6 +873,9 @@ export const TransferringInputDeviceSummaryFilterSensitiveLog = (obj) => ({
843
873
  export const ValidationErrorFilterSensitiveLog = (obj) => ({
844
874
  ...obj,
845
875
  });
876
+ export const TimecodeBurninSettingsFilterSensitiveLog = (obj) => ({
877
+ ...obj,
878
+ });
846
879
  export const FrameCaptureSettingsFilterSensitiveLog = (obj) => ({
847
880
  ...obj,
848
881
  });
@@ -1269,18 +1302,3 @@ export const StartInputDeviceMaintenanceWindowRequestFilterSensitiveLog = (obj)
1269
1302
  export const StartInputDeviceMaintenanceWindowResponseFilterSensitiveLog = (obj) => ({
1270
1303
  ...obj,
1271
1304
  });
1272
- export const StartMultiplexRequestFilterSensitiveLog = (obj) => ({
1273
- ...obj,
1274
- });
1275
- export const StartMultiplexResponseFilterSensitiveLog = (obj) => ({
1276
- ...obj,
1277
- });
1278
- export const StopChannelRequestFilterSensitiveLog = (obj) => ({
1279
- ...obj,
1280
- });
1281
- export const StopChannelResponseFilterSensitiveLog = (obj) => ({
1282
- ...obj,
1283
- });
1284
- export const StopMultiplexRequestFilterSensitiveLog = (obj) => ({
1285
- ...obj,
1286
- });
@@ -1,3 +1,18 @@
1
+ export const StartMultiplexRequestFilterSensitiveLog = (obj) => ({
2
+ ...obj,
3
+ });
4
+ export const StartMultiplexResponseFilterSensitiveLog = (obj) => ({
5
+ ...obj,
6
+ });
7
+ export const StopChannelRequestFilterSensitiveLog = (obj) => ({
8
+ ...obj,
9
+ });
10
+ export const StopChannelResponseFilterSensitiveLog = (obj) => ({
11
+ ...obj,
12
+ });
13
+ export const StopMultiplexRequestFilterSensitiveLog = (obj) => ({
14
+ ...obj,
15
+ });
1
16
  export const StopMultiplexResponseFilterSensitiveLog = (obj) => ({
2
17
  ...obj,
3
18
  });