aws-sdk-mediatailor 1.57.0 → 1.59.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: e34347c618ee547ffc24f5d0645444fcd2b5084928b398a7c82d6855eb28da7f
4
- data.tar.gz: cbfb17edac20116d6c8be3b7a717a804c09967cac70e24544db35faee9c72926
3
+ metadata.gz: 5a410a7034e92b2873860c2dd477fa3d5f0f266263505f78a5a98f0ec4d64e68
4
+ data.tar.gz: df5495059c315e0fa976131fd48d4ea8312b756ea5f424cf0126677451ca15a8
5
5
  SHA512:
6
- metadata.gz: 2cd34af5fac060cf59f6dc200be063d409a5129265a884b03b969deec0562951482e2d1558a592afb847669526b2ebcf008da9800885819a3d4dcb86acde9bdb
7
- data.tar.gz: ec103cd04dc4998a052f24dc3760e980091ce66d4d8e2cc1112a0f48b1253cef17f9a7e476842fa6b3ffc33ea409fbcd95bc3e5291d5505c6abb59a1812d1399
6
+ metadata.gz: 627c7cf7d55ff45706b2e85fff68f468ab7350df8bbecd0e424e31008315d54ceb84375b49fd7b46a309bf57a4358237c2026f61d931fc9645618aa7105a13d1
7
+ data.tar.gz: fa3972f14846c4635c2ccc6f2ffa119cc9cf785c876ed2682ade12e297b9377e7c9cb98a03d7350932a0aa562b8f599f001df1024b7574d5450d7118c7601496
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2023-01-27)
5
+ ------------------
6
+
7
+ * Feature - This release introduces the As Run logging type, along with API and documentation updates.
8
+
9
+ 1.58.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.57.0 (2022-10-28)
5
17
  ------------------
6
18
 
@@ -300,4 +312,4 @@ Unreleased Changes
300
312
  1.0.0 (2018-06-01)
301
313
  ------------------
302
314
 
303
- * Feature - Initial release of `aws-sdk-mediatailor`.
315
+ * Feature - Initial release of `aws-sdk-mediatailor`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.59.0
@@ -368,6 +368,41 @@ module Aws::MediaTailor
368
368
 
369
369
  # @!group API Operations
370
370
 
371
+ # Configures Amazon CloudWatch log settings for a channel.
372
+ #
373
+ # @option params [required, String] :channel_name
374
+ # The name of the channel.
375
+ #
376
+ # @option params [required, Array<String>] :log_types
377
+ # The types of logs to collect.
378
+ #
379
+ # @return [Types::ConfigureLogsForChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
380
+ #
381
+ # * {Types::ConfigureLogsForChannelResponse#channel_name #channel_name} => String
382
+ # * {Types::ConfigureLogsForChannelResponse#log_types #log_types} => Array&lt;String&gt;
383
+ #
384
+ # @example Request syntax with placeholder values
385
+ #
386
+ # resp = client.configure_logs_for_channel({
387
+ # channel_name: "__string", # required
388
+ # log_types: ["AS_RUN"], # required, accepts AS_RUN
389
+ # })
390
+ #
391
+ # @example Response structure
392
+ #
393
+ # resp.channel_name #=> String
394
+ # resp.log_types #=> Array
395
+ # resp.log_types[0] #=> String, one of "AS_RUN"
396
+ #
397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForChannel AWS API Documentation
398
+ #
399
+ # @overload configure_logs_for_channel(params = {})
400
+ # @param [Hash] params ({})
401
+ def configure_logs_for_channel(params = {}, options = {})
402
+ req = build_request(:configure_logs_for_channel, params)
403
+ req.send_request(options)
404
+ end
405
+
371
406
  # Amazon CloudWatch log settings for a playback configuration.
372
407
  #
373
408
  # @option params [required, Integer] :percent_enabled
@@ -1239,6 +1274,7 @@ module Aws::MediaTailor
1239
1274
  # * {Types::DescribeChannelResponse#creation_time #creation_time} => Time
1240
1275
  # * {Types::DescribeChannelResponse#filler_slate #filler_slate} => Types::SlateSource
1241
1276
  # * {Types::DescribeChannelResponse#last_modified_time #last_modified_time} => Time
1277
+ # * {Types::DescribeChannelResponse#log_configuration #log_configuration} => Types::LogConfigurationForChannel
1242
1278
  # * {Types::DescribeChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
1243
1279
  # * {Types::DescribeChannelResponse#playback_mode #playback_mode} => String
1244
1280
  # * {Types::DescribeChannelResponse#tags #tags} => Hash&lt;String,String&gt;
@@ -1259,6 +1295,8 @@ module Aws::MediaTailor
1259
1295
  # resp.filler_slate.source_location_name #=> String
1260
1296
  # resp.filler_slate.vod_source_name #=> String
1261
1297
  # resp.last_modified_time #=> Time
1298
+ # resp.log_configuration.log_types #=> Array
1299
+ # resp.log_configuration.log_types[0] #=> String, one of "AS_RUN"
1262
1300
  # resp.outputs #=> Array
1263
1301
  # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1264
1302
  # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
@@ -1835,6 +1873,8 @@ module Aws::MediaTailor
1835
1873
  # resp.items[0].filler_slate.source_location_name #=> String
1836
1874
  # resp.items[0].filler_slate.vod_source_name #=> String
1837
1875
  # resp.items[0].last_modified_time #=> Time
1876
+ # resp.items[0].log_configuration.log_types #=> Array
1877
+ # resp.items[0].log_configuration.log_types[0] #=> String, one of "AS_RUN"
1838
1878
  # resp.items[0].outputs #=> Array
1839
1879
  # resp.items[0].outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1840
1880
  # resp.items[0].outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
@@ -2879,7 +2919,7 @@ module Aws::MediaTailor
2879
2919
  params: params,
2880
2920
  config: config)
2881
2921
  context[:gem_name] = 'aws-sdk-mediatailor'
2882
- context[:gem_version] = '1.57.0'
2922
+ context[:gem_version] = '1.59.0'
2883
2923
  Seahorse::Client::Request.new(handlers, context)
2884
2924
  end
2885
2925
 
@@ -27,6 +27,8 @@ module Aws::MediaTailor
27
27
  ChannelState = Shapes::StringShape.new(name: 'ChannelState')
28
28
  ConfigurationAliasesRequest = Shapes::MapShape.new(name: 'ConfigurationAliasesRequest')
29
29
  ConfigurationAliasesResponse = Shapes::MapShape.new(name: 'ConfigurationAliasesResponse')
30
+ ConfigureLogsForChannelRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForChannelRequest')
31
+ ConfigureLogsForChannelResponse = Shapes::StructureShape.new(name: 'ConfigureLogsForChannelResponse')
30
32
  ConfigureLogsForPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationRequest')
31
33
  ConfigureLogsForPlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationResponse')
32
34
  CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
@@ -104,6 +106,9 @@ module Aws::MediaTailor
104
106
  LivePreRollConfiguration = Shapes::StructureShape.new(name: 'LivePreRollConfiguration')
105
107
  LiveSource = Shapes::StructureShape.new(name: 'LiveSource')
106
108
  LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
109
+ LogConfigurationForChannel = Shapes::StructureShape.new(name: 'LogConfigurationForChannel')
110
+ LogType = Shapes::StringShape.new(name: 'LogType')
111
+ LogTypes = Shapes::ListShape.new(name: 'LogTypes')
107
112
  ManifestProcessingRules = Shapes::StructureShape.new(name: 'ManifestProcessingRules')
108
113
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
109
114
  MessageType = Shapes::StringShape.new(name: 'MessageType')
@@ -223,6 +228,7 @@ module Aws::MediaTailor
223
228
  Channel.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
224
229
  Channel.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
225
230
  Channel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "LastModifiedTime"))
231
+ Channel.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfigurationForChannel, required: true, location_name: "LogConfiguration"))
226
232
  Channel.add_member(:outputs, Shapes::ShapeRef.new(shape: ResponseOutputs, required: true, location_name: "Outputs"))
227
233
  Channel.add_member(:playback_mode, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackMode"))
228
234
  Channel.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
@@ -235,6 +241,14 @@ module Aws::MediaTailor
235
241
  ConfigurationAliasesResponse.key = Shapes::ShapeRef.new(shape: __string)
236
242
  ConfigurationAliasesResponse.value = Shapes::ShapeRef.new(shape: __mapOf__string)
237
243
 
244
+ ConfigureLogsForChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelName"))
245
+ ConfigureLogsForChannelRequest.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, required: true, location_name: "LogTypes"))
246
+ ConfigureLogsForChannelRequest.struct_class = Types::ConfigureLogsForChannelRequest
247
+
248
+ ConfigureLogsForChannelResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
249
+ ConfigureLogsForChannelResponse.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "LogTypes"))
250
+ ConfigureLogsForChannelResponse.struct_class = Types::ConfigureLogsForChannelResponse
251
+
238
252
  ConfigureLogsForPlaybackConfigurationRequest.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
239
253
  ConfigureLogsForPlaybackConfigurationRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackConfigurationName"))
240
254
  ConfigureLogsForPlaybackConfigurationRequest.struct_class = Types::ConfigureLogsForPlaybackConfigurationRequest
@@ -418,6 +432,7 @@ module Aws::MediaTailor
418
432
  DescribeChannelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
419
433
  DescribeChannelResponse.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
420
434
  DescribeChannelResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "LastModifiedTime"))
435
+ DescribeChannelResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfigurationForChannel, required: true, location_name: "LogConfiguration"))
421
436
  DescribeChannelResponse.add_member(:outputs, Shapes::ShapeRef.new(shape: ResponseOutputs, location_name: "Outputs"))
422
437
  DescribeChannelResponse.add_member(:playback_mode, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackMode"))
423
438
  DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
@@ -630,6 +645,11 @@ module Aws::MediaTailor
630
645
  LogConfiguration.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
631
646
  LogConfiguration.struct_class = Types::LogConfiguration
632
647
 
648
+ LogConfigurationForChannel.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "LogTypes"))
649
+ LogConfigurationForChannel.struct_class = Types::LogConfigurationForChannel
650
+
651
+ LogTypes.member = Shapes::ShapeRef.new(shape: LogType)
652
+
633
653
  ManifestProcessingRules.add_member(:ad_marker_passthrough, Shapes::ShapeRef.new(shape: AdMarkerPassthrough, location_name: "AdMarkerPassthrough"))
634
654
  ManifestProcessingRules.struct_class = Types::ManifestProcessingRules
635
655
 
@@ -943,6 +963,14 @@ module Aws::MediaTailor
943
963
  "uid" => "mediatailor-2018-04-23",
944
964
  }
945
965
 
966
+ api.add_operation(:configure_logs_for_channel, Seahorse::Model::Operation.new.tap do |o|
967
+ o.name = "ConfigureLogsForChannel"
968
+ o.http_method = "PUT"
969
+ o.http_request_uri = "/configureLogs/channel"
970
+ o.input = Shapes::ShapeRef.new(shape: ConfigureLogsForChannelRequest)
971
+ o.output = Shapes::ShapeRef.new(shape: ConfigureLogsForChannelResponse)
972
+ end)
973
+
946
974
  api.add_operation(:configure_logs_for_playback_configuration, Seahorse::Model::Operation.new.tap do |o|
947
975
  o.name = "ConfigureLogsForPlaybackConfiguration"
948
976
  o.http_method = "PUT"
@@ -50,6 +50,9 @@ module Aws::MediaTailor
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::MediaTailor
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaX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7InVybCI6
100
- Imh0dHBzOi8vYXBpLm1lZGlhdGFpbG9yLntSZWdpb259LntQYXJ0aXRpb25S
101
- ZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJo
102
- ZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25z
103
- IjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBw
104
- YXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoi
105
- ZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6
106
- Imh0dHBzOi8vYXBpLm1lZGlhdGFpbG9yLntSZWdpb259LntQYXJ0aXRpb25S
107
- ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
108
- fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -11,6 +11,20 @@
11
11
  module Aws::MediaTailor
12
12
  module Endpoints
13
13
 
14
+ class ConfigureLogsForChannel
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::MediaTailor::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
14
28
  class ConfigureLogsForPlaybackConfiguration
15
29
  def self.build(context)
16
30
  unless context.config.regional_endpoint
@@ -56,6 +56,8 @@ module Aws::MediaTailor
56
56
 
57
57
  def parameters_for_operation(context)
58
58
  case context.operation_name
59
+ when :configure_logs_for_channel
60
+ Aws::MediaTailor::Endpoints::ConfigureLogsForChannel.build(context)
59
61
  when :configure_logs_for_playback_configuration
60
62
  Aws::MediaTailor::Endpoints::ConfigureLogsForPlaybackConfiguration.build(context)
61
63
  when :create_channel