aws-sdk-mediapackagevod 1.0.0

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