aws-sdk-mediatailor 1.36.0 → 1.41.0

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