aws-sdk-ivs 1.89.0 → 1.91.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: a8a3c67b7b3cf0b4e61dbb126d11a388c6186aa2b487f8e3e9b3fc6400499e69
4
- data.tar.gz: de450decadb176ca717fd0784f5130655125703c30f7aa239dda62b8ad60dd4c
3
+ metadata.gz: aa8a240bfa1f19a9b7b9b041d35d7d1a47fd8ccbbe903a539e5777946fa38d11
4
+ data.tar.gz: 4684f44eb09776dc6b4939bd546534aa5d6b547243e6a0df7f63a5a0051fe174
5
5
  SHA512:
6
- metadata.gz: 7fe47f14704ff3bdd9ab49a96e172dda4eee3de2d123b42895460139729ce563fef29c994d2b18ed884e6a199b345ac1fb572ba74bceeda14454cb2663aa0ea2
7
- data.tar.gz: bba6aa3d7eaccdf17fbd442441e1f6010bcff581e7abd79c6cd4f9fc2e5281778a64cc7322ae58f18d0a4b68ec7e84a19dc012499708bbb55792956d28e284a9
6
+ metadata.gz: '018d72d1afca32f9366359beb017abefc1b2898a79caea9f147d145ccd7a7412f5b9a186ba0e149a2b567a638409fc17d418f2e6ba73c4eca71d6315de59bf48'
7
+ data.tar.gz: d0b82c8c8ea6c845606de52c0993388ac26413fe7ff6666e77b3252aa33fdebdd85efba0d21b165a0c2ade053ea1df334248c7f1df5d0d00fcbad2d5b31386fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.91.0 (2026-07-09)
5
+ ------------------
6
+
7
+ * Feature - adds support for AWS IVS ad configuration APIs to allow for a postRollConfiguration object on the ad configuration resource
8
+
9
+ 1.90.0 (2026-06-04)
10
+ ------------------
11
+
12
+ * Feature - adds UpdateAdConfiguration operation to AWS IVS low-latency APIs
13
+
4
14
  1.89.0 (2026-05-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.89.0
1
+ 1.91.0
@@ -653,7 +653,19 @@ module Aws::IVS
653
653
  # Ad configuration name. Defaults to “”.
654
654
  #
655
655
  # @option params [required, Array<Types::MediaTailorPlaybackConfiguration>] :media_tailor_playback_configurations
656
- # List of integration configurations with media tailor resources.
656
+ # List of integration configurations with MediaTailor resources. The
657
+ # first item in the list is the default playback configuration used for
658
+ # the ad configuration. To select a different configuration per viewing
659
+ # session, see [Generate and Sign IVS Playback Tokens][1].
660
+ #
661
+ #
662
+ #
663
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
664
+ #
665
+ # @option params [Types::PostRollConfiguration] :post_roll_configuration
666
+ # Configuration for the post-roll ad break to use for this ad
667
+ # configuration. Default: disabled (`enabled` set to false,
668
+ # `durationSeconds` set to 15).
657
669
  #
658
670
  # @option params [Hash<String,String>] :tags
659
671
  # Array of 1-50 maps, each of the form `string:string (key:value)`. See
@@ -679,6 +691,10 @@ module Aws::IVS
679
691
  # playback_configuration_arn: "MediaTailorPlaybackConfigurationArn",
680
692
  # },
681
693
  # ],
694
+ # post_roll_configuration: {
695
+ # duration_seconds: 1, # required
696
+ # enabled: false, # required
697
+ # },
682
698
  # tags: {
683
699
  # "TagKey" => "TagValue",
684
700
  # },
@@ -690,6 +706,8 @@ module Aws::IVS
690
706
  # resp.ad_configuration.name #=> String
691
707
  # resp.ad_configuration.media_tailor_playback_configurations #=> Array
692
708
  # resp.ad_configuration.media_tailor_playback_configurations[0].playback_configuration_arn #=> String
709
+ # resp.ad_configuration.post_roll_configuration.duration_seconds #=> Integer
710
+ # resp.ad_configuration.post_roll_configuration.enabled #=> Boolean
693
711
  # resp.ad_configuration.tags #=> Hash
694
712
  # resp.ad_configuration.tags["TagKey"] #=> String
695
713
  #
@@ -720,7 +738,7 @@ module Aws::IVS
720
738
  #
721
739
  #
722
740
  #
723
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
741
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
724
742
  #
725
743
  # @option params [Boolean] :authorized
726
744
  # Whether the channel is private (enabled for playback authorization).
@@ -1249,6 +1267,8 @@ module Aws::IVS
1249
1267
  # resp.ad_configuration.name #=> String
1250
1268
  # resp.ad_configuration.media_tailor_playback_configurations #=> Array
1251
1269
  # resp.ad_configuration.media_tailor_playback_configurations[0].playback_configuration_arn #=> String
1270
+ # resp.ad_configuration.post_roll_configuration.duration_seconds #=> Integer
1271
+ # resp.ad_configuration.post_roll_configuration.enabled #=> Boolean
1252
1272
  # resp.ad_configuration.tags #=> Hash
1253
1273
  # resp.ad_configuration.tags["TagKey"] #=> String
1254
1274
  #
@@ -1680,7 +1700,7 @@ module Aws::IVS
1680
1700
  # ARN of the channel into which the ad break is inserted.
1681
1701
  #
1682
1702
  # @option params [required, Integer] :duration_seconds
1683
- # Maximum duration of the ad break, in seconds.
1703
+ # Duration of the ad break, in seconds.
1684
1704
  #
1685
1705
  # @return [Types::InsertAdBreakResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1686
1706
  #
@@ -1738,6 +1758,8 @@ module Aws::IVS
1738
1758
  # resp.ad_configurations[0].name #=> String
1739
1759
  # resp.ad_configurations[0].media_tailor_playback_configurations #=> Array
1740
1760
  # resp.ad_configurations[0].media_tailor_playback_configurations[0].playback_configuration_arn #=> String
1761
+ # resp.ad_configurations[0].post_roll_configuration.duration_seconds #=> Integer
1762
+ # resp.ad_configurations[0].post_roll_configuration.enabled #=> Boolean
1741
1763
  # resp.ad_configurations[0].tags #=> Hash
1742
1764
  # resp.ad_configurations[0].tags["TagKey"] #=> String
1743
1765
  # resp.next_token #=> String
@@ -2314,6 +2336,68 @@ module Aws::IVS
2314
2336
  req.send_request(options)
2315
2337
  end
2316
2338
 
2339
+ # Updates a specified ad configuration.
2340
+ #
2341
+ # @option params [required, String] :arn
2342
+ # ARN of the ad configuration to be updated.
2343
+ #
2344
+ # @option params [String] :name
2345
+ # Ad configuration name. The value does not need to be unique.
2346
+ #
2347
+ # @option params [Array<Types::MediaTailorPlaybackConfiguration>] :media_tailor_playback_configurations
2348
+ # List of integration configurations with MediaTailor resources. The
2349
+ # first item in the list is the default playback configuration used for
2350
+ # the ad configuration. To select a different configuration per viewing
2351
+ # session, see [Generate and Sign IVS Playback Tokens][1].
2352
+ #
2353
+ #
2354
+ #
2355
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
2356
+ #
2357
+ # @option params [Types::PostRollConfiguration] :post_roll_configuration
2358
+ # Configuration for the post-roll ad break to use for this ad
2359
+ # configuration.
2360
+ #
2361
+ # @return [Types::UpdateAdConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2362
+ #
2363
+ # * {Types::UpdateAdConfigurationResponse#ad_configuration #ad_configuration} => Types::AdConfiguration
2364
+ #
2365
+ # @example Request syntax with placeholder values
2366
+ #
2367
+ # resp = client.update_ad_configuration({
2368
+ # arn: "AdConfigurationArn", # required
2369
+ # name: "AdConfigurationName",
2370
+ # media_tailor_playback_configurations: [
2371
+ # {
2372
+ # playback_configuration_arn: "MediaTailorPlaybackConfigurationArn",
2373
+ # },
2374
+ # ],
2375
+ # post_roll_configuration: {
2376
+ # duration_seconds: 1, # required
2377
+ # enabled: false, # required
2378
+ # },
2379
+ # })
2380
+ #
2381
+ # @example Response structure
2382
+ #
2383
+ # resp.ad_configuration.arn #=> String
2384
+ # resp.ad_configuration.name #=> String
2385
+ # resp.ad_configuration.media_tailor_playback_configurations #=> Array
2386
+ # resp.ad_configuration.media_tailor_playback_configurations[0].playback_configuration_arn #=> String
2387
+ # resp.ad_configuration.post_roll_configuration.duration_seconds #=> Integer
2388
+ # resp.ad_configuration.post_roll_configuration.enabled #=> Boolean
2389
+ # resp.ad_configuration.tags #=> Hash
2390
+ # resp.ad_configuration.tags["TagKey"] #=> String
2391
+ #
2392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateAdConfiguration AWS API Documentation
2393
+ #
2394
+ # @overload update_ad_configuration(params = {})
2395
+ # @param [Hash] params ({})
2396
+ def update_ad_configuration(params = {}, options = {})
2397
+ req = build_request(:update_ad_configuration, params)
2398
+ req.send_request(options)
2399
+ end
2400
+
2317
2401
  # Updates a channel's configuration. Live channels cannot be updated.
2318
2402
  # You must stop the ongoing stream, update the channel, and restart the
2319
2403
  # stream for the changes to take effect.
@@ -2336,7 +2420,7 @@ module Aws::IVS
2336
2420
  #
2337
2421
  #
2338
2422
  #
2339
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
2423
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
2340
2424
  #
2341
2425
  # @option params [Boolean] :authorized
2342
2426
  # Whether the channel is private (enabled for playback authorization).
@@ -2518,7 +2602,7 @@ module Aws::IVS
2518
2602
  tracer: tracer
2519
2603
  )
2520
2604
  context[:gem_name] = 'aws-sdk-ivs'
2521
- context[:gem_version] = '1.89.0'
2605
+ context[:gem_version] = '1.91.0'
2522
2606
  Seahorse::Client::Request.new(handlers, context)
2523
2607
  end
2524
2608
 
@@ -149,6 +149,7 @@ module Aws::IVS
149
149
  PlaybackRestrictionPolicyName = Shapes::StringShape.new(name: 'PlaybackRestrictionPolicyName')
150
150
  PlaybackRestrictionPolicySummary = Shapes::StructureShape.new(name: 'PlaybackRestrictionPolicySummary')
151
151
  PlaybackURL = Shapes::StringShape.new(name: 'PlaybackURL')
152
+ PostRollConfiguration = Shapes::StructureShape.new(name: 'PostRollConfiguration')
152
153
  PutMetadataRequest = Shapes::StructureShape.new(name: 'PutMetadataRequest')
153
154
  RecordingConfiguration = Shapes::StructureShape.new(name: 'RecordingConfiguration')
154
155
  RecordingConfigurationArn = Shapes::StringShape.new(name: 'RecordingConfigurationArn')
@@ -215,6 +216,8 @@ module Aws::IVS
215
216
  TranscodePreset = Shapes::StringShape.new(name: 'TranscodePreset')
216
217
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
217
218
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
219
+ UpdateAdConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAdConfigurationRequest')
220
+ UpdateAdConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAdConfigurationResponse')
218
221
  UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
219
222
  UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
220
223
  UpdatePlaybackRestrictionPolicyRequest = Shapes::StructureShape.new(name: 'UpdatePlaybackRestrictionPolicyRequest')
@@ -241,6 +244,7 @@ module Aws::IVS
241
244
  AdConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: AdConfigurationArn, required: true, location_name: "arn"))
242
245
  AdConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: AdConfigurationName, location_name: "name"))
243
246
  AdConfiguration.add_member(:media_tailor_playback_configurations, Shapes::ShapeRef.new(shape: MediaTailorPlaybackConfigurationsList, required: true, location_name: "mediaTailorPlaybackConfigurations"))
247
+ AdConfiguration.add_member(:post_roll_configuration, Shapes::ShapeRef.new(shape: PostRollConfiguration, location_name: "postRollConfiguration"))
244
248
  AdConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
245
249
  AdConfiguration.struct_class = Types::AdConfiguration
246
250
 
@@ -249,6 +253,7 @@ module Aws::IVS
249
253
  AdConfigurationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: AdConfigurationArn, required: true, location_name: "arn"))
250
254
  AdConfigurationSummary.add_member(:name, Shapes::ShapeRef.new(shape: AdConfigurationName, location_name: "name"))
251
255
  AdConfigurationSummary.add_member(:media_tailor_playback_configurations, Shapes::ShapeRef.new(shape: MediaTailorPlaybackConfigurationsList, required: true, location_name: "mediaTailorPlaybackConfigurations"))
256
+ AdConfigurationSummary.add_member(:post_roll_configuration, Shapes::ShapeRef.new(shape: PostRollConfiguration, location_name: "postRollConfiguration"))
252
257
  AdConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
253
258
  AdConfigurationSummary.struct_class = Types::AdConfigurationSummary
254
259
 
@@ -385,6 +390,7 @@ module Aws::IVS
385
390
 
386
391
  CreateAdConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: AdConfigurationName, location_name: "name"))
387
392
  CreateAdConfigurationRequest.add_member(:media_tailor_playback_configurations, Shapes::ShapeRef.new(shape: MediaTailorPlaybackConfigurationsList, required: true, location_name: "mediaTailorPlaybackConfigurations"))
393
+ CreateAdConfigurationRequest.add_member(:post_roll_configuration, Shapes::ShapeRef.new(shape: PostRollConfiguration, location_name: "postRollConfiguration"))
388
394
  CreateAdConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
389
395
  CreateAdConfigurationRequest.struct_class = Types::CreateAdConfigurationRequest
390
396
 
@@ -676,6 +682,10 @@ module Aws::IVS
676
682
  PlaybackRestrictionPolicySummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
677
683
  PlaybackRestrictionPolicySummary.struct_class = Types::PlaybackRestrictionPolicySummary
678
684
 
685
+ PostRollConfiguration.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: AdDurationSeconds, required: true, location_name: "durationSeconds"))
686
+ PostRollConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
687
+ PostRollConfiguration.struct_class = Types::PostRollConfiguration
688
+
679
689
  PutMetadataRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
680
690
  PutMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: StreamMetadata, required: true, location_name: "metadata"))
681
691
  PutMetadataRequest.struct_class = Types::PutMetadataRequest
@@ -869,6 +879,15 @@ module Aws::IVS
869
879
 
870
880
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
871
881
 
882
+ UpdateAdConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AdConfigurationArn, required: true, location_name: "arn"))
883
+ UpdateAdConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: AdConfigurationName, location_name: "name"))
884
+ UpdateAdConfigurationRequest.add_member(:media_tailor_playback_configurations, Shapes::ShapeRef.new(shape: MediaTailorPlaybackConfigurationsList, location_name: "mediaTailorPlaybackConfigurations"))
885
+ UpdateAdConfigurationRequest.add_member(:post_roll_configuration, Shapes::ShapeRef.new(shape: PostRollConfiguration, location_name: "postRollConfiguration"))
886
+ UpdateAdConfigurationRequest.struct_class = Types::UpdateAdConfigurationRequest
887
+
888
+ UpdateAdConfigurationResponse.add_member(:ad_configuration, Shapes::ShapeRef.new(shape: AdConfiguration, required: true, location_name: "adConfiguration"))
889
+ UpdateAdConfigurationResponse.struct_class = Types::UpdateAdConfigurationResponse
890
+
872
891
  UpdateChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
873
892
  UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
874
893
  UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
@@ -1449,6 +1468,22 @@ module Aws::IVS
1449
1468
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1450
1469
  end)
1451
1470
 
1471
+ api.add_operation(:update_ad_configuration, Seahorse::Model::Operation.new.tap do |o|
1472
+ o.name = "UpdateAdConfiguration"
1473
+ o.http_method = "POST"
1474
+ o.http_request_uri = "/UpdateAdConfiguration"
1475
+ o.input = Shapes::ShapeRef.new(shape: UpdateAdConfigurationRequest)
1476
+ o.output = Shapes::ShapeRef.new(shape: UpdateAdConfigurationResponse)
1477
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1478
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1479
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1480
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1481
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
1482
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1483
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1484
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1485
+ end)
1486
+
1452
1487
  api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
1453
1488
  o.name = "UpdateChannel"
1454
1489
  o.http_method = "POST"
@@ -10,6 +10,8 @@
10
10
  module Aws::IVS
11
11
  module Types
12
12
 
13
+ # User does not have sufficient access to perform this action.
14
+ #
13
15
  # @!attribute [rw] access_control_allow_origin
14
16
  # @return [String]
15
17
  #
@@ -66,9 +68,21 @@ module Aws::IVS
66
68
  # @return [String]
67
69
  #
68
70
  # @!attribute [rw] media_tailor_playback_configurations
69
- # List of integration configurations with media tailor resources.
71
+ # List of integration configurations with MediaTailor resources. The
72
+ # first item in the list is the default playback configuration used
73
+ # for the ad configuration. To select a different configuration per
74
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
75
+ #
76
+ #
77
+ #
78
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
70
79
  # @return [Array<Types::MediaTailorPlaybackConfiguration>]
71
80
  #
81
+ # @!attribute [rw] post_roll_configuration
82
+ # Configuration for the post-roll ad break to use for this ad
83
+ # configuration.
84
+ # @return [Types::PostRollConfiguration]
85
+ #
72
86
  # @!attribute [rw] tags
73
87
  # Tags attached to the resource. Array of 1-50 maps, each of the form
74
88
  # `string:string (key:value)`. See [Best practices and strategies][1]
@@ -88,6 +102,7 @@ module Aws::IVS
88
102
  :arn,
89
103
  :name,
90
104
  :media_tailor_playback_configurations,
105
+ :post_roll_configuration,
91
106
  :tags)
92
107
  SENSITIVE = []
93
108
  include Aws::Structure
@@ -104,9 +119,21 @@ module Aws::IVS
104
119
  # @return [String]
105
120
  #
106
121
  # @!attribute [rw] media_tailor_playback_configurations
107
- # List of integration configurations with media tailor resources.
122
+ # List of integration configurations with MediaTailor resources. The
123
+ # first item in the list is the default playback configuration used
124
+ # for the ad configuration. To select a different configuration per
125
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
126
+ #
127
+ #
128
+ #
129
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
108
130
  # @return [Array<Types::MediaTailorPlaybackConfiguration>]
109
131
  #
132
+ # @!attribute [rw] post_roll_configuration
133
+ # Configuration for the post-roll ad break to use for this ad
134
+ # configuration.
135
+ # @return [Types::PostRollConfiguration]
136
+ #
110
137
  # @!attribute [rw] tags
111
138
  # Tags attached to the resource. Array of 1-50 maps, each of the form
112
139
  # `string:string (key:value)`. See [Best practices and strategies][1]
@@ -126,6 +153,7 @@ module Aws::IVS
126
153
  :arn,
127
154
  :name,
128
155
  :media_tailor_playback_configurations,
156
+ :post_roll_configuration,
129
157
  :tags)
130
158
  SENSITIVE = []
131
159
  include Aws::Structure
@@ -547,7 +575,7 @@ module Aws::IVS
547
575
  #
548
576
  #
549
577
  #
550
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
578
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
551
579
  # @return [String]
552
580
  #
553
581
  # @!attribute [rw] recording_configuration_arn
@@ -646,6 +674,8 @@ module Aws::IVS
646
674
  include Aws::Structure
647
675
  end
648
676
 
677
+ # The stream is offline for the given channel ARN.
678
+ #
649
679
  # @!attribute [rw] access_control_allow_origin
650
680
  # @return [String]
651
681
  #
@@ -742,7 +772,7 @@ module Aws::IVS
742
772
  #
743
773
  #
744
774
  #
745
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
775
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
746
776
  # @return [String]
747
777
  #
748
778
  # @!attribute [rw] preset
@@ -781,6 +811,8 @@ module Aws::IVS
781
811
  include Aws::Structure
782
812
  end
783
813
 
814
+ # Updating or deleting a resource can cause an inconsistent state.
815
+ #
784
816
  # @!attribute [rw] access_control_allow_origin
785
817
  # @return [String]
786
818
  #
@@ -830,9 +862,22 @@ module Aws::IVS
830
862
  # @return [String]
831
863
  #
832
864
  # @!attribute [rw] media_tailor_playback_configurations
833
- # List of integration configurations with media tailor resources.
865
+ # List of integration configurations with MediaTailor resources. The
866
+ # first item in the list is the default playback configuration used
867
+ # for the ad configuration. To select a different configuration per
868
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
869
+ #
870
+ #
871
+ #
872
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
834
873
  # @return [Array<Types::MediaTailorPlaybackConfiguration>]
835
874
  #
875
+ # @!attribute [rw] post_roll_configuration
876
+ # Configuration for the post-roll ad break to use for this ad
877
+ # configuration. Default: disabled (`enabled` set to false,
878
+ # `durationSeconds` set to 15).
879
+ # @return [Types::PostRollConfiguration]
880
+ #
836
881
  # @!attribute [rw] tags
837
882
  # Array of 1-50 maps, each of the form `string:string (key:value)`.
838
883
  # See [Best practices and strategies][1] in *Tagging Amazon Web
@@ -851,6 +896,7 @@ module Aws::IVS
851
896
  class CreateAdConfigurationRequest < Struct.new(
852
897
  :name,
853
898
  :media_tailor_playback_configurations,
899
+ :post_roll_configuration,
854
900
  :tags)
855
901
  SENSITIVE = []
856
902
  include Aws::Structure
@@ -885,7 +931,7 @@ module Aws::IVS
885
931
  #
886
932
  #
887
933
  #
888
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
934
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
889
935
  # @return [String]
890
936
  #
891
937
  # @!attribute [rw] authorized
@@ -1550,7 +1596,7 @@ module Aws::IVS
1550
1596
  # @return [String]
1551
1597
  #
1552
1598
  # @!attribute [rw] duration_seconds
1553
- # Maximum duration of the ad break, in seconds.
1599
+ # Duration of the ad break, in seconds.
1554
1600
  # @return [Integer]
1555
1601
  #
1556
1602
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/InsertAdBreakRequest AWS API Documentation
@@ -1575,6 +1621,8 @@ module Aws::IVS
1575
1621
  include Aws::Structure
1576
1622
  end
1577
1623
 
1624
+ # Unexpected error during processing of request.
1625
+ #
1578
1626
  # @!attribute [rw] access_control_allow_origin
1579
1627
  # @return [String]
1580
1628
  #
@@ -2020,6 +2068,8 @@ module Aws::IVS
2020
2068
  include Aws::Structure
2021
2069
  end
2022
2070
 
2071
+ # Your account is pending verification.
2072
+ #
2023
2073
  # @!attribute [rw] access_control_allow_origin
2024
2074
  # @return [String]
2025
2075
  #
@@ -2262,6 +2312,26 @@ module Aws::IVS
2262
2312
  include Aws::Structure
2263
2313
  end
2264
2314
 
2315
+ # Configuration for the post-roll ad break to use for this ad
2316
+ # configuration.
2317
+ #
2318
+ # @!attribute [rw] duration_seconds
2319
+ # Duration of the post-roll ad break, in seconds.
2320
+ # @return [Integer]
2321
+ #
2322
+ # @!attribute [rw] enabled
2323
+ # Whether the post-roll ad configuration is enabled.
2324
+ # @return [Boolean]
2325
+ #
2326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PostRollConfiguration AWS API Documentation
2327
+ #
2328
+ class PostRollConfiguration < Struct.new(
2329
+ :duration_seconds,
2330
+ :enabled)
2331
+ SENSITIVE = []
2332
+ include Aws::Structure
2333
+ end
2334
+
2265
2335
  # @!attribute [rw] channel_arn
2266
2336
  # ARN of the channel into which metadata is inserted. This channel
2267
2337
  # must have an active stream.
@@ -2425,6 +2495,8 @@ module Aws::IVS
2425
2495
  include Aws::Structure
2426
2496
  end
2427
2497
 
2498
+ # Request references a resource which does not exist.
2499
+ #
2428
2500
  # @!attribute [rw] access_control_allow_origin
2429
2501
  # @return [String]
2430
2502
  #
@@ -2484,6 +2556,8 @@ module Aws::IVS
2484
2556
  include Aws::Structure
2485
2557
  end
2486
2558
 
2559
+ # Request would cause a service quota to be exceeded.
2560
+ #
2487
2561
  # @!attribute [rw] access_control_allow_origin
2488
2562
  # @return [String]
2489
2563
  #
@@ -2528,6 +2602,8 @@ module Aws::IVS
2528
2602
  include Aws::Structure
2529
2603
  end
2530
2604
 
2605
+ # The service is temporarily unavailable.
2606
+ #
2531
2607
  # @!attribute [rw] access_control_allow_origin
2532
2608
  # @return [String]
2533
2609
  #
@@ -2553,6 +2629,7 @@ module Aws::IVS
2553
2629
  # @return [String]
2554
2630
  #
2555
2631
  # @!attribute [rw] exception_message
2632
+ # The service is temporarily unavailable.
2556
2633
  # @return [String]
2557
2634
  #
2558
2635
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ServiceUnavailable AWS API Documentation
@@ -3006,6 +3083,8 @@ module Aws::IVS
3006
3083
  include Aws::Structure
3007
3084
  end
3008
3085
 
3086
+ # The stream is temporarily unavailable.
3087
+ #
3009
3088
  # @!attribute [rw] access_control_allow_origin
3010
3089
  # @return [String]
3011
3090
  #
@@ -3081,6 +3160,8 @@ module Aws::IVS
3081
3160
  #
3082
3161
  class TagResourceResponse < Aws::EmptyStructure; end
3083
3162
 
3163
+ # Request was denied due to request throttling.
3164
+ #
3084
3165
  # @!attribute [rw] access_control_allow_origin
3085
3166
  # @return [String]
3086
3167
  #
@@ -3216,6 +3297,53 @@ module Aws::IVS
3216
3297
  #
3217
3298
  class UntagResourceResponse < Aws::EmptyStructure; end
3218
3299
 
3300
+ # @!attribute [rw] arn
3301
+ # ARN of the ad configuration to be updated.
3302
+ # @return [String]
3303
+ #
3304
+ # @!attribute [rw] name
3305
+ # Ad configuration name. The value does not need to be unique.
3306
+ # @return [String]
3307
+ #
3308
+ # @!attribute [rw] media_tailor_playback_configurations
3309
+ # List of integration configurations with MediaTailor resources. The
3310
+ # first item in the list is the default playback configuration used
3311
+ # for the ad configuration. To select a different configuration per
3312
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
3313
+ #
3314
+ #
3315
+ #
3316
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
3317
+ # @return [Array<Types::MediaTailorPlaybackConfiguration>]
3318
+ #
3319
+ # @!attribute [rw] post_roll_configuration
3320
+ # Configuration for the post-roll ad break to use for this ad
3321
+ # configuration.
3322
+ # @return [Types::PostRollConfiguration]
3323
+ #
3324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateAdConfigurationRequest AWS API Documentation
3325
+ #
3326
+ class UpdateAdConfigurationRequest < Struct.new(
3327
+ :arn,
3328
+ :name,
3329
+ :media_tailor_playback_configurations,
3330
+ :post_roll_configuration)
3331
+ SENSITIVE = []
3332
+ include Aws::Structure
3333
+ end
3334
+
3335
+ # @!attribute [rw] ad_configuration
3336
+ # Object specifying the updated ad configuration.
3337
+ # @return [Types::AdConfiguration]
3338
+ #
3339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateAdConfigurationResponse AWS API Documentation
3340
+ #
3341
+ class UpdateAdConfigurationResponse < Struct.new(
3342
+ :ad_configuration)
3343
+ SENSITIVE = []
3344
+ include Aws::Structure
3345
+ end
3346
+
3219
3347
  # @!attribute [rw] arn
3220
3348
  # ARN of the channel to be updated.
3221
3349
  # @return [String]
@@ -3238,7 +3366,7 @@ module Aws::IVS
3238
3366
  #
3239
3367
  #
3240
3368
  #
3241
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
3369
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
3242
3370
  # @return [String]
3243
3371
  #
3244
3372
  # @!attribute [rw] authorized
@@ -3377,6 +3505,9 @@ module Aws::IVS
3377
3505
  include Aws::Structure
3378
3506
  end
3379
3507
 
3508
+ # The input fails to satisfy the constraints specified by an Amazon Web
3509
+ # Services service.
3510
+ #
3380
3511
  # @!attribute [rw] access_control_allow_origin
3381
3512
  # @return [String]
3382
3513
  #
data/lib/aws-sdk-ivs.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::IVS
54
54
  autoload :EndpointProvider, 'aws-sdk-ivs/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-ivs/endpoints'
56
56
 
57
- GEM_VERSION = '1.89.0'
57
+ GEM_VERSION = '1.91.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -149,6 +149,10 @@ module Aws
149
149
  playback_configuration_arn: ::String?
150
150
  }
151
151
  ],
152
+ ?post_roll_configuration: {
153
+ duration_seconds: ::Integer,
154
+ enabled: bool
155
+ },
152
156
  ?tags: Hash[::String, ::String]
153
157
  ) -> _CreateAdConfigurationResponseSuccess
154
158
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAdConfigurationResponseSuccess
@@ -536,6 +540,26 @@ module Aws
536
540
  ) -> _UntagResourceResponseSuccess
537
541
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
538
542
 
543
+ interface _UpdateAdConfigurationResponseSuccess
544
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAdConfigurationResponse]
545
+ def ad_configuration: () -> Types::AdConfiguration
546
+ end
547
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#update_ad_configuration-instance_method
548
+ def update_ad_configuration: (
549
+ arn: ::String,
550
+ ?name: ::String,
551
+ ?media_tailor_playback_configurations: Array[
552
+ {
553
+ playback_configuration_arn: ::String?
554
+ }
555
+ ],
556
+ ?post_roll_configuration: {
557
+ duration_seconds: ::Integer,
558
+ enabled: bool
559
+ }
560
+ ) -> _UpdateAdConfigurationResponseSuccess
561
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAdConfigurationResponseSuccess
562
+
539
563
  interface _UpdateChannelResponseSuccess
540
564
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelResponse]
541
565
  def channel: () -> Types::Channel
data/sig/types.rbs CHANGED
@@ -25,6 +25,7 @@ module Aws::IVS
25
25
  attr_accessor arn: ::String
26
26
  attr_accessor name: ::String
27
27
  attr_accessor media_tailor_playback_configurations: ::Array[Types::MediaTailorPlaybackConfiguration]
28
+ attr_accessor post_roll_configuration: Types::PostRollConfiguration
28
29
  attr_accessor tags: ::Hash[::String, ::String]
29
30
  SENSITIVE: []
30
31
  end
@@ -33,6 +34,7 @@ module Aws::IVS
33
34
  attr_accessor arn: ::String
34
35
  attr_accessor name: ::String
35
36
  attr_accessor media_tailor_playback_configurations: ::Array[Types::MediaTailorPlaybackConfiguration]
37
+ attr_accessor post_roll_configuration: Types::PostRollConfiguration
36
38
  attr_accessor tags: ::Hash[::String, ::String]
37
39
  SENSITIVE: []
38
40
  end
@@ -185,6 +187,7 @@ module Aws::IVS
185
187
  class CreateAdConfigurationRequest
186
188
  attr_accessor name: ::String
187
189
  attr_accessor media_tailor_playback_configurations: ::Array[Types::MediaTailorPlaybackConfiguration]
190
+ attr_accessor post_roll_configuration: Types::PostRollConfiguration
188
191
  attr_accessor tags: ::Hash[::String, ::String]
189
192
  SENSITIVE: []
190
193
  end
@@ -596,6 +599,12 @@ module Aws::IVS
596
599
  SENSITIVE: []
597
600
  end
598
601
 
602
+ class PostRollConfiguration
603
+ attr_accessor duration_seconds: ::Integer
604
+ attr_accessor enabled: bool
605
+ SENSITIVE: []
606
+ end
607
+
599
608
  class PutMetadataRequest
600
609
  attr_accessor channel_arn: ::String
601
610
  attr_accessor metadata: ::String
@@ -818,6 +827,19 @@ module Aws::IVS
818
827
  class UntagResourceResponse < Aws::EmptyStructure
819
828
  end
820
829
 
830
+ class UpdateAdConfigurationRequest
831
+ attr_accessor arn: ::String
832
+ attr_accessor name: ::String
833
+ attr_accessor media_tailor_playback_configurations: ::Array[Types::MediaTailorPlaybackConfiguration]
834
+ attr_accessor post_roll_configuration: Types::PostRollConfiguration
835
+ SENSITIVE: []
836
+ end
837
+
838
+ class UpdateAdConfigurationResponse
839
+ attr_accessor ad_configuration: Types::AdConfiguration
840
+ SENSITIVE: []
841
+ end
842
+
821
843
  class UpdateChannelRequest
822
844
  attr_accessor arn: ::String
823
845
  attr_accessor name: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ivs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.89.0
4
+ version: 1.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.248.0
21
+ version: 3.254.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.248.0
31
+ version: 3.254.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement