aws-sdk-mediatailor 1.33.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,13 +3,118 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
10
  module Aws::MediaTailor
11
11
  module Types
12
12
 
13
+ # Access configuration parameters.
14
+ #
15
+ # @note When making an API call, you may pass AccessConfiguration
16
+ # data as a hash:
17
+ #
18
+ # {
19
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4
20
+ # }
21
+ #
22
+ # @!attribute [rw] access_type
23
+ # The type of authentication used to access content from
24
+ # HttpConfiguration::BaseUrl on your source location. Accepted value:
25
+ # S3\_SIGV4.
26
+ #
27
+ # S3\_SIGV4 - AWS Signature Version 4 authentication for Amazon S3
28
+ # hosted virtual-style access. If your source location base URL is an
29
+ # Amazon S3 bucket, MediaTailor can use AWS Signature Version 4
30
+ # (SigV4) authentication to access the bucket where your source
31
+ # content is stored. Your MediaTailor source location baseURL must
32
+ # follow the S3 virtual hosted-style request URL format. For example,
33
+ # https://bucket-name.s3.Region.amazonaws.com/key-name.
34
+ #
35
+ # Before you can use S3\_SIGV4, you must meet these requirements:
36
+ #
37
+ # • You must allow MediaTailor to access your S3 bucket by granting
38
+ # mediatailor.amazonaws.com principal access in IAM. For information
39
+ # about configuring access in IAM, see Access management in the IAM
40
+ # User Guide.
41
+ #
42
+ # • The mediatailor.amazonaws.com service principal must have
43
+ # permissions to read all top level manifests referenced by the
44
+ # VodSource packaging configurations.
45
+ #
46
+ # • The caller of the API must have s3:GetObject IAM permissions to
47
+ # read all top level manifests referenced by your MediaTailor
48
+ # VodSource packaging configurations.
49
+ # @return [String]
50
+ #
51
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AccessConfiguration AWS API Documentation
52
+ #
53
+ class AccessConfiguration < Struct.new(
54
+ :access_type)
55
+ SENSITIVE = []
56
+ include Aws::Structure
57
+ end
58
+
59
+ # Ad break configuration parameters.
60
+ #
61
+ # @note When making an API call, you may pass AdBreak
62
+ # data as a hash:
63
+ #
64
+ # {
65
+ # message_type: "SPLICE_INSERT", # accepts SPLICE_INSERT
66
+ # offset_millis: 1,
67
+ # slate: {
68
+ # source_location_name: "__string",
69
+ # vod_source_name: "__string",
70
+ # },
71
+ # splice_insert_message: {
72
+ # avail_num: 1,
73
+ # avails_expected: 1,
74
+ # splice_event_id: 1,
75
+ # unique_program_id: 1,
76
+ # },
77
+ # }
78
+ #
79
+ # @!attribute [rw] message_type
80
+ # The SCTE-35 ad insertion type. Accepted value: SPLICE\_INSERT.
81
+ # @return [String]
82
+ #
83
+ # @!attribute [rw] offset_millis
84
+ # How long (in milliseconds) after the beginning of the program that
85
+ # an ad starts. This value must fall within 100ms of a segment
86
+ # boundary, otherwise the ad break will be skipped.
87
+ # @return [Integer]
88
+ #
89
+ # @!attribute [rw] slate
90
+ # Ad break slate configuration.
91
+ # @return [Types::SlateSource]
92
+ #
93
+ # @!attribute [rw] splice_insert_message
94
+ # This defines the SCTE-35 splice\_insert() message inserted around
95
+ # the ad. For information about using splice\_insert(), see the
96
+ # SCTE-35 specficiaiton, section 9.7.3.1.
97
+ # @return [Types::SpliceInsertMessage]
98
+ #
99
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AdBreak AWS API Documentation
100
+ #
101
+ class AdBreak < Struct.new(
102
+ :message_type,
103
+ :offset_millis,
104
+ :slate,
105
+ :splice_insert_message)
106
+ SENSITIVE = []
107
+ include Aws::Structure
108
+ end
109
+
110
+ # For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN,
111
+ # EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin
112
+ # manifest to the MediaTailor personalized manifest.
113
+ #
114
+ # No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT
115
+ # has a value of 60, but no ads are filled for that ad break,
116
+ # MediaTailor will not set the value to 0.
117
+ #
13
118
  # @note When making an API call, you may pass AdMarkerPassthrough
14
119
  # data as a hash:
15
120
  #
@@ -18,6 +123,7 @@ module Aws::MediaTailor
18
123
  # }
19
124
  #
20
125
  # @!attribute [rw] enabled
126
+ # Enables ad marker passthrough for your configuration.
21
127
  # @return [Boolean]
22
128
  #
23
129
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AdMarkerPassthrough AWS API Documentation
@@ -28,6 +134,13 @@ module Aws::MediaTailor
28
134
  include Aws::Structure
29
135
  end
30
136
 
137
+ # The configuration for avail suppression, also known as ad suppression.
138
+ # For more information about ad suppression, see [Ad Suppression][1].
139
+ #
140
+ #
141
+ #
142
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
143
+ #
31
144
  # @note When making an API call, you may pass AvailSuppression
32
145
  # data as a hash:
33
146
  #
@@ -37,12 +150,23 @@ module Aws::MediaTailor
37
150
  # }
38
151
  #
39
152
  # @!attribute [rw] mode
153
+ # Sets the ad suppression mode. By default, ad suppression is off and
154
+ # all ad breaks are filled with ads or slate. When Mode is set to
155
+ # BEHIND\_LIVE\_EDGE, ad suppression is active and MediaTailor won't
156
+ # fill ad breaks on or behind the ad suppression Value time in the
157
+ # manifest lookback window.
40
158
  # @return [String]
41
159
  #
42
160
  # @!attribute [rw] value
43
- # Sets the mode for avail suppression, also known as ad suppression.
44
- # By default, ad suppression is off and all ad breaks are filled by
45
- # MediaTailor with ads or slate.
161
+ # A live edge offset time in HH:MM:SS. MediaTailor won't fill ad
162
+ # breaks on or behind this time in the manifest lookback window. If
163
+ # Value is set to 00:00:00, it is in sync with the live edge, and
164
+ # MediaTailor won't fill any ad breaks on or behind the live edge. If
165
+ # you set a Value time, MediaTailor won't fill any ad breaks on or
166
+ # behind this time in the manifest lookback window. For example, if
167
+ # you set 00:45:00, then MediaTailor will fill ad breaks that occur
168
+ # within 45 minutes behind the live edge, but won't fill ad breaks on
169
+ # or behind 45 minutes behind the live edge.
46
170
  # @return [String]
47
171
  #
48
172
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AvailSuppression AWS API Documentation
@@ -54,10 +178,11 @@ module Aws::MediaTailor
54
178
  include Aws::Structure
55
179
  end
56
180
 
57
- # One of the parameters in the request is invalid.
181
+ # A request contains unexpected data.
58
182
  #
59
183
  # @!attribute [rw] message
60
- # One of the parameters in the request is invalid.
184
+ # Constructs a new BadRequestException with the specified error
185
+ # message.
61
186
  # @return [String]
62
187
  #
63
188
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/BadRequestException AWS API Documentation
@@ -69,7 +194,12 @@ module Aws::MediaTailor
69
194
  end
70
195
 
71
196
  # The configuration for bumpers. Bumpers are short audio or video clips
72
- # that play at the start or before the end of an ad break.
197
+ # that play at the start or before the end of an ad break. To learn more
198
+ # about bumpers, see [Bumpers][1].
199
+ #
200
+ #
201
+ #
202
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
73
203
  #
74
204
  # @note When making an API call, you may pass Bumper
75
205
  # data as a hash:
@@ -80,9 +210,11 @@ module Aws::MediaTailor
80
210
  # }
81
211
  #
82
212
  # @!attribute [rw] end_url
213
+ # The URL for the end bumper asset.
83
214
  # @return [String]
84
215
  #
85
216
  # @!attribute [rw] start_url
217
+ # The URL for the start bumper asset.
86
218
  # @return [String]
87
219
  #
88
220
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/Bumper AWS API Documentation
@@ -109,11 +241,11 @@ module Aws::MediaTailor
109
241
  # A non-default content delivery network (CDN) to serve ad segments.
110
242
  # By default, AWS Elemental MediaTailor uses Amazon CloudFront with
111
243
  # default cache settings as its CDN for ad segments. To set up an
112
- # alternate CDN, create a rule in your CDN for the following origin:
113
- # ads.mediatailor.&lt;region>.amazonaws.com. Then specify the rule's
114
- # name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor
115
- # serves a manifest, it reports your CDN as the source for ad
116
- # segments.
244
+ # alternate CDN, create a rule in your CDN for the origin
245
+ # ads.mediatailor.&amp;lt;region&gt;.amazonaws.com. Then specify the
246
+ # rule's name in this AdSegmentUrlPrefix. When AWS Elemental
247
+ # MediaTailor serves a manifest, it reports your CDN as the source for
248
+ # ad segments.
117
249
  # @return [String]
118
250
  #
119
251
  # @!attribute [rw] content_segment_url_prefix
@@ -134,6 +266,438 @@ module Aws::MediaTailor
134
266
  include Aws::Structure
135
267
  end
136
268
 
269
+ # The configuration parameters for a channel.
270
+ #
271
+ # @!attribute [rw] arn
272
+ # The ARN of the channel.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] channel_name
276
+ # The name of the channel.
277
+ # @return [String]
278
+ #
279
+ # @!attribute [rw] channel_state
280
+ # Returns the state whether the channel is running or not.
281
+ # @return [String]
282
+ #
283
+ # @!attribute [rw] creation_time
284
+ # The timestamp of when the channel was created.
285
+ # @return [Time]
286
+ #
287
+ # @!attribute [rw] last_modified_time
288
+ # The timestamp of when the channel was last modified.
289
+ # @return [Time]
290
+ #
291
+ # @!attribute [rw] outputs
292
+ # The channel's output properties.
293
+ # @return [Array<Types::ResponseOutputItem>]
294
+ #
295
+ # @!attribute [rw] playback_mode
296
+ # The type of playback mode for this channel. Possible values: ONCE or
297
+ # LOOP.
298
+ # @return [String]
299
+ #
300
+ # @!attribute [rw] tags
301
+ # The tags to assign to the channel.
302
+ # @return [Hash<String,String>]
303
+ #
304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/Channel AWS API Documentation
305
+ #
306
+ class Channel < Struct.new(
307
+ :arn,
308
+ :channel_name,
309
+ :channel_state,
310
+ :creation_time,
311
+ :last_modified_time,
312
+ :outputs,
313
+ :playback_mode,
314
+ :tags)
315
+ SENSITIVE = []
316
+ include Aws::Structure
317
+ end
318
+
319
+ # The configuration for this channel.
320
+ #
321
+ # @note When making an API call, you may pass CreateChannelRequest
322
+ # data as a hash:
323
+ #
324
+ # {
325
+ # channel_name: "__string", # required
326
+ # outputs: [ # required
327
+ # {
328
+ # dash_playlist_settings: {
329
+ # manifest_window_seconds: 1,
330
+ # min_buffer_time_seconds: 1,
331
+ # min_update_period_seconds: 1,
332
+ # suggested_presentation_delay_seconds: 1,
333
+ # },
334
+ # hls_playlist_settings: {
335
+ # manifest_window_seconds: 1,
336
+ # },
337
+ # manifest_name: "__string", # required
338
+ # source_group: "__string", # required
339
+ # },
340
+ # ],
341
+ # playback_mode: "LOOP", # required, accepts LOOP
342
+ # tags: {
343
+ # "__string" => "__string",
344
+ # },
345
+ # }
346
+ #
347
+ # @!attribute [rw] channel_name
348
+ # @return [String]
349
+ #
350
+ # @!attribute [rw] outputs
351
+ # The channel's output properties.
352
+ # @return [Array<Types::RequestOutputItem>]
353
+ #
354
+ # @!attribute [rw] playback_mode
355
+ # The type of playback mode for this channel. The only supported value
356
+ # is LOOP.
357
+ # @return [String]
358
+ #
359
+ # @!attribute [rw] tags
360
+ # The tags to assign to the channel.
361
+ # @return [Hash<String,String>]
362
+ #
363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannelRequest AWS API Documentation
364
+ #
365
+ class CreateChannelRequest < Struct.new(
366
+ :channel_name,
367
+ :outputs,
368
+ :playback_mode,
369
+ :tags)
370
+ SENSITIVE = []
371
+ include Aws::Structure
372
+ end
373
+
374
+ # @!attribute [rw] arn
375
+ # @return [String]
376
+ #
377
+ # @!attribute [rw] channel_name
378
+ # @return [String]
379
+ #
380
+ # @!attribute [rw] channel_state
381
+ # @return [String]
382
+ #
383
+ # @!attribute [rw] creation_time
384
+ # @return [Time]
385
+ #
386
+ # @!attribute [rw] last_modified_time
387
+ # @return [Time]
388
+ #
389
+ # @!attribute [rw] outputs
390
+ # @return [Array<Types::ResponseOutputItem>]
391
+ #
392
+ # @!attribute [rw] playback_mode
393
+ # @return [String]
394
+ #
395
+ # @!attribute [rw] tags
396
+ # @return [Hash<String,String>]
397
+ #
398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannelResponse AWS API Documentation
399
+ #
400
+ class CreateChannelResponse < Struct.new(
401
+ :arn,
402
+ :channel_name,
403
+ :channel_state,
404
+ :creation_time,
405
+ :last_modified_time,
406
+ :outputs,
407
+ :playback_mode,
408
+ :tags)
409
+ SENSITIVE = []
410
+ include Aws::Structure
411
+ end
412
+
413
+ # Program configuration parameters.
414
+ #
415
+ # @note When making an API call, you may pass CreateProgramRequest
416
+ # data as a hash:
417
+ #
418
+ # {
419
+ # ad_breaks: [
420
+ # {
421
+ # message_type: "SPLICE_INSERT", # accepts SPLICE_INSERT
422
+ # offset_millis: 1,
423
+ # slate: {
424
+ # source_location_name: "__string",
425
+ # vod_source_name: "__string",
426
+ # },
427
+ # splice_insert_message: {
428
+ # avail_num: 1,
429
+ # avails_expected: 1,
430
+ # splice_event_id: 1,
431
+ # unique_program_id: 1,
432
+ # },
433
+ # },
434
+ # ],
435
+ # channel_name: "__string", # required
436
+ # program_name: "__string", # required
437
+ # schedule_configuration: { # required
438
+ # transition: { # required
439
+ # relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
440
+ # relative_program: "__string",
441
+ # type: "__string", # required
442
+ # },
443
+ # },
444
+ # source_location_name: "__string", # required
445
+ # vod_source_name: "__string", # required
446
+ # }
447
+ #
448
+ # @!attribute [rw] ad_breaks
449
+ # The ad break configuration settings.
450
+ # @return [Array<Types::AdBreak>]
451
+ #
452
+ # @!attribute [rw] channel_name
453
+ # @return [String]
454
+ #
455
+ # @!attribute [rw] program_name
456
+ # @return [String]
457
+ #
458
+ # @!attribute [rw] schedule_configuration
459
+ # The schedule configuration settings.
460
+ # @return [Types::ScheduleConfiguration]
461
+ #
462
+ # @!attribute [rw] source_location_name
463
+ # The name of the source location.
464
+ # @return [String]
465
+ #
466
+ # @!attribute [rw] vod_source_name
467
+ # The name that's used to refer to a VOD source.
468
+ # @return [String]
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgramRequest AWS API Documentation
471
+ #
472
+ class CreateProgramRequest < Struct.new(
473
+ :ad_breaks,
474
+ :channel_name,
475
+ :program_name,
476
+ :schedule_configuration,
477
+ :source_location_name,
478
+ :vod_source_name)
479
+ SENSITIVE = []
480
+ include Aws::Structure
481
+ end
482
+
483
+ # @!attribute [rw] ad_breaks
484
+ # @return [Array<Types::AdBreak>]
485
+ #
486
+ # @!attribute [rw] arn
487
+ # @return [String]
488
+ #
489
+ # @!attribute [rw] channel_name
490
+ # @return [String]
491
+ #
492
+ # @!attribute [rw] creation_time
493
+ # @return [Time]
494
+ #
495
+ # @!attribute [rw] program_name
496
+ # @return [String]
497
+ #
498
+ # @!attribute [rw] source_location_name
499
+ # @return [String]
500
+ #
501
+ # @!attribute [rw] vod_source_name
502
+ # @return [String]
503
+ #
504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgramResponse AWS API Documentation
505
+ #
506
+ class CreateProgramResponse < Struct.new(
507
+ :ad_breaks,
508
+ :arn,
509
+ :channel_name,
510
+ :creation_time,
511
+ :program_name,
512
+ :source_location_name,
513
+ :vod_source_name)
514
+ SENSITIVE = []
515
+ include Aws::Structure
516
+ end
517
+
518
+ # Source location configuration parameters.
519
+ #
520
+ # @note When making an API call, you may pass CreateSourceLocationRequest
521
+ # data as a hash:
522
+ #
523
+ # {
524
+ # access_configuration: {
525
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4
526
+ # },
527
+ # default_segment_delivery_configuration: {
528
+ # base_url: "__string",
529
+ # },
530
+ # http_configuration: { # required
531
+ # base_url: "__string", # required
532
+ # },
533
+ # source_location_name: "__string", # required
534
+ # tags: {
535
+ # "__string" => "__string",
536
+ # },
537
+ # }
538
+ #
539
+ # @!attribute [rw] access_configuration
540
+ # Access configuration parameters. Configures the type of
541
+ # authentication used to access content from your source location.
542
+ # @return [Types::AccessConfiguration]
543
+ #
544
+ # @!attribute [rw] default_segment_delivery_configuration
545
+ # The optional configuration for the server that serves segments.
546
+ # @return [Types::DefaultSegmentDeliveryConfiguration]
547
+ #
548
+ # @!attribute [rw] http_configuration
549
+ # The source's HTTP package configurations.
550
+ # @return [Types::HttpConfiguration]
551
+ #
552
+ # @!attribute [rw] source_location_name
553
+ # @return [String]
554
+ #
555
+ # @!attribute [rw] tags
556
+ # The tags to assign to the source location.
557
+ # @return [Hash<String,String>]
558
+ #
559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocationRequest AWS API Documentation
560
+ #
561
+ class CreateSourceLocationRequest < Struct.new(
562
+ :access_configuration,
563
+ :default_segment_delivery_configuration,
564
+ :http_configuration,
565
+ :source_location_name,
566
+ :tags)
567
+ SENSITIVE = []
568
+ include Aws::Structure
569
+ end
570
+
571
+ # @!attribute [rw] access_configuration
572
+ # Access configuration parameters.
573
+ # @return [Types::AccessConfiguration]
574
+ #
575
+ # @!attribute [rw] arn
576
+ # @return [String]
577
+ #
578
+ # @!attribute [rw] creation_time
579
+ # @return [Time]
580
+ #
581
+ # @!attribute [rw] default_segment_delivery_configuration
582
+ # The optional configuration for a server that serves segments. Use
583
+ # this if you want the segment delivery server to be different from
584
+ # the source location server. For example, you can configure your
585
+ # source location server to be an origination server, such as
586
+ # MediaPackage, and the segment delivery server to be a content
587
+ # delivery network (CDN), such as CloudFront. If you don't specify a
588
+ # segment delivery server, then the source location server is used.
589
+ # @return [Types::DefaultSegmentDeliveryConfiguration]
590
+ #
591
+ # @!attribute [rw] http_configuration
592
+ # The HTTP configuration for the source location.
593
+ # @return [Types::HttpConfiguration]
594
+ #
595
+ # @!attribute [rw] last_modified_time
596
+ # @return [Time]
597
+ #
598
+ # @!attribute [rw] source_location_name
599
+ # @return [String]
600
+ #
601
+ # @!attribute [rw] tags
602
+ # @return [Hash<String,String>]
603
+ #
604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocationResponse AWS API Documentation
605
+ #
606
+ class CreateSourceLocationResponse < Struct.new(
607
+ :access_configuration,
608
+ :arn,
609
+ :creation_time,
610
+ :default_segment_delivery_configuration,
611
+ :http_configuration,
612
+ :last_modified_time,
613
+ :source_location_name,
614
+ :tags)
615
+ SENSITIVE = []
616
+ include Aws::Structure
617
+ end
618
+
619
+ # The VOD source configuration parameters.
620
+ #
621
+ # @note When making an API call, you may pass CreateVodSourceRequest
622
+ # data as a hash:
623
+ #
624
+ # {
625
+ # http_package_configurations: [ # required
626
+ # {
627
+ # path: "__string", # required
628
+ # source_group: "__string", # required
629
+ # type: "DASH", # required, accepts DASH, HLS
630
+ # },
631
+ # ],
632
+ # source_location_name: "__string", # required
633
+ # tags: {
634
+ # "__string" => "__string",
635
+ # },
636
+ # vod_source_name: "__string", # required
637
+ # }
638
+ #
639
+ # @!attribute [rw] http_package_configurations
640
+ # An array of HTTP package configuration parameters for this VOD
641
+ # source.
642
+ # @return [Array<Types::HttpPackageConfiguration>]
643
+ #
644
+ # @!attribute [rw] source_location_name
645
+ # @return [String]
646
+ #
647
+ # @!attribute [rw] tags
648
+ # The tags to assign to the VOD source.
649
+ # @return [Hash<String,String>]
650
+ #
651
+ # @!attribute [rw] vod_source_name
652
+ # @return [String]
653
+ #
654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSourceRequest AWS API Documentation
655
+ #
656
+ class CreateVodSourceRequest < Struct.new(
657
+ :http_package_configurations,
658
+ :source_location_name,
659
+ :tags,
660
+ :vod_source_name)
661
+ SENSITIVE = []
662
+ include Aws::Structure
663
+ end
664
+
665
+ # @!attribute [rw] arn
666
+ # @return [String]
667
+ #
668
+ # @!attribute [rw] creation_time
669
+ # @return [Time]
670
+ #
671
+ # @!attribute [rw] http_package_configurations
672
+ # The VOD source's HTTP package configuration settings.
673
+ # @return [Array<Types::HttpPackageConfiguration>]
674
+ #
675
+ # @!attribute [rw] last_modified_time
676
+ # @return [Time]
677
+ #
678
+ # @!attribute [rw] source_location_name
679
+ # @return [String]
680
+ #
681
+ # @!attribute [rw] tags
682
+ # @return [Hash<String,String>]
683
+ #
684
+ # @!attribute [rw] vod_source_name
685
+ # @return [String]
686
+ #
687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSourceResponse AWS API Documentation
688
+ #
689
+ class CreateVodSourceResponse < Struct.new(
690
+ :arn,
691
+ :creation_time,
692
+ :http_package_configurations,
693
+ :last_modified_time,
694
+ :source_location_name,
695
+ :tags,
696
+ :vod_source_name)
697
+ SENSITIVE = []
698
+ include Aws::Structure
699
+ end
700
+
137
701
  # The configuration for DASH content.
138
702
  #
139
703
  # @!attribute [rw] manifest_endpoint_prefix
@@ -213,433 +777,636 @@ module Aws::MediaTailor
213
777
  include Aws::Structure
214
778
  end
215
779
 
216
- # @note When making an API call, you may pass DeletePlaybackConfigurationRequest
780
+ # Dash manifest configuration parameters.
781
+ #
782
+ # @note When making an API call, you may pass DashPlaylistSettings
217
783
  # data as a hash:
218
784
  #
219
785
  # {
220
- # name: "__string", # required
786
+ # manifest_window_seconds: 1,
787
+ # min_buffer_time_seconds: 1,
788
+ # min_update_period_seconds: 1,
789
+ # suggested_presentation_delay_seconds: 1,
221
790
  # }
222
791
  #
223
- # @!attribute [rw] name
224
- # @return [String]
792
+ # @!attribute [rw] manifest_window_seconds
793
+ # The total duration (in seconds) of each manifest. Minimum value: 30
794
+ # seconds. Maximum value: 3600 seconds.
795
+ # @return [Integer]
225
796
  #
226
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfigurationRequest AWS API Documentation
797
+ # @!attribute [rw] min_buffer_time_seconds
798
+ # Minimum amount of content (measured in seconds) that a player must
799
+ # keep available in the buffer. Minimum value: 2 seconds. Maximum
800
+ # value: 60 seconds.
801
+ # @return [Integer]
227
802
  #
228
- class DeletePlaybackConfigurationRequest < Struct.new(
229
- :name)
803
+ # @!attribute [rw] min_update_period_seconds
804
+ # Minimum amount of time (in seconds) that the player should wait
805
+ # before requesting updates to the manifest. Minimum value: 2 seconds.
806
+ # Maximum value: 60 seconds.
807
+ # @return [Integer]
808
+ #
809
+ # @!attribute [rw] suggested_presentation_delay_seconds
810
+ # Amount of time (in seconds) that the player should be from the live
811
+ # point at the end of the manifest. Minimum value: 2 seconds. Maximum
812
+ # value: 60 seconds.
813
+ # @return [Integer]
814
+ #
815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DashPlaylistSettings AWS API Documentation
816
+ #
817
+ class DashPlaylistSettings < Struct.new(
818
+ :manifest_window_seconds,
819
+ :min_buffer_time_seconds,
820
+ :min_update_period_seconds,
821
+ :suggested_presentation_delay_seconds)
230
822
  SENSITIVE = []
231
823
  include Aws::Structure
232
824
  end
233
825
 
234
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfigurationResponse AWS API Documentation
235
- #
236
- class DeletePlaybackConfigurationResponse < Aws::EmptyStructure; end
237
-
238
- # @note When making an API call, you may pass GetPlaybackConfigurationRequest
826
+ # The optional configuration for a server that serves segments. Use this
827
+ # if you want the segment delivery server to be different from the
828
+ # source location server. For example, you can configure your source
829
+ # location server to be an origination server, such as MediaPackage, and
830
+ # the segment delivery server to be a content delivery network (CDN),
831
+ # such as CloudFront. If you don't specify a segment delivery server,
832
+ # then the source location server is used.
833
+ #
834
+ # @note When making an API call, you may pass DefaultSegmentDeliveryConfiguration
239
835
  # data as a hash:
240
836
  #
241
837
  # {
242
- # name: "__string", # required
838
+ # base_url: "__string",
243
839
  # }
244
840
  #
245
- # @!attribute [rw] name
841
+ # @!attribute [rw] base_url
842
+ # The hostname of the server that will be used to serve segments. This
843
+ # string must include the protocol, such as **https://**.
246
844
  # @return [String]
247
845
  #
248
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfigurationRequest AWS API Documentation
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DefaultSegmentDeliveryConfiguration AWS API Documentation
249
847
  #
250
- class GetPlaybackConfigurationRequest < Struct.new(
251
- :name)
848
+ class DefaultSegmentDeliveryConfiguration < Struct.new(
849
+ :base_url)
252
850
  SENSITIVE = []
253
851
  include Aws::Structure
254
852
  end
255
853
 
256
- # @!attribute [rw] ad_decision_server_url
257
- # The URL for the ad decision server (ADS). This includes the
258
- # specification of static parameters and placeholders for dynamic
259
- # parameters. AWS Elemental MediaTailor substitutes player-specific
260
- # and session-specific parameters as needed when calling the ADS.
261
- # Alternately, for testing, you can provide a static VAST URL. The
262
- # maximum length is 25,000 characters.
263
- # @return [String]
264
- #
265
- # @!attribute [rw] avail_suppression
266
- # The configuration for Avail Suppression.
267
- # @return [Types::AvailSuppression]
854
+ # This response includes only the "type" : "object" property.
268
855
  #
269
- # @!attribute [rw] bumper
270
- # The configuration for bumpers. Bumpers are short audio or video
271
- # clips that play at the start or before the end of an ad break.
272
- # @return [Types::Bumper]
856
+ # @note When making an API call, you may pass DeleteChannelPolicyRequest
857
+ # data as a hash:
273
858
  #
274
- # @!attribute [rw] cdn_configuration
275
- # The configuration for using a content delivery network (CDN), like
276
- # Amazon CloudFront, for content and ad segment management.
277
- # @return [Types::CdnConfiguration]
859
+ # {
860
+ # channel_name: "__string", # required
861
+ # }
278
862
  #
279
- # @!attribute [rw] personalization_threshold_seconds
280
- # The maximum duration of underfilled ad time (in seconds) allowed in
281
- # an ad break.
282
- # @return [Integer]
863
+ # @!attribute [rw] channel_name
864
+ # @return [String]
283
865
  #
284
- # @!attribute [rw] dash_configuration
285
- # The configuration for DASH content.
286
- # @return [Types::DashConfiguration]
866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicyRequest AWS API Documentation
287
867
  #
288
- # @!attribute [rw] hls_configuration
289
- # The configuration for HLS content.
290
- # @return [Types::HlsConfiguration]
868
+ class DeleteChannelPolicyRequest < Struct.new(
869
+ :channel_name)
870
+ SENSITIVE = []
871
+ include Aws::Structure
872
+ end
873
+
874
+ # This response includes only the "type" : "object" property.
291
875
  #
292
- # @!attribute [rw] live_pre_roll_configuration
293
- # The configuration for pre-roll ad insertion.
294
- # @return [Types::LivePreRollConfiguration]
876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicyResponse AWS API Documentation
295
877
  #
296
- # @!attribute [rw] manifest_processing_rules
297
- # The configuration for manifest processing rules. Manifest processing
298
- # rules enable customization of the personalized manifests created by
299
- # MediaTailor.
300
- # @return [Types::ManifestProcessingRules]
878
+ class DeleteChannelPolicyResponse < Aws::EmptyStructure; end
879
+
880
+ # @note When making an API call, you may pass DeleteChannelRequest
881
+ # data as a hash:
301
882
  #
302
- # @!attribute [rw] name
303
- # The identifier for the playback configuration.
304
- # @return [String]
883
+ # {
884
+ # channel_name: "__string", # required
885
+ # }
305
886
  #
306
- # @!attribute [rw] playback_configuration_arn
307
- # The Amazon Resource Name (ARN) for the playback configuration.
887
+ # @!attribute [rw] channel_name
308
888
  # @return [String]
309
889
  #
310
- # @!attribute [rw] playback_endpoint_prefix
311
- # The URL that the player accesses to get a manifest from AWS
312
- # Elemental MediaTailor. This session will use server-side reporting.
313
- # @return [String]
890
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelRequest AWS API Documentation
314
891
  #
315
- # @!attribute [rw] session_initialization_endpoint_prefix
316
- # The URL that the player uses to initialize a session that uses
317
- # client-side reporting.
318
- # @return [String]
892
+ class DeleteChannelRequest < Struct.new(
893
+ :channel_name)
894
+ SENSITIVE = []
895
+ include Aws::Structure
896
+ end
897
+
898
+ # This response includes only the "type" : "object" property.
319
899
  #
320
- # @!attribute [rw] slate_ad_url
321
- # The URL for a high-quality video asset to transcode and use to fill
322
- # in time that's not used by ads. AWS Elemental MediaTailor shows the
323
- # slate to fill in gaps in media content. Configuring the slate is
324
- # optional for non-VPAID playback configurations. For VPAID, the slate
325
- # is required because MediaTailor provides it in the slots designated
326
- # for dynamic ad content. The slate must be a high-quality asset that
327
- # contains both audio and video.
328
- # @return [String]
900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelResponse AWS API Documentation
329
901
  #
330
- # @!attribute [rw] tags
331
- # The tags assigned to the playback configuration.
332
- # @return [Hash<String,String>]
902
+ class DeleteChannelResponse < Aws::EmptyStructure; end
903
+
904
+ # @note When making an API call, you may pass DeletePlaybackConfigurationRequest
905
+ # data as a hash:
333
906
  #
334
- # @!attribute [rw] transcode_profile_name
335
- # The name that is used to associate this playback configuration with
336
- # a custom transcode profile. This overrides the dynamic transcoding
337
- # defaults of MediaTailor. Use this only if you have already set up
338
- # custom profiles with the help of AWS Support.
339
- # @return [String]
907
+ # {
908
+ # name: "__string", # required
909
+ # }
340
910
  #
341
- # @!attribute [rw] video_content_source_url
342
- # The URL prefix for the master playlist for the stream, minus the
343
- # asset ID. The maximum length is 512 characters.
911
+ # @!attribute [rw] name
344
912
  # @return [String]
345
913
  #
346
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfigurationResponse AWS API Documentation
914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfigurationRequest AWS API Documentation
347
915
  #
348
- class GetPlaybackConfigurationResponse < Struct.new(
349
- :ad_decision_server_url,
350
- :avail_suppression,
351
- :bumper,
352
- :cdn_configuration,
353
- :personalization_threshold_seconds,
354
- :dash_configuration,
355
- :hls_configuration,
356
- :live_pre_roll_configuration,
357
- :manifest_processing_rules,
358
- :name,
359
- :playback_configuration_arn,
360
- :playback_endpoint_prefix,
361
- :session_initialization_endpoint_prefix,
362
- :slate_ad_url,
363
- :tags,
364
- :transcode_profile_name,
365
- :video_content_source_url)
916
+ class DeletePlaybackConfigurationRequest < Struct.new(
917
+ :name)
366
918
  SENSITIVE = []
367
919
  include Aws::Structure
368
920
  end
369
921
 
370
- # The configuration for HLS content.
922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfigurationResponse AWS API Documentation
371
923
  #
372
- # @!attribute [rw] manifest_endpoint_prefix
373
- # The URL that is used to initiate a playback session for devices that
374
- # support Apple HLS. The session uses server-side reporting.
924
+ class DeletePlaybackConfigurationResponse < Aws::EmptyStructure; end
925
+
926
+ # @note When making an API call, you may pass DeleteProgramRequest
927
+ # data as a hash:
928
+ #
929
+ # {
930
+ # channel_name: "__string", # required
931
+ # program_name: "__string", # required
932
+ # }
933
+ #
934
+ # @!attribute [rw] channel_name
375
935
  # @return [String]
376
936
  #
377
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/HlsConfiguration AWS API Documentation
937
+ # @!attribute [rw] program_name
938
+ # @return [String]
378
939
  #
379
- class HlsConfiguration < Struct.new(
380
- :manifest_endpoint_prefix)
940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgramRequest AWS API Documentation
941
+ #
942
+ class DeleteProgramRequest < Struct.new(
943
+ :channel_name,
944
+ :program_name)
381
945
  SENSITIVE = []
382
946
  include Aws::Structure
383
947
  end
384
948
 
385
- # @note When making an API call, you may pass ListPlaybackConfigurationsRequest
949
+ # This response includes only the "type" : "object" property.
950
+ #
951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgramResponse AWS API Documentation
952
+ #
953
+ class DeleteProgramResponse < Aws::EmptyStructure; end
954
+
955
+ # @note When making an API call, you may pass DeleteSourceLocationRequest
386
956
  # data as a hash:
387
957
  #
388
958
  # {
389
- # max_results: 1,
390
- # next_token: "__string",
959
+ # source_location_name: "__string", # required
391
960
  # }
392
961
  #
393
- # @!attribute [rw] max_results
394
- # @return [Integer]
395
- #
396
- # @!attribute [rw] next_token
962
+ # @!attribute [rw] source_location_name
397
963
  # @return [String]
398
964
  #
399
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurationsRequest AWS API Documentation
965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocationRequest AWS API Documentation
400
966
  #
401
- class ListPlaybackConfigurationsRequest < Struct.new(
402
- :max_results,
403
- :next_token)
967
+ class DeleteSourceLocationRequest < Struct.new(
968
+ :source_location_name)
404
969
  SENSITIVE = []
405
970
  include Aws::Structure
406
971
  end
407
972
 
408
- # @!attribute [rw] items
409
- # Array of playback configurations. This might be all the available
410
- # configurations or a subset, depending on the settings that you
411
- # provide and the total number of configurations stored.
412
- # @return [Array<Types::PlaybackConfiguration>]
973
+ # This response includes only the "type" : "object" property.
413
974
  #
414
- # @!attribute [rw] next_token
415
- # Pagination token returned by the GET list request when results
416
- # exceed the maximum allowed. Use the token to fetch the next page of
417
- # results.
975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocationResponse AWS API Documentation
976
+ #
977
+ class DeleteSourceLocationResponse < Aws::EmptyStructure; end
978
+
979
+ # @note When making an API call, you may pass DeleteVodSourceRequest
980
+ # data as a hash:
981
+ #
982
+ # {
983
+ # source_location_name: "__string", # required
984
+ # vod_source_name: "__string", # required
985
+ # }
986
+ #
987
+ # @!attribute [rw] source_location_name
418
988
  # @return [String]
419
989
  #
420
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurationsResponse AWS API Documentation
990
+ # @!attribute [rw] vod_source_name
991
+ # @return [String]
421
992
  #
422
- class ListPlaybackConfigurationsResponse < Struct.new(
423
- :items,
424
- :next_token)
993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSourceRequest AWS API Documentation
994
+ #
995
+ class DeleteVodSourceRequest < Struct.new(
996
+ :source_location_name,
997
+ :vod_source_name)
425
998
  SENSITIVE = []
426
999
  include Aws::Structure
427
1000
  end
428
1001
 
429
- # @note When making an API call, you may pass ListTagsForResourceRequest
1002
+ # This response includes only the "type" : "object" property.
1003
+ #
1004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSourceResponse AWS API Documentation
1005
+ #
1006
+ class DeleteVodSourceResponse < Aws::EmptyStructure; end
1007
+
1008
+ # @note When making an API call, you may pass DescribeChannelRequest
430
1009
  # data as a hash:
431
1010
  #
432
1011
  # {
433
- # resource_arn: "__string", # required
1012
+ # channel_name: "__string", # required
434
1013
  # }
435
1014
  #
436
- # @!attribute [rw] resource_arn
1015
+ # @!attribute [rw] channel_name
437
1016
  # @return [String]
438
1017
  #
439
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResourceRequest AWS API Documentation
1018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannelRequest AWS API Documentation
440
1019
  #
441
- class ListTagsForResourceRequest < Struct.new(
442
- :resource_arn)
1020
+ class DescribeChannelRequest < Struct.new(
1021
+ :channel_name)
443
1022
  SENSITIVE = []
444
1023
  include Aws::Structure
445
1024
  end
446
1025
 
1026
+ # Returns a channel's properties.
1027
+ #
1028
+ # @!attribute [rw] arn
1029
+ # The ARN of the channel.
1030
+ # @return [String]
1031
+ #
1032
+ # @!attribute [rw] channel_name
1033
+ # The name of the channel.
1034
+ # @return [String]
1035
+ #
1036
+ # @!attribute [rw] channel_state
1037
+ # Indicates whether the channel is in a running state or not.
1038
+ # @return [String]
1039
+ #
1040
+ # @!attribute [rw] creation_time
1041
+ # The timestamp of when the channel was created.
1042
+ # @return [Time]
1043
+ #
1044
+ # @!attribute [rw] last_modified_time
1045
+ # The timestamp of when the channel was last modified.
1046
+ # @return [Time]
1047
+ #
1048
+ # @!attribute [rw] outputs
1049
+ # The channel's output properties.
1050
+ # @return [Array<Types::ResponseOutputItem>]
1051
+ #
1052
+ # @!attribute [rw] playback_mode
1053
+ # The type of playback for this channel. The only supported value is
1054
+ # LOOP.
1055
+ # @return [String]
1056
+ #
447
1057
  # @!attribute [rw] tags
1058
+ # The tags assigned to the channel.
448
1059
  # @return [Hash<String,String>]
449
1060
  #
450
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResourceResponse AWS API Documentation
1061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannelResponse AWS API Documentation
451
1062
  #
452
- class ListTagsForResourceResponse < Struct.new(
1063
+ class DescribeChannelResponse < Struct.new(
1064
+ :arn,
1065
+ :channel_name,
1066
+ :channel_state,
1067
+ :creation_time,
1068
+ :last_modified_time,
1069
+ :outputs,
1070
+ :playback_mode,
453
1071
  :tags)
454
1072
  SENSITIVE = []
455
1073
  include Aws::Structure
456
1074
  end
457
1075
 
458
- # The configuration for manifest processing rules. Manifest processing
459
- # rules enable customization of the personalized manifests created by
460
- # MediaTailor.
461
- #
462
- # @note When making an API call, you may pass ManifestProcessingRules
1076
+ # @note When making an API call, you may pass DescribeProgramRequest
463
1077
  # data as a hash:
464
1078
  #
465
1079
  # {
466
- # ad_marker_passthrough: {
467
- # enabled: false,
468
- # },
1080
+ # channel_name: "__string", # required
1081
+ # program_name: "__string", # required
469
1082
  # }
470
1083
  #
471
- # @!attribute [rw] ad_marker_passthrough
472
- # For HLS, when set to `true`, MediaTailor passes through
473
- # EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers
474
- # from the origin manifest to the MediaTailor personalized manifest.
1084
+ # @!attribute [rw] channel_name
1085
+ # @return [String]
475
1086
  #
476
- # No logic is applied to these ad markers. For example, if
477
- # EXT-X-CUE-OUT has a value of `60`, but no ads are filled for that ad
478
- # break, MediaTailor will not set the value to 0.
479
- # @return [Types::AdMarkerPassthrough]
1087
+ # @!attribute [rw] program_name
1088
+ # @return [String]
480
1089
  #
481
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ManifestProcessingRules AWS API Documentation
1090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgramRequest AWS API Documentation
482
1091
  #
483
- class ManifestProcessingRules < Struct.new(
484
- :ad_marker_passthrough)
1092
+ class DescribeProgramRequest < Struct.new(
1093
+ :channel_name,
1094
+ :program_name)
485
1095
  SENSITIVE = []
486
1096
  include Aws::Structure
487
1097
  end
488
1098
 
489
- # @!attribute [rw] ad_decision_server_url
490
- # @return [String]
491
- #
492
- # @!attribute [rw] cdn_configuration
493
- # The configuration for using a content delivery network (CDN), like
494
- # Amazon CloudFront, for content and ad segment management.
495
- # @return [Types::CdnConfiguration]
496
- #
497
- # @!attribute [rw] personalization_threshold_seconds
498
- # @return [Integer]
499
- #
500
- # @!attribute [rw] dash_configuration
501
- # The configuration for DASH content.
502
- # @return [Types::DashConfiguration]
503
- #
504
- # @!attribute [rw] hls_configuration
505
- # The configuration for HLS content.
506
- # @return [Types::HlsConfiguration]
1099
+ # This program's configuration parameters.
507
1100
  #
508
- # @!attribute [rw] name
509
- # @return [String]
1101
+ # @!attribute [rw] ad_breaks
1102
+ # The ad break configuration settings.
1103
+ # @return [Array<Types::AdBreak>]
510
1104
  #
511
- # @!attribute [rw] playback_configuration_arn
1105
+ # @!attribute [rw] arn
1106
+ # The ARN of the program.
512
1107
  # @return [String]
513
1108
  #
514
- # @!attribute [rw] playback_endpoint_prefix
1109
+ # @!attribute [rw] channel_name
1110
+ # The name of the channel that the program belongs to.
515
1111
  # @return [String]
516
1112
  #
517
- # @!attribute [rw] session_initialization_endpoint_prefix
518
- # @return [String]
1113
+ # @!attribute [rw] creation_time
1114
+ # The timestamp of when the program was created.
1115
+ # @return [Time]
519
1116
  #
520
- # @!attribute [rw] slate_ad_url
1117
+ # @!attribute [rw] program_name
1118
+ # The name of the program.
521
1119
  # @return [String]
522
1120
  #
523
- # @!attribute [rw] tags
524
- # @return [Hash<String,String>]
525
- #
526
- # @!attribute [rw] transcode_profile_name
1121
+ # @!attribute [rw] source_location_name
1122
+ # The source location name.
527
1123
  # @return [String]
528
1124
  #
529
- # @!attribute [rw] video_content_source_url
1125
+ # @!attribute [rw] vod_source_name
1126
+ # The name that's used to refer to a VOD source.
530
1127
  # @return [String]
531
1128
  #
532
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PlaybackConfiguration AWS API Documentation
1129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgramResponse AWS API Documentation
533
1130
  #
534
- class PlaybackConfiguration < Struct.new(
535
- :ad_decision_server_url,
536
- :cdn_configuration,
537
- :personalization_threshold_seconds,
538
- :dash_configuration,
539
- :hls_configuration,
540
- :name,
541
- :playback_configuration_arn,
542
- :playback_endpoint_prefix,
543
- :session_initialization_endpoint_prefix,
544
- :slate_ad_url,
545
- :tags,
546
- :transcode_profile_name,
547
- :video_content_source_url)
1131
+ class DescribeProgramResponse < Struct.new(
1132
+ :ad_breaks,
1133
+ :arn,
1134
+ :channel_name,
1135
+ :creation_time,
1136
+ :program_name,
1137
+ :source_location_name,
1138
+ :vod_source_name)
548
1139
  SENSITIVE = []
549
1140
  include Aws::Structure
550
1141
  end
551
1142
 
552
- # The configuration for pre-roll ad insertion.
553
- #
554
- # @note When making an API call, you may pass LivePreRollConfiguration
1143
+ # @note When making an API call, you may pass DescribeSourceLocationRequest
555
1144
  # data as a hash:
556
1145
  #
557
1146
  # {
558
- # ad_decision_server_url: "__string",
559
- # max_duration_seconds: 1,
1147
+ # source_location_name: "__string", # required
560
1148
  # }
561
1149
  #
562
- # @!attribute [rw] ad_decision_server_url
563
- # The URL for the ad decision server (ADS) for pre-roll ads. This
564
- # includes the specification of static parameters and placeholders for
565
- # dynamic parameters. AWS Elemental MediaTailor substitutes
566
- # player-specific and session-specific parameters as needed when
567
- # calling the ADS. Alternately, for testing, you can provide a static
568
- # VAST URL. The maximum length is 25,000 characters.
1150
+ # @!attribute [rw] source_location_name
569
1151
  # @return [String]
570
1152
  #
571
- # @!attribute [rw] max_duration_seconds
572
- # The maximum allowed duration for the pre-roll ad avail. AWS
573
- # Elemental MediaTailor won't play pre-roll ads to exceed this
574
- # duration, regardless of the total duration of ads that the ADS
575
- # returns.
1153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocationRequest AWS API Documentation
1154
+ #
1155
+ class DescribeSourceLocationRequest < Struct.new(
1156
+ :source_location_name)
1157
+ SENSITIVE = []
1158
+ include Aws::Structure
1159
+ end
1160
+
1161
+ # This response includes only the "type" : "object" property.
1162
+ #
1163
+ # @!attribute [rw] access_configuration
1164
+ # The access configuration for the source location.
1165
+ # @return [Types::AccessConfiguration]
1166
+ #
1167
+ # @!attribute [rw] arn
1168
+ # The ARN of the source location.
1169
+ # @return [String]
1170
+ #
1171
+ # @!attribute [rw] creation_time
1172
+ # The timestamp that indicates when the source location was created.
1173
+ # @return [Time]
1174
+ #
1175
+ # @!attribute [rw] default_segment_delivery_configuration
1176
+ # The default segment delivery configuration settings.
1177
+ # @return [Types::DefaultSegmentDeliveryConfiguration]
1178
+ #
1179
+ # @!attribute [rw] http_configuration
1180
+ # The HTTP package configuration settings for the source location.
1181
+ # @return [Types::HttpConfiguration]
1182
+ #
1183
+ # @!attribute [rw] last_modified_time
1184
+ # The timestamp that indicates when the source location was last
1185
+ # modified.
1186
+ # @return [Time]
1187
+ #
1188
+ # @!attribute [rw] source_location_name
1189
+ # The name of the source location.
1190
+ # @return [String]
1191
+ #
1192
+ # @!attribute [rw] tags
1193
+ # The tags assigned to the source location.
1194
+ # @return [Hash<String,String>]
1195
+ #
1196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocationResponse AWS API Documentation
1197
+ #
1198
+ class DescribeSourceLocationResponse < Struct.new(
1199
+ :access_configuration,
1200
+ :arn,
1201
+ :creation_time,
1202
+ :default_segment_delivery_configuration,
1203
+ :http_configuration,
1204
+ :last_modified_time,
1205
+ :source_location_name,
1206
+ :tags)
1207
+ SENSITIVE = []
1208
+ include Aws::Structure
1209
+ end
1210
+
1211
+ # @note When making an API call, you may pass DescribeVodSourceRequest
1212
+ # data as a hash:
1213
+ #
1214
+ # {
1215
+ # source_location_name: "__string", # required
1216
+ # vod_source_name: "__string", # required
1217
+ # }
1218
+ #
1219
+ # @!attribute [rw] source_location_name
1220
+ # @return [String]
1221
+ #
1222
+ # @!attribute [rw] vod_source_name
1223
+ # @return [String]
1224
+ #
1225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSourceRequest AWS API Documentation
1226
+ #
1227
+ class DescribeVodSourceRequest < Struct.new(
1228
+ :source_location_name,
1229
+ :vod_source_name)
1230
+ SENSITIVE = []
1231
+ include Aws::Structure
1232
+ end
1233
+
1234
+ # This response includes only the "type" : "object" property.
1235
+ #
1236
+ # @!attribute [rw] arn
1237
+ # The ARN of the VOD source.
1238
+ # @return [String]
1239
+ #
1240
+ # @!attribute [rw] creation_time
1241
+ # The timestamp that indicates when the VOD source was created.
1242
+ # @return [Time]
1243
+ #
1244
+ # @!attribute [rw] http_package_configurations
1245
+ # The HTTP package configurations.
1246
+ # @return [Array<Types::HttpPackageConfiguration>]
1247
+ #
1248
+ # @!attribute [rw] last_modified_time
1249
+ # The ARN for the VOD source.
1250
+ # @return [Time]
1251
+ #
1252
+ # @!attribute [rw] source_location_name
1253
+ # The name of the source location associated with the VOD source.
1254
+ # @return [String]
1255
+ #
1256
+ # @!attribute [rw] tags
1257
+ # The tags assigned to the VOD source.
1258
+ # @return [Hash<String,String>]
1259
+ #
1260
+ # @!attribute [rw] vod_source_name
1261
+ # The name of the VOD source.
1262
+ # @return [String]
1263
+ #
1264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSourceResponse AWS API Documentation
1265
+ #
1266
+ class DescribeVodSourceResponse < Struct.new(
1267
+ :arn,
1268
+ :creation_time,
1269
+ :http_package_configurations,
1270
+ :last_modified_time,
1271
+ :source_location_name,
1272
+ :tags,
1273
+ :vod_source_name)
1274
+ SENSITIVE = []
1275
+ include Aws::Structure
1276
+ end
1277
+
1278
+ # @note When making an API call, you may pass GetChannelPolicyRequest
1279
+ # data as a hash:
1280
+ #
1281
+ # {
1282
+ # channel_name: "__string", # required
1283
+ # }
1284
+ #
1285
+ # @!attribute [rw] channel_name
1286
+ # @return [String]
1287
+ #
1288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicyRequest AWS API Documentation
1289
+ #
1290
+ class GetChannelPolicyRequest < Struct.new(
1291
+ :channel_name)
1292
+ SENSITIVE = []
1293
+ include Aws::Structure
1294
+ end
1295
+
1296
+ # Returns the channel's IAM policy.
1297
+ #
1298
+ # @!attribute [rw] policy
1299
+ # The IAM policy for the channel.
1300
+ # @return [String]
1301
+ #
1302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicyResponse AWS API Documentation
1303
+ #
1304
+ class GetChannelPolicyResponse < Struct.new(
1305
+ :policy)
1306
+ SENSITIVE = []
1307
+ include Aws::Structure
1308
+ end
1309
+
1310
+ # @note When making an API call, you may pass GetChannelScheduleRequest
1311
+ # data as a hash:
1312
+ #
1313
+ # {
1314
+ # channel_name: "__string", # required
1315
+ # duration_minutes: "__string",
1316
+ # max_results: 1,
1317
+ # next_token: "__string",
1318
+ # }
1319
+ #
1320
+ # @!attribute [rw] channel_name
1321
+ # @return [String]
1322
+ #
1323
+ # @!attribute [rw] duration_minutes
1324
+ # @return [String]
1325
+ #
1326
+ # @!attribute [rw] max_results
576
1327
  # @return [Integer]
577
1328
  #
578
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/LivePreRollConfiguration AWS API Documentation
1329
+ # @!attribute [rw] next_token
1330
+ # @return [String]
579
1331
  #
580
- class LivePreRollConfiguration < Struct.new(
581
- :ad_decision_server_url,
582
- :max_duration_seconds)
1332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelScheduleRequest AWS API Documentation
1333
+ #
1334
+ class GetChannelScheduleRequest < Struct.new(
1335
+ :channel_name,
1336
+ :duration_minutes,
1337
+ :max_results,
1338
+ :next_token)
583
1339
  SENSITIVE = []
584
1340
  include Aws::Structure
585
1341
  end
586
1342
 
587
- # @note When making an API call, you may pass PutPlaybackConfigurationRequest
1343
+ # Returns the schedule entries for the channel.
1344
+ #
1345
+ # @!attribute [rw] items
1346
+ # An array of schedule entries for the channel.
1347
+ # @return [Array<Types::ScheduleEntry>]
1348
+ #
1349
+ # @!attribute [rw] next_token
1350
+ # Pagination token from the GET list request. Use the token to fetch
1351
+ # the next page of results.
1352
+ # @return [String]
1353
+ #
1354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelScheduleResponse AWS API Documentation
1355
+ #
1356
+ class GetChannelScheduleResponse < Struct.new(
1357
+ :items,
1358
+ :next_token)
1359
+ SENSITIVE = []
1360
+ include Aws::Structure
1361
+ end
1362
+
1363
+ # @note When making an API call, you may pass GetPlaybackConfigurationRequest
588
1364
  # data as a hash:
589
1365
  #
590
1366
  # {
591
- # ad_decision_server_url: "__string",
592
- # avail_suppression: {
593
- # mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
594
- # value: "__string",
595
- # },
596
- # bumper: {
597
- # end_url: "__string",
598
- # start_url: "__string",
599
- # },
600
- # cdn_configuration: {
601
- # ad_segment_url_prefix: "__string",
602
- # content_segment_url_prefix: "__string",
603
- # },
604
- # personalization_threshold_seconds: 1,
605
- # dash_configuration: {
606
- # mpd_location: "__string",
607
- # origin_manifest_type: "SINGLE_PERIOD", # accepts SINGLE_PERIOD, MULTI_PERIOD
608
- # },
609
- # live_pre_roll_configuration: {
610
- # ad_decision_server_url: "__string",
611
- # max_duration_seconds: 1,
612
- # },
613
- # manifest_processing_rules: {
614
- # ad_marker_passthrough: {
615
- # enabled: false,
616
- # },
617
- # },
618
- # name: "__string",
619
- # slate_ad_url: "__string",
620
- # tags: {
621
- # "__string" => "__string",
622
- # },
623
- # transcode_profile_name: "__string",
624
- # video_content_source_url: "__string",
1367
+ # name: "__string", # required
625
1368
  # }
626
1369
  #
1370
+ # @!attribute [rw] name
1371
+ # @return [String]
1372
+ #
1373
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfigurationRequest AWS API Documentation
1374
+ #
1375
+ class GetPlaybackConfigurationRequest < Struct.new(
1376
+ :name)
1377
+ SENSITIVE = []
1378
+ include Aws::Structure
1379
+ end
1380
+
1381
+ # Returns the playback configuration for the specified name.
1382
+ #
627
1383
  # @!attribute [rw] ad_decision_server_url
628
1384
  # The URL for the ad decision server (ADS). This includes the
629
1385
  # specification of static parameters and placeholders for dynamic
630
1386
  # parameters. AWS Elemental MediaTailor substitutes player-specific
631
1387
  # and session-specific parameters as needed when calling the ADS.
632
- # Alternately, for testing you can provide a static VAST URL. The
1388
+ # Alternately, for testing, you can provide a static VAST URL. The
633
1389
  # maximum length is 25,000 characters.
634
1390
  # @return [String]
635
1391
  #
636
1392
  # @!attribute [rw] avail_suppression
637
- # The configuration for Avail Suppression.
1393
+ # The configuration for avail suppression, also known as ad
1394
+ # suppression. For more information about ad suppression, see [Ad
1395
+ # Suppression][1].
1396
+ #
1397
+ #
1398
+ #
1399
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
638
1400
  # @return [Types::AvailSuppression]
639
1401
  #
640
1402
  # @!attribute [rw] bumper
641
1403
  # The configuration for bumpers. Bumpers are short audio or video
642
- # clips that play at the start or before the end of an ad break.
1404
+ # clips that play at the start or before the end of an ad break. To
1405
+ # learn more about bumpers, see [Bumpers][1].
1406
+ #
1407
+ #
1408
+ #
1409
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
643
1410
  # @return [Types::Bumper]
644
1411
  #
645
1412
  # @!attribute [rw] cdn_configuration
@@ -647,14 +1414,23 @@ module Aws::MediaTailor
647
1414
  # Amazon CloudFront, for content and ad segment management.
648
1415
  # @return [Types::CdnConfiguration]
649
1416
  #
650
- # @!attribute [rw] personalization_threshold_seconds
651
- # The maximum duration of underfilled ad time (in seconds) allowed in
652
- # an ad break.
653
- # @return [Integer]
1417
+ # @!attribute [rw] configuration_aliases
1418
+ # The player parameters and aliases used as dynamic variables during
1419
+ # session initialization. For more information, see [Domain
1420
+ # Variables][1].
1421
+ #
1422
+ #
1423
+ #
1424
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
1425
+ # @return [Hash<String,Hash<String,String>>]
654
1426
  #
655
1427
  # @!attribute [rw] dash_configuration
656
1428
  # The configuration for DASH content.
657
- # @return [Types::DashConfigurationForPut]
1429
+ # @return [Types::DashConfiguration]
1430
+ #
1431
+ # @!attribute [rw] hls_configuration
1432
+ # The configuration for HLS content.
1433
+ # @return [Types::HlsConfiguration]
658
1434
  #
659
1435
  # @!attribute [rw] live_pre_roll_configuration
660
1436
  # The configuration for pre-roll ad insertion.
@@ -670,18 +1446,48 @@ module Aws::MediaTailor
670
1446
  # The identifier for the playback configuration.
671
1447
  # @return [String]
672
1448
  #
1449
+ # @!attribute [rw] personalization_threshold_seconds
1450
+ # Defines the maximum duration of underfilled ad time (in seconds)
1451
+ # allowed in an ad break. If the duration of underfilled ad time
1452
+ # exceeds the personalization threshold, then the personalization of
1453
+ # the ad break is abandoned and the underlying content is shown. This
1454
+ # feature applies to *ad replacement* in live and VOD streams, rather
1455
+ # than ad insertion, because it relies on an underlying content
1456
+ # stream. For more information about ad break behavior, including ad
1457
+ # replacement and insertion, see [Ad Behavior in AWS Elemental
1458
+ # MediaTailor][1].
1459
+ #
1460
+ #
1461
+ #
1462
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
1463
+ # @return [Integer]
1464
+ #
1465
+ # @!attribute [rw] playback_configuration_arn
1466
+ # The Amazon Resource Name (ARN) for the playback configuration.
1467
+ # @return [String]
1468
+ #
1469
+ # @!attribute [rw] playback_endpoint_prefix
1470
+ # The URL that the player accesses to get a manifest from AWS
1471
+ # Elemental MediaTailor. This session will use server-side reporting.
1472
+ # @return [String]
1473
+ #
1474
+ # @!attribute [rw] session_initialization_endpoint_prefix
1475
+ # The URL that the player uses to initialize a session that uses
1476
+ # client-side reporting.
1477
+ # @return [String]
1478
+ #
673
1479
  # @!attribute [rw] slate_ad_url
674
1480
  # The URL for a high-quality video asset to transcode and use to fill
675
1481
  # in time that's not used by ads. AWS Elemental MediaTailor shows the
676
1482
  # slate to fill in gaps in media content. Configuring the slate is
677
- # optional for non-VPAID configurations. For VPAID, the slate is
678
- # required because MediaTailor provides it in the slots that are
679
- # designated for dynamic ad content. The slate must be a high-quality
680
- # asset that contains both audio and video.
1483
+ # optional for non-VPAID playback configurations. For VPAID, the slate
1484
+ # is required because MediaTailor provides it in the slots designated
1485
+ # for dynamic ad content. The slate must be a high-quality asset that
1486
+ # contains both audio and video.
681
1487
  # @return [String]
682
1488
  #
683
1489
  # @!attribute [rw] tags
684
- # The tags to assign to the playback configuration.
1490
+ # The tags assigned to the playback configuration.
685
1491
  # @return [Hash<String,String>]
686
1492
  #
687
1493
  # @!attribute [rw] transcode_profile_name
@@ -692,22 +1498,27 @@ module Aws::MediaTailor
692
1498
  # @return [String]
693
1499
  #
694
1500
  # @!attribute [rw] video_content_source_url
695
- # The URL prefix for the master playlist for the stream, minus the
1501
+ # The URL prefix for the parent manifest for the stream, minus the
696
1502
  # asset ID. The maximum length is 512 characters.
697
1503
  # @return [String]
698
1504
  #
699
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfigurationRequest AWS API Documentation
1505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfigurationResponse AWS API Documentation
700
1506
  #
701
- class PutPlaybackConfigurationRequest < Struct.new(
1507
+ class GetPlaybackConfigurationResponse < Struct.new(
702
1508
  :ad_decision_server_url,
703
1509
  :avail_suppression,
704
1510
  :bumper,
705
1511
  :cdn_configuration,
706
- :personalization_threshold_seconds,
1512
+ :configuration_aliases,
707
1513
  :dash_configuration,
1514
+ :hls_configuration,
708
1515
  :live_pre_roll_configuration,
709
1516
  :manifest_processing_rules,
710
1517
  :name,
1518
+ :personalization_threshold_seconds,
1519
+ :playback_configuration_arn,
1520
+ :playback_endpoint_prefix,
1521
+ :session_initialization_endpoint_prefix,
711
1522
  :slate_ad_url,
712
1523
  :tags,
713
1524
  :transcode_profile_name,
@@ -716,87 +1527,1163 @@ module Aws::MediaTailor
716
1527
  include Aws::Structure
717
1528
  end
718
1529
 
719
- # @!attribute [rw] ad_decision_server_url
1530
+ # The configuration for HLS content.
1531
+ #
1532
+ # @!attribute [rw] manifest_endpoint_prefix
1533
+ # The URL that is used to initiate a playback session for devices that
1534
+ # support Apple HLS. The session uses server-side reporting.
720
1535
  # @return [String]
721
1536
  #
722
- # @!attribute [rw] avail_suppression
723
- # @return [Types::AvailSuppression]
1537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/HlsConfiguration AWS API Documentation
724
1538
  #
725
- # @!attribute [rw] bumper
726
- # The configuration for bumpers. Bumpers are short audio or video
727
- # clips that play at the start or before the end of an ad break.
728
- # @return [Types::Bumper]
1539
+ class HlsConfiguration < Struct.new(
1540
+ :manifest_endpoint_prefix)
1541
+ SENSITIVE = []
1542
+ include Aws::Structure
1543
+ end
1544
+
1545
+ # HLS playlist configuration parameters.
729
1546
  #
730
- # @!attribute [rw] cdn_configuration
731
- # The configuration for using a content delivery network (CDN), like
732
- # Amazon CloudFront, for content and ad segment management.
733
- # @return [Types::CdnConfiguration]
1547
+ # @note When making an API call, you may pass HlsPlaylistSettings
1548
+ # data as a hash:
734
1549
  #
735
- # @!attribute [rw] dash_configuration
1550
+ # {
1551
+ # manifest_window_seconds: 1,
1552
+ # }
1553
+ #
1554
+ # @!attribute [rw] manifest_window_seconds
1555
+ # The total duration (in seconds) of each manifest. Minimum value: 30
1556
+ # seconds. Maximum value: 3600 seconds.
1557
+ # @return [Integer]
1558
+ #
1559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/HlsPlaylistSettings AWS API Documentation
1560
+ #
1561
+ class HlsPlaylistSettings < Struct.new(
1562
+ :manifest_window_seconds)
1563
+ SENSITIVE = []
1564
+ include Aws::Structure
1565
+ end
1566
+
1567
+ # The HTTP configuration for the source location.
1568
+ #
1569
+ # @note When making an API call, you may pass HttpConfiguration
1570
+ # data as a hash:
1571
+ #
1572
+ # {
1573
+ # base_url: "__string", # required
1574
+ # }
1575
+ #
1576
+ # @!attribute [rw] base_url
1577
+ # The base URL for the source location host server. This string must
1578
+ # include the protocol, such as **https://**.
1579
+ # @return [String]
1580
+ #
1581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/HttpConfiguration AWS API Documentation
1582
+ #
1583
+ class HttpConfiguration < Struct.new(
1584
+ :base_url)
1585
+ SENSITIVE = []
1586
+ include Aws::Structure
1587
+ end
1588
+
1589
+ # The HTTP package configuration properties for the requested VOD
1590
+ # source.
1591
+ #
1592
+ # @note When making an API call, you may pass HttpPackageConfiguration
1593
+ # data as a hash:
1594
+ #
1595
+ # {
1596
+ # path: "__string", # required
1597
+ # source_group: "__string", # required
1598
+ # type: "DASH", # required, accepts DASH, HLS
1599
+ # }
1600
+ #
1601
+ # @!attribute [rw] path
1602
+ # The relative path to the URL for this VOD source. This is combined
1603
+ # with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.
1604
+ # @return [String]
1605
+ #
1606
+ # @!attribute [rw] source_group
1607
+ # The name of the source group. This has to match one of the
1608
+ # Channel::Outputs::SourceGroup.
1609
+ # @return [String]
1610
+ #
1611
+ # @!attribute [rw] type
1612
+ # The streaming protocol for this package configuration. Supported
1613
+ # values are HLS and DASH.
1614
+ # @return [String]
1615
+ #
1616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/HttpPackageConfiguration AWS API Documentation
1617
+ #
1618
+ class HttpPackageConfiguration < Struct.new(
1619
+ :path,
1620
+ :source_group,
1621
+ :type)
1622
+ SENSITIVE = []
1623
+ include Aws::Structure
1624
+ end
1625
+
1626
+ # @note When making an API call, you may pass ListChannelsRequest
1627
+ # data as a hash:
1628
+ #
1629
+ # {
1630
+ # max_results: 1,
1631
+ # next_token: "__string",
1632
+ # }
1633
+ #
1634
+ # @!attribute [rw] max_results
1635
+ # @return [Integer]
1636
+ #
1637
+ # @!attribute [rw] next_token
1638
+ # @return [String]
1639
+ #
1640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannelsRequest AWS API Documentation
1641
+ #
1642
+ class ListChannelsRequest < Struct.new(
1643
+ :max_results,
1644
+ :next_token)
1645
+ SENSITIVE = []
1646
+ include Aws::Structure
1647
+ end
1648
+
1649
+ # Returns a list of channels.
1650
+ #
1651
+ # @!attribute [rw] items
1652
+ # An array of channels that are associated with this account.
1653
+ # @return [Array<Types::Channel>]
1654
+ #
1655
+ # @!attribute [rw] next_token
1656
+ # Pagination token returned by the list request when results exceed
1657
+ # the maximum allowed. Use the token to fetch the next page of
1658
+ # results.
1659
+ # @return [String]
1660
+ #
1661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannelsResponse AWS API Documentation
1662
+ #
1663
+ class ListChannelsResponse < Struct.new(
1664
+ :items,
1665
+ :next_token)
1666
+ SENSITIVE = []
1667
+ include Aws::Structure
1668
+ end
1669
+
1670
+ # @note When making an API call, you may pass ListPlaybackConfigurationsRequest
1671
+ # data as a hash:
1672
+ #
1673
+ # {
1674
+ # max_results: 1,
1675
+ # next_token: "__string",
1676
+ # }
1677
+ #
1678
+ # @!attribute [rw] max_results
1679
+ # @return [Integer]
1680
+ #
1681
+ # @!attribute [rw] next_token
1682
+ # @return [String]
1683
+ #
1684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurationsRequest AWS API Documentation
1685
+ #
1686
+ class ListPlaybackConfigurationsRequest < Struct.new(
1687
+ :max_results,
1688
+ :next_token)
1689
+ SENSITIVE = []
1690
+ include Aws::Structure
1691
+ end
1692
+
1693
+ # Returns a list of playback configurations.
1694
+ #
1695
+ # @!attribute [rw] items
1696
+ # Array of playback configurations. This might be all the available
1697
+ # configurations or a subset, depending on the settings that you
1698
+ # provide and the total number of configurations stored.
1699
+ # @return [Array<Types::PlaybackConfiguration>]
1700
+ #
1701
+ # @!attribute [rw] next_token
1702
+ # Pagination token returned by the GET list request when results
1703
+ # exceed the maximum allowed. Use the token to fetch the next page of
1704
+ # results.
1705
+ # @return [String]
1706
+ #
1707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurationsResponse AWS API Documentation
1708
+ #
1709
+ class ListPlaybackConfigurationsResponse < Struct.new(
1710
+ :items,
1711
+ :next_token)
1712
+ SENSITIVE = []
1713
+ include Aws::Structure
1714
+ end
1715
+
1716
+ # @note When making an API call, you may pass ListSourceLocationsRequest
1717
+ # data as a hash:
1718
+ #
1719
+ # {
1720
+ # max_results: 1,
1721
+ # next_token: "__string",
1722
+ # }
1723
+ #
1724
+ # @!attribute [rw] max_results
1725
+ # @return [Integer]
1726
+ #
1727
+ # @!attribute [rw] next_token
1728
+ # @return [String]
1729
+ #
1730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocationsRequest AWS API Documentation
1731
+ #
1732
+ class ListSourceLocationsRequest < Struct.new(
1733
+ :max_results,
1734
+ :next_token)
1735
+ SENSITIVE = []
1736
+ include Aws::Structure
1737
+ end
1738
+
1739
+ # Lists the source locations.
1740
+ #
1741
+ # @!attribute [rw] items
1742
+ # An array of source locations.
1743
+ # @return [Array<Types::SourceLocation>]
1744
+ #
1745
+ # @!attribute [rw] next_token
1746
+ # Pagination token from the list request. Use the token to fetch the
1747
+ # next page of results.
1748
+ # @return [String]
1749
+ #
1750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocationsResponse AWS API Documentation
1751
+ #
1752
+ class ListSourceLocationsResponse < Struct.new(
1753
+ :items,
1754
+ :next_token)
1755
+ SENSITIVE = []
1756
+ include Aws::Structure
1757
+ end
1758
+
1759
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1760
+ # data as a hash:
1761
+ #
1762
+ # {
1763
+ # resource_arn: "__string", # required
1764
+ # }
1765
+ #
1766
+ # @!attribute [rw] resource_arn
1767
+ # @return [String]
1768
+ #
1769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResourceRequest AWS API Documentation
1770
+ #
1771
+ class ListTagsForResourceRequest < Struct.new(
1772
+ :resource_arn)
1773
+ SENSITIVE = []
1774
+ include Aws::Structure
1775
+ end
1776
+
1777
+ # @!attribute [rw] tags
1778
+ # @return [Hash<String,String>]
1779
+ #
1780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResourceResponse AWS API Documentation
1781
+ #
1782
+ class ListTagsForResourceResponse < Struct.new(
1783
+ :tags)
1784
+ SENSITIVE = []
1785
+ include Aws::Structure
1786
+ end
1787
+
1788
+ # @note When making an API call, you may pass ListVodSourcesRequest
1789
+ # data as a hash:
1790
+ #
1791
+ # {
1792
+ # max_results: 1,
1793
+ # next_token: "__string",
1794
+ # source_location_name: "__string", # required
1795
+ # }
1796
+ #
1797
+ # @!attribute [rw] max_results
1798
+ # @return [Integer]
1799
+ #
1800
+ # @!attribute [rw] next_token
1801
+ # @return [String]
1802
+ #
1803
+ # @!attribute [rw] source_location_name
1804
+ # @return [String]
1805
+ #
1806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSourcesRequest AWS API Documentation
1807
+ #
1808
+ class ListVodSourcesRequest < Struct.new(
1809
+ :max_results,
1810
+ :next_token,
1811
+ :source_location_name)
1812
+ SENSITIVE = []
1813
+ include Aws::Structure
1814
+ end
1815
+
1816
+ # An array of VOD sources.
1817
+ #
1818
+ # @!attribute [rw] items
1819
+ # Lists the VOD sources.
1820
+ # @return [Array<Types::VodSource>]
1821
+ #
1822
+ # @!attribute [rw] next_token
1823
+ # Pagination token from the list request. Use the token to fetch the
1824
+ # next page of results.
1825
+ # @return [String]
1826
+ #
1827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSourcesResponse AWS API Documentation
1828
+ #
1829
+ class ListVodSourcesResponse < Struct.new(
1830
+ :items,
1831
+ :next_token)
1832
+ SENSITIVE = []
1833
+ include Aws::Structure
1834
+ end
1835
+
1836
+ # The configuration for pre-roll ad insertion.
1837
+ #
1838
+ # @note When making an API call, you may pass LivePreRollConfiguration
1839
+ # data as a hash:
1840
+ #
1841
+ # {
1842
+ # ad_decision_server_url: "__string",
1843
+ # max_duration_seconds: 1,
1844
+ # }
1845
+ #
1846
+ # @!attribute [rw] ad_decision_server_url
1847
+ # The URL for the ad decision server (ADS) for pre-roll ads. This
1848
+ # includes the specification of static parameters and placeholders for
1849
+ # dynamic parameters. AWS Elemental MediaTailor substitutes
1850
+ # player-specific and session-specific parameters as needed when
1851
+ # calling the ADS. Alternately, for testing, you can provide a static
1852
+ # VAST URL. The maximum length is 25,000 characters.
1853
+ # @return [String]
1854
+ #
1855
+ # @!attribute [rw] max_duration_seconds
1856
+ # The maximum allowed duration for the pre-roll ad avail. AWS
1857
+ # Elemental MediaTailor won't play pre-roll ads to exceed this
1858
+ # duration, regardless of the total duration of ads that the ADS
1859
+ # returns.
1860
+ # @return [Integer]
1861
+ #
1862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/LivePreRollConfiguration AWS API Documentation
1863
+ #
1864
+ class LivePreRollConfiguration < Struct.new(
1865
+ :ad_decision_server_url,
1866
+ :max_duration_seconds)
1867
+ SENSITIVE = []
1868
+ include Aws::Structure
1869
+ end
1870
+
1871
+ # The configuration for manifest processing rules. Manifest processing
1872
+ # rules enable customization of the personalized manifests created by
1873
+ # MediaTailor.
1874
+ #
1875
+ # @note When making an API call, you may pass ManifestProcessingRules
1876
+ # data as a hash:
1877
+ #
1878
+ # {
1879
+ # ad_marker_passthrough: {
1880
+ # enabled: false,
1881
+ # },
1882
+ # }
1883
+ #
1884
+ # @!attribute [rw] ad_marker_passthrough
1885
+ # For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN,
1886
+ # EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the
1887
+ # origin manifest to the MediaTailor personalized manifest.
1888
+ #
1889
+ # No logic is applied to these ad markers. For example, if
1890
+ # EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad
1891
+ # break, MediaTailor will not set the value to 0.
1892
+ # @return [Types::AdMarkerPassthrough]
1893
+ #
1894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ManifestProcessingRules AWS API Documentation
1895
+ #
1896
+ class ManifestProcessingRules < Struct.new(
1897
+ :ad_marker_passthrough)
1898
+ SENSITIVE = []
1899
+ include Aws::Structure
1900
+ end
1901
+
1902
+ # Creates a playback configuration. For information about MediaTailor
1903
+ # configurations, see [Working with configurations in AWS Elemental
1904
+ # MediaTailor][1].
1905
+ #
1906
+ #
1907
+ #
1908
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/configurations.html
1909
+ #
1910
+ # @!attribute [rw] ad_decision_server_url
1911
+ # The URL for the ad decision server (ADS). This includes the
1912
+ # specification of static parameters and placeholders for dynamic
1913
+ # parameters. AWS Elemental MediaTailor substitutes player-specific
1914
+ # and session-specific parameters as needed when calling the ADS.
1915
+ # Alternately, for testing you can provide a static VAST URL. The
1916
+ # maximum length is 25,000 characters.
1917
+ # @return [String]
1918
+ #
1919
+ # @!attribute [rw] avail_suppression
1920
+ # The configuration for avail suppression, also known as ad
1921
+ # suppression. For more information about ad suppression, see [Ad
1922
+ # Suppression][1].
1923
+ #
1924
+ #
1925
+ #
1926
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
1927
+ # @return [Types::AvailSuppression]
1928
+ #
1929
+ # @!attribute [rw] bumper
1930
+ # The configuration for bumpers. Bumpers are short audio or video
1931
+ # clips that play at the start or before the end of an ad break. To
1932
+ # learn more about bumpers, see [Bumpers][1].
1933
+ #
1934
+ #
1935
+ #
1936
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
1937
+ # @return [Types::Bumper]
1938
+ #
1939
+ # @!attribute [rw] cdn_configuration
1940
+ # The configuration for using a content delivery network (CDN), like
1941
+ # Amazon CloudFront, for content and ad segment management.
1942
+ # @return [Types::CdnConfiguration]
1943
+ #
1944
+ # @!attribute [rw] configuration_aliases
1945
+ # The player parameters and aliases used as dynamic variables during
1946
+ # session initialization. For more information, see [Domain
1947
+ # Variables][1].
1948
+ #
1949
+ #
1950
+ #
1951
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
1952
+ # @return [Hash<String,Hash<String,String>>]
1953
+ #
1954
+ # @!attribute [rw] dash_configuration
1955
+ # The configuration for a DASH source.
1956
+ # @return [Types::DashConfiguration]
1957
+ #
1958
+ # @!attribute [rw] hls_configuration
1959
+ # The configuration for HLS content.
1960
+ # @return [Types::HlsConfiguration]
1961
+ #
1962
+ # @!attribute [rw] live_pre_roll_configuration
1963
+ # The configuration for pre-roll ad insertion.
1964
+ # @return [Types::LivePreRollConfiguration]
1965
+ #
1966
+ # @!attribute [rw] manifest_processing_rules
1967
+ # The configuration for manifest processing rules. Manifest processing
1968
+ # rules enable customization of the personalized manifests created by
1969
+ # MediaTailor.
1970
+ # @return [Types::ManifestProcessingRules]
1971
+ #
1972
+ # @!attribute [rw] name
1973
+ # The identifier for the playback configuration.
1974
+ # @return [String]
1975
+ #
1976
+ # @!attribute [rw] personalization_threshold_seconds
1977
+ # Defines the maximum duration of underfilled ad time (in seconds)
1978
+ # allowed in an ad break. If the duration of underfilled ad time
1979
+ # exceeds the personalization threshold, then the personalization of
1980
+ # the ad break is abandoned and the underlying content is shown. This
1981
+ # feature applies to *ad replacement* in live and VOD streams, rather
1982
+ # than ad insertion, because it relies on an underlying content
1983
+ # stream. For more information about ad break behavior, including ad
1984
+ # replacement and insertion, see [Ad Behavior in AWS Elemental
1985
+ # MediaTailor][1].
1986
+ #
1987
+ #
1988
+ #
1989
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
1990
+ # @return [Integer]
1991
+ #
1992
+ # @!attribute [rw] playback_configuration_arn
1993
+ # The Amazon Resource Name (ARN) for the playback configuration.
1994
+ # @return [String]
1995
+ #
1996
+ # @!attribute [rw] playback_endpoint_prefix
1997
+ # The URL that the player accesses to get a manifest from AWS
1998
+ # Elemental MediaTailor.
1999
+ # @return [String]
2000
+ #
2001
+ # @!attribute [rw] session_initialization_endpoint_prefix
2002
+ # The URL that the player uses to initialize a session that uses
2003
+ # client-side reporting.
2004
+ # @return [String]
2005
+ #
2006
+ # @!attribute [rw] slate_ad_url
2007
+ # The URL for a video asset to transcode and use to fill in time
2008
+ # that's not used by ads. AWS Elemental MediaTailor shows the slate
2009
+ # to fill in gaps in media content. Configuring the slate is optional
2010
+ # for non-VPAID playback configurations. For VPAID, the slate is
2011
+ # required because MediaTailor provides it in the slots designated for
2012
+ # dynamic ad content. The slate must be a high-quality asset that
2013
+ # contains both audio and video.
2014
+ # @return [String]
2015
+ #
2016
+ # @!attribute [rw] tags
2017
+ # The tags to assign to the playback configuration.
2018
+ # @return [Hash<String,String>]
2019
+ #
2020
+ # @!attribute [rw] transcode_profile_name
2021
+ # The name that is used to associate this playback configuration with
2022
+ # a custom transcode profile. This overrides the dynamic transcoding
2023
+ # defaults of MediaTailor. Use this only if you have already set up
2024
+ # custom profiles with the help of AWS Support.
2025
+ # @return [String]
2026
+ #
2027
+ # @!attribute [rw] video_content_source_url
2028
+ # The URL prefix for the parent manifest for the stream, minus the
2029
+ # asset ID. The maximum length is 512 characters.
2030
+ # @return [String]
2031
+ #
2032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PlaybackConfiguration AWS API Documentation
2033
+ #
2034
+ class PlaybackConfiguration < Struct.new(
2035
+ :ad_decision_server_url,
2036
+ :avail_suppression,
2037
+ :bumper,
2038
+ :cdn_configuration,
2039
+ :configuration_aliases,
2040
+ :dash_configuration,
2041
+ :hls_configuration,
2042
+ :live_pre_roll_configuration,
2043
+ :manifest_processing_rules,
2044
+ :name,
2045
+ :personalization_threshold_seconds,
2046
+ :playback_configuration_arn,
2047
+ :playback_endpoint_prefix,
2048
+ :session_initialization_endpoint_prefix,
2049
+ :slate_ad_url,
2050
+ :tags,
2051
+ :transcode_profile_name,
2052
+ :video_content_source_url)
2053
+ SENSITIVE = []
2054
+ include Aws::Structure
2055
+ end
2056
+
2057
+ # Adds an IAM policy for the channel.
2058
+ #
2059
+ # @note When making an API call, you may pass PutChannelPolicyRequest
2060
+ # data as a hash:
2061
+ #
2062
+ # {
2063
+ # channel_name: "__string", # required
2064
+ # policy: "__string", # required
2065
+ # }
2066
+ #
2067
+ # @!attribute [rw] channel_name
2068
+ # @return [String]
2069
+ #
2070
+ # @!attribute [rw] policy
2071
+ # Adds an IAM role that determines the permissions of your channel.
2072
+ # @return [String]
2073
+ #
2074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicyRequest AWS API Documentation
2075
+ #
2076
+ class PutChannelPolicyRequest < Struct.new(
2077
+ :channel_name,
2078
+ :policy)
2079
+ SENSITIVE = []
2080
+ include Aws::Structure
2081
+ end
2082
+
2083
+ # This response includes only the "type" : "object" property.
2084
+ #
2085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicyResponse AWS API Documentation
2086
+ #
2087
+ class PutChannelPolicyResponse < Aws::EmptyStructure; end
2088
+
2089
+ # The configuration for creating a playback configuration.
2090
+ #
2091
+ # @note When making an API call, you may pass PutPlaybackConfigurationRequest
2092
+ # data as a hash:
2093
+ #
2094
+ # {
2095
+ # ad_decision_server_url: "__string",
2096
+ # avail_suppression: {
2097
+ # mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
2098
+ # value: "__string",
2099
+ # },
2100
+ # bumper: {
2101
+ # end_url: "__string",
2102
+ # start_url: "__string",
2103
+ # },
2104
+ # cdn_configuration: {
2105
+ # ad_segment_url_prefix: "__string",
2106
+ # content_segment_url_prefix: "__string",
2107
+ # },
2108
+ # configuration_aliases: {
2109
+ # "__string" => {
2110
+ # "__string" => "__string",
2111
+ # },
2112
+ # },
2113
+ # dash_configuration: {
2114
+ # mpd_location: "__string",
2115
+ # origin_manifest_type: "SINGLE_PERIOD", # accepts SINGLE_PERIOD, MULTI_PERIOD
2116
+ # },
2117
+ # live_pre_roll_configuration: {
2118
+ # ad_decision_server_url: "__string",
2119
+ # max_duration_seconds: 1,
2120
+ # },
2121
+ # manifest_processing_rules: {
2122
+ # ad_marker_passthrough: {
2123
+ # enabled: false,
2124
+ # },
2125
+ # },
2126
+ # name: "__string",
2127
+ # personalization_threshold_seconds: 1,
2128
+ # slate_ad_url: "__string",
2129
+ # tags: {
2130
+ # "__string" => "__string",
2131
+ # },
2132
+ # transcode_profile_name: "__string",
2133
+ # video_content_source_url: "__string",
2134
+ # }
2135
+ #
2136
+ # @!attribute [rw] ad_decision_server_url
2137
+ # The URL for the ad decision server (ADS). This includes the
2138
+ # specification of static parameters and placeholders for dynamic
2139
+ # parameters. AWS Elemental MediaTailor substitutes player-specific
2140
+ # and session-specific parameters as needed when calling the ADS.
2141
+ # Alternately, for testing you can provide a static VAST URL. The
2142
+ # maximum length is 25,000 characters.
2143
+ # @return [String]
2144
+ #
2145
+ # @!attribute [rw] avail_suppression
2146
+ # The configuration for avail suppression, also known as ad
2147
+ # suppression. For more information about ad suppression, see [Ad
2148
+ # Suppression][1].
2149
+ #
2150
+ #
2151
+ #
2152
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
2153
+ # @return [Types::AvailSuppression]
2154
+ #
2155
+ # @!attribute [rw] bumper
2156
+ # The configuration for bumpers. Bumpers are short audio or video
2157
+ # clips that play at the start or before the end of an ad break. To
2158
+ # learn more about bumpers, see [Bumpers][1].
2159
+ #
2160
+ #
2161
+ #
2162
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
2163
+ # @return [Types::Bumper]
2164
+ #
2165
+ # @!attribute [rw] cdn_configuration
2166
+ # The configuration for using a content delivery network (CDN), like
2167
+ # Amazon CloudFront, for content and ad segment management.
2168
+ # @return [Types::CdnConfiguration]
2169
+ #
2170
+ # @!attribute [rw] configuration_aliases
2171
+ # The player parameters and aliases used as dynamic variables during
2172
+ # session initialization. For more information, see [Domain
2173
+ # Variables][1].
2174
+ #
2175
+ #
2176
+ #
2177
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
2178
+ # @return [Hash<String,Hash<String,String>>]
2179
+ #
2180
+ # @!attribute [rw] dash_configuration
2181
+ # The configuration for DASH content.
2182
+ # @return [Types::DashConfigurationForPut]
2183
+ #
2184
+ # @!attribute [rw] live_pre_roll_configuration
2185
+ # The configuration for pre-roll ad insertion.
2186
+ # @return [Types::LivePreRollConfiguration]
2187
+ #
2188
+ # @!attribute [rw] manifest_processing_rules
2189
+ # The configuration for manifest processing rules. Manifest processing
2190
+ # rules enable customization of the personalized manifests created by
2191
+ # MediaTailor.
2192
+ # @return [Types::ManifestProcessingRules]
2193
+ #
2194
+ # @!attribute [rw] name
2195
+ # The identifier for the playback configuration.
2196
+ # @return [String]
2197
+ #
2198
+ # @!attribute [rw] personalization_threshold_seconds
2199
+ # Defines the maximum duration of underfilled ad time (in seconds)
2200
+ # allowed in an ad break. If the duration of underfilled ad time
2201
+ # exceeds the personalization threshold, then the personalization of
2202
+ # the ad break is abandoned and the underlying content is shown. This
2203
+ # feature applies to *ad replacement* in live and VOD streams, rather
2204
+ # than ad insertion, because it relies on an underlying content
2205
+ # stream. For more information about ad break behavior, including ad
2206
+ # replacement and insertion, see [Ad Behavior in AWS Elemental
2207
+ # MediaTailor][1].
2208
+ #
2209
+ #
2210
+ #
2211
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
2212
+ # @return [Integer]
2213
+ #
2214
+ # @!attribute [rw] slate_ad_url
2215
+ # The URL for a high-quality video asset to transcode and use to fill
2216
+ # in time that's not used by ads. AWS Elemental MediaTailor shows the
2217
+ # slate to fill in gaps in media content. Configuring the slate is
2218
+ # optional for non-VPAID configurations. For VPAID, the slate is
2219
+ # required because MediaTailor provides it in the slots that are
2220
+ # designated for dynamic ad content. The slate must be a high-quality
2221
+ # asset that contains both audio and video.
2222
+ # @return [String]
2223
+ #
2224
+ # @!attribute [rw] tags
2225
+ # The tags to assign to the playback configuration.
2226
+ # @return [Hash<String,String>]
2227
+ #
2228
+ # @!attribute [rw] transcode_profile_name
2229
+ # The name that is used to associate this playback configuration with
2230
+ # a custom transcode profile. This overrides the dynamic transcoding
2231
+ # defaults of MediaTailor. Use this only if you have already set up
2232
+ # custom profiles with the help of AWS Support.
2233
+ # @return [String]
2234
+ #
2235
+ # @!attribute [rw] video_content_source_url
2236
+ # The URL prefix for the parent manifest for the stream, minus the
2237
+ # asset ID. The maximum length is 512 characters.
2238
+ # @return [String]
2239
+ #
2240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfigurationRequest AWS API Documentation
2241
+ #
2242
+ class PutPlaybackConfigurationRequest < Struct.new(
2243
+ :ad_decision_server_url,
2244
+ :avail_suppression,
2245
+ :bumper,
2246
+ :cdn_configuration,
2247
+ :configuration_aliases,
2248
+ :dash_configuration,
2249
+ :live_pre_roll_configuration,
2250
+ :manifest_processing_rules,
2251
+ :name,
2252
+ :personalization_threshold_seconds,
2253
+ :slate_ad_url,
2254
+ :tags,
2255
+ :transcode_profile_name,
2256
+ :video_content_source_url)
2257
+ SENSITIVE = []
2258
+ include Aws::Structure
2259
+ end
2260
+
2261
+ # @!attribute [rw] ad_decision_server_url
2262
+ # @return [String]
2263
+ #
2264
+ # @!attribute [rw] avail_suppression
2265
+ # The configuration for avail suppression, also known as ad
2266
+ # suppression. For more information about ad suppression, see [Ad
2267
+ # Suppression][1].
2268
+ #
2269
+ #
2270
+ #
2271
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
2272
+ # @return [Types::AvailSuppression]
2273
+ #
2274
+ # @!attribute [rw] bumper
2275
+ # The configuration for bumpers. Bumpers are short audio or video
2276
+ # clips that play at the start or before the end of an ad break. To
2277
+ # learn more about bumpers, see [Bumpers][1].
2278
+ #
2279
+ #
2280
+ #
2281
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
2282
+ # @return [Types::Bumper]
2283
+ #
2284
+ # @!attribute [rw] cdn_configuration
2285
+ # The configuration for using a content delivery network (CDN), like
2286
+ # Amazon CloudFront, for content and ad segment management.
2287
+ # @return [Types::CdnConfiguration]
2288
+ #
2289
+ # @!attribute [rw] configuration_aliases
2290
+ # The predefined aliases for dynamic variables.
2291
+ # @return [Hash<String,Hash<String,String>>]
2292
+ #
2293
+ # @!attribute [rw] dash_configuration
736
2294
  # The configuration for DASH content.
737
2295
  # @return [Types::DashConfiguration]
738
2296
  #
739
- # @!attribute [rw] hls_configuration
740
- # The configuration for HLS content.
741
- # @return [Types::HlsConfiguration]
2297
+ # @!attribute [rw] hls_configuration
2298
+ # The configuration for HLS content.
2299
+ # @return [Types::HlsConfiguration]
2300
+ #
2301
+ # @!attribute [rw] live_pre_roll_configuration
2302
+ # The configuration for pre-roll ad insertion.
2303
+ # @return [Types::LivePreRollConfiguration]
2304
+ #
2305
+ # @!attribute [rw] manifest_processing_rules
2306
+ # The configuration for manifest processing rules. Manifest processing
2307
+ # rules enable customization of the personalized manifests created by
2308
+ # MediaTailor.
2309
+ # @return [Types::ManifestProcessingRules]
2310
+ #
2311
+ # @!attribute [rw] name
2312
+ # @return [String]
2313
+ #
2314
+ # @!attribute [rw] personalization_threshold_seconds
2315
+ # @return [Integer]
2316
+ #
2317
+ # @!attribute [rw] playback_configuration_arn
2318
+ # @return [String]
2319
+ #
2320
+ # @!attribute [rw] playback_endpoint_prefix
2321
+ # @return [String]
2322
+ #
2323
+ # @!attribute [rw] session_initialization_endpoint_prefix
2324
+ # @return [String]
2325
+ #
2326
+ # @!attribute [rw] slate_ad_url
2327
+ # @return [String]
2328
+ #
2329
+ # @!attribute [rw] tags
2330
+ # @return [Hash<String,String>]
2331
+ #
2332
+ # @!attribute [rw] transcode_profile_name
2333
+ # @return [String]
2334
+ #
2335
+ # @!attribute [rw] video_content_source_url
2336
+ # @return [String]
2337
+ #
2338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfigurationResponse AWS API Documentation
2339
+ #
2340
+ class PutPlaybackConfigurationResponse < Struct.new(
2341
+ :ad_decision_server_url,
2342
+ :avail_suppression,
2343
+ :bumper,
2344
+ :cdn_configuration,
2345
+ :configuration_aliases,
2346
+ :dash_configuration,
2347
+ :hls_configuration,
2348
+ :live_pre_roll_configuration,
2349
+ :manifest_processing_rules,
2350
+ :name,
2351
+ :personalization_threshold_seconds,
2352
+ :playback_configuration_arn,
2353
+ :playback_endpoint_prefix,
2354
+ :session_initialization_endpoint_prefix,
2355
+ :slate_ad_url,
2356
+ :tags,
2357
+ :transcode_profile_name,
2358
+ :video_content_source_url)
2359
+ SENSITIVE = []
2360
+ include Aws::Structure
2361
+ end
2362
+
2363
+ # The ouput configuration for this channel.
2364
+ #
2365
+ # @note When making an API call, you may pass RequestOutputItem
2366
+ # data as a hash:
2367
+ #
2368
+ # {
2369
+ # dash_playlist_settings: {
2370
+ # manifest_window_seconds: 1,
2371
+ # min_buffer_time_seconds: 1,
2372
+ # min_update_period_seconds: 1,
2373
+ # suggested_presentation_delay_seconds: 1,
2374
+ # },
2375
+ # hls_playlist_settings: {
2376
+ # manifest_window_seconds: 1,
2377
+ # },
2378
+ # manifest_name: "__string", # required
2379
+ # source_group: "__string", # required
2380
+ # }
2381
+ #
2382
+ # @!attribute [rw] dash_playlist_settings
2383
+ # DASH manifest configuration parameters.
2384
+ # @return [Types::DashPlaylistSettings]
2385
+ #
2386
+ # @!attribute [rw] hls_playlist_settings
2387
+ # HLS playlist configuration parameters.
2388
+ # @return [Types::HlsPlaylistSettings]
2389
+ #
2390
+ # @!attribute [rw] manifest_name
2391
+ # The name of the manifest for the channel. The name appears in the
2392
+ # PlaybackUrl.
2393
+ # @return [String]
2394
+ #
2395
+ # @!attribute [rw] source_group
2396
+ # A string used to match which HttpPackageConfiguration is used for
2397
+ # each VodSource.
2398
+ # @return [String]
2399
+ #
2400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/RequestOutputItem AWS API Documentation
2401
+ #
2402
+ class RequestOutputItem < Struct.new(
2403
+ :dash_playlist_settings,
2404
+ :hls_playlist_settings,
2405
+ :manifest_name,
2406
+ :source_group)
2407
+ SENSITIVE = []
2408
+ include Aws::Structure
2409
+ end
2410
+
2411
+ # This response includes only the "property" : "type" property.
2412
+ #
2413
+ # @!attribute [rw] dash_playlist_settings
2414
+ # DASH manifest configuration settings.
2415
+ # @return [Types::DashPlaylistSettings]
2416
+ #
2417
+ # @!attribute [rw] hls_playlist_settings
2418
+ # HLS manifest configuration settings.
2419
+ # @return [Types::HlsPlaylistSettings]
2420
+ #
2421
+ # @!attribute [rw] manifest_name
2422
+ # The name of the manifest for the channel that will appear in the
2423
+ # channel output's playback URL.
2424
+ # @return [String]
2425
+ #
2426
+ # @!attribute [rw] playback_url
2427
+ # The URL used for playback by content players.
2428
+ # @return [String]
2429
+ #
2430
+ # @!attribute [rw] source_group
2431
+ # A string used to associate a package configuration source group with
2432
+ # a channel output.
2433
+ # @return [String]
2434
+ #
2435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ResponseOutputItem AWS API Documentation
2436
+ #
2437
+ class ResponseOutputItem < Struct.new(
2438
+ :dash_playlist_settings,
2439
+ :hls_playlist_settings,
2440
+ :manifest_name,
2441
+ :playback_url,
2442
+ :source_group)
2443
+ SENSITIVE = []
2444
+ include Aws::Structure
2445
+ end
2446
+
2447
+ # Schedule configuration parameters. A channel must be stopped before
2448
+ # changes can be made to the schedule.
2449
+ #
2450
+ # @note When making an API call, you may pass ScheduleConfiguration
2451
+ # data as a hash:
2452
+ #
2453
+ # {
2454
+ # transition: { # required
2455
+ # relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
2456
+ # relative_program: "__string",
2457
+ # type: "__string", # required
2458
+ # },
2459
+ # }
2460
+ #
2461
+ # @!attribute [rw] transition
2462
+ # Program transition configurations.
2463
+ # @return [Types::Transition]
742
2464
  #
743
- # @!attribute [rw] live_pre_roll_configuration
744
- # The configuration for pre-roll ad insertion.
745
- # @return [Types::LivePreRollConfiguration]
2465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ScheduleConfiguration AWS API Documentation
746
2466
  #
747
- # @!attribute [rw] name
2467
+ class ScheduleConfiguration < Struct.new(
2468
+ :transition)
2469
+ SENSITIVE = []
2470
+ include Aws::Structure
2471
+ end
2472
+
2473
+ # The properties for a schedule.
2474
+ #
2475
+ # @!attribute [rw] approximate_duration_seconds
2476
+ # The approximate duration of this program, in seconds.
2477
+ # @return [Integer]
2478
+ #
2479
+ # @!attribute [rw] approximate_start_time
2480
+ # The approximate time that the program will start playing.
2481
+ # @return [Time]
2482
+ #
2483
+ # @!attribute [rw] arn
2484
+ # The ARN of the program.
748
2485
  # @return [String]
749
2486
  #
750
- # @!attribute [rw] manifest_processing_rules
751
- # The configuration for manifest processing rules. Manifest processing
752
- # rules enable customization of the personalized manifests created by
753
- # MediaTailor.
754
- # @return [Types::ManifestProcessingRules]
2487
+ # @!attribute [rw] channel_name
2488
+ # The name of the channel that uses this schedule.
2489
+ # @return [String]
755
2490
  #
756
- # @!attribute [rw] playback_configuration_arn
2491
+ # @!attribute [rw] program_name
2492
+ # The name of the program.
757
2493
  # @return [String]
758
2494
  #
759
- # @!attribute [rw] playback_endpoint_prefix
2495
+ # @!attribute [rw] source_location_name
2496
+ # The name of the source location.
760
2497
  # @return [String]
761
2498
  #
762
- # @!attribute [rw] session_initialization_endpoint_prefix
2499
+ # @!attribute [rw] vod_source_name
2500
+ # The name of the VOD source.
763
2501
  # @return [String]
764
2502
  #
765
- # @!attribute [rw] slate_ad_url
2503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ScheduleEntry AWS API Documentation
2504
+ #
2505
+ class ScheduleEntry < Struct.new(
2506
+ :approximate_duration_seconds,
2507
+ :approximate_start_time,
2508
+ :arn,
2509
+ :channel_name,
2510
+ :program_name,
2511
+ :source_location_name,
2512
+ :vod_source_name)
2513
+ SENSITIVE = []
2514
+ include Aws::Structure
2515
+ end
2516
+
2517
+ # Slate VOD source configuration.
2518
+ #
2519
+ # @note When making an API call, you may pass SlateSource
2520
+ # data as a hash:
2521
+ #
2522
+ # {
2523
+ # source_location_name: "__string",
2524
+ # vod_source_name: "__string",
2525
+ # }
2526
+ #
2527
+ # @!attribute [rw] source_location_name
2528
+ # The name of the source location where the slate VOD source is
2529
+ # stored.
2530
+ # @return [String]
2531
+ #
2532
+ # @!attribute [rw] vod_source_name
2533
+ # The slate VOD source name. The VOD source must already exist in a
2534
+ # source location before it can be used for slate.
2535
+ # @return [String]
2536
+ #
2537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/SlateSource AWS API Documentation
2538
+ #
2539
+ class SlateSource < Struct.new(
2540
+ :source_location_name,
2541
+ :vod_source_name)
2542
+ SENSITIVE = []
2543
+ include Aws::Structure
2544
+ end
2545
+
2546
+ # This response includes only the "type" : "object" property.
2547
+ #
2548
+ # @!attribute [rw] access_configuration
2549
+ # The access configuration for the source location.
2550
+ # @return [Types::AccessConfiguration]
2551
+ #
2552
+ # @!attribute [rw] arn
2553
+ # The ARN of the SourceLocation.
2554
+ # @return [String]
2555
+ #
2556
+ # @!attribute [rw] creation_time
2557
+ # The timestamp that indicates when the source location was created.
2558
+ # @return [Time]
2559
+ #
2560
+ # @!attribute [rw] default_segment_delivery_configuration
2561
+ # The default segment delivery configuration.
2562
+ # @return [Types::DefaultSegmentDeliveryConfiguration]
2563
+ #
2564
+ # @!attribute [rw] http_configuration
2565
+ # The HTTP configuration for the source location.
2566
+ # @return [Types::HttpConfiguration]
2567
+ #
2568
+ # @!attribute [rw] last_modified_time
2569
+ # The timestamp that indicates when the source location was last
2570
+ # modified.
2571
+ # @return [Time]
2572
+ #
2573
+ # @!attribute [rw] source_location_name
2574
+ # The name of the source location.
766
2575
  # @return [String]
767
2576
  #
768
2577
  # @!attribute [rw] tags
2578
+ # The tags assigned to the source location.
769
2579
  # @return [Hash<String,String>]
770
2580
  #
771
- # @!attribute [rw] transcode_profile_name
2581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/SourceLocation AWS API Documentation
2582
+ #
2583
+ class SourceLocation < Struct.new(
2584
+ :access_configuration,
2585
+ :arn,
2586
+ :creation_time,
2587
+ :default_segment_delivery_configuration,
2588
+ :http_configuration,
2589
+ :last_modified_time,
2590
+ :source_location_name,
2591
+ :tags)
2592
+ SENSITIVE = []
2593
+ include Aws::Structure
2594
+ end
2595
+
2596
+ # Splice insert message configuration.
2597
+ #
2598
+ # @note When making an API call, you may pass SpliceInsertMessage
2599
+ # data as a hash:
2600
+ #
2601
+ # {
2602
+ # avail_num: 1,
2603
+ # avails_expected: 1,
2604
+ # splice_event_id: 1,
2605
+ # unique_program_id: 1,
2606
+ # }
2607
+ #
2608
+ # @!attribute [rw] avail_num
2609
+ # This is written to splice\_insert.avail\_num, as defined in section
2610
+ # 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values
2611
+ # must be between 0 and 256, inclusive.
2612
+ # @return [Integer]
2613
+ #
2614
+ # @!attribute [rw] avails_expected
2615
+ # This is written to splice\_insert.avails\_expected, as defined in
2616
+ # section 9.7.3.1 of the SCTE-35 specification. The default value is
2617
+ # 0. Values must be between 0 and 256, inclusive.
2618
+ # @return [Integer]
2619
+ #
2620
+ # @!attribute [rw] splice_event_id
2621
+ # This is written to splice\_insert.splice\_event\_id, as defined in
2622
+ # section 9.7.3.1 of the SCTE-35 specification. The default value is
2623
+ # 1.
2624
+ # @return [Integer]
2625
+ #
2626
+ # @!attribute [rw] unique_program_id
2627
+ # This is written to splice\_insert.unique\_program\_id, as defined in
2628
+ # section 9.7.3.1 of the SCTE-35 specification. The default value is
2629
+ # 0. Values must be between 0 and 256, inclusive.
2630
+ # @return [Integer]
2631
+ #
2632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/SpliceInsertMessage AWS API Documentation
2633
+ #
2634
+ class SpliceInsertMessage < Struct.new(
2635
+ :avail_num,
2636
+ :avails_expected,
2637
+ :splice_event_id,
2638
+ :unique_program_id)
2639
+ SENSITIVE = []
2640
+ include Aws::Structure
2641
+ end
2642
+
2643
+ # @note When making an API call, you may pass StartChannelRequest
2644
+ # data as a hash:
2645
+ #
2646
+ # {
2647
+ # channel_name: "__string", # required
2648
+ # }
2649
+ #
2650
+ # @!attribute [rw] channel_name
772
2651
  # @return [String]
773
2652
  #
774
- # @!attribute [rw] video_content_source_url
2653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannelRequest AWS API Documentation
2654
+ #
2655
+ class StartChannelRequest < Struct.new(
2656
+ :channel_name)
2657
+ SENSITIVE = []
2658
+ include Aws::Structure
2659
+ end
2660
+
2661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannelResponse AWS API Documentation
2662
+ #
2663
+ class StartChannelResponse < Aws::EmptyStructure; end
2664
+
2665
+ # @note When making an API call, you may pass StopChannelRequest
2666
+ # data as a hash:
2667
+ #
2668
+ # {
2669
+ # channel_name: "__string", # required
2670
+ # }
2671
+ #
2672
+ # @!attribute [rw] channel_name
775
2673
  # @return [String]
776
2674
  #
777
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfigurationResponse AWS API Documentation
2675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannelRequest AWS API Documentation
778
2676
  #
779
- class PutPlaybackConfigurationResponse < Struct.new(
780
- :ad_decision_server_url,
781
- :avail_suppression,
782
- :bumper,
783
- :cdn_configuration,
784
- :dash_configuration,
785
- :hls_configuration,
786
- :live_pre_roll_configuration,
787
- :name,
788
- :manifest_processing_rules,
789
- :playback_configuration_arn,
790
- :playback_endpoint_prefix,
791
- :session_initialization_endpoint_prefix,
792
- :slate_ad_url,
793
- :tags,
794
- :transcode_profile_name,
795
- :video_content_source_url)
2677
+ class StopChannelRequest < Struct.new(
2678
+ :channel_name)
796
2679
  SENSITIVE = []
797
2680
  include Aws::Structure
798
2681
  end
799
2682
 
2683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannelResponse AWS API Documentation
2684
+ #
2685
+ class StopChannelResponse < Aws::EmptyStructure; end
2686
+
800
2687
  # @note When making an API call, you may pass TagResourceRequest
801
2688
  # data as a hash:
802
2689
  #
@@ -822,17 +2709,39 @@ module Aws::MediaTailor
822
2709
  include Aws::Structure
823
2710
  end
824
2711
 
825
- # A set of tags assigned to a resource.
2712
+ # Program transition configuration.
826
2713
  #
827
- # @!attribute [rw] tags
828
- # A comma-separated list of tag key:value pairs. For example: \\\{
829
- # "Key1": "Value1", "Key2": "Value2" \\}
830
- # @return [Hash<String,String>]
2714
+ # @note When making an API call, you may pass Transition
2715
+ # data as a hash:
831
2716
  #
832
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagsModel AWS API Documentation
2717
+ # {
2718
+ # relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
2719
+ # relative_program: "__string",
2720
+ # type: "__string", # required
2721
+ # }
833
2722
  #
834
- class TagsModel < Struct.new(
835
- :tags)
2723
+ # @!attribute [rw] relative_position
2724
+ # The position where this program will be inserted relative to the
2725
+ # RelativeProgram. Possible values are: AFTER\_PROGRAM, and
2726
+ # BEFORE\_PROGRAM.
2727
+ # @return [String]
2728
+ #
2729
+ # @!attribute [rw] relative_program
2730
+ # The name of the program that this program will be inserted next to,
2731
+ # as defined by RelativePosition.
2732
+ # @return [String]
2733
+ #
2734
+ # @!attribute [rw] type
2735
+ # When the program should be played. RELATIVE means that programs will
2736
+ # be played back-to-back.
2737
+ # @return [String]
2738
+ #
2739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/Transition AWS API Documentation
2740
+ #
2741
+ class Transition < Struct.new(
2742
+ :relative_position,
2743
+ :relative_program,
2744
+ :type)
836
2745
  SENSITIVE = []
837
2746
  include Aws::Structure
838
2747
  end
@@ -860,5 +2769,296 @@ module Aws::MediaTailor
860
2769
  include Aws::Structure
861
2770
  end
862
2771
 
2772
+ # Updates a channel's Outputs.
2773
+ #
2774
+ # @note When making an API call, you may pass UpdateChannelRequest
2775
+ # data as a hash:
2776
+ #
2777
+ # {
2778
+ # channel_name: "__string", # required
2779
+ # outputs: [ # required
2780
+ # {
2781
+ # dash_playlist_settings: {
2782
+ # manifest_window_seconds: 1,
2783
+ # min_buffer_time_seconds: 1,
2784
+ # min_update_period_seconds: 1,
2785
+ # suggested_presentation_delay_seconds: 1,
2786
+ # },
2787
+ # hls_playlist_settings: {
2788
+ # manifest_window_seconds: 1,
2789
+ # },
2790
+ # manifest_name: "__string", # required
2791
+ # source_group: "__string", # required
2792
+ # },
2793
+ # ],
2794
+ # }
2795
+ #
2796
+ # @!attribute [rw] channel_name
2797
+ # @return [String]
2798
+ #
2799
+ # @!attribute [rw] outputs
2800
+ # The channel's output properties.
2801
+ # @return [Array<Types::RequestOutputItem>]
2802
+ #
2803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannelRequest AWS API Documentation
2804
+ #
2805
+ class UpdateChannelRequest < Struct.new(
2806
+ :channel_name,
2807
+ :outputs)
2808
+ SENSITIVE = []
2809
+ include Aws::Structure
2810
+ end
2811
+
2812
+ # @!attribute [rw] arn
2813
+ # @return [String]
2814
+ #
2815
+ # @!attribute [rw] channel_name
2816
+ # @return [String]
2817
+ #
2818
+ # @!attribute [rw] channel_state
2819
+ # @return [String]
2820
+ #
2821
+ # @!attribute [rw] creation_time
2822
+ # @return [Time]
2823
+ #
2824
+ # @!attribute [rw] last_modified_time
2825
+ # @return [Time]
2826
+ #
2827
+ # @!attribute [rw] outputs
2828
+ # @return [Array<Types::ResponseOutputItem>]
2829
+ #
2830
+ # @!attribute [rw] playback_mode
2831
+ # @return [String]
2832
+ #
2833
+ # @!attribute [rw] tags
2834
+ # @return [Hash<String,String>]
2835
+ #
2836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannelResponse AWS API Documentation
2837
+ #
2838
+ class UpdateChannelResponse < Struct.new(
2839
+ :arn,
2840
+ :channel_name,
2841
+ :channel_state,
2842
+ :creation_time,
2843
+ :last_modified_time,
2844
+ :outputs,
2845
+ :playback_mode,
2846
+ :tags)
2847
+ SENSITIVE = []
2848
+ include Aws::Structure
2849
+ end
2850
+
2851
+ # Source location configuration parameters.
2852
+ #
2853
+ # @note When making an API call, you may pass UpdateSourceLocationRequest
2854
+ # data as a hash:
2855
+ #
2856
+ # {
2857
+ # access_configuration: {
2858
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4
2859
+ # },
2860
+ # default_segment_delivery_configuration: {
2861
+ # base_url: "__string",
2862
+ # },
2863
+ # http_configuration: { # required
2864
+ # base_url: "__string", # required
2865
+ # },
2866
+ # source_location_name: "__string", # required
2867
+ # }
2868
+ #
2869
+ # @!attribute [rw] access_configuration
2870
+ # Access configuration parameters. Configures the type of
2871
+ # authentication used to access content from your source location.
2872
+ # @return [Types::AccessConfiguration]
2873
+ #
2874
+ # @!attribute [rw] default_segment_delivery_configuration
2875
+ # The optional configuration for the host server that serves segments.
2876
+ # @return [Types::DefaultSegmentDeliveryConfiguration]
2877
+ #
2878
+ # @!attribute [rw] http_configuration
2879
+ # The HTTP configuration for the source location.
2880
+ # @return [Types::HttpConfiguration]
2881
+ #
2882
+ # @!attribute [rw] source_location_name
2883
+ # @return [String]
2884
+ #
2885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocationRequest AWS API Documentation
2886
+ #
2887
+ class UpdateSourceLocationRequest < Struct.new(
2888
+ :access_configuration,
2889
+ :default_segment_delivery_configuration,
2890
+ :http_configuration,
2891
+ :source_location_name)
2892
+ SENSITIVE = []
2893
+ include Aws::Structure
2894
+ end
2895
+
2896
+ # @!attribute [rw] access_configuration
2897
+ # Access configuration parameters.
2898
+ # @return [Types::AccessConfiguration]
2899
+ #
2900
+ # @!attribute [rw] arn
2901
+ # @return [String]
2902
+ #
2903
+ # @!attribute [rw] creation_time
2904
+ # @return [Time]
2905
+ #
2906
+ # @!attribute [rw] default_segment_delivery_configuration
2907
+ # The optional configuration for a server that serves segments. Use
2908
+ # this if you want the segment delivery server to be different from
2909
+ # the source location server. For example, you can configure your
2910
+ # source location server to be an origination server, such as
2911
+ # MediaPackage, and the segment delivery server to be a content
2912
+ # delivery network (CDN), such as CloudFront. If you don't specify a
2913
+ # segment delivery server, then the source location server is used.
2914
+ # @return [Types::DefaultSegmentDeliveryConfiguration]
2915
+ #
2916
+ # @!attribute [rw] http_configuration
2917
+ # The HTTP configuration for the source location.
2918
+ # @return [Types::HttpConfiguration]
2919
+ #
2920
+ # @!attribute [rw] last_modified_time
2921
+ # @return [Time]
2922
+ #
2923
+ # @!attribute [rw] source_location_name
2924
+ # @return [String]
2925
+ #
2926
+ # @!attribute [rw] tags
2927
+ # @return [Hash<String,String>]
2928
+ #
2929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocationResponse AWS API Documentation
2930
+ #
2931
+ class UpdateSourceLocationResponse < Struct.new(
2932
+ :access_configuration,
2933
+ :arn,
2934
+ :creation_time,
2935
+ :default_segment_delivery_configuration,
2936
+ :http_configuration,
2937
+ :last_modified_time,
2938
+ :source_location_name,
2939
+ :tags)
2940
+ SENSITIVE = []
2941
+ include Aws::Structure
2942
+ end
2943
+
2944
+ # Updates a VOD source's configuration.
2945
+ #
2946
+ # @note When making an API call, you may pass UpdateVodSourceRequest
2947
+ # data as a hash:
2948
+ #
2949
+ # {
2950
+ # http_package_configurations: [ # required
2951
+ # {
2952
+ # path: "__string", # required
2953
+ # source_group: "__string", # required
2954
+ # type: "DASH", # required, accepts DASH, HLS
2955
+ # },
2956
+ # ],
2957
+ # source_location_name: "__string", # required
2958
+ # vod_source_name: "__string", # required
2959
+ # }
2960
+ #
2961
+ # @!attribute [rw] http_package_configurations
2962
+ # An array of HTTP package configurations for the VOD source on this
2963
+ # account.
2964
+ # @return [Array<Types::HttpPackageConfiguration>]
2965
+ #
2966
+ # @!attribute [rw] source_location_name
2967
+ # @return [String]
2968
+ #
2969
+ # @!attribute [rw] vod_source_name
2970
+ # @return [String]
2971
+ #
2972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSourceRequest AWS API Documentation
2973
+ #
2974
+ class UpdateVodSourceRequest < Struct.new(
2975
+ :http_package_configurations,
2976
+ :source_location_name,
2977
+ :vod_source_name)
2978
+ SENSITIVE = []
2979
+ include Aws::Structure
2980
+ end
2981
+
2982
+ # @!attribute [rw] arn
2983
+ # @return [String]
2984
+ #
2985
+ # @!attribute [rw] creation_time
2986
+ # @return [Time]
2987
+ #
2988
+ # @!attribute [rw] http_package_configurations
2989
+ # The VOD source's HTTP package configuration settings.
2990
+ # @return [Array<Types::HttpPackageConfiguration>]
2991
+ #
2992
+ # @!attribute [rw] last_modified_time
2993
+ # @return [Time]
2994
+ #
2995
+ # @!attribute [rw] source_location_name
2996
+ # @return [String]
2997
+ #
2998
+ # @!attribute [rw] tags
2999
+ # @return [Hash<String,String>]
3000
+ #
3001
+ # @!attribute [rw] vod_source_name
3002
+ # @return [String]
3003
+ #
3004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSourceResponse AWS API Documentation
3005
+ #
3006
+ class UpdateVodSourceResponse < Struct.new(
3007
+ :arn,
3008
+ :creation_time,
3009
+ :http_package_configurations,
3010
+ :last_modified_time,
3011
+ :source_location_name,
3012
+ :tags,
3013
+ :vod_source_name)
3014
+ SENSITIVE = []
3015
+ include Aws::Structure
3016
+ end
3017
+
3018
+ # VOD source configuration parameters.
3019
+ #
3020
+ # @!attribute [rw] arn
3021
+ # The ARN for the VOD source.
3022
+ # @return [String]
3023
+ #
3024
+ # @!attribute [rw] creation_time
3025
+ # The timestamp that indicates when the VOD source was created.
3026
+ # @return [Time]
3027
+ #
3028
+ # @!attribute [rw] http_package_configurations
3029
+ # The HTTP package configurations for the VOD source.
3030
+ # @return [Array<Types::HttpPackageConfiguration>]
3031
+ #
3032
+ # @!attribute [rw] last_modified_time
3033
+ # The timestamp that indicates when the VOD source was last modified.
3034
+ # @return [Time]
3035
+ #
3036
+ # @!attribute [rw] source_location_name
3037
+ # The name of the source location that the VOD source is associated
3038
+ # with.
3039
+ # @return [String]
3040
+ #
3041
+ # @!attribute [rw] tags
3042
+ # The tags assigned to the VOD source.
3043
+ # @return [Hash<String,String>]
3044
+ #
3045
+ # @!attribute [rw] vod_source_name
3046
+ # The name of the VOD source.
3047
+ # @return [String]
3048
+ #
3049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/VodSource AWS API Documentation
3050
+ #
3051
+ class VodSource < Struct.new(
3052
+ :arn,
3053
+ :creation_time,
3054
+ :http_package_configurations,
3055
+ :last_modified_time,
3056
+ :source_location_name,
3057
+ :tags,
3058
+ :vod_source_name)
3059
+ SENSITIVE = []
3060
+ include Aws::Structure
3061
+ end
3062
+
863
3063
  end
864
3064
  end