aws-sdk-mediapackage 1.0.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.
File without changes
@@ -0,0 +1,14 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MediaPackage
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MediaPackage
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,1488 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MediaPackage
9
+ module Types
10
+
11
+ # A Channel resource configuration.
12
+ #
13
+ # @!attribute [rw] arn
14
+ # The Amazon Resource Name (ARN) assigned to the Channel.
15
+ # @return [String]
16
+ #
17
+ # @!attribute [rw] description
18
+ # A short text description of the Channel.
19
+ # @return [String]
20
+ #
21
+ # @!attribute [rw] hls_ingest
22
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
23
+ # @return [Types::HlsIngest]
24
+ #
25
+ # @!attribute [rw] id
26
+ # The ID of the Channel.
27
+ # @return [String]
28
+ #
29
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/Channel AWS API Documentation
30
+ #
31
+ class Channel < Struct.new(
32
+ :arn,
33
+ :description,
34
+ :hls_ingest,
35
+ :id)
36
+ include Aws::Structure
37
+ end
38
+
39
+ # Configuration parameters for a new Channel.
40
+ #
41
+ # @!attribute [rw] description
42
+ # A short text description of the Channel.
43
+ # @return [String]
44
+ #
45
+ # @!attribute [rw] id
46
+ # The ID of the Channel. The ID must be unique within the region and
47
+ # it cannot be changed after a Channel is created.
48
+ # @return [String]
49
+ #
50
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ChannelCreateParameters AWS API Documentation
51
+ #
52
+ class ChannelCreateParameters < Struct.new(
53
+ :description,
54
+ :id)
55
+ include Aws::Structure
56
+ end
57
+
58
+ # A collection of Channel records.
59
+ #
60
+ # @!attribute [rw] channels
61
+ # A list of Channel records.
62
+ # @return [Array<Types::Channel>]
63
+ #
64
+ # @!attribute [rw] next_token
65
+ # A token that can be used to resume pagination from the end of the
66
+ # collection.
67
+ # @return [String]
68
+ #
69
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ChannelList AWS API Documentation
70
+ #
71
+ class ChannelList < Struct.new(
72
+ :channels,
73
+ :next_token)
74
+ include Aws::Structure
75
+ end
76
+
77
+ # Configuration parameters for updating an existing Channel.
78
+ #
79
+ # @!attribute [rw] description
80
+ # A short text description of the Channel.
81
+ # @return [String]
82
+ #
83
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ChannelUpdateParameters AWS API Documentation
84
+ #
85
+ class ChannelUpdateParameters < Struct.new(
86
+ :description)
87
+ include Aws::Structure
88
+ end
89
+
90
+ # @note When making an API call, you may pass CreateChannelRequest
91
+ # data as a hash:
92
+ #
93
+ # {
94
+ # description: "__string",
95
+ # id: "__string", # required
96
+ # }
97
+ #
98
+ # @!attribute [rw] description
99
+ # @return [String]
100
+ #
101
+ # @!attribute [rw] id
102
+ # @return [String]
103
+ #
104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelRequest AWS API Documentation
105
+ #
106
+ class CreateChannelRequest < Struct.new(
107
+ :description,
108
+ :id)
109
+ include Aws::Structure
110
+ end
111
+
112
+ # @!attribute [rw] arn
113
+ # @return [String]
114
+ #
115
+ # @!attribute [rw] description
116
+ # @return [String]
117
+ #
118
+ # @!attribute [rw] hls_ingest
119
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
120
+ # @return [Types::HlsIngest]
121
+ #
122
+ # @!attribute [rw] id
123
+ # @return [String]
124
+ #
125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelResponse AWS API Documentation
126
+ #
127
+ class CreateChannelResponse < Struct.new(
128
+ :arn,
129
+ :description,
130
+ :hls_ingest,
131
+ :id)
132
+ include Aws::Structure
133
+ end
134
+
135
+ # @note When making an API call, you may pass CreateOriginEndpointRequest
136
+ # data as a hash:
137
+ #
138
+ # {
139
+ # channel_id: "__string", # required
140
+ # dash_package: {
141
+ # encryption: {
142
+ # key_rotation_interval_seconds: 1,
143
+ # speke_key_provider: { # required
144
+ # resource_id: "__string", # required
145
+ # role_arn: "__string", # required
146
+ # system_ids: ["__string"], # required
147
+ # url: "__string", # required
148
+ # },
149
+ # },
150
+ # manifest_window_seconds: 1,
151
+ # min_buffer_time_seconds: 1,
152
+ # min_update_period_seconds: 1,
153
+ # profile: "NONE", # accepts NONE, HBBTV_1_5
154
+ # segment_duration_seconds: 1,
155
+ # stream_selection: {
156
+ # max_video_bits_per_second: 1,
157
+ # min_video_bits_per_second: 1,
158
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
159
+ # },
160
+ # suggested_presentation_delay_seconds: 1,
161
+ # },
162
+ # description: "__string",
163
+ # hls_package: {
164
+ # ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
165
+ # encryption: {
166
+ # constant_initialization_vector: "__string",
167
+ # encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
168
+ # key_rotation_interval_seconds: 1,
169
+ # repeat_ext_x_key: false,
170
+ # speke_key_provider: { # required
171
+ # resource_id: "__string", # required
172
+ # role_arn: "__string", # required
173
+ # system_ids: ["__string"], # required
174
+ # url: "__string", # required
175
+ # },
176
+ # },
177
+ # include_iframe_only_stream: false,
178
+ # playlist_type: "NONE", # accepts NONE, EVENT, VOD
179
+ # playlist_window_seconds: 1,
180
+ # program_date_time_interval_seconds: 1,
181
+ # segment_duration_seconds: 1,
182
+ # stream_selection: {
183
+ # max_video_bits_per_second: 1,
184
+ # min_video_bits_per_second: 1,
185
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
186
+ # },
187
+ # use_audio_rendition_group: false,
188
+ # },
189
+ # id: "__string", # required
190
+ # manifest_name: "__string",
191
+ # mss_package: {
192
+ # encryption: {
193
+ # speke_key_provider: { # required
194
+ # resource_id: "__string", # required
195
+ # role_arn: "__string", # required
196
+ # system_ids: ["__string"], # required
197
+ # url: "__string", # required
198
+ # },
199
+ # },
200
+ # manifest_window_seconds: 1,
201
+ # segment_duration_seconds: 1,
202
+ # stream_selection: {
203
+ # max_video_bits_per_second: 1,
204
+ # min_video_bits_per_second: 1,
205
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
206
+ # },
207
+ # },
208
+ # startover_window_seconds: 1,
209
+ # time_delay_seconds: 1,
210
+ # whitelist: ["__string"],
211
+ # }
212
+ #
213
+ # @!attribute [rw] channel_id
214
+ # @return [String]
215
+ #
216
+ # @!attribute [rw] dash_package
217
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
218
+ # configuration.
219
+ # @return [Types::DashPackage]
220
+ #
221
+ # @!attribute [rw] description
222
+ # @return [String]
223
+ #
224
+ # @!attribute [rw] hls_package
225
+ # An HTTP Live Streaming (HLS) packaging configuration.
226
+ # @return [Types::HlsPackage]
227
+ #
228
+ # @!attribute [rw] id
229
+ # @return [String]
230
+ #
231
+ # @!attribute [rw] manifest_name
232
+ # @return [String]
233
+ #
234
+ # @!attribute [rw] mss_package
235
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
236
+ # @return [Types::MssPackage]
237
+ #
238
+ # @!attribute [rw] startover_window_seconds
239
+ # @return [Integer]
240
+ #
241
+ # @!attribute [rw] time_delay_seconds
242
+ # @return [Integer]
243
+ #
244
+ # @!attribute [rw] whitelist
245
+ # @return [Array<String>]
246
+ #
247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointRequest AWS API Documentation
248
+ #
249
+ class CreateOriginEndpointRequest < Struct.new(
250
+ :channel_id,
251
+ :dash_package,
252
+ :description,
253
+ :hls_package,
254
+ :id,
255
+ :manifest_name,
256
+ :mss_package,
257
+ :startover_window_seconds,
258
+ :time_delay_seconds,
259
+ :whitelist)
260
+ include Aws::Structure
261
+ end
262
+
263
+ # @!attribute [rw] arn
264
+ # @return [String]
265
+ #
266
+ # @!attribute [rw] channel_id
267
+ # @return [String]
268
+ #
269
+ # @!attribute [rw] dash_package
270
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
271
+ # configuration.
272
+ # @return [Types::DashPackage]
273
+ #
274
+ # @!attribute [rw] description
275
+ # @return [String]
276
+ #
277
+ # @!attribute [rw] hls_package
278
+ # An HTTP Live Streaming (HLS) packaging configuration.
279
+ # @return [Types::HlsPackage]
280
+ #
281
+ # @!attribute [rw] id
282
+ # @return [String]
283
+ #
284
+ # @!attribute [rw] manifest_name
285
+ # @return [String]
286
+ #
287
+ # @!attribute [rw] mss_package
288
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
289
+ # @return [Types::MssPackage]
290
+ #
291
+ # @!attribute [rw] startover_window_seconds
292
+ # @return [Integer]
293
+ #
294
+ # @!attribute [rw] time_delay_seconds
295
+ # @return [Integer]
296
+ #
297
+ # @!attribute [rw] url
298
+ # @return [String]
299
+ #
300
+ # @!attribute [rw] whitelist
301
+ # @return [Array<String>]
302
+ #
303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointResponse AWS API Documentation
304
+ #
305
+ class CreateOriginEndpointResponse < Struct.new(
306
+ :arn,
307
+ :channel_id,
308
+ :dash_package,
309
+ :description,
310
+ :hls_package,
311
+ :id,
312
+ :manifest_name,
313
+ :mss_package,
314
+ :startover_window_seconds,
315
+ :time_delay_seconds,
316
+ :url,
317
+ :whitelist)
318
+ include Aws::Structure
319
+ end
320
+
321
+ # A Dynamic Adaptive Streaming over HTTP (DASH) encryption
322
+ # configuration.
323
+ #
324
+ # @note When making an API call, you may pass DashEncryption
325
+ # data as a hash:
326
+ #
327
+ # {
328
+ # key_rotation_interval_seconds: 1,
329
+ # speke_key_provider: { # required
330
+ # resource_id: "__string", # required
331
+ # role_arn: "__string", # required
332
+ # system_ids: ["__string"], # required
333
+ # url: "__string", # required
334
+ # },
335
+ # }
336
+ #
337
+ # @!attribute [rw] key_rotation_interval_seconds
338
+ # Time (in seconds) between each encryption key rotation.
339
+ # @return [Integer]
340
+ #
341
+ # @!attribute [rw] speke_key_provider
342
+ # A configuration for accessing an external Secure Packager and
343
+ # Encoder Key Exchange (SPEKE) service that will provide encryption
344
+ # keys.
345
+ # @return [Types::SpekeKeyProvider]
346
+ #
347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashEncryption AWS API Documentation
348
+ #
349
+ class DashEncryption < Struct.new(
350
+ :key_rotation_interval_seconds,
351
+ :speke_key_provider)
352
+ include Aws::Structure
353
+ end
354
+
355
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
356
+ #
357
+ # @note When making an API call, you may pass DashPackage
358
+ # data as a hash:
359
+ #
360
+ # {
361
+ # encryption: {
362
+ # key_rotation_interval_seconds: 1,
363
+ # speke_key_provider: { # required
364
+ # resource_id: "__string", # required
365
+ # role_arn: "__string", # required
366
+ # system_ids: ["__string"], # required
367
+ # url: "__string", # required
368
+ # },
369
+ # },
370
+ # manifest_window_seconds: 1,
371
+ # min_buffer_time_seconds: 1,
372
+ # min_update_period_seconds: 1,
373
+ # profile: "NONE", # accepts NONE, HBBTV_1_5
374
+ # segment_duration_seconds: 1,
375
+ # stream_selection: {
376
+ # max_video_bits_per_second: 1,
377
+ # min_video_bits_per_second: 1,
378
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
379
+ # },
380
+ # suggested_presentation_delay_seconds: 1,
381
+ # }
382
+ #
383
+ # @!attribute [rw] encryption
384
+ # A Dynamic Adaptive Streaming over HTTP (DASH) encryption
385
+ # configuration.
386
+ # @return [Types::DashEncryption]
387
+ #
388
+ # @!attribute [rw] manifest_window_seconds
389
+ # Time window (in seconds) contained in each manifest.
390
+ # @return [Integer]
391
+ #
392
+ # @!attribute [rw] min_buffer_time_seconds
393
+ # Minimum duration (in seconds) that a player will buffer media before
394
+ # starting the presentation.
395
+ # @return [Integer]
396
+ #
397
+ # @!attribute [rw] min_update_period_seconds
398
+ # Minimum duration (in seconds) between potential changes to the
399
+ # Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation
400
+ # Description (MPD).
401
+ # @return [Integer]
402
+ #
403
+ # @!attribute [rw] profile
404
+ # The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When
405
+ # set to "HBBTV\_1\_5", HbbTV 1.5 compliant output is enabled.
406
+ # @return [String]
407
+ #
408
+ # @!attribute [rw] segment_duration_seconds
409
+ # Duration (in seconds) of each segment. Actual segments will be
410
+ # rounded to the nearest multiple of the source segment duration.
411
+ # @return [Integer]
412
+ #
413
+ # @!attribute [rw] stream_selection
414
+ # A StreamSelection configuration.
415
+ # @return [Types::StreamSelection]
416
+ #
417
+ # @!attribute [rw] suggested_presentation_delay_seconds
418
+ # Duration (in seconds) to delay live content before presentation.
419
+ # @return [Integer]
420
+ #
421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashPackage AWS API Documentation
422
+ #
423
+ class DashPackage < Struct.new(
424
+ :encryption,
425
+ :manifest_window_seconds,
426
+ :min_buffer_time_seconds,
427
+ :min_update_period_seconds,
428
+ :profile,
429
+ :segment_duration_seconds,
430
+ :stream_selection,
431
+ :suggested_presentation_delay_seconds)
432
+ include Aws::Structure
433
+ end
434
+
435
+ # @note When making an API call, you may pass DeleteChannelRequest
436
+ # data as a hash:
437
+ #
438
+ # {
439
+ # id: "__string", # required
440
+ # }
441
+ #
442
+ # @!attribute [rw] id
443
+ # @return [String]
444
+ #
445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelRequest AWS API Documentation
446
+ #
447
+ class DeleteChannelRequest < Struct.new(
448
+ :id)
449
+ include Aws::Structure
450
+ end
451
+
452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelResponse AWS API Documentation
453
+ #
454
+ class DeleteChannelResponse < Aws::EmptyStructure; end
455
+
456
+ # @note When making an API call, you may pass DeleteOriginEndpointRequest
457
+ # data as a hash:
458
+ #
459
+ # {
460
+ # id: "__string", # required
461
+ # }
462
+ #
463
+ # @!attribute [rw] id
464
+ # @return [String]
465
+ #
466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointRequest AWS API Documentation
467
+ #
468
+ class DeleteOriginEndpointRequest < Struct.new(
469
+ :id)
470
+ include Aws::Structure
471
+ end
472
+
473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointResponse AWS API Documentation
474
+ #
475
+ class DeleteOriginEndpointResponse < Aws::EmptyStructure; end
476
+
477
+ # @note When making an API call, you may pass DescribeChannelRequest
478
+ # data as a hash:
479
+ #
480
+ # {
481
+ # id: "__string", # required
482
+ # }
483
+ #
484
+ # @!attribute [rw] id
485
+ # @return [String]
486
+ #
487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelRequest AWS API Documentation
488
+ #
489
+ class DescribeChannelRequest < Struct.new(
490
+ :id)
491
+ include Aws::Structure
492
+ end
493
+
494
+ # @!attribute [rw] arn
495
+ # @return [String]
496
+ #
497
+ # @!attribute [rw] description
498
+ # @return [String]
499
+ #
500
+ # @!attribute [rw] hls_ingest
501
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
502
+ # @return [Types::HlsIngest]
503
+ #
504
+ # @!attribute [rw] id
505
+ # @return [String]
506
+ #
507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelResponse AWS API Documentation
508
+ #
509
+ class DescribeChannelResponse < Struct.new(
510
+ :arn,
511
+ :description,
512
+ :hls_ingest,
513
+ :id)
514
+ include Aws::Structure
515
+ end
516
+
517
+ # @note When making an API call, you may pass DescribeOriginEndpointRequest
518
+ # data as a hash:
519
+ #
520
+ # {
521
+ # id: "__string", # required
522
+ # }
523
+ #
524
+ # @!attribute [rw] id
525
+ # @return [String]
526
+ #
527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointRequest AWS API Documentation
528
+ #
529
+ class DescribeOriginEndpointRequest < Struct.new(
530
+ :id)
531
+ include Aws::Structure
532
+ end
533
+
534
+ # @!attribute [rw] arn
535
+ # @return [String]
536
+ #
537
+ # @!attribute [rw] channel_id
538
+ # @return [String]
539
+ #
540
+ # @!attribute [rw] dash_package
541
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
542
+ # configuration.
543
+ # @return [Types::DashPackage]
544
+ #
545
+ # @!attribute [rw] description
546
+ # @return [String]
547
+ #
548
+ # @!attribute [rw] hls_package
549
+ # An HTTP Live Streaming (HLS) packaging configuration.
550
+ # @return [Types::HlsPackage]
551
+ #
552
+ # @!attribute [rw] id
553
+ # @return [String]
554
+ #
555
+ # @!attribute [rw] manifest_name
556
+ # @return [String]
557
+ #
558
+ # @!attribute [rw] mss_package
559
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
560
+ # @return [Types::MssPackage]
561
+ #
562
+ # @!attribute [rw] startover_window_seconds
563
+ # @return [Integer]
564
+ #
565
+ # @!attribute [rw] time_delay_seconds
566
+ # @return [Integer]
567
+ #
568
+ # @!attribute [rw] url
569
+ # @return [String]
570
+ #
571
+ # @!attribute [rw] whitelist
572
+ # @return [Array<String>]
573
+ #
574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointResponse AWS API Documentation
575
+ #
576
+ class DescribeOriginEndpointResponse < Struct.new(
577
+ :arn,
578
+ :channel_id,
579
+ :dash_package,
580
+ :description,
581
+ :hls_package,
582
+ :id,
583
+ :manifest_name,
584
+ :mss_package,
585
+ :startover_window_seconds,
586
+ :time_delay_seconds,
587
+ :url,
588
+ :whitelist)
589
+ include Aws::Structure
590
+ end
591
+
592
+ # An HTTP Live Streaming (HLS) encryption configuration.
593
+ #
594
+ # @note When making an API call, you may pass HlsEncryption
595
+ # data as a hash:
596
+ #
597
+ # {
598
+ # constant_initialization_vector: "__string",
599
+ # encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
600
+ # key_rotation_interval_seconds: 1,
601
+ # repeat_ext_x_key: false,
602
+ # speke_key_provider: { # required
603
+ # resource_id: "__string", # required
604
+ # role_arn: "__string", # required
605
+ # system_ids: ["__string"], # required
606
+ # url: "__string", # required
607
+ # },
608
+ # }
609
+ #
610
+ # @!attribute [rw] constant_initialization_vector
611
+ # A constant initialization vector for encryption (optional). When not
612
+ # specified the initialization vector will be periodically rotated.
613
+ # @return [String]
614
+ #
615
+ # @!attribute [rw] encryption_method
616
+ # The encryption method to use.
617
+ # @return [String]
618
+ #
619
+ # @!attribute [rw] key_rotation_interval_seconds
620
+ # Interval (in seconds) between each encryption key rotation.
621
+ # @return [Integer]
622
+ #
623
+ # @!attribute [rw] repeat_ext_x_key
624
+ # When enabled, the EXT-X-KEY tag will be repeated in output
625
+ # manifests.
626
+ # @return [Boolean]
627
+ #
628
+ # @!attribute [rw] speke_key_provider
629
+ # A configuration for accessing an external Secure Packager and
630
+ # Encoder Key Exchange (SPEKE) service that will provide encryption
631
+ # keys.
632
+ # @return [Types::SpekeKeyProvider]
633
+ #
634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsEncryption AWS API Documentation
635
+ #
636
+ class HlsEncryption < Struct.new(
637
+ :constant_initialization_vector,
638
+ :encryption_method,
639
+ :key_rotation_interval_seconds,
640
+ :repeat_ext_x_key,
641
+ :speke_key_provider)
642
+ include Aws::Structure
643
+ end
644
+
645
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
646
+ #
647
+ # @!attribute [rw] ingest_endpoints
648
+ # A list of endpoints to which the source stream should be sent.
649
+ # @return [Array<Types::IngestEndpoint>]
650
+ #
651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsIngest AWS API Documentation
652
+ #
653
+ class HlsIngest < Struct.new(
654
+ :ingest_endpoints)
655
+ include Aws::Structure
656
+ end
657
+
658
+ # An HTTP Live Streaming (HLS) packaging configuration.
659
+ #
660
+ # @note When making an API call, you may pass HlsPackage
661
+ # data as a hash:
662
+ #
663
+ # {
664
+ # ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
665
+ # encryption: {
666
+ # constant_initialization_vector: "__string",
667
+ # encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
668
+ # key_rotation_interval_seconds: 1,
669
+ # repeat_ext_x_key: false,
670
+ # speke_key_provider: { # required
671
+ # resource_id: "__string", # required
672
+ # role_arn: "__string", # required
673
+ # system_ids: ["__string"], # required
674
+ # url: "__string", # required
675
+ # },
676
+ # },
677
+ # include_iframe_only_stream: false,
678
+ # playlist_type: "NONE", # accepts NONE, EVENT, VOD
679
+ # playlist_window_seconds: 1,
680
+ # program_date_time_interval_seconds: 1,
681
+ # segment_duration_seconds: 1,
682
+ # stream_selection: {
683
+ # max_video_bits_per_second: 1,
684
+ # min_video_bits_per_second: 1,
685
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
686
+ # },
687
+ # use_audio_rendition_group: false,
688
+ # }
689
+ #
690
+ # @!attribute [rw] ad_markers
691
+ # This setting controls how ad markers are included in the packaged
692
+ # OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the
693
+ # output. "PASSTHROUGH" causes the manifest to contain a copy of the
694
+ # SCTE-35 ad markers (comments) taken directly from the input HTTP
695
+ # Live Streaming (HLS) manifest. "SCTE35\_ENHANCED" generates ad
696
+ # markers and blackout tags based on SCTE-35 messages in the input
697
+ # source.
698
+ # @return [String]
699
+ #
700
+ # @!attribute [rw] encryption
701
+ # An HTTP Live Streaming (HLS) encryption configuration.
702
+ # @return [Types::HlsEncryption]
703
+ #
704
+ # @!attribute [rw] include_iframe_only_stream
705
+ # When enabled, an I-Frame only stream will be included in the output.
706
+ # @return [Boolean]
707
+ #
708
+ # @!attribute [rw] playlist_type
709
+ # The HTTP Live Streaming (HLS) playlist type. When either "EVENT"
710
+ # or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry
711
+ # will be included in the media playlist.
712
+ # @return [String]
713
+ #
714
+ # @!attribute [rw] playlist_window_seconds
715
+ # Time window (in seconds) contained in each parent manifest.
716
+ # @return [Integer]
717
+ #
718
+ # @!attribute [rw] program_date_time_interval_seconds
719
+ # The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag
720
+ # inserted into manifests. Additionally, when an interval is specified
721
+ # ID3Timed Metadata messages will be generated every 5 seconds using
722
+ # the ingest time of the content. If the interval is not specified, or
723
+ # set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into
724
+ # manifests and no ID3Timed Metadata messages will be generated. Note
725
+ # that irrespective of this parameter, if any ID3 Timed Metadata is
726
+ # found in HTTP Live Streaming (HLS) input, it will be passed through
727
+ # to HLS output.
728
+ # @return [Integer]
729
+ #
730
+ # @!attribute [rw] segment_duration_seconds
731
+ # Duration (in seconds) of each fragment. Actual fragments will be
732
+ # rounded to the nearest multiple of the source fragment duration.
733
+ # @return [Integer]
734
+ #
735
+ # @!attribute [rw] stream_selection
736
+ # A StreamSelection configuration.
737
+ # @return [Types::StreamSelection]
738
+ #
739
+ # @!attribute [rw] use_audio_rendition_group
740
+ # When enabled, audio streams will be placed in rendition groups in
741
+ # the output.
742
+ # @return [Boolean]
743
+ #
744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsPackage AWS API Documentation
745
+ #
746
+ class HlsPackage < Struct.new(
747
+ :ad_markers,
748
+ :encryption,
749
+ :include_iframe_only_stream,
750
+ :playlist_type,
751
+ :playlist_window_seconds,
752
+ :program_date_time_interval_seconds,
753
+ :segment_duration_seconds,
754
+ :stream_selection,
755
+ :use_audio_rendition_group)
756
+ include Aws::Structure
757
+ end
758
+
759
+ # An endpoint for ingesting source content for a Channel.
760
+ #
761
+ # @!attribute [rw] password
762
+ # The system generated password for ingest authentication.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] url
766
+ # The ingest URL to which the source stream should be sent.
767
+ # @return [String]
768
+ #
769
+ # @!attribute [rw] username
770
+ # The system generated username for ingest authentication.
771
+ # @return [String]
772
+ #
773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngestEndpoint AWS API Documentation
774
+ #
775
+ class IngestEndpoint < Struct.new(
776
+ :password,
777
+ :url,
778
+ :username)
779
+ include Aws::Structure
780
+ end
781
+
782
+ # @note When making an API call, you may pass ListChannelsRequest
783
+ # data as a hash:
784
+ #
785
+ # {
786
+ # max_results: 1,
787
+ # next_token: "__string",
788
+ # }
789
+ #
790
+ # @!attribute [rw] max_results
791
+ # @return [Integer]
792
+ #
793
+ # @!attribute [rw] next_token
794
+ # @return [String]
795
+ #
796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsRequest AWS API Documentation
797
+ #
798
+ class ListChannelsRequest < Struct.new(
799
+ :max_results,
800
+ :next_token)
801
+ include Aws::Structure
802
+ end
803
+
804
+ # @!attribute [rw] channels
805
+ # @return [Array<Types::Channel>]
806
+ #
807
+ # @!attribute [rw] next_token
808
+ # @return [String]
809
+ #
810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsResponse AWS API Documentation
811
+ #
812
+ class ListChannelsResponse < Struct.new(
813
+ :channels,
814
+ :next_token)
815
+ include Aws::Structure
816
+ end
817
+
818
+ # @note When making an API call, you may pass ListOriginEndpointsRequest
819
+ # data as a hash:
820
+ #
821
+ # {
822
+ # channel_id: "__string",
823
+ # max_results: 1,
824
+ # next_token: "__string",
825
+ # }
826
+ #
827
+ # @!attribute [rw] channel_id
828
+ # @return [String]
829
+ #
830
+ # @!attribute [rw] max_results
831
+ # @return [Integer]
832
+ #
833
+ # @!attribute [rw] next_token
834
+ # @return [String]
835
+ #
836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsRequest AWS API Documentation
837
+ #
838
+ class ListOriginEndpointsRequest < Struct.new(
839
+ :channel_id,
840
+ :max_results,
841
+ :next_token)
842
+ include Aws::Structure
843
+ end
844
+
845
+ # @!attribute [rw] next_token
846
+ # @return [String]
847
+ #
848
+ # @!attribute [rw] origin_endpoints
849
+ # @return [Array<Types::OriginEndpoint>]
850
+ #
851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsResponse AWS API Documentation
852
+ #
853
+ class ListOriginEndpointsResponse < Struct.new(
854
+ :next_token,
855
+ :origin_endpoints)
856
+ include Aws::Structure
857
+ end
858
+
859
+ # A Microsoft Smooth Streaming (MSS) encryption configuration.
860
+ #
861
+ # @note When making an API call, you may pass MssEncryption
862
+ # data as a hash:
863
+ #
864
+ # {
865
+ # speke_key_provider: { # required
866
+ # resource_id: "__string", # required
867
+ # role_arn: "__string", # required
868
+ # system_ids: ["__string"], # required
869
+ # url: "__string", # required
870
+ # },
871
+ # }
872
+ #
873
+ # @!attribute [rw] speke_key_provider
874
+ # A configuration for accessing an external Secure Packager and
875
+ # Encoder Key Exchange (SPEKE) service that will provide encryption
876
+ # keys.
877
+ # @return [Types::SpekeKeyProvider]
878
+ #
879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssEncryption AWS API Documentation
880
+ #
881
+ class MssEncryption < Struct.new(
882
+ :speke_key_provider)
883
+ include Aws::Structure
884
+ end
885
+
886
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
887
+ #
888
+ # @note When making an API call, you may pass MssPackage
889
+ # data as a hash:
890
+ #
891
+ # {
892
+ # encryption: {
893
+ # speke_key_provider: { # required
894
+ # resource_id: "__string", # required
895
+ # role_arn: "__string", # required
896
+ # system_ids: ["__string"], # required
897
+ # url: "__string", # required
898
+ # },
899
+ # },
900
+ # manifest_window_seconds: 1,
901
+ # segment_duration_seconds: 1,
902
+ # stream_selection: {
903
+ # max_video_bits_per_second: 1,
904
+ # min_video_bits_per_second: 1,
905
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
906
+ # },
907
+ # }
908
+ #
909
+ # @!attribute [rw] encryption
910
+ # A Microsoft Smooth Streaming (MSS) encryption configuration.
911
+ # @return [Types::MssEncryption]
912
+ #
913
+ # @!attribute [rw] manifest_window_seconds
914
+ # The time window (in seconds) contained in each manifest.
915
+ # @return [Integer]
916
+ #
917
+ # @!attribute [rw] segment_duration_seconds
918
+ # The duration (in seconds) of each segment.
919
+ # @return [Integer]
920
+ #
921
+ # @!attribute [rw] stream_selection
922
+ # A StreamSelection configuration.
923
+ # @return [Types::StreamSelection]
924
+ #
925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssPackage AWS API Documentation
926
+ #
927
+ class MssPackage < Struct.new(
928
+ :encryption,
929
+ :manifest_window_seconds,
930
+ :segment_duration_seconds,
931
+ :stream_selection)
932
+ include Aws::Structure
933
+ end
934
+
935
+ # An OriginEndpoint resource configuration.
936
+ #
937
+ # @!attribute [rw] arn
938
+ # The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] channel_id
942
+ # The ID of the Channel the OriginEndpoint is associated with.
943
+ # @return [String]
944
+ #
945
+ # @!attribute [rw] dash_package
946
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
947
+ # configuration.
948
+ # @return [Types::DashPackage]
949
+ #
950
+ # @!attribute [rw] description
951
+ # A short text description of the OriginEndpoint.
952
+ # @return [String]
953
+ #
954
+ # @!attribute [rw] hls_package
955
+ # An HTTP Live Streaming (HLS) packaging configuration.
956
+ # @return [Types::HlsPackage]
957
+ #
958
+ # @!attribute [rw] id
959
+ # The ID of the OriginEndpoint.
960
+ # @return [String]
961
+ #
962
+ # @!attribute [rw] manifest_name
963
+ # A short string appended to the end of the OriginEndpoint URL.
964
+ # @return [String]
965
+ #
966
+ # @!attribute [rw] mss_package
967
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
968
+ # @return [Types::MssPackage]
969
+ #
970
+ # @!attribute [rw] startover_window_seconds
971
+ # Maximum duration (seconds) of content to retain for startover
972
+ # playback. If not specified, startover playback will be disabled for
973
+ # the OriginEndpoint.
974
+ # @return [Integer]
975
+ #
976
+ # @!attribute [rw] time_delay_seconds
977
+ # Amount of delay (seconds) to enforce on the playback of live
978
+ # content. If not specified, there will be no time delay in effect for
979
+ # the OriginEndpoint.
980
+ # @return [Integer]
981
+ #
982
+ # @!attribute [rw] url
983
+ # The URL of the packaged OriginEndpoint for consumption.
984
+ # @return [String]
985
+ #
986
+ # @!attribute [rw] whitelist
987
+ # A list of source IP CIDR blocks that will be allowed to access the
988
+ # OriginEndpoint.
989
+ # @return [Array<String>]
990
+ #
991
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpoint AWS API Documentation
992
+ #
993
+ class OriginEndpoint < Struct.new(
994
+ :arn,
995
+ :channel_id,
996
+ :dash_package,
997
+ :description,
998
+ :hls_package,
999
+ :id,
1000
+ :manifest_name,
1001
+ :mss_package,
1002
+ :startover_window_seconds,
1003
+ :time_delay_seconds,
1004
+ :url,
1005
+ :whitelist)
1006
+ include Aws::Structure
1007
+ end
1008
+
1009
+ # Configuration parameters for a new OriginEndpoint.
1010
+ #
1011
+ # @!attribute [rw] channel_id
1012
+ # The ID of the Channel that the OriginEndpoint will be associated
1013
+ # with. This cannot be changed after the OriginEndpoint is created.
1014
+ # @return [String]
1015
+ #
1016
+ # @!attribute [rw] dash_package
1017
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
1018
+ # configuration.
1019
+ # @return [Types::DashPackage]
1020
+ #
1021
+ # @!attribute [rw] description
1022
+ # A short text description of the OriginEndpoint.
1023
+ # @return [String]
1024
+ #
1025
+ # @!attribute [rw] hls_package
1026
+ # An HTTP Live Streaming (HLS) packaging configuration.
1027
+ # @return [Types::HlsPackage]
1028
+ #
1029
+ # @!attribute [rw] id
1030
+ # The ID of the OriginEndpoint. The ID must be unique within the
1031
+ # region and it cannot be changed after the OriginEndpoint is created.
1032
+ # @return [String]
1033
+ #
1034
+ # @!attribute [rw] manifest_name
1035
+ # A short string that will be used as the filename of the
1036
+ # OriginEndpoint URL (defaults to "index").
1037
+ # @return [String]
1038
+ #
1039
+ # @!attribute [rw] mss_package
1040
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
1041
+ # @return [Types::MssPackage]
1042
+ #
1043
+ # @!attribute [rw] startover_window_seconds
1044
+ # Maximum duration (seconds) of content to retain for startover
1045
+ # playback. If not specified, startover playback will be disabled for
1046
+ # the OriginEndpoint.
1047
+ # @return [Integer]
1048
+ #
1049
+ # @!attribute [rw] time_delay_seconds
1050
+ # Amount of delay (seconds) to enforce on the playback of live
1051
+ # content. If not specified, there will be no time delay in effect for
1052
+ # the OriginEndpoint.
1053
+ # @return [Integer]
1054
+ #
1055
+ # @!attribute [rw] whitelist
1056
+ # A list of source IP CIDR blocks that will be allowed to access the
1057
+ # OriginEndpoint.
1058
+ # @return [Array<String>]
1059
+ #
1060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointCreateParameters AWS API Documentation
1061
+ #
1062
+ class OriginEndpointCreateParameters < Struct.new(
1063
+ :channel_id,
1064
+ :dash_package,
1065
+ :description,
1066
+ :hls_package,
1067
+ :id,
1068
+ :manifest_name,
1069
+ :mss_package,
1070
+ :startover_window_seconds,
1071
+ :time_delay_seconds,
1072
+ :whitelist)
1073
+ include Aws::Structure
1074
+ end
1075
+
1076
+ # A collection of OriginEndpoint records.
1077
+ #
1078
+ # @!attribute [rw] next_token
1079
+ # A token that can be used to resume pagination from the end of the
1080
+ # collection.
1081
+ # @return [String]
1082
+ #
1083
+ # @!attribute [rw] origin_endpoints
1084
+ # A list of OriginEndpoint records.
1085
+ # @return [Array<Types::OriginEndpoint>]
1086
+ #
1087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointList AWS API Documentation
1088
+ #
1089
+ class OriginEndpointList < Struct.new(
1090
+ :next_token,
1091
+ :origin_endpoints)
1092
+ include Aws::Structure
1093
+ end
1094
+
1095
+ # Configuration parameters for updating an existing OriginEndpoint.
1096
+ #
1097
+ # @!attribute [rw] dash_package
1098
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
1099
+ # configuration.
1100
+ # @return [Types::DashPackage]
1101
+ #
1102
+ # @!attribute [rw] description
1103
+ # A short text description of the OriginEndpoint.
1104
+ # @return [String]
1105
+ #
1106
+ # @!attribute [rw] hls_package
1107
+ # An HTTP Live Streaming (HLS) packaging configuration.
1108
+ # @return [Types::HlsPackage]
1109
+ #
1110
+ # @!attribute [rw] manifest_name
1111
+ # A short string that will be appended to the end of the Endpoint URL.
1112
+ # @return [String]
1113
+ #
1114
+ # @!attribute [rw] mss_package
1115
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
1116
+ # @return [Types::MssPackage]
1117
+ #
1118
+ # @!attribute [rw] startover_window_seconds
1119
+ # Maximum duration (in seconds) of content to retain for startover
1120
+ # playback. If not specified, startover playback will be disabled for
1121
+ # the OriginEndpoint.
1122
+ # @return [Integer]
1123
+ #
1124
+ # @!attribute [rw] time_delay_seconds
1125
+ # Amount of delay (in seconds) to enforce on the playback of live
1126
+ # content. If not specified, there will be no time delay in effect for
1127
+ # the OriginEndpoint.
1128
+ # @return [Integer]
1129
+ #
1130
+ # @!attribute [rw] whitelist
1131
+ # A list of source IP CIDR blocks that will be allowed to access the
1132
+ # OriginEndpoint.
1133
+ # @return [Array<String>]
1134
+ #
1135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointUpdateParameters AWS API Documentation
1136
+ #
1137
+ class OriginEndpointUpdateParameters < Struct.new(
1138
+ :dash_package,
1139
+ :description,
1140
+ :hls_package,
1141
+ :manifest_name,
1142
+ :mss_package,
1143
+ :startover_window_seconds,
1144
+ :time_delay_seconds,
1145
+ :whitelist)
1146
+ include Aws::Structure
1147
+ end
1148
+
1149
+ # @note When making an API call, you may pass RotateChannelCredentialsRequest
1150
+ # data as a hash:
1151
+ #
1152
+ # {
1153
+ # id: "__string", # required
1154
+ # }
1155
+ #
1156
+ # @!attribute [rw] id
1157
+ # @return [String]
1158
+ #
1159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsRequest AWS API Documentation
1160
+ #
1161
+ class RotateChannelCredentialsRequest < Struct.new(
1162
+ :id)
1163
+ include Aws::Structure
1164
+ end
1165
+
1166
+ # @!attribute [rw] arn
1167
+ # @return [String]
1168
+ #
1169
+ # @!attribute [rw] description
1170
+ # @return [String]
1171
+ #
1172
+ # @!attribute [rw] hls_ingest
1173
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
1174
+ # @return [Types::HlsIngest]
1175
+ #
1176
+ # @!attribute [rw] id
1177
+ # @return [String]
1178
+ #
1179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsResponse AWS API Documentation
1180
+ #
1181
+ class RotateChannelCredentialsResponse < Struct.new(
1182
+ :arn,
1183
+ :description,
1184
+ :hls_ingest,
1185
+ :id)
1186
+ include Aws::Structure
1187
+ end
1188
+
1189
+ # A configuration for accessing an external Secure Packager and Encoder
1190
+ # Key Exchange (SPEKE) service that will provide encryption keys.
1191
+ #
1192
+ # @note When making an API call, you may pass SpekeKeyProvider
1193
+ # data as a hash:
1194
+ #
1195
+ # {
1196
+ # resource_id: "__string", # required
1197
+ # role_arn: "__string", # required
1198
+ # system_ids: ["__string"], # required
1199
+ # url: "__string", # required
1200
+ # }
1201
+ #
1202
+ # @!attribute [rw] resource_id
1203
+ # The resource ID to include in key requests.
1204
+ # @return [String]
1205
+ #
1206
+ # @!attribute [rw] role_arn
1207
+ # An Amazon Resource Name (ARN) of an IAM role that AWS Elemental
1208
+ # MediaPackage will assume when accessing the key provider service.
1209
+ # @return [String]
1210
+ #
1211
+ # @!attribute [rw] system_ids
1212
+ # The system IDs to include in key requests.
1213
+ # @return [Array<String>]
1214
+ #
1215
+ # @!attribute [rw] url
1216
+ # The URL of the external key provider service.
1217
+ # @return [String]
1218
+ #
1219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/SpekeKeyProvider AWS API Documentation
1220
+ #
1221
+ class SpekeKeyProvider < Struct.new(
1222
+ :resource_id,
1223
+ :role_arn,
1224
+ :system_ids,
1225
+ :url)
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ # A StreamSelection configuration.
1230
+ #
1231
+ # @note When making an API call, you may pass StreamSelection
1232
+ # data as a hash:
1233
+ #
1234
+ # {
1235
+ # max_video_bits_per_second: 1,
1236
+ # min_video_bits_per_second: 1,
1237
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
1238
+ # }
1239
+ #
1240
+ # @!attribute [rw] max_video_bits_per_second
1241
+ # The maximum video bitrate (bps) to include in output.
1242
+ # @return [Integer]
1243
+ #
1244
+ # @!attribute [rw] min_video_bits_per_second
1245
+ # The minimum video bitrate (bps) to include in output.
1246
+ # @return [Integer]
1247
+ #
1248
+ # @!attribute [rw] stream_order
1249
+ # A directive that determines the order of streams in the output.
1250
+ # @return [String]
1251
+ #
1252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/StreamSelection AWS API Documentation
1253
+ #
1254
+ class StreamSelection < Struct.new(
1255
+ :max_video_bits_per_second,
1256
+ :min_video_bits_per_second,
1257
+ :stream_order)
1258
+ include Aws::Structure
1259
+ end
1260
+
1261
+ # @note When making an API call, you may pass UpdateChannelRequest
1262
+ # data as a hash:
1263
+ #
1264
+ # {
1265
+ # description: "__string",
1266
+ # id: "__string", # required
1267
+ # }
1268
+ #
1269
+ # @!attribute [rw] description
1270
+ # @return [String]
1271
+ #
1272
+ # @!attribute [rw] id
1273
+ # @return [String]
1274
+ #
1275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelRequest AWS API Documentation
1276
+ #
1277
+ class UpdateChannelRequest < Struct.new(
1278
+ :description,
1279
+ :id)
1280
+ include Aws::Structure
1281
+ end
1282
+
1283
+ # @!attribute [rw] arn
1284
+ # @return [String]
1285
+ #
1286
+ # @!attribute [rw] description
1287
+ # @return [String]
1288
+ #
1289
+ # @!attribute [rw] hls_ingest
1290
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
1291
+ # @return [Types::HlsIngest]
1292
+ #
1293
+ # @!attribute [rw] id
1294
+ # @return [String]
1295
+ #
1296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelResponse AWS API Documentation
1297
+ #
1298
+ class UpdateChannelResponse < Struct.new(
1299
+ :arn,
1300
+ :description,
1301
+ :hls_ingest,
1302
+ :id)
1303
+ include Aws::Structure
1304
+ end
1305
+
1306
+ # @note When making an API call, you may pass UpdateOriginEndpointRequest
1307
+ # data as a hash:
1308
+ #
1309
+ # {
1310
+ # dash_package: {
1311
+ # encryption: {
1312
+ # key_rotation_interval_seconds: 1,
1313
+ # speke_key_provider: { # required
1314
+ # resource_id: "__string", # required
1315
+ # role_arn: "__string", # required
1316
+ # system_ids: ["__string"], # required
1317
+ # url: "__string", # required
1318
+ # },
1319
+ # },
1320
+ # manifest_window_seconds: 1,
1321
+ # min_buffer_time_seconds: 1,
1322
+ # min_update_period_seconds: 1,
1323
+ # profile: "NONE", # accepts NONE, HBBTV_1_5
1324
+ # segment_duration_seconds: 1,
1325
+ # stream_selection: {
1326
+ # max_video_bits_per_second: 1,
1327
+ # min_video_bits_per_second: 1,
1328
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
1329
+ # },
1330
+ # suggested_presentation_delay_seconds: 1,
1331
+ # },
1332
+ # description: "__string",
1333
+ # hls_package: {
1334
+ # ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
1335
+ # encryption: {
1336
+ # constant_initialization_vector: "__string",
1337
+ # encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
1338
+ # key_rotation_interval_seconds: 1,
1339
+ # repeat_ext_x_key: false,
1340
+ # speke_key_provider: { # required
1341
+ # resource_id: "__string", # required
1342
+ # role_arn: "__string", # required
1343
+ # system_ids: ["__string"], # required
1344
+ # url: "__string", # required
1345
+ # },
1346
+ # },
1347
+ # include_iframe_only_stream: false,
1348
+ # playlist_type: "NONE", # accepts NONE, EVENT, VOD
1349
+ # playlist_window_seconds: 1,
1350
+ # program_date_time_interval_seconds: 1,
1351
+ # segment_duration_seconds: 1,
1352
+ # stream_selection: {
1353
+ # max_video_bits_per_second: 1,
1354
+ # min_video_bits_per_second: 1,
1355
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
1356
+ # },
1357
+ # use_audio_rendition_group: false,
1358
+ # },
1359
+ # id: "__string", # required
1360
+ # manifest_name: "__string",
1361
+ # mss_package: {
1362
+ # encryption: {
1363
+ # speke_key_provider: { # required
1364
+ # resource_id: "__string", # required
1365
+ # role_arn: "__string", # required
1366
+ # system_ids: ["__string"], # required
1367
+ # url: "__string", # required
1368
+ # },
1369
+ # },
1370
+ # manifest_window_seconds: 1,
1371
+ # segment_duration_seconds: 1,
1372
+ # stream_selection: {
1373
+ # max_video_bits_per_second: 1,
1374
+ # min_video_bits_per_second: 1,
1375
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
1376
+ # },
1377
+ # },
1378
+ # startover_window_seconds: 1,
1379
+ # time_delay_seconds: 1,
1380
+ # whitelist: ["__string"],
1381
+ # }
1382
+ #
1383
+ # @!attribute [rw] dash_package
1384
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
1385
+ # configuration.
1386
+ # @return [Types::DashPackage]
1387
+ #
1388
+ # @!attribute [rw] description
1389
+ # @return [String]
1390
+ #
1391
+ # @!attribute [rw] hls_package
1392
+ # An HTTP Live Streaming (HLS) packaging configuration.
1393
+ # @return [Types::HlsPackage]
1394
+ #
1395
+ # @!attribute [rw] id
1396
+ # @return [String]
1397
+ #
1398
+ # @!attribute [rw] manifest_name
1399
+ # @return [String]
1400
+ #
1401
+ # @!attribute [rw] mss_package
1402
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
1403
+ # @return [Types::MssPackage]
1404
+ #
1405
+ # @!attribute [rw] startover_window_seconds
1406
+ # @return [Integer]
1407
+ #
1408
+ # @!attribute [rw] time_delay_seconds
1409
+ # @return [Integer]
1410
+ #
1411
+ # @!attribute [rw] whitelist
1412
+ # @return [Array<String>]
1413
+ #
1414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointRequest AWS API Documentation
1415
+ #
1416
+ class UpdateOriginEndpointRequest < Struct.new(
1417
+ :dash_package,
1418
+ :description,
1419
+ :hls_package,
1420
+ :id,
1421
+ :manifest_name,
1422
+ :mss_package,
1423
+ :startover_window_seconds,
1424
+ :time_delay_seconds,
1425
+ :whitelist)
1426
+ include Aws::Structure
1427
+ end
1428
+
1429
+ # @!attribute [rw] arn
1430
+ # @return [String]
1431
+ #
1432
+ # @!attribute [rw] channel_id
1433
+ # @return [String]
1434
+ #
1435
+ # @!attribute [rw] dash_package
1436
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging
1437
+ # configuration.
1438
+ # @return [Types::DashPackage]
1439
+ #
1440
+ # @!attribute [rw] description
1441
+ # @return [String]
1442
+ #
1443
+ # @!attribute [rw] hls_package
1444
+ # An HTTP Live Streaming (HLS) packaging configuration.
1445
+ # @return [Types::HlsPackage]
1446
+ #
1447
+ # @!attribute [rw] id
1448
+ # @return [String]
1449
+ #
1450
+ # @!attribute [rw] manifest_name
1451
+ # @return [String]
1452
+ #
1453
+ # @!attribute [rw] mss_package
1454
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
1455
+ # @return [Types::MssPackage]
1456
+ #
1457
+ # @!attribute [rw] startover_window_seconds
1458
+ # @return [Integer]
1459
+ #
1460
+ # @!attribute [rw] time_delay_seconds
1461
+ # @return [Integer]
1462
+ #
1463
+ # @!attribute [rw] url
1464
+ # @return [String]
1465
+ #
1466
+ # @!attribute [rw] whitelist
1467
+ # @return [Array<String>]
1468
+ #
1469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointResponse AWS API Documentation
1470
+ #
1471
+ class UpdateOriginEndpointResponse < Struct.new(
1472
+ :arn,
1473
+ :channel_id,
1474
+ :dash_package,
1475
+ :description,
1476
+ :hls_package,
1477
+ :id,
1478
+ :manifest_name,
1479
+ :mss_package,
1480
+ :startover_window_seconds,
1481
+ :time_delay_seconds,
1482
+ :url,
1483
+ :whitelist)
1484
+ include Aws::Structure
1485
+ end
1486
+
1487
+ end
1488
+ end