aws-sdk-ivs 1.89.0 → 1.90.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: c3b63ae6be0fbcbb16f2f2985a4a829561d9aacec41fccc4bb48127d5c641724
4
+ data.tar.gz: 0ebc1932cf934e3829c77b1c9475c91cd73af1783d9c760337ceb5b0ff2793be
5
5
  SHA512:
6
- metadata.gz: 7fe47f14704ff3bdd9ab49a96e172dda4eee3de2d123b42895460139729ce563fef29c994d2b18ed884e6a199b345ac1fb572ba74bceeda14454cb2663aa0ea2
7
- data.tar.gz: bba6aa3d7eaccdf17fbd442441e1f6010bcff581e7abd79c6cd4f9fc2e5281778a64cc7322ae58f18d0a4b68ec7e84a19dc012499708bbb55792956d28e284a9
6
+ metadata.gz: a30307e7200598aaf7e50135bee67d8b54a59cb6eb4bab6676995d8130e58b1c2ba901bddeea4c01ea394503793b0e9299fcc55c73d2392c4cf2f22ed972500d
7
+ data.tar.gz: e0e26011493a732094131a808a1fa58d10d25da7f7b3fcaf85cda21d04ee15f37d0f17c8d0f64fac5fd653a0e06b593081199f4c9349a0dcd0e59260bc73a6a7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.90.0 (2026-06-04)
5
+ ------------------
6
+
7
+ * Feature - adds UpdateAdConfiguration operation to AWS IVS low-latency APIs
8
+
4
9
  1.89.0 (2026-05-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.89.0
1
+ 1.90.0
@@ -653,7 +653,14 @@ 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
657
664
  #
658
665
  # @option params [Hash<String,String>] :tags
659
666
  # Array of 1-50 maps, each of the form `string:string (key:value)`. See
@@ -720,7 +727,7 @@ module Aws::IVS
720
727
  #
721
728
  #
722
729
  #
723
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
730
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
724
731
  #
725
732
  # @option params [Boolean] :authorized
726
733
  # Whether the channel is private (enabled for playback authorization).
@@ -1680,7 +1687,7 @@ module Aws::IVS
1680
1687
  # ARN of the channel into which the ad break is inserted.
1681
1688
  #
1682
1689
  # @option params [required, Integer] :duration_seconds
1683
- # Maximum duration of the ad break, in seconds.
1690
+ # Duration of the ad break, in seconds.
1684
1691
  #
1685
1692
  # @return [Types::InsertAdBreakResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1686
1693
  #
@@ -2314,6 +2321,58 @@ module Aws::IVS
2314
2321
  req.send_request(options)
2315
2322
  end
2316
2323
 
2324
+ # Updates a specified ad configuration.
2325
+ #
2326
+ # @option params [required, String] :arn
2327
+ # ARN of the ad configuration to be updated.
2328
+ #
2329
+ # @option params [String] :name
2330
+ # Ad configuration name. The value does not need to be unique.
2331
+ #
2332
+ # @option params [Array<Types::MediaTailorPlaybackConfiguration>] :media_tailor_playback_configurations
2333
+ # List of integration configurations with MediaTailor resources. The
2334
+ # first item in the list is the default playback configuration used for
2335
+ # the ad configuration. To select a different configuration per viewing
2336
+ # session, see [Generate and Sign IVS Playback Tokens][1].
2337
+ #
2338
+ #
2339
+ #
2340
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
2341
+ #
2342
+ # @return [Types::UpdateAdConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2343
+ #
2344
+ # * {Types::UpdateAdConfigurationResponse#ad_configuration #ad_configuration} => Types::AdConfiguration
2345
+ #
2346
+ # @example Request syntax with placeholder values
2347
+ #
2348
+ # resp = client.update_ad_configuration({
2349
+ # arn: "AdConfigurationArn", # required
2350
+ # name: "AdConfigurationName",
2351
+ # media_tailor_playback_configurations: [
2352
+ # {
2353
+ # playback_configuration_arn: "MediaTailorPlaybackConfigurationArn",
2354
+ # },
2355
+ # ],
2356
+ # })
2357
+ #
2358
+ # @example Response structure
2359
+ #
2360
+ # resp.ad_configuration.arn #=> String
2361
+ # resp.ad_configuration.name #=> String
2362
+ # resp.ad_configuration.media_tailor_playback_configurations #=> Array
2363
+ # resp.ad_configuration.media_tailor_playback_configurations[0].playback_configuration_arn #=> String
2364
+ # resp.ad_configuration.tags #=> Hash
2365
+ # resp.ad_configuration.tags["TagKey"] #=> String
2366
+ #
2367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateAdConfiguration AWS API Documentation
2368
+ #
2369
+ # @overload update_ad_configuration(params = {})
2370
+ # @param [Hash] params ({})
2371
+ def update_ad_configuration(params = {}, options = {})
2372
+ req = build_request(:update_ad_configuration, params)
2373
+ req.send_request(options)
2374
+ end
2375
+
2317
2376
  # Updates a channel's configuration. Live channels cannot be updated.
2318
2377
  # You must stop the ongoing stream, update the channel, and restart the
2319
2378
  # stream for the changes to take effect.
@@ -2336,7 +2395,7 @@ module Aws::IVS
2336
2395
  #
2337
2396
  #
2338
2397
  #
2339
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
2398
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
2340
2399
  #
2341
2400
  # @option params [Boolean] :authorized
2342
2401
  # Whether the channel is private (enabled for playback authorization).
@@ -2518,7 +2577,7 @@ module Aws::IVS
2518
2577
  tracer: tracer
2519
2578
  )
2520
2579
  context[:gem_name] = 'aws-sdk-ivs'
2521
- context[:gem_version] = '1.89.0'
2580
+ context[:gem_version] = '1.90.0'
2522
2581
  Seahorse::Client::Request.new(handlers, context)
2523
2582
  end
2524
2583
 
@@ -215,6 +215,8 @@ module Aws::IVS
215
215
  TranscodePreset = Shapes::StringShape.new(name: 'TranscodePreset')
216
216
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
217
217
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
218
+ UpdateAdConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAdConfigurationRequest')
219
+ UpdateAdConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAdConfigurationResponse')
218
220
  UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
219
221
  UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
220
222
  UpdatePlaybackRestrictionPolicyRequest = Shapes::StructureShape.new(name: 'UpdatePlaybackRestrictionPolicyRequest')
@@ -869,6 +871,14 @@ module Aws::IVS
869
871
 
870
872
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
871
873
 
874
+ UpdateAdConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AdConfigurationArn, required: true, location_name: "arn"))
875
+ UpdateAdConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: AdConfigurationName, location_name: "name"))
876
+ UpdateAdConfigurationRequest.add_member(:media_tailor_playback_configurations, Shapes::ShapeRef.new(shape: MediaTailorPlaybackConfigurationsList, location_name: "mediaTailorPlaybackConfigurations"))
877
+ UpdateAdConfigurationRequest.struct_class = Types::UpdateAdConfigurationRequest
878
+
879
+ UpdateAdConfigurationResponse.add_member(:ad_configuration, Shapes::ShapeRef.new(shape: AdConfiguration, required: true, location_name: "adConfiguration"))
880
+ UpdateAdConfigurationResponse.struct_class = Types::UpdateAdConfigurationResponse
881
+
872
882
  UpdateChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
873
883
  UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
874
884
  UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
@@ -1449,6 +1459,22 @@ module Aws::IVS
1449
1459
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1450
1460
  end)
1451
1461
 
1462
+ api.add_operation(:update_ad_configuration, Seahorse::Model::Operation.new.tap do |o|
1463
+ o.name = "UpdateAdConfiguration"
1464
+ o.http_method = "POST"
1465
+ o.http_request_uri = "/UpdateAdConfiguration"
1466
+ o.input = Shapes::ShapeRef.new(shape: UpdateAdConfigurationRequest)
1467
+ o.output = Shapes::ShapeRef.new(shape: UpdateAdConfigurationResponse)
1468
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1470
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
1473
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1476
+ end)
1477
+
1452
1478
  api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
1453
1479
  o.name = "UpdateChannel"
1454
1480
  o.http_method = "POST"
@@ -66,7 +66,14 @@ module Aws::IVS
66
66
  # @return [String]
67
67
  #
68
68
  # @!attribute [rw] media_tailor_playback_configurations
69
- # List of integration configurations with media tailor resources.
69
+ # List of integration configurations with MediaTailor resources. The
70
+ # first item in the list is the default playback configuration used
71
+ # for the ad configuration. To select a different configuration per
72
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
73
+ #
74
+ #
75
+ #
76
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
70
77
  # @return [Array<Types::MediaTailorPlaybackConfiguration>]
71
78
  #
72
79
  # @!attribute [rw] tags
@@ -104,7 +111,14 @@ module Aws::IVS
104
111
  # @return [String]
105
112
  #
106
113
  # @!attribute [rw] media_tailor_playback_configurations
107
- # List of integration configurations with media tailor resources.
114
+ # List of integration configurations with MediaTailor resources. The
115
+ # first item in the list is the default playback configuration used
116
+ # for the ad configuration. To select a different configuration per
117
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
118
+ #
119
+ #
120
+ #
121
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
108
122
  # @return [Array<Types::MediaTailorPlaybackConfiguration>]
109
123
  #
110
124
  # @!attribute [rw] tags
@@ -547,7 +561,7 @@ module Aws::IVS
547
561
  #
548
562
  #
549
563
  #
550
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
564
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
551
565
  # @return [String]
552
566
  #
553
567
  # @!attribute [rw] recording_configuration_arn
@@ -742,7 +756,7 @@ module Aws::IVS
742
756
  #
743
757
  #
744
758
  #
745
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
759
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
746
760
  # @return [String]
747
761
  #
748
762
  # @!attribute [rw] preset
@@ -830,7 +844,14 @@ module Aws::IVS
830
844
  # @return [String]
831
845
  #
832
846
  # @!attribute [rw] media_tailor_playback_configurations
833
- # List of integration configurations with media tailor resources.
847
+ # List of integration configurations with MediaTailor resources. The
848
+ # first item in the list is the default playback configuration used
849
+ # for the ad configuration. To select a different configuration per
850
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
851
+ #
852
+ #
853
+ #
854
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
834
855
  # @return [Array<Types::MediaTailorPlaybackConfiguration>]
835
856
  #
836
857
  # @!attribute [rw] tags
@@ -885,7 +906,7 @@ module Aws::IVS
885
906
  #
886
907
  #
887
908
  #
888
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
909
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
889
910
  # @return [String]
890
911
  #
891
912
  # @!attribute [rw] authorized
@@ -1550,7 +1571,7 @@ module Aws::IVS
1550
1571
  # @return [String]
1551
1572
  #
1552
1573
  # @!attribute [rw] duration_seconds
1553
- # Maximum duration of the ad break, in seconds.
1574
+ # Duration of the ad break, in seconds.
1554
1575
  # @return [Integer]
1555
1576
  #
1556
1577
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/InsertAdBreakRequest AWS API Documentation
@@ -2553,6 +2574,7 @@ module Aws::IVS
2553
2574
  # @return [String]
2554
2575
  #
2555
2576
  # @!attribute [rw] exception_message
2577
+ # The service is temporarily unavailable.
2556
2578
  # @return [String]
2557
2579
  #
2558
2580
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ServiceUnavailable AWS API Documentation
@@ -3216,6 +3238,47 @@ module Aws::IVS
3216
3238
  #
3217
3239
  class UntagResourceResponse < Aws::EmptyStructure; end
3218
3240
 
3241
+ # @!attribute [rw] arn
3242
+ # ARN of the ad configuration to be updated.
3243
+ # @return [String]
3244
+ #
3245
+ # @!attribute [rw] name
3246
+ # Ad configuration name. The value does not need to be unique.
3247
+ # @return [String]
3248
+ #
3249
+ # @!attribute [rw] media_tailor_playback_configurations
3250
+ # List of integration configurations with MediaTailor resources. The
3251
+ # first item in the list is the default playback configuration used
3252
+ # for the ad configuration. To select a different configuration per
3253
+ # viewing session, see [Generate and Sign IVS Playback Tokens][1].
3254
+ #
3255
+ #
3256
+ #
3257
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html
3258
+ # @return [Array<Types::MediaTailorPlaybackConfiguration>]
3259
+ #
3260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateAdConfigurationRequest AWS API Documentation
3261
+ #
3262
+ class UpdateAdConfigurationRequest < Struct.new(
3263
+ :arn,
3264
+ :name,
3265
+ :media_tailor_playback_configurations)
3266
+ SENSITIVE = []
3267
+ include Aws::Structure
3268
+ end
3269
+
3270
+ # @!attribute [rw] ad_configuration
3271
+ # Object specifying the updated ad configuration.
3272
+ # @return [Types::AdConfiguration]
3273
+ #
3274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateAdConfigurationResponse AWS API Documentation
3275
+ #
3276
+ class UpdateAdConfigurationResponse < Struct.new(
3277
+ :ad_configuration)
3278
+ SENSITIVE = []
3279
+ include Aws::Structure
3280
+ end
3281
+
3219
3282
  # @!attribute [rw] arn
3220
3283
  # ARN of the channel to be updated.
3221
3284
  # @return [String]
@@ -3238,7 +3301,7 @@ module Aws::IVS
3238
3301
  #
3239
3302
  #
3240
3303
  #
3241
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
3304
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html
3242
3305
  # @return [String]
3243
3306
  #
3244
3307
  # @!attribute [rw] authorized
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.90.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -536,6 +536,22 @@ module Aws
536
536
  ) -> _UntagResourceResponseSuccess
537
537
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
538
538
 
539
+ interface _UpdateAdConfigurationResponseSuccess
540
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAdConfigurationResponse]
541
+ def ad_configuration: () -> Types::AdConfiguration
542
+ end
543
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#update_ad_configuration-instance_method
544
+ def update_ad_configuration: (
545
+ arn: ::String,
546
+ ?name: ::String,
547
+ ?media_tailor_playback_configurations: Array[
548
+ {
549
+ playback_configuration_arn: ::String?
550
+ }
551
+ ]
552
+ ) -> _UpdateAdConfigurationResponseSuccess
553
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAdConfigurationResponseSuccess
554
+
539
555
  interface _UpdateChannelResponseSuccess
540
556
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelResponse]
541
557
  def channel: () -> Types::Channel
data/sig/types.rbs CHANGED
@@ -818,6 +818,18 @@ module Aws::IVS
818
818
  class UntagResourceResponse < Aws::EmptyStructure
819
819
  end
820
820
 
821
+ class UpdateAdConfigurationRequest
822
+ attr_accessor arn: ::String
823
+ attr_accessor name: ::String
824
+ attr_accessor media_tailor_playback_configurations: ::Array[Types::MediaTailorPlaybackConfiguration]
825
+ SENSITIVE: []
826
+ end
827
+
828
+ class UpdateAdConfigurationResponse
829
+ attr_accessor ad_configuration: Types::AdConfiguration
830
+ SENSITIVE: []
831
+ end
832
+
821
833
  class UpdateChannelRequest
822
834
  attr_accessor arn: ::String
823
835
  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.90.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services