aws-sdk-mediatailor 1.39.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63ee783da823a7c1746371e20efe6278b7ad8f2aaa6bb80c62dd869116f7b194
4
- data.tar.gz: 765d838185cd965040120970701e54ca45a9c2c556bdbd12e9f31cb53bf18a9b
3
+ metadata.gz: 344b86411c80fd0c37b1f7ca49cfe2bc4b0dcc82fb70ae4fc31425c7f50803ee
4
+ data.tar.gz: 57242b64139b512d9dda2f3a8eceacf0454e4364547662606d92e268135ee339
5
5
  SHA512:
6
- metadata.gz: ebd71ceeaf95fc25fa30a70603c073541915de41fcf35d3c1d83ef6f9f68100a6f3718fa0492d9b09e6925d562186b8949eb15fe22cf37a9024ebd51e162eff2
7
- data.tar.gz: 32e0c020d1b11cd89c4eef4de35af58c808bda04819fbf1c27b9b858353127acda2f82dbe01456a6f5d365281843212db7a0855637a0e015ccfe54a08111a928
6
+ metadata.gz: 5442b4094f2c49e1e6eae4790cd9ddb2ec6bb01e95193c659604e04ed89442c684dc9ad07c56b67da2bc87a80aba95e6b3c3f7b7ca41a08083803eeb1585fe03
7
+ data.tar.gz: c57c19fd15502c1bdd451bcd3f8ecacb1f11c4f5de7a2e1cd9d4dee13229d8a9f75229da03275e9dfc022c2c5752e014627f9ce80da5b2a545fbe9b5c654bfb9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2021-07-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.42.0 (2021-07-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.41.0 (2021-07-08)
15
+ ------------------
16
+
17
+ * Feature - Add ListAlerts for Channel, Program, Source Location, and VOD Source to return alerts for resources.
18
+
19
+ 1.40.0 (2021-06-23)
20
+ ------------------
21
+
22
+ * Feature - Update GetChannelSchedule to return information on ad breaks.
23
+
4
24
  1.39.0 (2021-06-16)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.43.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
48
48
  # @!group service
49
49
  module Aws::MediaTailor
50
50
 
51
- GEM_VERSION = '1.39.0'
51
+ GEM_VERSION = '1.43.0'
52
52
 
53
53
  end
@@ -1015,6 +1015,11 @@ module Aws::MediaTailor
1015
1015
  # resp.items[0].arn #=> String
1016
1016
  # resp.items[0].channel_name #=> String
1017
1017
  # resp.items[0].program_name #=> String
1018
+ # resp.items[0].schedule_ad_breaks #=> Array
1019
+ # resp.items[0].schedule_ad_breaks[0].approximate_duration_seconds #=> Integer
1020
+ # resp.items[0].schedule_ad_breaks[0].approximate_start_time #=> Time
1021
+ # resp.items[0].schedule_ad_breaks[0].source_location_name #=> String
1022
+ # resp.items[0].schedule_ad_breaks[0].vod_source_name #=> String
1018
1023
  # resp.items[0].source_location_name #=> String
1019
1024
  # resp.items[0].vod_source_name #=> String
1020
1025
  # resp.next_token #=> String
@@ -1098,6 +1103,49 @@ module Aws::MediaTailor
1098
1103
  req.send_request(options)
1099
1104
  end
1100
1105
 
1106
+ # Returns a list of alerts for the given resource.
1107
+ #
1108
+ # @option params [Integer] :max_results
1109
+ #
1110
+ # @option params [String] :next_token
1111
+ #
1112
+ # @option params [required, String] :resource_arn
1113
+ #
1114
+ # @return [Types::ListAlertsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1115
+ #
1116
+ # * {Types::ListAlertsResponse#items #items} => Array<Types::Alert>
1117
+ # * {Types::ListAlertsResponse#next_token #next_token} => String
1118
+ #
1119
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1120
+ #
1121
+ # @example Request syntax with placeholder values
1122
+ #
1123
+ # resp = client.list_alerts({
1124
+ # max_results: 1,
1125
+ # next_token: "__string",
1126
+ # resource_arn: "__string", # required
1127
+ # })
1128
+ #
1129
+ # @example Response structure
1130
+ #
1131
+ # resp.items #=> Array
1132
+ # resp.items[0].alert_code #=> String
1133
+ # resp.items[0].alert_message #=> String
1134
+ # resp.items[0].last_modified_time #=> Time
1135
+ # resp.items[0].related_resource_arns #=> Array
1136
+ # resp.items[0].related_resource_arns[0] #=> String
1137
+ # resp.items[0].resource_arn #=> String
1138
+ # resp.next_token #=> String
1139
+ #
1140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListAlerts AWS API Documentation
1141
+ #
1142
+ # @overload list_alerts(params = {})
1143
+ # @param [Hash] params ({})
1144
+ def list_alerts(params = {}, options = {})
1145
+ req = build_request(:list_alerts, params)
1146
+ req.send_request(options)
1147
+ end
1148
+
1101
1149
  # Retrieves a list of channels that are associated with this account.
1102
1150
  #
1103
1151
  # @option params [Integer] :max_results
@@ -1858,7 +1906,7 @@ module Aws::MediaTailor
1858
1906
  params: params,
1859
1907
  config: config)
1860
1908
  context[:gem_name] = 'aws-sdk-mediatailor'
1861
- context[:gem_version] = '1.39.0'
1909
+ context[:gem_version] = '1.43.0'
1862
1910
  Seahorse::Client::Request.new(handlers, context)
1863
1911
  end
1864
1912
 
@@ -17,6 +17,7 @@ module Aws::MediaTailor
17
17
  AccessType = Shapes::StringShape.new(name: 'AccessType')
18
18
  AdBreak = Shapes::StructureShape.new(name: 'AdBreak')
19
19
  AdMarkerPassthrough = Shapes::StructureShape.new(name: 'AdMarkerPassthrough')
20
+ Alert = Shapes::StructureShape.new(name: 'Alert')
20
21
  AvailSuppression = Shapes::StructureShape.new(name: 'AvailSuppression')
21
22
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
22
23
  Bumper = Shapes::StructureShape.new(name: 'Bumper')
@@ -68,6 +69,8 @@ module Aws::MediaTailor
68
69
  HttpConfiguration = Shapes::StructureShape.new(name: 'HttpConfiguration')
69
70
  HttpPackageConfiguration = Shapes::StructureShape.new(name: 'HttpPackageConfiguration')
70
71
  HttpPackageConfigurations = Shapes::ListShape.new(name: 'HttpPackageConfigurations')
72
+ ListAlertsRequest = Shapes::StructureShape.new(name: 'ListAlertsRequest')
73
+ ListAlertsResponse = Shapes::StructureShape.new(name: 'ListAlertsResponse')
71
74
  ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
72
75
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
73
76
  ListPlaybackConfigurationsRequest = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsRequest')
@@ -95,6 +98,7 @@ module Aws::MediaTailor
95
98
  RequestOutputs = Shapes::ListShape.new(name: 'RequestOutputs')
96
99
  ResponseOutputItem = Shapes::StructureShape.new(name: 'ResponseOutputItem')
97
100
  ResponseOutputs = Shapes::ListShape.new(name: 'ResponseOutputs')
101
+ ScheduleAdBreak = Shapes::StructureShape.new(name: 'ScheduleAdBreak')
98
102
  ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
99
103
  ScheduleEntry = Shapes::StructureShape.new(name: 'ScheduleEntry')
100
104
  SecretsManagerAccessTokenConfiguration = Shapes::StructureShape.new(name: 'SecretsManagerAccessTokenConfiguration')
@@ -120,8 +124,10 @@ module Aws::MediaTailor
120
124
  __integer = Shapes::IntegerShape.new(name: '__integer')
121
125
  __integerMin1 = Shapes::IntegerShape.new(name: '__integerMin1')
122
126
  __listOfAdBreak = Shapes::ListShape.new(name: '__listOfAdBreak')
127
+ __listOfAlert = Shapes::ListShape.new(name: '__listOfAlert')
123
128
  __listOfChannel = Shapes::ListShape.new(name: '__listOfChannel')
124
129
  __listOfPlaybackConfiguration = Shapes::ListShape.new(name: '__listOfPlaybackConfiguration')
130
+ __listOfScheduleAdBreak = Shapes::ListShape.new(name: '__listOfScheduleAdBreak')
125
131
  __listOfScheduleEntry = Shapes::ListShape.new(name: '__listOfScheduleEntry')
126
132
  __listOfSourceLocation = Shapes::ListShape.new(name: '__listOfSourceLocation')
127
133
  __listOfVodSource = Shapes::ListShape.new(name: '__listOfVodSource')
@@ -144,6 +150,13 @@ module Aws::MediaTailor
144
150
  AdMarkerPassthrough.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
145
151
  AdMarkerPassthrough.struct_class = Types::AdMarkerPassthrough
146
152
 
153
+ Alert.add_member(:alert_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "AlertCode"))
154
+ Alert.add_member(:alert_message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "AlertMessage"))
155
+ Alert.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: __timestampUnix, required: true, location_name: "LastModifiedTime"))
156
+ Alert.add_member(:related_resource_arns, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "RelatedResourceArns"))
157
+ Alert.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ResourceArn"))
158
+ Alert.struct_class = Types::Alert
159
+
147
160
  AvailSuppression.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
148
161
  AvailSuppression.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "Value"))
149
162
  AvailSuppression.struct_class = Types::AvailSuppression
@@ -397,6 +410,15 @@ module Aws::MediaTailor
397
410
 
398
411
  HttpPackageConfigurations.member = Shapes::ShapeRef.new(shape: HttpPackageConfiguration)
399
412
 
413
+ ListAlertsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
414
+ ListAlertsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
415
+ ListAlertsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "resourceArn"))
416
+ ListAlertsRequest.struct_class = Types::ListAlertsRequest
417
+
418
+ ListAlertsResponse.add_member(:items, Shapes::ShapeRef.new(shape: __listOfAlert, location_name: "Items"))
419
+ ListAlertsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
420
+ ListAlertsResponse.struct_class = Types::ListAlertsResponse
421
+
400
422
  ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
401
423
  ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
402
424
  ListChannelsRequest.struct_class = Types::ListChannelsRequest
@@ -522,6 +544,12 @@ module Aws::MediaTailor
522
544
 
523
545
  ResponseOutputs.member = Shapes::ShapeRef.new(shape: ResponseOutputItem)
524
546
 
547
+ ScheduleAdBreak.add_member(:approximate_duration_seconds, Shapes::ShapeRef.new(shape: __long, location_name: "ApproximateDurationSeconds"))
548
+ ScheduleAdBreak.add_member(:approximate_start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "ApproximateStartTime"))
549
+ ScheduleAdBreak.add_member(:source_location_name, Shapes::ShapeRef.new(shape: __string, location_name: "SourceLocationName"))
550
+ ScheduleAdBreak.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "VodSourceName"))
551
+ ScheduleAdBreak.struct_class = Types::ScheduleAdBreak
552
+
525
553
  ScheduleConfiguration.add_member(:transition, Shapes::ShapeRef.new(shape: Transition, required: true, location_name: "Transition"))
526
554
  ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
527
555
 
@@ -530,6 +558,7 @@ module Aws::MediaTailor
530
558
  ScheduleEntry.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
531
559
  ScheduleEntry.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelName"))
532
560
  ScheduleEntry.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProgramName"))
561
+ ScheduleEntry.add_member(:schedule_ad_breaks, Shapes::ShapeRef.new(shape: __listOfScheduleAdBreak, location_name: "ScheduleAdBreaks"))
533
562
  ScheduleEntry.add_member(:source_location_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "SourceLocationName"))
534
563
  ScheduleEntry.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "VodSourceName"))
535
564
  ScheduleEntry.struct_class = Types::ScheduleEntry
@@ -637,10 +666,14 @@ module Aws::MediaTailor
637
666
 
638
667
  __listOfAdBreak.member = Shapes::ShapeRef.new(shape: AdBreak)
639
668
 
669
+ __listOfAlert.member = Shapes::ShapeRef.new(shape: Alert)
670
+
640
671
  __listOfChannel.member = Shapes::ShapeRef.new(shape: Channel)
641
672
 
642
673
  __listOfPlaybackConfiguration.member = Shapes::ShapeRef.new(shape: PlaybackConfiguration)
643
674
 
675
+ __listOfScheduleAdBreak.member = Shapes::ShapeRef.new(shape: ScheduleAdBreak)
676
+
644
677
  __listOfScheduleEntry.member = Shapes::ShapeRef.new(shape: ScheduleEntry)
645
678
 
646
679
  __listOfSourceLocation.member = Shapes::ShapeRef.new(shape: SourceLocation)
@@ -813,6 +846,20 @@ module Aws::MediaTailor
813
846
  o.output = Shapes::ShapeRef.new(shape: GetPlaybackConfigurationResponse)
814
847
  end)
815
848
 
849
+ api.add_operation(:list_alerts, Seahorse::Model::Operation.new.tap do |o|
850
+ o.name = "ListAlerts"
851
+ o.http_method = "GET"
852
+ o.http_request_uri = "/alerts"
853
+ o.input = Shapes::ShapeRef.new(shape: ListAlertsRequest)
854
+ o.output = Shapes::ShapeRef.new(shape: ListAlertsResponse)
855
+ o[:pager] = Aws::Pager.new(
856
+ limit_key: "max_results",
857
+ tokens: {
858
+ "next_token" => "next_token"
859
+ }
860
+ )
861
+ end)
862
+
816
863
  api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
817
864
  o.name = "ListChannels"
818
865
  o.http_method = "GET"
@@ -144,6 +144,41 @@ module Aws::MediaTailor
144
144
  include Aws::Structure
145
145
  end
146
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
+
147
182
  # The configuration for avail suppression, also known as ad suppression.
148
183
  # For more information about ad suppression, see [Ad Suppression][1].
149
184
  #
@@ -1638,6 +1673,54 @@ module Aws::MediaTailor
1638
1673
  include Aws::Structure
1639
1674
  end
1640
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
+
1641
1724
  # @note When making an API call, you may pass ListChannelsRequest
1642
1725
  # data as a hash:
1643
1726
  #
@@ -2459,6 +2542,36 @@ module Aws::MediaTailor
2459
2542
  include Aws::Structure
2460
2543
  end
2461
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
+
2462
2575
  # Schedule configuration parameters. A channel must be stopped before
2463
2576
  # changes can be made to the schedule.
2464
2577
  #
@@ -2507,6 +2620,10 @@ module Aws::MediaTailor
2507
2620
  # The name of the program.
2508
2621
  # @return [String]
2509
2622
  #
2623
+ # @!attribute [rw] schedule_ad_breaks
2624
+ # The schedule's ad break properties.
2625
+ # @return [Array<Types::ScheduleAdBreak>]
2626
+ #
2510
2627
  # @!attribute [rw] source_location_name
2511
2628
  # The name of the source location.
2512
2629
  # @return [String]
@@ -2523,6 +2640,7 @@ module Aws::MediaTailor
2523
2640
  :arn,
2524
2641
  :channel_name,
2525
2642
  :program_name,
2643
+ :schedule_ad_breaks,
2526
2644
  :source_location_name,
2527
2645
  :vod_source_name)
2528
2646
  SENSITIVE = []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediatailor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.39.0
4
+ version: 1.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-16 00:00:00.000000000 Z
11
+ date: 2021-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.112.0
22
+ version: 3.119.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.112.0
32
+ version: 3.119.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement