aws-sdk-mediatailor 1.38.0 → 1.42.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f53b1de18cb14958e5282b0b02934c54c48ca6bf0121b118aaec63131bcca4b3
4
- data.tar.gz: 9fe01d9d6afb7603fdf1f1cd2a3b8d726890ccbdd3380673883727986c288333
3
+ metadata.gz: b1b49317f9a9ba43d6664b23dbc8ceef26358e7f3ad3aa0d9cfb8b77c1be48c5
4
+ data.tar.gz: 9e886c2cd777dabd4bada18ea2051103375e6c926cf4957aac6f225a5c4899ca
5
5
  SHA512:
6
- metadata.gz: 4ad621c45a32e66245a55ed806a75af7ab28c8e89ec2b5149dedd3597f80909b95d63e856a9608cb284ab0e2ebf2776532d6a4d1f5bf79d54190c9a1155f9988
7
- data.tar.gz: 34c8e372fdb06e33228b14f844defad28a4951c06ea8b99a6101898755d148affbd9220898d88e016cf684cf2547d2677e580b23d555634193120fe792e3ca5f
6
+ metadata.gz: 9cbd31bcbbc5cadde44c4035b784b53bbe3ca34ab156a11b00daa160b402d0d97e71c375270785c768689be98a772da1a66b947f8739c911279fa93381c8fa22
7
+ data.tar.gz: 03e1b9a1e762e08b637745528cf60d8416f4d70bd54a39133b6e11a0006523f9aa22df6818ab352e2fad5d83e6be1b9a37580a98bc175d17321cef18d1596593
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.41.0 (2021-07-08)
10
+ ------------------
11
+
12
+ * Feature - Add ListAlerts for Channel, Program, Source Location, and VOD Source to return alerts for resources.
13
+
14
+ 1.40.0 (2021-06-23)
15
+ ------------------
16
+
17
+ * Feature - Update GetChannelSchedule to return information on ad breaks.
18
+
19
+ 1.39.0 (2021-06-16)
20
+ ------------------
21
+
22
+ * Feature - Adds AWS Secrets Manager Access Token Authentication for Source Locations
23
+
4
24
  1.38.0 (2021-03-16)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.42.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.38.0'
51
+ GEM_VERSION = '1.42.0'
52
52
 
53
53
  end
@@ -525,7 +525,12 @@ module Aws::MediaTailor
525
525
  #
526
526
  # resp = client.create_source_location({
527
527
  # access_configuration: {
528
- # access_type: "S3_SIGV4", # accepts S3_SIGV4
528
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4, SECRETS_MANAGER_ACCESS_TOKEN
529
+ # secrets_manager_access_token_configuration: {
530
+ # header_name: "__string",
531
+ # secret_arn: "__string",
532
+ # secret_string_key: "__string",
533
+ # },
529
534
  # },
530
535
  # default_segment_delivery_configuration: {
531
536
  # base_url: "__string",
@@ -541,7 +546,10 @@ module Aws::MediaTailor
541
546
  #
542
547
  # @example Response structure
543
548
  #
544
- # resp.access_configuration.access_type #=> String, one of "S3_SIGV4"
549
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
550
+ # resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
551
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
552
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
545
553
  # resp.arn #=> String
546
554
  # resp.creation_time #=> Time
547
555
  # resp.default_segment_delivery_configuration.base_url #=> String
@@ -877,7 +885,10 @@ module Aws::MediaTailor
877
885
  #
878
886
  # @example Response structure
879
887
  #
880
- # resp.access_configuration.access_type #=> String, one of "S3_SIGV4"
888
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
889
+ # resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
890
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
891
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
881
892
  # resp.arn #=> String
882
893
  # resp.creation_time #=> Time
883
894
  # resp.default_segment_delivery_configuration.base_url #=> String
@@ -1004,6 +1015,11 @@ module Aws::MediaTailor
1004
1015
  # resp.items[0].arn #=> String
1005
1016
  # resp.items[0].channel_name #=> String
1006
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
1007
1023
  # resp.items[0].source_location_name #=> String
1008
1024
  # resp.items[0].vod_source_name #=> String
1009
1025
  # resp.next_token #=> String
@@ -1087,6 +1103,49 @@ module Aws::MediaTailor
1087
1103
  req.send_request(options)
1088
1104
  end
1089
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
+
1090
1149
  # Retrieves a list of channels that are associated with this account.
1091
1150
  #
1092
1151
  # @option params [Integer] :max_results
@@ -1227,7 +1286,10 @@ module Aws::MediaTailor
1227
1286
  # @example Response structure
1228
1287
  #
1229
1288
  # resp.items #=> Array
1230
- # resp.items[0].access_configuration.access_type #=> String, one of "S3_SIGV4"
1289
+ # resp.items[0].access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
1290
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.header_name #=> String
1291
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
1292
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
1231
1293
  # resp.items[0].arn #=> String
1232
1294
  # resp.items[0].creation_time #=> Time
1233
1295
  # resp.items[0].default_segment_delivery_configuration.base_url #=> String
@@ -1734,7 +1796,12 @@ module Aws::MediaTailor
1734
1796
  #
1735
1797
  # resp = client.update_source_location({
1736
1798
  # access_configuration: {
1737
- # access_type: "S3_SIGV4", # accepts S3_SIGV4
1799
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4, SECRETS_MANAGER_ACCESS_TOKEN
1800
+ # secrets_manager_access_token_configuration: {
1801
+ # header_name: "__string",
1802
+ # secret_arn: "__string",
1803
+ # secret_string_key: "__string",
1804
+ # },
1738
1805
  # },
1739
1806
  # default_segment_delivery_configuration: {
1740
1807
  # base_url: "__string",
@@ -1747,7 +1814,10 @@ module Aws::MediaTailor
1747
1814
  #
1748
1815
  # @example Response structure
1749
1816
  #
1750
- # resp.access_configuration.access_type #=> String, one of "S3_SIGV4"
1817
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
1818
+ # resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
1819
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
1820
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
1751
1821
  # resp.arn #=> String
1752
1822
  # resp.creation_time #=> Time
1753
1823
  # resp.default_segment_delivery_configuration.base_url #=> String
@@ -1836,7 +1906,7 @@ module Aws::MediaTailor
1836
1906
  params: params,
1837
1907
  config: config)
1838
1908
  context[:gem_name] = 'aws-sdk-mediatailor'
1839
- context[:gem_version] = '1.38.0'
1909
+ context[:gem_version] = '1.42.0'
1840
1910
  Seahorse::Client::Request.new(handlers, context)
1841
1911
  end
1842
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,8 +98,10 @@ 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')
104
+ SecretsManagerAccessTokenConfiguration = Shapes::StructureShape.new(name: 'SecretsManagerAccessTokenConfiguration')
100
105
  SlateSource = Shapes::StructureShape.new(name: 'SlateSource')
101
106
  SourceLocation = Shapes::StructureShape.new(name: 'SourceLocation')
102
107
  SpliceInsertMessage = Shapes::StructureShape.new(name: 'SpliceInsertMessage')
@@ -119,8 +124,10 @@ module Aws::MediaTailor
119
124
  __integer = Shapes::IntegerShape.new(name: '__integer')
120
125
  __integerMin1 = Shapes::IntegerShape.new(name: '__integerMin1')
121
126
  __listOfAdBreak = Shapes::ListShape.new(name: '__listOfAdBreak')
127
+ __listOfAlert = Shapes::ListShape.new(name: '__listOfAlert')
122
128
  __listOfChannel = Shapes::ListShape.new(name: '__listOfChannel')
123
129
  __listOfPlaybackConfiguration = Shapes::ListShape.new(name: '__listOfPlaybackConfiguration')
130
+ __listOfScheduleAdBreak = Shapes::ListShape.new(name: '__listOfScheduleAdBreak')
124
131
  __listOfScheduleEntry = Shapes::ListShape.new(name: '__listOfScheduleEntry')
125
132
  __listOfSourceLocation = Shapes::ListShape.new(name: '__listOfSourceLocation')
126
133
  __listOfVodSource = Shapes::ListShape.new(name: '__listOfVodSource')
@@ -131,6 +138,7 @@ module Aws::MediaTailor
131
138
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
132
139
 
133
140
  AccessConfiguration.add_member(:access_type, Shapes::ShapeRef.new(shape: AccessType, location_name: "AccessType"))
141
+ AccessConfiguration.add_member(:secrets_manager_access_token_configuration, Shapes::ShapeRef.new(shape: SecretsManagerAccessTokenConfiguration, location_name: "SecretsManagerAccessTokenConfiguration"))
134
142
  AccessConfiguration.struct_class = Types::AccessConfiguration
135
143
 
136
144
  AdBreak.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
@@ -142,6 +150,13 @@ module Aws::MediaTailor
142
150
  AdMarkerPassthrough.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
143
151
  AdMarkerPassthrough.struct_class = Types::AdMarkerPassthrough
144
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
+
145
160
  AvailSuppression.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
146
161
  AvailSuppression.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "Value"))
147
162
  AvailSuppression.struct_class = Types::AvailSuppression
@@ -395,6 +410,15 @@ module Aws::MediaTailor
395
410
 
396
411
  HttpPackageConfigurations.member = Shapes::ShapeRef.new(shape: HttpPackageConfiguration)
397
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
+
398
422
  ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
399
423
  ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
400
424
  ListChannelsRequest.struct_class = Types::ListChannelsRequest
@@ -520,6 +544,12 @@ module Aws::MediaTailor
520
544
 
521
545
  ResponseOutputs.member = Shapes::ShapeRef.new(shape: ResponseOutputItem)
522
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
+
523
553
  ScheduleConfiguration.add_member(:transition, Shapes::ShapeRef.new(shape: Transition, required: true, location_name: "Transition"))
524
554
  ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
525
555
 
@@ -528,10 +558,16 @@ module Aws::MediaTailor
528
558
  ScheduleEntry.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
529
559
  ScheduleEntry.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelName"))
530
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"))
531
562
  ScheduleEntry.add_member(:source_location_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "SourceLocationName"))
532
563
  ScheduleEntry.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "VodSourceName"))
533
564
  ScheduleEntry.struct_class = Types::ScheduleEntry
534
565
 
566
+ SecretsManagerAccessTokenConfiguration.add_member(:header_name, Shapes::ShapeRef.new(shape: __string, location_name: "HeaderName"))
567
+ SecretsManagerAccessTokenConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SecretArn"))
568
+ SecretsManagerAccessTokenConfiguration.add_member(:secret_string_key, Shapes::ShapeRef.new(shape: __string, location_name: "SecretStringKey"))
569
+ SecretsManagerAccessTokenConfiguration.struct_class = Types::SecretsManagerAccessTokenConfiguration
570
+
535
571
  SlateSource.add_member(:source_location_name, Shapes::ShapeRef.new(shape: __string, location_name: "SourceLocationName"))
536
572
  SlateSource.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "VodSourceName"))
537
573
  SlateSource.struct_class = Types::SlateSource
@@ -630,10 +666,14 @@ module Aws::MediaTailor
630
666
 
631
667
  __listOfAdBreak.member = Shapes::ShapeRef.new(shape: AdBreak)
632
668
 
669
+ __listOfAlert.member = Shapes::ShapeRef.new(shape: Alert)
670
+
633
671
  __listOfChannel.member = Shapes::ShapeRef.new(shape: Channel)
634
672
 
635
673
  __listOfPlaybackConfiguration.member = Shapes::ShapeRef.new(shape: PlaybackConfiguration)
636
674
 
675
+ __listOfScheduleAdBreak.member = Shapes::ShapeRef.new(shape: ScheduleAdBreak)
676
+
637
677
  __listOfScheduleEntry.member = Shapes::ShapeRef.new(shape: ScheduleEntry)
638
678
 
639
679
  __listOfSourceLocation.member = Shapes::ShapeRef.new(shape: SourceLocation)
@@ -806,6 +846,20 @@ module Aws::MediaTailor
806
846
  o.output = Shapes::ShapeRef.new(shape: GetPlaybackConfigurationResponse)
807
847
  end)
808
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
+
809
863
  api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
810
864
  o.name = "ListChannels"
811
865
  o.http_method = "GET"
@@ -16,7 +16,12 @@ module Aws::MediaTailor
16
16
  # data as a hash:
17
17
  #
18
18
  # {
19
- # access_type: "S3_SIGV4", # accepts S3_SIGV4
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
+ # },
20
25
  # }
21
26
  #
22
27
  # @!attribute [rw] access_type
@@ -48,10 +53,15 @@ module Aws::MediaTailor
48
53
  # VodSource packaging configurations.
49
54
  # @return [String]
50
55
  #
56
+ # @!attribute [rw] secrets_manager_access_token_configuration
57
+ # AWS Secrets Manager access token configuration parameters.
58
+ # @return [Types::SecretsManagerAccessTokenConfiguration]
59
+ #
51
60
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AccessConfiguration AWS API Documentation
52
61
  #
53
62
  class AccessConfiguration < Struct.new(
54
- :access_type)
63
+ :access_type,
64
+ :secrets_manager_access_token_configuration)
55
65
  SENSITIVE = []
56
66
  include Aws::Structure
57
67
  end
@@ -134,6 +144,41 @@ module Aws::MediaTailor
134
144
  include Aws::Structure
135
145
  end
136
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
+
137
182
  # The configuration for avail suppression, also known as ad suppression.
138
183
  # For more information about ad suppression, see [Ad Suppression][1].
139
184
  #
@@ -522,7 +567,12 @@ module Aws::MediaTailor
522
567
  #
523
568
  # {
524
569
  # access_configuration: {
525
- # access_type: "S3_SIGV4", # accepts S3_SIGV4
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
+ # },
526
576
  # },
527
577
  # default_segment_delivery_configuration: {
528
578
  # base_url: "__string",
@@ -1623,6 +1673,54 @@ module Aws::MediaTailor
1623
1673
  include Aws::Structure
1624
1674
  end
1625
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
+
1626
1724
  # @note When making an API call, you may pass ListChannelsRequest
1627
1725
  # data as a hash:
1628
1726
  #
@@ -2444,6 +2542,36 @@ module Aws::MediaTailor
2444
2542
  include Aws::Structure
2445
2543
  end
2446
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
+
2447
2575
  # Schedule configuration parameters. A channel must be stopped before
2448
2576
  # changes can be made to the schedule.
2449
2577
  #
@@ -2492,6 +2620,10 @@ module Aws::MediaTailor
2492
2620
  # The name of the program.
2493
2621
  # @return [String]
2494
2622
  #
2623
+ # @!attribute [rw] schedule_ad_breaks
2624
+ # The schedule's ad break properties.
2625
+ # @return [Array<Types::ScheduleAdBreak>]
2626
+ #
2495
2627
  # @!attribute [rw] source_location_name
2496
2628
  # The name of the source location.
2497
2629
  # @return [String]
@@ -2508,12 +2640,60 @@ module Aws::MediaTailor
2508
2640
  :arn,
2509
2641
  :channel_name,
2510
2642
  :program_name,
2643
+ :schedule_ad_breaks,
2511
2644
  :source_location_name,
2512
2645
  :vod_source_name)
2513
2646
  SENSITIVE = []
2514
2647
  include Aws::Structure
2515
2648
  end
2516
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
+ # }
2666
+ #
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]
2671
+ #
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]
2676
+ #
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.
2681
+ #
2682
+ #
2683
+ #
2684
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_CreateSecret.html#SecretsManager-CreateSecret-request-SecretString.html
2685
+ # @return [String]
2686
+ #
2687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/SecretsManagerAccessTokenConfiguration AWS API Documentation
2688
+ #
2689
+ class SecretsManagerAccessTokenConfiguration < Struct.new(
2690
+ :header_name,
2691
+ :secret_arn,
2692
+ :secret_string_key)
2693
+ SENSITIVE = []
2694
+ include Aws::Structure
2695
+ end
2696
+
2517
2697
  # Slate VOD source configuration.
2518
2698
  #
2519
2699
  # @note When making an API call, you may pass SlateSource
@@ -2855,7 +3035,12 @@ module Aws::MediaTailor
2855
3035
  #
2856
3036
  # {
2857
3037
  # access_configuration: {
2858
- # access_type: "S3_SIGV4", # accepts S3_SIGV4
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
+ # },
2859
3044
  # },
2860
3045
  # default_segment_delivery_configuration: {
2861
3046
  # base_url: "__string",
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.38.0
4
+ version: 1.42.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-03-16 00:00:00.000000000 Z
11
+ date: 2021-07-28 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.118.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.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-mediatailor
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-mediatailor/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediatailor
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediatailor/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubyforge_project:
87
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: AWS SDK for Ruby - MediaTailor