aws-sdk-medialive 1.27.0 → 1.28.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
  SHA1:
3
- metadata.gz: befcfef02048ba605cbbc5361099f43db3cc6351
4
- data.tar.gz: e6b6f64300228a1e27787fe65df75a8e11912045
3
+ metadata.gz: 5d8634d08bdd7a12068e4b17a6eccace43eb699d
4
+ data.tar.gz: a9ab0027bc230953096de804a133c73db109953b
5
5
  SHA512:
6
- metadata.gz: 8b7a9f2eb10ac86b0ba9d827d6f6f5ac378a3939c5e8bc079290f96b8adae5b8cee38d6af139d381c6f3d6dedabb0a8cd26101ca7d1933243cbfd09d4b9dcc88
7
- data.tar.gz: cf5a0b55778b6ea22100eb1973d5ed3fff5d9c61c48dfec23d255fb110bc6c68307e88e28ec2eaf9e716b3baa866c3253ae0b91c83a009eed65ec0a11b7cf5fe
6
+ metadata.gz: a3165754b67ee0463fd828948ae90208e831958a47f8094c6fe03590494a835d3359262b70f3ee00e07d1e2511bf6f69d1bbb4f169b42aadec7606e6ea211b56
7
+ data.tar.gz: ef6905838aae38d27153350364c51f1f950ab16d33dd5990d91b67bbf5098a926c33024c04b64ba3a30c2a537dac5f175e9db3c9a80b4ea246867f97d5ab2a67
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-medialive/customizations'
42
42
  # @service
43
43
  module Aws::MediaLive
44
44
 
45
- GEM_VERSION = '1.27.0'
45
+ GEM_VERSION = '1.28.0'
46
46
 
47
47
  end
@@ -452,6 +452,10 @@ module Aws::MediaLive
452
452
 
453
453
  # Creates a new channel
454
454
  #
455
+ # @option params [String] :channel_class
456
+ # A standard channel has two encoding pipelines and a single pipeline
457
+ # channel only has one.
458
+ #
455
459
  # @option params [Array<Types::OutputDestination>] :destinations
456
460
  #
457
461
  # @option params [Types::EncoderSettings] :encoder_settings
@@ -483,6 +487,7 @@ module Aws::MediaLive
483
487
  # @example Request syntax with placeholder values
484
488
  #
485
489
  # resp = client.create_channel({
490
+ # channel_class: "STANDARD", # accepts STANDARD, SINGLE_PIPELINE
486
491
  # destinations: [
487
492
  # {
488
493
  # id: "__string",
@@ -1214,6 +1219,7 @@ module Aws::MediaLive
1214
1219
  # @example Response structure
1215
1220
  #
1216
1221
  # resp.channel.arn #=> String
1222
+ # resp.channel.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
1217
1223
  # resp.channel.destinations #=> Array
1218
1224
  # resp.channel.destinations[0].id #=> String
1219
1225
  # resp.channel.destinations[0].media_package_settings #=> Array
@@ -1782,6 +1788,7 @@ module Aws::MediaLive
1782
1788
  # resp.input.destinations[0].vpc.availability_zone #=> String
1783
1789
  # resp.input.destinations[0].vpc.network_interface_id #=> String
1784
1790
  # resp.input.id #=> String
1791
+ # resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
1785
1792
  # resp.input.media_connect_flows #=> Array
1786
1793
  # resp.input.media_connect_flows[0].flow_arn #=> String
1787
1794
  # resp.input.name #=> String
@@ -1883,6 +1890,7 @@ module Aws::MediaLive
1883
1890
  # @return [Types::DeleteChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1884
1891
  #
1885
1892
  # * {Types::DeleteChannelResponse#arn #arn} => String
1893
+ # * {Types::DeleteChannelResponse#channel_class #channel_class} => String
1886
1894
  # * {Types::DeleteChannelResponse#destinations #destinations} => Array&lt;Types::OutputDestination&gt;
1887
1895
  # * {Types::DeleteChannelResponse#egress_endpoints #egress_endpoints} => Array&lt;Types::ChannelEgressEndpoint&gt;
1888
1896
  # * {Types::DeleteChannelResponse#encoder_settings #encoder_settings} => Types::EncoderSettings
@@ -1905,6 +1913,7 @@ module Aws::MediaLive
1905
1913
  # @example Response structure
1906
1914
  #
1907
1915
  # resp.arn #=> String
1916
+ # resp.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
1908
1917
  # resp.destinations #=> Array
1909
1918
  # resp.destinations[0].id #=> String
1910
1919
  # resp.destinations[0].media_package_settings #=> Array
@@ -2458,6 +2467,7 @@ module Aws::MediaLive
2458
2467
  # * {Types::DeleteReservationResponse#resource_specification #resource_specification} => Types::ReservationResourceSpecification
2459
2468
  # * {Types::DeleteReservationResponse#start #start} => String
2460
2469
  # * {Types::DeleteReservationResponse#state #state} => String
2470
+ # * {Types::DeleteReservationResponse#tags #tags} => Hash&lt;String,String&gt;
2461
2471
  # * {Types::DeleteReservationResponse#usage_price #usage_price} => Float
2462
2472
  #
2463
2473
  # @example Request syntax with placeholder values
@@ -2481,6 +2491,7 @@ module Aws::MediaLive
2481
2491
  # resp.offering_type #=> String, one of "NO_UPFRONT"
2482
2492
  # resp.region #=> String
2483
2493
  # resp.reservation_id #=> String
2494
+ # resp.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
2484
2495
  # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
2485
2496
  # resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
2486
2497
  # resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
@@ -2490,6 +2501,8 @@ module Aws::MediaLive
2490
2501
  # resp.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
2491
2502
  # resp.start #=> String
2492
2503
  # resp.state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
2504
+ # resp.tags #=> Hash
2505
+ # resp.tags["__string"] #=> String
2493
2506
  # resp.usage_price #=> Float
2494
2507
  #
2495
2508
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation AWS API Documentation
@@ -2532,6 +2545,7 @@ module Aws::MediaLive
2532
2545
  # @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2533
2546
  #
2534
2547
  # * {Types::DescribeChannelResponse#arn #arn} => String
2548
+ # * {Types::DescribeChannelResponse#channel_class #channel_class} => String
2535
2549
  # * {Types::DescribeChannelResponse#destinations #destinations} => Array&lt;Types::OutputDestination&gt;
2536
2550
  # * {Types::DescribeChannelResponse#egress_endpoints #egress_endpoints} => Array&lt;Types::ChannelEgressEndpoint&gt;
2537
2551
  # * {Types::DescribeChannelResponse#encoder_settings #encoder_settings} => Types::EncoderSettings
@@ -2554,6 +2568,7 @@ module Aws::MediaLive
2554
2568
  # @example Response structure
2555
2569
  #
2556
2570
  # resp.arn #=> String
2571
+ # resp.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
2557
2572
  # resp.destinations #=> Array
2558
2573
  # resp.destinations[0].id #=> String
2559
2574
  # resp.destinations[0].media_package_settings #=> Array
@@ -3053,6 +3068,7 @@ module Aws::MediaLive
3053
3068
  # * {Types::DescribeInputResponse#attached_channels #attached_channels} => Array&lt;String&gt;
3054
3069
  # * {Types::DescribeInputResponse#destinations #destinations} => Array&lt;Types::InputDestination&gt;
3055
3070
  # * {Types::DescribeInputResponse#id #id} => String
3071
+ # * {Types::DescribeInputResponse#input_class #input_class} => String
3056
3072
  # * {Types::DescribeInputResponse#media_connect_flows #media_connect_flows} => Array&lt;Types::MediaConnectFlow&gt;
3057
3073
  # * {Types::DescribeInputResponse#name #name} => String
3058
3074
  # * {Types::DescribeInputResponse#role_arn #role_arn} => String
@@ -3080,6 +3096,7 @@ module Aws::MediaLive
3080
3096
  # resp.destinations[0].vpc.availability_zone #=> String
3081
3097
  # resp.destinations[0].vpc.network_interface_id #=> String
3082
3098
  # resp.id #=> String
3099
+ # resp.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3083
3100
  # resp.media_connect_flows #=> Array
3084
3101
  # resp.media_connect_flows[0].flow_arn #=> String
3085
3102
  # resp.name #=> String
@@ -3179,6 +3196,7 @@ module Aws::MediaLive
3179
3196
  # resp.offering_id #=> String
3180
3197
  # resp.offering_type #=> String, one of "NO_UPFRONT"
3181
3198
  # resp.region #=> String
3199
+ # resp.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3182
3200
  # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
3183
3201
  # resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
3184
3202
  # resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
@@ -3219,6 +3237,7 @@ module Aws::MediaLive
3219
3237
  # * {Types::DescribeReservationResponse#resource_specification #resource_specification} => Types::ReservationResourceSpecification
3220
3238
  # * {Types::DescribeReservationResponse#start #start} => String
3221
3239
  # * {Types::DescribeReservationResponse#state #state} => String
3240
+ # * {Types::DescribeReservationResponse#tags #tags} => Hash&lt;String,String&gt;
3222
3241
  # * {Types::DescribeReservationResponse#usage_price #usage_price} => Float
3223
3242
  #
3224
3243
  # @example Request syntax with placeholder values
@@ -3242,6 +3261,7 @@ module Aws::MediaLive
3242
3261
  # resp.offering_type #=> String, one of "NO_UPFRONT"
3243
3262
  # resp.region #=> String
3244
3263
  # resp.reservation_id #=> String
3264
+ # resp.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3245
3265
  # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
3246
3266
  # resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
3247
3267
  # resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
@@ -3251,6 +3271,8 @@ module Aws::MediaLive
3251
3271
  # resp.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
3252
3272
  # resp.start #=> String
3253
3273
  # resp.state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
3274
+ # resp.tags #=> Hash
3275
+ # resp.tags["__string"] #=> String
3254
3276
  # resp.usage_price #=> Float
3255
3277
  #
3256
3278
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeReservation AWS API Documentation
@@ -3359,6 +3381,7 @@ module Aws::MediaLive
3359
3381
  #
3360
3382
  # resp.channels #=> Array
3361
3383
  # resp.channels[0].arn #=> String
3384
+ # resp.channels[0].channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3362
3385
  # resp.channels[0].destinations #=> Array
3363
3386
  # resp.channels[0].destinations[0].id #=> String
3364
3387
  # resp.channels[0].destinations[0].media_package_settings #=> Array
@@ -3498,6 +3521,7 @@ module Aws::MediaLive
3498
3521
  # resp.inputs[0].destinations[0].vpc.availability_zone #=> String
3499
3522
  # resp.inputs[0].destinations[0].vpc.network_interface_id #=> String
3500
3523
  # resp.inputs[0].id #=> String
3524
+ # resp.inputs[0].input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3501
3525
  # resp.inputs[0].media_connect_flows #=> Array
3502
3526
  # resp.inputs[0].media_connect_flows[0].flow_arn #=> String
3503
3527
  # resp.inputs[0].name #=> String
@@ -3525,6 +3549,8 @@ module Aws::MediaLive
3525
3549
 
3526
3550
  # List offerings available for purchase.
3527
3551
  #
3552
+ # @option params [String] :channel_class
3553
+ #
3528
3554
  # @option params [String] :channel_configuration
3529
3555
  #
3530
3556
  # @option params [String] :codec
@@ -3553,6 +3579,7 @@ module Aws::MediaLive
3553
3579
  # @example Request syntax with placeholder values
3554
3580
  #
3555
3581
  # resp = client.list_offerings({
3582
+ # channel_class: "__string",
3556
3583
  # channel_configuration: "__string",
3557
3584
  # codec: "__string",
3558
3585
  # max_results: 1,
@@ -3578,6 +3605,7 @@ module Aws::MediaLive
3578
3605
  # resp.offerings[0].offering_id #=> String
3579
3606
  # resp.offerings[0].offering_type #=> String, one of "NO_UPFRONT"
3580
3607
  # resp.offerings[0].region #=> String
3608
+ # resp.offerings[0].resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3581
3609
  # resp.offerings[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
3582
3610
  # resp.offerings[0].resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
3583
3611
  # resp.offerings[0].resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
@@ -3598,6 +3626,8 @@ module Aws::MediaLive
3598
3626
 
3599
3627
  # List purchased reservations.
3600
3628
  #
3629
+ # @option params [String] :channel_class
3630
+ #
3601
3631
  # @option params [String] :codec
3602
3632
  #
3603
3633
  # @option params [Integer] :max_results
@@ -3624,6 +3654,7 @@ module Aws::MediaLive
3624
3654
  # @example Request syntax with placeholder values
3625
3655
  #
3626
3656
  # resp = client.list_reservations({
3657
+ # channel_class: "__string",
3627
3658
  # codec: "__string",
3628
3659
  # max_results: 1,
3629
3660
  # maximum_bitrate: "__string",
@@ -3652,6 +3683,7 @@ module Aws::MediaLive
3652
3683
  # resp.reservations[0].offering_type #=> String, one of "NO_UPFRONT"
3653
3684
  # resp.reservations[0].region #=> String
3654
3685
  # resp.reservations[0].reservation_id #=> String
3686
+ # resp.reservations[0].resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3655
3687
  # resp.reservations[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
3656
3688
  # resp.reservations[0].resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
3657
3689
  # resp.reservations[0].resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
@@ -3661,6 +3693,8 @@ module Aws::MediaLive
3661
3693
  # resp.reservations[0].resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
3662
3694
  # resp.reservations[0].start #=> String
3663
3695
  # resp.reservations[0].state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
3696
+ # resp.reservations[0].tags #=> Hash
3697
+ # resp.reservations[0].tags["__string"] #=> String
3664
3698
  # resp.reservations[0].usage_price #=> Float
3665
3699
  #
3666
3700
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations AWS API Documentation
@@ -3714,6 +3748,8 @@ module Aws::MediaLive
3714
3748
  #
3715
3749
  # @option params [String] :start
3716
3750
  #
3751
+ # @option params [Hash<String,String>] :tags
3752
+ #
3717
3753
  # @return [Types::PurchaseOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3718
3754
  #
3719
3755
  # * {Types::PurchaseOfferingResponse#reservation #reservation} => Types::Reservation
@@ -3726,6 +3762,9 @@ module Aws::MediaLive
3726
3762
  # offering_id: "__string", # required
3727
3763
  # request_id: "__string",
3728
3764
  # start: "__string",
3765
+ # tags: {
3766
+ # "__string" => "__string",
3767
+ # },
3729
3768
  # })
3730
3769
  #
3731
3770
  # @example Response structure
@@ -3743,6 +3782,7 @@ module Aws::MediaLive
3743
3782
  # resp.reservation.offering_type #=> String, one of "NO_UPFRONT"
3744
3783
  # resp.reservation.region #=> String
3745
3784
  # resp.reservation.reservation_id #=> String
3785
+ # resp.reservation.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3746
3786
  # resp.reservation.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
3747
3787
  # resp.reservation.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
3748
3788
  # resp.reservation.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
@@ -3752,6 +3792,8 @@ module Aws::MediaLive
3752
3792
  # resp.reservation.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
3753
3793
  # resp.reservation.start #=> String
3754
3794
  # resp.reservation.state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
3795
+ # resp.reservation.tags #=> Hash
3796
+ # resp.reservation.tags["__string"] #=> String
3755
3797
  # resp.reservation.usage_price #=> Float
3756
3798
  #
3757
3799
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering AWS API Documentation
@@ -3770,6 +3812,7 @@ module Aws::MediaLive
3770
3812
  # @return [Types::StartChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3771
3813
  #
3772
3814
  # * {Types::StartChannelResponse#arn #arn} => String
3815
+ # * {Types::StartChannelResponse#channel_class #channel_class} => String
3773
3816
  # * {Types::StartChannelResponse#destinations #destinations} => Array&lt;Types::OutputDestination&gt;
3774
3817
  # * {Types::StartChannelResponse#egress_endpoints #egress_endpoints} => Array&lt;Types::ChannelEgressEndpoint&gt;
3775
3818
  # * {Types::StartChannelResponse#encoder_settings #encoder_settings} => Types::EncoderSettings
@@ -3792,6 +3835,7 @@ module Aws::MediaLive
3792
3835
  # @example Response structure
3793
3836
  #
3794
3837
  # resp.arn #=> String
3838
+ # resp.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
3795
3839
  # resp.destinations #=> Array
3796
3840
  # resp.destinations[0].id #=> String
3797
3841
  # resp.destinations[0].media_package_settings #=> Array
@@ -4288,6 +4332,7 @@ module Aws::MediaLive
4288
4332
  # @return [Types::StopChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4289
4333
  #
4290
4334
  # * {Types::StopChannelResponse#arn #arn} => String
4335
+ # * {Types::StopChannelResponse#channel_class #channel_class} => String
4291
4336
  # * {Types::StopChannelResponse#destinations #destinations} => Array&lt;Types::OutputDestination&gt;
4292
4337
  # * {Types::StopChannelResponse#egress_endpoints #egress_endpoints} => Array&lt;Types::ChannelEgressEndpoint&gt;
4293
4338
  # * {Types::StopChannelResponse#encoder_settings #encoder_settings} => Types::EncoderSettings
@@ -4310,6 +4355,7 @@ module Aws::MediaLive
4310
4355
  # @example Response structure
4311
4356
  #
4312
4357
  # resp.arn #=> String
4358
+ # resp.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
4313
4359
  # resp.destinations #=> Array
4314
4360
  # resp.destinations[0].id #=> String
4315
4361
  # resp.destinations[0].media_package_settings #=> Array
@@ -5553,6 +5599,7 @@ module Aws::MediaLive
5553
5599
  # @example Response structure
5554
5600
  #
5555
5601
  # resp.channel.arn #=> String
5602
+ # resp.channel.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
5556
5603
  # resp.channel.destinations #=> Array
5557
5604
  # resp.channel.destinations[0].id #=> String
5558
5605
  # resp.channel.destinations[0].media_package_settings #=> Array
@@ -6100,6 +6147,7 @@ module Aws::MediaLive
6100
6147
  # resp.input.destinations[0].vpc.availability_zone #=> String
6101
6148
  # resp.input.destinations[0].vpc.network_interface_id #=> String
6102
6149
  # resp.input.id #=> String
6150
+ # resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
6103
6151
  # resp.input.media_connect_flows #=> Array
6104
6152
  # resp.input.media_connect_flows[0].flow_arn #=> String
6105
6153
  # resp.input.name #=> String
@@ -6171,6 +6219,61 @@ module Aws::MediaLive
6171
6219
  req.send_request(options)
6172
6220
  end
6173
6221
 
6222
+ # Update reservation.
6223
+ #
6224
+ # @option params [String] :name
6225
+ #
6226
+ # @option params [required, String] :reservation_id
6227
+ #
6228
+ # @return [Types::UpdateReservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6229
+ #
6230
+ # * {Types::UpdateReservationResponse#reservation #reservation} => Types::Reservation
6231
+ #
6232
+ # @example Request syntax with placeholder values
6233
+ #
6234
+ # resp = client.update_reservation({
6235
+ # name: "__string",
6236
+ # reservation_id: "__string", # required
6237
+ # })
6238
+ #
6239
+ # @example Response structure
6240
+ #
6241
+ # resp.reservation.arn #=> String
6242
+ # resp.reservation.count #=> Integer
6243
+ # resp.reservation.currency_code #=> String
6244
+ # resp.reservation.duration #=> Integer
6245
+ # resp.reservation.duration_units #=> String, one of "MONTHS"
6246
+ # resp.reservation.end #=> String
6247
+ # resp.reservation.fixed_price #=> Float
6248
+ # resp.reservation.name #=> String
6249
+ # resp.reservation.offering_description #=> String
6250
+ # resp.reservation.offering_id #=> String
6251
+ # resp.reservation.offering_type #=> String, one of "NO_UPFRONT"
6252
+ # resp.reservation.region #=> String
6253
+ # resp.reservation.reservation_id #=> String
6254
+ # resp.reservation.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
6255
+ # resp.reservation.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
6256
+ # resp.reservation.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
6257
+ # resp.reservation.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
6258
+ # resp.reservation.resource_specification.resolution #=> String, one of "SD", "HD", "UHD"
6259
+ # resp.reservation.resource_specification.resource_type #=> String, one of "INPUT", "OUTPUT", "CHANNEL"
6260
+ # resp.reservation.resource_specification.special_feature #=> String, one of "ADVANCED_AUDIO", "AUDIO_NORMALIZATION"
6261
+ # resp.reservation.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
6262
+ # resp.reservation.start #=> String
6263
+ # resp.reservation.state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
6264
+ # resp.reservation.tags #=> Hash
6265
+ # resp.reservation.tags["__string"] #=> String
6266
+ # resp.reservation.usage_price #=> Float
6267
+ #
6268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation AWS API Documentation
6269
+ #
6270
+ # @overload update_reservation(params = {})
6271
+ # @param [Hash] params ({})
6272
+ def update_reservation(params = {}, options = {})
6273
+ req = build_request(:update_reservation, params)
6274
+ req.send_request(options)
6275
+ end
6276
+
6174
6277
  # @!endgroup
6175
6278
 
6176
6279
  # @param params ({})
@@ -6184,7 +6287,7 @@ module Aws::MediaLive
6184
6287
  params: params,
6185
6288
  config: config)
6186
6289
  context[:gem_name] = 'aws-sdk-medialive'
6187
- context[:gem_version] = '1.27.0'
6290
+ context[:gem_version] = '1.28.0'
6188
6291
  Seahorse::Client::Request.new(handlers, context)
6189
6292
  end
6190
6293
 
@@ -78,6 +78,7 @@ module Aws::MediaLive
78
78
  CaptionSelector = Shapes::StructureShape.new(name: 'CaptionSelector')
79
79
  CaptionSelectorSettings = Shapes::StructureShape.new(name: 'CaptionSelectorSettings')
80
80
  Channel = Shapes::StructureShape.new(name: 'Channel')
81
+ ChannelClass = Shapes::StringShape.new(name: 'ChannelClass')
81
82
  ChannelConfigurationValidationError = Shapes::StructureShape.new(name: 'ChannelConfigurationValidationError')
82
83
  ChannelEgressEndpoint = Shapes::StructureShape.new(name: 'ChannelEgressEndpoint')
83
84
  ChannelState = Shapes::StringShape.new(name: 'ChannelState')
@@ -221,6 +222,7 @@ module Aws::MediaLive
221
222
  Input = Shapes::StructureShape.new(name: 'Input')
222
223
  InputAttachment = Shapes::StructureShape.new(name: 'InputAttachment')
223
224
  InputChannelLevel = Shapes::StructureShape.new(name: 'InputChannelLevel')
225
+ InputClass = Shapes::StringShape.new(name: 'InputClass')
224
226
  InputCodec = Shapes::StringShape.new(name: 'InputCodec')
225
227
  InputDeblockFilter = Shapes::StringShape.new(name: 'InputDeblockFilter')
226
228
  InputDenoiseFilter = Shapes::StringShape.new(name: 'InputDenoiseFilter')
@@ -416,6 +418,10 @@ module Aws::MediaLive
416
418
  UpdateInputSecurityGroupRequest = Shapes::StructureShape.new(name: 'UpdateInputSecurityGroupRequest')
417
419
  UpdateInputSecurityGroupResponse = Shapes::StructureShape.new(name: 'UpdateInputSecurityGroupResponse')
418
420
  UpdateInputSecurityGroupResultModel = Shapes::StructureShape.new(name: 'UpdateInputSecurityGroupResultModel')
421
+ UpdateReservation = Shapes::StructureShape.new(name: 'UpdateReservation')
422
+ UpdateReservationRequest = Shapes::StructureShape.new(name: 'UpdateReservationRequest')
423
+ UpdateReservationResponse = Shapes::StructureShape.new(name: 'UpdateReservationResponse')
424
+ UpdateReservationResultModel = Shapes::StructureShape.new(name: 'UpdateReservationResultModel')
419
425
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
420
426
  VideoCodecSettings = Shapes::StructureShape.new(name: 'VideoCodecSettings')
421
427
  VideoDescription = Shapes::StructureShape.new(name: 'VideoDescription')
@@ -713,6 +719,7 @@ module Aws::MediaLive
713
719
  CaptionSelectorSettings.struct_class = Types::CaptionSelectorSettings
714
720
 
715
721
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
722
+ Channel.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
716
723
  Channel.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
717
724
  Channel.add_member(:egress_endpoints, Shapes::ShapeRef.new(shape: __listOfChannelEgressEndpoint, location_name: "egressEndpoints"))
718
725
  Channel.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
@@ -735,6 +742,7 @@ module Aws::MediaLive
735
742
  ChannelEgressEndpoint.struct_class = Types::ChannelEgressEndpoint
736
743
 
737
744
  ChannelSummary.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
745
+ ChannelSummary.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
738
746
  ChannelSummary.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
739
747
  ChannelSummary.add_member(:egress_endpoints, Shapes::ShapeRef.new(shape: __listOfChannelEgressEndpoint, location_name: "egressEndpoints"))
740
748
  ChannelSummary.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
@@ -748,6 +756,7 @@ module Aws::MediaLive
748
756
  ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
749
757
  ChannelSummary.struct_class = Types::ChannelSummary
750
758
 
759
+ CreateChannel.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
751
760
  CreateChannel.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
752
761
  CreateChannel.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
753
762
  CreateChannel.add_member(:input_attachments, Shapes::ShapeRef.new(shape: __listOfInputAttachment, location_name: "inputAttachments"))
@@ -760,6 +769,7 @@ module Aws::MediaLive
760
769
  CreateChannel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
761
770
  CreateChannel.struct_class = Types::CreateChannel
762
771
 
772
+ CreateChannelRequest.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
763
773
  CreateChannelRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
764
774
  CreateChannelRequest.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
765
775
  CreateChannelRequest.add_member(:input_attachments, Shapes::ShapeRef.new(shape: __listOfInputAttachment, location_name: "inputAttachments"))
@@ -826,6 +836,7 @@ module Aws::MediaLive
826
836
  DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
827
837
 
828
838
  DeleteChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
839
+ DeleteChannelResponse.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
829
840
  DeleteChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
830
841
  DeleteChannelResponse.add_member(:egress_endpoints, Shapes::ShapeRef.new(shape: __listOfChannelEgressEndpoint, location_name: "egressEndpoints"))
831
842
  DeleteChannelResponse.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
@@ -869,6 +880,7 @@ module Aws::MediaLive
869
880
  DeleteReservationResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
870
881
  DeleteReservationResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
871
882
  DeleteReservationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "state"))
883
+ DeleteReservationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
872
884
  DeleteReservationResponse.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
873
885
  DeleteReservationResponse.struct_class = Types::DeleteReservationResponse
874
886
 
@@ -880,6 +892,7 @@ module Aws::MediaLive
880
892
  DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
881
893
 
882
894
  DescribeChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
895
+ DescribeChannelResponse.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
883
896
  DescribeChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
884
897
  DescribeChannelResponse.add_member(:egress_endpoints, Shapes::ShapeRef.new(shape: __listOfChannelEgressEndpoint, location_name: "egressEndpoints"))
885
898
  DescribeChannelResponse.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
@@ -901,6 +914,7 @@ module Aws::MediaLive
901
914
  DescribeInputResponse.add_member(:attached_channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "attachedChannels"))
902
915
  DescribeInputResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfInputDestination, location_name: "destinations"))
903
916
  DescribeInputResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
917
+ DescribeInputResponse.add_member(:input_class, Shapes::ShapeRef.new(shape: InputClass, location_name: "inputClass"))
904
918
  DescribeInputResponse.add_member(:media_connect_flows, Shapes::ShapeRef.new(shape: __listOfMediaConnectFlow, location_name: "mediaConnectFlows"))
905
919
  DescribeInputResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
906
920
  DescribeInputResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
@@ -957,6 +971,7 @@ module Aws::MediaLive
957
971
  DescribeReservationResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
958
972
  DescribeReservationResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
959
973
  DescribeReservationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "state"))
974
+ DescribeReservationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
960
975
  DescribeReservationResponse.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
961
976
  DescribeReservationResponse.struct_class = Types::DescribeReservationResponse
962
977
 
@@ -1214,6 +1229,7 @@ module Aws::MediaLive
1214
1229
  Input.add_member(:attached_channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "attachedChannels"))
1215
1230
  Input.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfInputDestination, location_name: "destinations"))
1216
1231
  Input.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1232
+ Input.add_member(:input_class, Shapes::ShapeRef.new(shape: InputClass, location_name: "inputClass"))
1217
1233
  Input.add_member(:media_connect_flows, Shapes::ShapeRef.new(shape: __listOfMediaConnectFlow, location_name: "mediaConnectFlows"))
1218
1234
  Input.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1219
1235
  Input.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
@@ -1357,6 +1373,7 @@ module Aws::MediaLive
1357
1373
  ListInputsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1358
1374
  ListInputsResultModel.struct_class = Types::ListInputsResultModel
1359
1375
 
1376
+ ListOfferingsRequest.add_member(:channel_class, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "channelClass"))
1360
1377
  ListOfferingsRequest.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "channelConfiguration"))
1361
1378
  ListOfferingsRequest.add_member(:codec, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "codec"))
1362
1379
  ListOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1377,6 +1394,7 @@ module Aws::MediaLive
1377
1394
  ListOfferingsResultModel.add_member(:offerings, Shapes::ShapeRef.new(shape: __listOfOffering, location_name: "offerings"))
1378
1395
  ListOfferingsResultModel.struct_class = Types::ListOfferingsResultModel
1379
1396
 
1397
+ ListReservationsRequest.add_member(:channel_class, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "channelClass"))
1380
1398
  ListReservationsRequest.add_member(:codec, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "codec"))
1381
1399
  ListReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1382
1400
  ListReservationsRequest.add_member(:maximum_bitrate, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maximumBitrate"))
@@ -1584,6 +1602,7 @@ module Aws::MediaLive
1584
1602
  PurchaseOffering.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1585
1603
  PurchaseOffering.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
1586
1604
  PurchaseOffering.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
1605
+ PurchaseOffering.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1587
1606
  PurchaseOffering.struct_class = Types::PurchaseOffering
1588
1607
 
1589
1608
  PurchaseOfferingRequest.add_member(:count, Shapes::ShapeRef.new(shape: __integerMin1, required: true, location_name: "count"))
@@ -1591,6 +1610,7 @@ module Aws::MediaLive
1591
1610
  PurchaseOfferingRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringId"))
1592
1611
  PurchaseOfferingRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
1593
1612
  PurchaseOfferingRequest.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
1613
+ PurchaseOfferingRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1594
1614
  PurchaseOfferingRequest.struct_class = Types::PurchaseOfferingRequest
1595
1615
 
1596
1616
  PurchaseOfferingResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
@@ -1620,9 +1640,11 @@ module Aws::MediaLive
1620
1640
  Reservation.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
1621
1641
  Reservation.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
1622
1642
  Reservation.add_member(:state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "state"))
1643
+ Reservation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1623
1644
  Reservation.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
1624
1645
  Reservation.struct_class = Types::Reservation
1625
1646
 
1647
+ ReservationResourceSpecification.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
1626
1648
  ReservationResourceSpecification.add_member(:codec, Shapes::ShapeRef.new(shape: ReservationCodec, location_name: "codec"))
1627
1649
  ReservationResourceSpecification.add_member(:maximum_bitrate, Shapes::ShapeRef.new(shape: ReservationMaximumBitrate, location_name: "maximumBitrate"))
1628
1650
  ReservationResourceSpecification.add_member(:maximum_framerate, Shapes::ShapeRef.new(shape: ReservationMaximumFramerate, location_name: "maximumFramerate"))
@@ -1743,6 +1765,7 @@ module Aws::MediaLive
1743
1765
  StartChannelRequest.struct_class = Types::StartChannelRequest
1744
1766
 
1745
1767
  StartChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
1768
+ StartChannelResponse.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
1746
1769
  StartChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
1747
1770
  StartChannelResponse.add_member(:egress_endpoints, Shapes::ShapeRef.new(shape: __listOfChannelEgressEndpoint, location_name: "egressEndpoints"))
1748
1771
  StartChannelResponse.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
@@ -1781,6 +1804,7 @@ module Aws::MediaLive
1781
1804
  StopChannelRequest.struct_class = Types::StopChannelRequest
1782
1805
 
1783
1806
  StopChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
1807
+ StopChannelResponse.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
1784
1808
  StopChannelResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
1785
1809
  StopChannelResponse.add_member(:egress_endpoints, Shapes::ShapeRef.new(shape: __listOfChannelEgressEndpoint, location_name: "egressEndpoints"))
1786
1810
  StopChannelResponse.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
@@ -1886,6 +1910,19 @@ module Aws::MediaLive
1886
1910
  UpdateInputSecurityGroupResultModel.add_member(:security_group, Shapes::ShapeRef.new(shape: InputSecurityGroup, location_name: "securityGroup"))
1887
1911
  UpdateInputSecurityGroupResultModel.struct_class = Types::UpdateInputSecurityGroupResultModel
1888
1912
 
1913
+ UpdateReservation.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1914
+ UpdateReservation.struct_class = Types::UpdateReservation
1915
+
1916
+ UpdateReservationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1917
+ UpdateReservationRequest.add_member(:reservation_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "reservationId"))
1918
+ UpdateReservationRequest.struct_class = Types::UpdateReservationRequest
1919
+
1920
+ UpdateReservationResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
1921
+ UpdateReservationResponse.struct_class = Types::UpdateReservationResponse
1922
+
1923
+ UpdateReservationResultModel.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
1924
+ UpdateReservationResultModel.struct_class = Types::UpdateReservationResultModel
1925
+
1889
1926
  ValidationError.add_member(:element_path, Shapes::ShapeRef.new(shape: __string, location_name: "elementPath"))
1890
1927
  ValidationError.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
1891
1928
  ValidationError.struct_class = Types::ValidationError
@@ -2454,6 +2491,22 @@ module Aws::MediaLive
2454
2491
  o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
2455
2492
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2456
2493
  end)
2494
+
2495
+ api.add_operation(:update_reservation, Seahorse::Model::Operation.new.tap do |o|
2496
+ o.name = "UpdateReservation"
2497
+ o.http_method = "PUT"
2498
+ o.http_request_uri = "/prod/reservations/{reservationId}"
2499
+ o.input = Shapes::ShapeRef.new(shape: UpdateReservationRequest)
2500
+ o.output = Shapes::ShapeRef.new(shape: UpdateReservationResponse)
2501
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2502
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2503
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2504
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
2505
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2506
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
2507
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2508
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2509
+ end)
2457
2510
  end
2458
2511
 
2459
2512
  end
@@ -1925,6 +1925,11 @@ module Aws::MediaLive
1925
1925
  # The unique arn of the channel.
1926
1926
  # @return [String]
1927
1927
  #
1928
+ # @!attribute [rw] channel_class
1929
+ # The class for this channel. STANDARD for a channel with two
1930
+ # pipelines or SINGLE\_PIPELINE for a channel with one pipeline.
1931
+ # @return [String]
1932
+ #
1928
1933
  # @!attribute [rw] destinations
1929
1934
  # A list of destinations of the channel. For UDP outputs, there is one
1930
1935
  # destination per output. For other types (HLS, for example), there is
@@ -1978,6 +1983,7 @@ module Aws::MediaLive
1978
1983
  #
1979
1984
  class Channel < Struct.new(
1980
1985
  :arn,
1986
+ :channel_class,
1981
1987
  :destinations,
1982
1988
  :egress_endpoints,
1983
1989
  :encoder_settings,
@@ -2023,6 +2029,11 @@ module Aws::MediaLive
2023
2029
  # The unique arn of the channel.
2024
2030
  # @return [String]
2025
2031
  #
2032
+ # @!attribute [rw] channel_class
2033
+ # The class for this channel. STANDARD for a channel with two
2034
+ # pipelines or SINGLE\_PIPELINE for a channel with one pipeline.
2035
+ # @return [String]
2036
+ #
2026
2037
  # @!attribute [rw] destinations
2027
2038
  # A list of destinations of the channel. For UDP outputs, there is one
2028
2039
  # destination per output. For other types (HLS, for example), there is
@@ -2072,6 +2083,7 @@ module Aws::MediaLive
2072
2083
  #
2073
2084
  class ChannelSummary < Struct.new(
2074
2085
  :arn,
2086
+ :channel_class,
2075
2087
  :destinations,
2076
2088
  :egress_endpoints,
2077
2089
  :id,
@@ -2086,6 +2098,11 @@ module Aws::MediaLive
2086
2098
  include Aws::Structure
2087
2099
  end
2088
2100
 
2101
+ # @!attribute [rw] channel_class
2102
+ # The class for this channel. STANDARD for a channel with two
2103
+ # pipelines or SINGLE\_PIPELINE for a channel with one pipeline.
2104
+ # @return [String]
2105
+ #
2089
2106
  # @!attribute [rw] destinations
2090
2107
  # @return [Array<Types::OutputDestination>]
2091
2108
  #
@@ -2131,6 +2148,7 @@ module Aws::MediaLive
2131
2148
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel AWS API Documentation
2132
2149
  #
2133
2150
  class CreateChannel < Struct.new(
2151
+ :channel_class,
2134
2152
  :destinations,
2135
2153
  :encoder_settings,
2136
2154
  :input_attachments,
@@ -2148,6 +2166,7 @@ module Aws::MediaLive
2148
2166
  # data as a hash:
2149
2167
  #
2150
2168
  # {
2169
+ # channel_class: "STANDARD", # accepts STANDARD, SINGLE_PIPELINE
2151
2170
  # destinations: [
2152
2171
  # {
2153
2172
  # id: "__string",
@@ -2876,6 +2895,11 @@ module Aws::MediaLive
2876
2895
  # },
2877
2896
  # }
2878
2897
  #
2898
+ # @!attribute [rw] channel_class
2899
+ # A standard channel has two encoding pipelines and a single pipeline
2900
+ # channel only has one.
2901
+ # @return [String]
2902
+ #
2879
2903
  # @!attribute [rw] destinations
2880
2904
  # @return [Array<Types::OutputDestination>]
2881
2905
  #
@@ -2913,6 +2937,7 @@ module Aws::MediaLive
2913
2937
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelRequest AWS API Documentation
2914
2938
  #
2915
2939
  class CreateChannelRequest < Struct.new(
2940
+ :channel_class,
2916
2941
  :destinations,
2917
2942
  :encoder_settings,
2918
2943
  :input_attachments,
@@ -3215,6 +3240,11 @@ module Aws::MediaLive
3215
3240
  # @!attribute [rw] arn
3216
3241
  # @return [String]
3217
3242
  #
3243
+ # @!attribute [rw] channel_class
3244
+ # A standard channel has two encoding pipelines and a single pipeline
3245
+ # channel only has one.
3246
+ # @return [String]
3247
+ #
3218
3248
  # @!attribute [rw] destinations
3219
3249
  # @return [Array<Types::OutputDestination>]
3220
3250
  #
@@ -3257,6 +3287,7 @@ module Aws::MediaLive
3257
3287
  #
3258
3288
  class DeleteChannelResponse < Struct.new(
3259
3289
  :arn,
3290
+ :channel_class,
3260
3291
  :destinations,
3261
3292
  :egress_endpoints,
3262
3293
  :encoder_settings,
@@ -3383,6 +3414,9 @@ module Aws::MediaLive
3383
3414
  # Current reservation state
3384
3415
  # @return [String]
3385
3416
  #
3417
+ # @!attribute [rw] tags
3418
+ # @return [Hash<String,String>]
3419
+ #
3386
3420
  # @!attribute [rw] usage_price
3387
3421
  # @return [Float]
3388
3422
  #
@@ -3405,6 +3439,7 @@ module Aws::MediaLive
3405
3439
  :resource_specification,
3406
3440
  :start,
3407
3441
  :state,
3442
+ :tags,
3408
3443
  :usage_price)
3409
3444
  include Aws::Structure
3410
3445
  end
@@ -3451,6 +3486,11 @@ module Aws::MediaLive
3451
3486
  # @!attribute [rw] arn
3452
3487
  # @return [String]
3453
3488
  #
3489
+ # @!attribute [rw] channel_class
3490
+ # A standard channel has two encoding pipelines and a single pipeline
3491
+ # channel only has one.
3492
+ # @return [String]
3493
+ #
3454
3494
  # @!attribute [rw] destinations
3455
3495
  # @return [Array<Types::OutputDestination>]
3456
3496
  #
@@ -3493,6 +3533,7 @@ module Aws::MediaLive
3493
3533
  #
3494
3534
  class DescribeChannelResponse < Struct.new(
3495
3535
  :arn,
3536
+ :channel_class,
3496
3537
  :destinations,
3497
3538
  :egress_endpoints,
3498
3539
  :encoder_settings,
@@ -3537,6 +3578,11 @@ module Aws::MediaLive
3537
3578
  # @!attribute [rw] id
3538
3579
  # @return [String]
3539
3580
  #
3581
+ # @!attribute [rw] input_class
3582
+ # A standard input has two sources and a single pipeline input only
3583
+ # has one.
3584
+ # @return [String]
3585
+ #
3540
3586
  # @!attribute [rw] media_connect_flows
3541
3587
  # @return [Array<Types::MediaConnectFlow>]
3542
3588
  #
@@ -3568,6 +3614,7 @@ module Aws::MediaLive
3568
3614
  :attached_channels,
3569
3615
  :destinations,
3570
3616
  :id,
3617
+ :input_class,
3571
3618
  :media_connect_flows,
3572
3619
  :name,
3573
3620
  :role_arn,
@@ -3765,6 +3812,9 @@ module Aws::MediaLive
3765
3812
  # Current reservation state
3766
3813
  # @return [String]
3767
3814
  #
3815
+ # @!attribute [rw] tags
3816
+ # @return [Hash<String,String>]
3817
+ #
3768
3818
  # @!attribute [rw] usage_price
3769
3819
  # @return [Float]
3770
3820
  #
@@ -3787,6 +3837,7 @@ module Aws::MediaLive
3787
3837
  :resource_specification,
3788
3838
  :start,
3789
3839
  :state,
3840
+ :tags,
3790
3841
  :usage_price)
3791
3842
  include Aws::Structure
3792
3843
  end
@@ -6398,6 +6449,17 @@ module Aws::MediaLive
6398
6449
  # The generated ID of the input (unique for user account, immutable).
6399
6450
  # @return [String]
6400
6451
  #
6452
+ # @!attribute [rw] input_class
6453
+ # STANDARD - MediaLive expects two sources to be connected to this
6454
+ # input. If the channel is also STANDARD, both sources will be
6455
+ # ingested. If the channel is SINGLE\_PIPELINE, only the first source
6456
+ # will be ingested; the second source will always be ignored, even if
6457
+ # the first source fails. SINGLE\_PIPELINE - You can connect only one
6458
+ # source to this input. If the ChannelClass is also SINGLE\_PIPELINE,
6459
+ # this value is valid. If the ChannelClass is STANDARD, this value is
6460
+ # not valid because the channel requires two sources in the input.
6461
+ # @return [String]
6462
+ #
6401
6463
  # @!attribute [rw] media_connect_flows
6402
6464
  # A list of MediaConnect Flows for this input.
6403
6465
  # @return [Array<Types::MediaConnectFlow>]
@@ -6437,6 +6499,7 @@ module Aws::MediaLive
6437
6499
  :attached_channels,
6438
6500
  :destinations,
6439
6501
  :id,
6502
+ :input_class,
6440
6503
  :media_connect_flows,
6441
6504
  :name,
6442
6505
  :role_arn,
@@ -7323,6 +7386,7 @@ module Aws::MediaLive
7323
7386
  # data as a hash:
7324
7387
  #
7325
7388
  # {
7389
+ # channel_class: "__string",
7326
7390
  # channel_configuration: "__string",
7327
7391
  # codec: "__string",
7328
7392
  # max_results: 1,
@@ -7335,6 +7399,9 @@ module Aws::MediaLive
7335
7399
  # video_quality: "__string",
7336
7400
  # }
7337
7401
  #
7402
+ # @!attribute [rw] channel_class
7403
+ # @return [String]
7404
+ #
7338
7405
  # @!attribute [rw] channel_configuration
7339
7406
  # @return [String]
7340
7407
  #
@@ -7368,6 +7435,7 @@ module Aws::MediaLive
7368
7435
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferingsRequest AWS API Documentation
7369
7436
  #
7370
7437
  class ListOfferingsRequest < Struct.new(
7438
+ :channel_class,
7371
7439
  :channel_configuration,
7372
7440
  :codec,
7373
7441
  :max_results,
@@ -7417,6 +7485,7 @@ module Aws::MediaLive
7417
7485
  # data as a hash:
7418
7486
  #
7419
7487
  # {
7488
+ # channel_class: "__string",
7420
7489
  # codec: "__string",
7421
7490
  # max_results: 1,
7422
7491
  # maximum_bitrate: "__string",
@@ -7428,6 +7497,9 @@ module Aws::MediaLive
7428
7497
  # video_quality: "__string",
7429
7498
  # }
7430
7499
  #
7500
+ # @!attribute [rw] channel_class
7501
+ # @return [String]
7502
+ #
7431
7503
  # @!attribute [rw] codec
7432
7504
  # @return [String]
7433
7505
  #
@@ -7458,6 +7530,7 @@ module Aws::MediaLive
7458
7530
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservationsRequest AWS API Documentation
7459
7531
  #
7460
7532
  class ListReservationsRequest < Struct.new(
7533
+ :channel_class,
7461
7534
  :codec,
7462
7535
  :max_results,
7463
7536
  :maximum_bitrate,
@@ -9668,13 +9741,18 @@ module Aws::MediaLive
9668
9741
  # and one year from now. If no value is given, the default is now.
9669
9742
  # @return [String]
9670
9743
  #
9744
+ # @!attribute [rw] tags
9745
+ # A collection of key-value pairs
9746
+ # @return [Hash<String,String>]
9747
+ #
9671
9748
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering AWS API Documentation
9672
9749
  #
9673
9750
  class PurchaseOffering < Struct.new(
9674
9751
  :count,
9675
9752
  :name,
9676
9753
  :request_id,
9677
- :start)
9754
+ :start,
9755
+ :tags)
9678
9756
  include Aws::Structure
9679
9757
  end
9680
9758
 
@@ -9687,6 +9765,9 @@ module Aws::MediaLive
9687
9765
  # offering_id: "__string", # required
9688
9766
  # request_id: "__string",
9689
9767
  # start: "__string",
9768
+ # tags: {
9769
+ # "__string" => "__string",
9770
+ # },
9690
9771
  # }
9691
9772
  #
9692
9773
  # @!attribute [rw] count
@@ -9706,6 +9787,9 @@ module Aws::MediaLive
9706
9787
  # @!attribute [rw] start
9707
9788
  # @return [String]
9708
9789
  #
9790
+ # @!attribute [rw] tags
9791
+ # @return [Hash<String,String>]
9792
+ #
9709
9793
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOfferingRequest AWS API Documentation
9710
9794
  #
9711
9795
  class PurchaseOfferingRequest < Struct.new(
@@ -9713,7 +9797,8 @@ module Aws::MediaLive
9713
9797
  :name,
9714
9798
  :offering_id,
9715
9799
  :request_id,
9716
- :start)
9800
+ :start,
9801
+ :tags)
9717
9802
  include Aws::Structure
9718
9803
  end
9719
9804
 
@@ -9857,6 +9942,10 @@ module Aws::MediaLive
9857
9942
  # Current state of reservation, e.g. 'ACTIVE'
9858
9943
  # @return [String]
9859
9944
  #
9945
+ # @!attribute [rw] tags
9946
+ # A collection of key-value pairs
9947
+ # @return [Hash<String,String>]
9948
+ #
9860
9949
  # @!attribute [rw] usage_price
9861
9950
  # Recurring usage charge for each reserved resource, e.g. '157.0'
9862
9951
  # @return [Float]
@@ -9880,12 +9969,17 @@ module Aws::MediaLive
9880
9969
  :resource_specification,
9881
9970
  :start,
9882
9971
  :state,
9972
+ :tags,
9883
9973
  :usage_price)
9884
9974
  include Aws::Structure
9885
9975
  end
9886
9976
 
9887
9977
  # Resource configuration (codec, resolution, bitrate, ...)
9888
9978
  #
9979
+ # @!attribute [rw] channel_class
9980
+ # Channel class, e.g. 'STANDARD'
9981
+ # @return [String]
9982
+ #
9889
9983
  # @!attribute [rw] codec
9890
9984
  # Codec, e.g. 'AVC'
9891
9985
  # @return [String]
@@ -9917,6 +10011,7 @@ module Aws::MediaLive
9917
10011
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ReservationResourceSpecification AWS API Documentation
9918
10012
  #
9919
10013
  class ReservationResourceSpecification < Struct.new(
10014
+ :channel_class,
9920
10015
  :codec,
9921
10016
  :maximum_bitrate,
9922
10017
  :maximum_framerate,
@@ -10889,6 +10984,11 @@ module Aws::MediaLive
10889
10984
  # @!attribute [rw] arn
10890
10985
  # @return [String]
10891
10986
  #
10987
+ # @!attribute [rw] channel_class
10988
+ # A standard channel has two encoding pipelines and a single pipeline
10989
+ # channel only has one.
10990
+ # @return [String]
10991
+ #
10892
10992
  # @!attribute [rw] destinations
10893
10993
  # @return [Array<Types::OutputDestination>]
10894
10994
  #
@@ -10931,6 +11031,7 @@ module Aws::MediaLive
10931
11031
  #
10932
11032
  class StartChannelResponse < Struct.new(
10933
11033
  :arn,
11034
+ :channel_class,
10934
11035
  :destinations,
10935
11036
  :egress_endpoints,
10936
11037
  :encoder_settings,
@@ -11126,6 +11227,11 @@ module Aws::MediaLive
11126
11227
  # @!attribute [rw] arn
11127
11228
  # @return [String]
11128
11229
  #
11230
+ # @!attribute [rw] channel_class
11231
+ # A standard channel has two encoding pipelines and a single pipeline
11232
+ # channel only has one.
11233
+ # @return [String]
11234
+ #
11129
11235
  # @!attribute [rw] destinations
11130
11236
  # @return [Array<Types::OutputDestination>]
11131
11237
  #
@@ -11168,6 +11274,7 @@ module Aws::MediaLive
11168
11274
  #
11169
11275
  class StopChannelResponse < Struct.new(
11170
11276
  :arn,
11277
+ :channel_class,
11171
11278
  :destinations,
11172
11279
  :egress_endpoints,
11173
11280
  :encoder_settings,
@@ -12521,6 +12628,65 @@ module Aws::MediaLive
12521
12628
  include Aws::Structure
12522
12629
  end
12523
12630
 
12631
+ # UpdateReservation request
12632
+ #
12633
+ # @!attribute [rw] name
12634
+ # Name of the reservation
12635
+ # @return [String]
12636
+ #
12637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation AWS API Documentation
12638
+ #
12639
+ class UpdateReservation < Struct.new(
12640
+ :name)
12641
+ include Aws::Structure
12642
+ end
12643
+
12644
+ # @note When making an API call, you may pass UpdateReservationRequest
12645
+ # data as a hash:
12646
+ #
12647
+ # {
12648
+ # name: "__string",
12649
+ # reservation_id: "__string", # required
12650
+ # }
12651
+ #
12652
+ # @!attribute [rw] name
12653
+ # @return [String]
12654
+ #
12655
+ # @!attribute [rw] reservation_id
12656
+ # @return [String]
12657
+ #
12658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservationRequest AWS API Documentation
12659
+ #
12660
+ class UpdateReservationRequest < Struct.new(
12661
+ :name,
12662
+ :reservation_id)
12663
+ include Aws::Structure
12664
+ end
12665
+
12666
+ # @!attribute [rw] reservation
12667
+ # Reserved resources available to use
12668
+ # @return [Types::Reservation]
12669
+ #
12670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservationResponse AWS API Documentation
12671
+ #
12672
+ class UpdateReservationResponse < Struct.new(
12673
+ :reservation)
12674
+ include Aws::Structure
12675
+ end
12676
+
12677
+ # UpdateReservation response
12678
+ #
12679
+ # @!attribute [rw] reservation
12680
+ # Reserved resources available to use
12681
+ # @return [Types::Reservation]
12682
+ #
12683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservationResultModel AWS API Documentation
12684
+ #
12685
+ class UpdateReservationResultModel < Struct.new(
12686
+ :reservation)
12687
+ include Aws::Structure
12688
+ end
12689
+
12524
12690
  # @!attribute [rw] element_path
12525
12691
  # @return [String]
12526
12692
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-medialive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.28.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: 2019-03-28 00:00:00.000000000 Z
11
+ date: 2019-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core