aws-sdk-medialive 1.41.0 → 1.42.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
- SHA1:
3
- metadata.gz: 5cb1294ada628068a4185075f6994316c52446c7
4
- data.tar.gz: 0f0dba99bcceedeb8622842d8d3560ab620c55a6
2
+ SHA256:
3
+ metadata.gz: 360290a676c4a2f2a06c97dd36b792c9652a4c175c4bcfc50975d652b31776e9
4
+ data.tar.gz: 6bbe5b25201bc977b4acd86a3264035f61718448d0ce6bbf3b6e4e1791a8ac63
5
5
  SHA512:
6
- metadata.gz: 8e9aff4121fbf0f709be2c8a753617312e4ea335678c0fe6d83164b40f9cf2a4f0a21543a59f31c9fab7a5409f39a13d328035556ff2aca27dcdb3eb520035f6
7
- data.tar.gz: 90e512dcdc0ab54e5f144551d67844fd4db0c4812232ae0323d30b3536c3a7a1b66261f2d565474f74f94ea44eeade7a7c789979c5c4be52b5e6d04335a5ac0c
6
+ metadata.gz: 5c1768b9b878c3278c46c9b034dad736eb0876cd7b71bb4f42cc32924e1c11c01e25e994f2546719c846e1c103a8e75bfc701d325f785a328a4df14f77522cd6
7
+ data.tar.gz: 291dd4b1e6ccaaec06b2ea3206843d9273ec9895bbc61886a21f71cd99a31eda2e1882df1a5e2c77c29eb614e20c29f84cd967b3ae62c17629c8b9ace6f4107a
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-medialive/customizations'
46
46
  # @service
47
47
  module Aws::MediaLive
48
48
 
49
- GEM_VERSION = '1.41.0'
49
+ GEM_VERSION = '1.42.0'
50
50
 
51
51
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:medialive)
32
32
  module Aws::MediaLive
33
33
  # An API client for MediaLive. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::MediaLive::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::MediaLive::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::MediaLive
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::MediaLive
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::MediaLive
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -1208,6 +1211,7 @@ module Aws::MediaLive
1208
1211
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
1209
1212
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
1210
1213
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
1214
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
1211
1215
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
1212
1216
  # framerate_denominator: 1,
1213
1217
  # framerate_numerator: 1,
@@ -1290,6 +1294,10 @@ module Aws::MediaLive
1290
1294
  # },
1291
1295
  # input_attachments: [
1292
1296
  # {
1297
+ # automatic_input_failover_settings: {
1298
+ # input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
1299
+ # secondary_input_id: "__string", # required
1300
+ # },
1293
1301
  # input_attachment_name: "__string",
1294
1302
  # input_id: "__string",
1295
1303
  # input_settings: {
@@ -1800,6 +1808,7 @@ module Aws::MediaLive
1800
1808
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
1801
1809
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
1802
1810
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
1811
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
1803
1812
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_control #=> String, one of "INITIALIZE_FROM_SOURCE", "SPECIFIED"
1804
1813
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_denominator #=> Integer
1805
1814
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_numerator #=> Integer
@@ -1865,6 +1874,8 @@ module Aws::MediaLive
1865
1874
  # resp.channel.encoder_settings.video_descriptions[0].width #=> Integer
1866
1875
  # resp.channel.id #=> String
1867
1876
  # resp.channel.input_attachments #=> Array
1877
+ # resp.channel.input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
1878
+ # resp.channel.input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
1868
1879
  # resp.channel.input_attachments[0].input_attachment_name #=> String
1869
1880
  # resp.channel.input_attachments[0].input_id #=> String
1870
1881
  # resp.channel.input_attachments[0].input_settings.audio_selectors #=> Array
@@ -2687,6 +2698,7 @@ module Aws::MediaLive
2687
2698
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
2688
2699
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
2689
2700
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
2701
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
2690
2702
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_control #=> String, one of "INITIALIZE_FROM_SOURCE", "SPECIFIED"
2691
2703
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_denominator #=> Integer
2692
2704
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_numerator #=> Integer
@@ -2752,6 +2764,8 @@ module Aws::MediaLive
2752
2764
  # resp.encoder_settings.video_descriptions[0].width #=> Integer
2753
2765
  # resp.id #=> String
2754
2766
  # resp.input_attachments #=> Array
2767
+ # resp.input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
2768
+ # resp.input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
2755
2769
  # resp.input_attachments[0].input_attachment_name #=> String
2756
2770
  # resp.input_attachments[0].input_id #=> String
2757
2771
  # resp.input_attachments[0].input_settings.audio_selectors #=> Array
@@ -3522,6 +3536,7 @@ module Aws::MediaLive
3522
3536
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
3523
3537
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
3524
3538
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
3539
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
3525
3540
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_control #=> String, one of "INITIALIZE_FROM_SOURCE", "SPECIFIED"
3526
3541
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_denominator #=> Integer
3527
3542
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_numerator #=> Integer
@@ -3587,6 +3602,8 @@ module Aws::MediaLive
3587
3602
  # resp.encoder_settings.video_descriptions[0].width #=> Integer
3588
3603
  # resp.id #=> String
3589
3604
  # resp.input_attachments #=> Array
3605
+ # resp.input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
3606
+ # resp.input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
3590
3607
  # resp.input_attachments[0].input_attachment_name #=> String
3591
3608
  # resp.input_attachments[0].input_id #=> String
3592
3609
  # resp.input_attachments[0].input_settings.audio_selectors #=> Array
@@ -3635,6 +3652,14 @@ module Aws::MediaLive
3635
3652
  # resp.tags #=> Hash
3636
3653
  # resp.tags["__string"] #=> String
3637
3654
  #
3655
+ #
3656
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3657
+ #
3658
+ # * channel_created
3659
+ # * channel_deleted
3660
+ # * channel_running
3661
+ # * channel_stopped
3662
+ #
3638
3663
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel AWS API Documentation
3639
3664
  #
3640
3665
  # @overload describe_channel(params = {})
@@ -3791,6 +3816,14 @@ module Aws::MediaLive
3791
3816
  # resp.tags #=> Hash
3792
3817
  # resp.tags["__string"] #=> String
3793
3818
  #
3819
+ #
3820
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3821
+ #
3822
+ # * multiplex_created
3823
+ # * multiplex_deleted
3824
+ # * multiplex_running
3825
+ # * multiplex_stopped
3826
+ #
3794
3827
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplex AWS API Documentation
3795
3828
  #
3796
3829
  # @overload describe_multiplex(params = {})
@@ -3994,6 +4027,8 @@ module Aws::MediaLive
3994
4027
  # * {Types::DescribeScheduleResponse#next_token #next_token} => String
3995
4028
  # * {Types::DescribeScheduleResponse#schedule_actions #schedule_actions} => Array<Types::ScheduleAction>
3996
4029
  #
4030
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4031
+ #
3997
4032
  # @example Request syntax with placeholder values
3998
4033
  #
3999
4034
  # resp = client.describe_schedule({
@@ -4074,6 +4109,8 @@ module Aws::MediaLive
4074
4109
  # * {Types::ListChannelsResponse#channels #channels} => Array<Types::ChannelSummary>
4075
4110
  # * {Types::ListChannelsResponse#next_token #next_token} => String
4076
4111
  #
4112
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4113
+ #
4077
4114
  # @example Request syntax with placeholder values
4078
4115
  #
4079
4116
  # resp = client.list_channels({
@@ -4101,6 +4138,8 @@ module Aws::MediaLive
4101
4138
  # resp.channels[0].egress_endpoints[0].source_ip #=> String
4102
4139
  # resp.channels[0].id #=> String
4103
4140
  # resp.channels[0].input_attachments #=> Array
4141
+ # resp.channels[0].input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
4142
+ # resp.channels[0].input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
4104
4143
  # resp.channels[0].input_attachments[0].input_attachment_name #=> String
4105
4144
  # resp.channels[0].input_attachments[0].input_id #=> String
4106
4145
  # resp.channels[0].input_attachments[0].input_settings.audio_selectors #=> Array
@@ -4166,6 +4205,8 @@ module Aws::MediaLive
4166
4205
  # * {Types::ListInputSecurityGroupsResponse#input_security_groups #input_security_groups} => Array<Types::InputSecurityGroup>
4167
4206
  # * {Types::ListInputSecurityGroupsResponse#next_token #next_token} => String
4168
4207
  #
4208
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4209
+ #
4169
4210
  # @example Request syntax with placeholder values
4170
4211
  #
4171
4212
  # resp = client.list_input_security_groups({
@@ -4207,6 +4248,8 @@ module Aws::MediaLive
4207
4248
  # * {Types::ListInputsResponse#inputs #inputs} => Array<Types::Input>
4208
4249
  # * {Types::ListInputsResponse#next_token #next_token} => String
4209
4250
  #
4251
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4252
+ #
4210
4253
  # @example Request syntax with placeholder values
4211
4254
  #
4212
4255
  # resp = client.list_inputs({
@@ -4267,6 +4310,8 @@ module Aws::MediaLive
4267
4310
  # * {Types::ListMultiplexProgramsResponse#multiplex_programs #multiplex_programs} => Array<Types::MultiplexProgramSummary>
4268
4311
  # * {Types::ListMultiplexProgramsResponse#next_token #next_token} => String
4269
4312
  #
4313
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4314
+ #
4270
4315
  # @example Request syntax with placeholder values
4271
4316
  #
4272
4317
  # resp = client.list_multiplex_programs({
@@ -4302,6 +4347,8 @@ module Aws::MediaLive
4302
4347
  # * {Types::ListMultiplexesResponse#multiplexes #multiplexes} => Array<Types::MultiplexSummary>
4303
4348
  # * {Types::ListMultiplexesResponse#next_token #next_token} => String
4304
4349
  #
4350
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4351
+ #
4305
4352
  # @example Request syntax with placeholder values
4306
4353
  #
4307
4354
  # resp = client.list_multiplexes({
@@ -4365,6 +4412,8 @@ module Aws::MediaLive
4365
4412
  # * {Types::ListOfferingsResponse#next_token #next_token} => String
4366
4413
  # * {Types::ListOfferingsResponse#offerings #offerings} => Array<Types::Offering>
4367
4414
  #
4415
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4416
+ #
4368
4417
  # @example Request syntax with placeholder values
4369
4418
  #
4370
4419
  # resp = client.list_offerings({
@@ -4441,6 +4490,8 @@ module Aws::MediaLive
4441
4490
  # * {Types::ListReservationsResponse#next_token #next_token} => String
4442
4491
  # * {Types::ListReservationsResponse#reservations #reservations} => Array<Types::Reservation>
4443
4492
  #
4493
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4494
+ #
4444
4495
  # @example Request syntax with placeholder values
4445
4496
  #
4446
4497
  # resp = client.list_reservations({
@@ -5043,6 +5094,7 @@ module Aws::MediaLive
5043
5094
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
5044
5095
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
5045
5096
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
5097
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
5046
5098
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_control #=> String, one of "INITIALIZE_FROM_SOURCE", "SPECIFIED"
5047
5099
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_denominator #=> Integer
5048
5100
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_numerator #=> Integer
@@ -5108,6 +5160,8 @@ module Aws::MediaLive
5108
5160
  # resp.encoder_settings.video_descriptions[0].width #=> Integer
5109
5161
  # resp.id #=> String
5110
5162
  # resp.input_attachments #=> Array
5163
+ # resp.input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
5164
+ # resp.input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
5111
5165
  # resp.input_attachments[0].input_attachment_name #=> String
5112
5166
  # resp.input_attachments[0].input_id #=> String
5113
5167
  # resp.input_attachments[0].input_settings.audio_selectors #=> Array
@@ -5665,6 +5719,7 @@ module Aws::MediaLive
5665
5719
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
5666
5720
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
5667
5721
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
5722
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
5668
5723
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_control #=> String, one of "INITIALIZE_FROM_SOURCE", "SPECIFIED"
5669
5724
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_denominator #=> Integer
5670
5725
  # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_numerator #=> Integer
@@ -5730,6 +5785,8 @@ module Aws::MediaLive
5730
5785
  # resp.encoder_settings.video_descriptions[0].width #=> Integer
5731
5786
  # resp.id #=> String
5732
5787
  # resp.input_attachments #=> Array
5788
+ # resp.input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
5789
+ # resp.input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
5733
5790
  # resp.input_attachments[0].input_attachment_name #=> String
5734
5791
  # resp.input_attachments[0].input_id #=> String
5735
5792
  # resp.input_attachments[0].input_settings.audio_selectors #=> Array
@@ -6500,6 +6557,7 @@ module Aws::MediaLive
6500
6557
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
6501
6558
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
6502
6559
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
6560
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
6503
6561
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
6504
6562
  # framerate_denominator: 1,
6505
6563
  # framerate_numerator: 1,
@@ -6582,6 +6640,10 @@ module Aws::MediaLive
6582
6640
  # },
6583
6641
  # input_attachments: [
6584
6642
  # {
6643
+ # automatic_input_failover_settings: {
6644
+ # input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
6645
+ # secondary_input_id: "__string", # required
6646
+ # },
6585
6647
  # input_attachment_name: "__string",
6586
6648
  # input_id: "__string",
6587
6649
  # input_settings: {
@@ -7087,6 +7149,7 @@ module Aws::MediaLive
7087
7149
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
7088
7150
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
7089
7151
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
7152
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
7090
7153
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_control #=> String, one of "INITIALIZE_FROM_SOURCE", "SPECIFIED"
7091
7154
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_denominator #=> Integer
7092
7155
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_numerator #=> Integer
@@ -7152,6 +7215,8 @@ module Aws::MediaLive
7152
7215
  # resp.channel.encoder_settings.video_descriptions[0].width #=> Integer
7153
7216
  # resp.channel.id #=> String
7154
7217
  # resp.channel.input_attachments #=> Array
7218
+ # resp.channel.input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
7219
+ # resp.channel.input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
7155
7220
  # resp.channel.input_attachments[0].input_attachment_name #=> String
7156
7221
  # resp.channel.input_attachments[0].input_id #=> String
7157
7222
  # resp.channel.input_attachments[0].input_settings.audio_selectors #=> Array
@@ -7672,6 +7737,7 @@ module Aws::MediaLive
7672
7737
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
7673
7738
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
7674
7739
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
7740
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
7675
7741
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_control #=> String, one of "INITIALIZE_FROM_SOURCE", "SPECIFIED"
7676
7742
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_denominator #=> Integer
7677
7743
  # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.framerate_numerator #=> Integer
@@ -7737,6 +7803,8 @@ module Aws::MediaLive
7737
7803
  # resp.channel.encoder_settings.video_descriptions[0].width #=> Integer
7738
7804
  # resp.channel.id #=> String
7739
7805
  # resp.channel.input_attachments #=> Array
7806
+ # resp.channel.input_attachments[0].automatic_input_failover_settings.input_preference #=> String, one of "EQUAL_INPUT_PREFERENCE", "PRIMARY_INPUT_PREFERRED"
7807
+ # resp.channel.input_attachments[0].automatic_input_failover_settings.secondary_input_id #=> String
7740
7808
  # resp.channel.input_attachments[0].input_attachment_name #=> String
7741
7809
  # resp.channel.input_attachments[0].input_id #=> String
7742
7810
  # resp.channel.input_attachments[0].input_settings.audio_selectors #=> Array
@@ -8120,7 +8188,7 @@ module Aws::MediaLive
8120
8188
  params: params,
8121
8189
  config: config)
8122
8190
  context[:gem_name] = 'aws-sdk-medialive'
8123
- context[:gem_version] = '1.41.0'
8191
+ context[:gem_version] = '1.42.0'
8124
8192
  Seahorse::Client::Request.new(handlers, context)
8125
8193
  end
8126
8194
 
@@ -8186,16 +8254,16 @@ module Aws::MediaLive
8186
8254
  # The following table lists the valid waiter names, the operations they call,
8187
8255
  # and the default `:delay` and `:max_attempts` values.
8188
8256
  #
8189
- # | waiter_name | params | :delay | :max_attempts |
8190
- # | ----------------- | --------------------- | -------- | ------------- |
8191
- # | channel_created | {#describe_channel} | 3 | 5 |
8192
- # | channel_deleted | {#describe_channel} | 5 | 20 |
8193
- # | channel_running | {#describe_channel} | 5 | 120 |
8194
- # | channel_stopped | {#describe_channel} | 5 | 28 |
8195
- # | multiplex_created | {#describe_multiplex} | 3 | 5 |
8196
- # | multiplex_deleted | {#describe_multiplex} | 5 | 20 |
8197
- # | multiplex_running | {#describe_multiplex} | 5 | 120 |
8198
- # | multiplex_stopped | {#describe_multiplex} | 5 | 28 |
8257
+ # | waiter_name | params | :delay | :max_attempts |
8258
+ # | ----------------- | --------------------------- | -------- | ------------- |
8259
+ # | channel_created | {Client#describe_channel} | 3 | 5 |
8260
+ # | channel_deleted | {Client#describe_channel} | 5 | 84 |
8261
+ # | channel_running | {Client#describe_channel} | 5 | 120 |
8262
+ # | channel_stopped | {Client#describe_channel} | 5 | 60 |
8263
+ # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
8264
+ # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
8265
+ # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
8266
+ # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
8199
8267
  #
8200
8268
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
8201
8269
  # because the waiter has entered a state that it will not transition
@@ -50,6 +50,7 @@ module Aws::MediaLive
50
50
  AudioSelectorSettings = Shapes::StructureShape.new(name: 'AudioSelectorSettings')
51
51
  AudioType = Shapes::StringShape.new(name: 'AudioType')
52
52
  AuthenticationScheme = Shapes::StringShape.new(name: 'AuthenticationScheme')
53
+ AutomaticInputFailoverSettings = Shapes::StructureShape.new(name: 'AutomaticInputFailoverSettings')
53
54
  AvailBlanking = Shapes::StructureShape.new(name: 'AvailBlanking')
54
55
  AvailBlankingState = Shapes::StringShape.new(name: 'AvailBlankingState')
55
56
  AvailConfiguration = Shapes::StructureShape.new(name: 'AvailConfiguration')
@@ -194,6 +195,7 @@ module Aws::MediaLive
194
195
  H264ColorSpaceSettings = Shapes::StructureShape.new(name: 'H264ColorSpaceSettings')
195
196
  H264EntropyEncoding = Shapes::StringShape.new(name: 'H264EntropyEncoding')
196
197
  H264FlickerAq = Shapes::StringShape.new(name: 'H264FlickerAq')
198
+ H264ForceFieldPictures = Shapes::StringShape.new(name: 'H264ForceFieldPictures')
197
199
  H264FramerateControl = Shapes::StringShape.new(name: 'H264FramerateControl')
198
200
  H264GopBReference = Shapes::StringShape.new(name: 'H264GopBReference')
199
201
  H264GopSizeUnits = Shapes::StringShape.new(name: 'H264GopSizeUnits')
@@ -282,6 +284,7 @@ module Aws::MediaLive
282
284
  InputLossBehavior = Shapes::StructureShape.new(name: 'InputLossBehavior')
283
285
  InputLossImageType = Shapes::StringShape.new(name: 'InputLossImageType')
284
286
  InputMaximumBitrate = Shapes::StringShape.new(name: 'InputMaximumBitrate')
287
+ InputPreference = Shapes::StringShape.new(name: 'InputPreference')
285
288
  InputResolution = Shapes::StringShape.new(name: 'InputResolution')
286
289
  InputSecurityGroup = Shapes::StructureShape.new(name: 'InputSecurityGroup')
287
290
  InputSecurityGroupState = Shapes::StringShape.new(name: 'InputSecurityGroupState')
@@ -732,6 +735,10 @@ module Aws::MediaLive
732
735
  AudioSelectorSettings.add_member(:audio_pid_selection, Shapes::ShapeRef.new(shape: AudioPidSelection, location_name: "audioPidSelection"))
733
736
  AudioSelectorSettings.struct_class = Types::AudioSelectorSettings
734
737
 
738
+ AutomaticInputFailoverSettings.add_member(:input_preference, Shapes::ShapeRef.new(shape: InputPreference, location_name: "inputPreference"))
739
+ AutomaticInputFailoverSettings.add_member(:secondary_input_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "secondaryInputId"))
740
+ AutomaticInputFailoverSettings.struct_class = Types::AutomaticInputFailoverSettings
741
+
735
742
  AvailBlanking.add_member(:avail_blanking_image, Shapes::ShapeRef.new(shape: InputLocation, location_name: "availBlankingImage"))
736
743
  AvailBlanking.add_member(:state, Shapes::ShapeRef.new(shape: AvailBlankingState, location_name: "state"))
737
744
  AvailBlanking.struct_class = Types::AvailBlanking
@@ -1342,6 +1349,7 @@ module Aws::MediaLive
1342
1349
  H264Settings.add_member(:entropy_encoding, Shapes::ShapeRef.new(shape: H264EntropyEncoding, location_name: "entropyEncoding"))
1343
1350
  H264Settings.add_member(:fixed_afd, Shapes::ShapeRef.new(shape: FixedAfd, location_name: "fixedAfd"))
1344
1351
  H264Settings.add_member(:flicker_aq, Shapes::ShapeRef.new(shape: H264FlickerAq, location_name: "flickerAq"))
1352
+ H264Settings.add_member(:force_field_pictures, Shapes::ShapeRef.new(shape: H264ForceFieldPictures, location_name: "forceFieldPictures"))
1345
1353
  H264Settings.add_member(:framerate_control, Shapes::ShapeRef.new(shape: H264FramerateControl, location_name: "framerateControl"))
1346
1354
  H264Settings.add_member(:framerate_denominator, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "framerateDenominator"))
1347
1355
  H264Settings.add_member(:framerate_numerator, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "framerateNumerator"))
@@ -1530,6 +1538,7 @@ module Aws::MediaLive
1530
1538
  Input.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
1531
1539
  Input.struct_class = Types::Input
1532
1540
 
1541
+ InputAttachment.add_member(:automatic_input_failover_settings, Shapes::ShapeRef.new(shape: AutomaticInputFailoverSettings, location_name: "automaticInputFailoverSettings"))
1533
1542
  InputAttachment.add_member(:input_attachment_name, Shapes::ShapeRef.new(shape: __string, location_name: "inputAttachmentName"))
1534
1543
  InputAttachment.add_member(:input_id, Shapes::ShapeRef.new(shape: __string, location_name: "inputId"))
1535
1544
  InputAttachment.add_member(:input_settings, Shapes::ShapeRef.new(shape: InputSettings, location_name: "inputSettings"))
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MediaLive
9
- # This class provides a resource oriented interface for MediaLive.
10
- # To create a resource object:
11
- # resource = Aws::MediaLive::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::MediaLive::Client.new(region: 'us-west-2')
15
- # resource = Aws::MediaLive::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -878,6 +878,34 @@ module Aws::MediaLive
878
878
  include Aws::Structure
879
879
  end
880
880
 
881
+ # The settings for Automatic Input Failover.
882
+ #
883
+ # @note When making an API call, you may pass AutomaticInputFailoverSettings
884
+ # data as a hash:
885
+ #
886
+ # {
887
+ # input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
888
+ # secondary_input_id: "__string", # required
889
+ # }
890
+ #
891
+ # @!attribute [rw] input_preference
892
+ # Input preference when deciding which input to make active when a
893
+ # previously failed input has recovered.
894
+ # @return [String]
895
+ #
896
+ # @!attribute [rw] secondary_input_id
897
+ # The input ID of the secondary input in the automatic input failover
898
+ # pair.
899
+ # @return [String]
900
+ #
901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AutomaticInputFailoverSettings AWS API Documentation
902
+ #
903
+ class AutomaticInputFailoverSettings < Struct.new(
904
+ :input_preference,
905
+ :secondary_input_id)
906
+ include Aws::Structure
907
+ end
908
+
881
909
  # Avail Blanking
882
910
  #
883
911
  # @note When making an API call, you may pass AvailBlanking
@@ -2879,6 +2907,7 @@ module Aws::MediaLive
2879
2907
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
2880
2908
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
2881
2909
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
2910
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
2882
2911
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
2883
2912
  # framerate_denominator: 1,
2884
2913
  # framerate_numerator: 1,
@@ -2961,6 +2990,10 @@ module Aws::MediaLive
2961
2990
  # },
2962
2991
  # input_attachments: [
2963
2992
  # {
2993
+ # automatic_input_failover_settings: {
2994
+ # input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
2995
+ # secondary_input_id: "__string", # required
2996
+ # },
2964
2997
  # input_attachment_name: "__string",
2965
2998
  # input_id: "__string",
2966
2999
  # input_settings: {
@@ -5630,6 +5663,7 @@ module Aws::MediaLive
5630
5663
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
5631
5664
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
5632
5665
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
5666
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
5633
5667
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
5634
5668
  # framerate_denominator: 1,
5635
5669
  # framerate_numerator: 1,
@@ -6109,6 +6143,7 @@ module Aws::MediaLive
6109
6143
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
6110
6144
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
6111
6145
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
6146
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
6112
6147
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
6113
6148
  # framerate_denominator: 1,
6114
6149
  # framerate_numerator: 1,
@@ -6191,6 +6226,17 @@ module Aws::MediaLive
6191
6226
  # flicker or 'pop' on I-frames.
6192
6227
  # @return [String]
6193
6228
  #
6229
+ # @!attribute [rw] force_field_pictures
6230
+ # This setting applies only when scan type is "interlaced." It
6231
+ # controls whether coding is on a field basis or a frame basis. (When
6232
+ # the video is progressive, the coding is always on a frame basis.)
6233
+ # enabled: Always code on a field basis, so that odd and even sets of
6234
+ # fields are coded separately. disabled: Code the two sets of fields
6235
+ # separately (on a field basis) or together (on a frame basis, using
6236
+ # PAFF or MBAFF), depending on what is most appropriate for the
6237
+ # content.
6238
+ # @return [String]
6239
+ #
6194
6240
  # @!attribute [rw] framerate_control
6195
6241
  # This field indicates how the output video frame rate is specified.
6196
6242
  # If "specified" is selected then the output video frame rate is
@@ -6379,6 +6425,7 @@ module Aws::MediaLive
6379
6425
  :entropy_encoding,
6380
6426
  :fixed_afd,
6381
6427
  :flicker_aq,
6428
+ :force_field_pictures,
6382
6429
  :framerate_control,
6383
6430
  :framerate_denominator,
6384
6431
  :framerate_numerator,
@@ -7710,6 +7757,10 @@ module Aws::MediaLive
7710
7757
  # data as a hash:
7711
7758
  #
7712
7759
  # {
7760
+ # automatic_input_failover_settings: {
7761
+ # input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
7762
+ # secondary_input_id: "__string", # required
7763
+ # },
7713
7764
  # input_attachment_name: "__string",
7714
7765
  # input_id: "__string",
7715
7766
  # input_settings: {
@@ -7785,6 +7836,11 @@ module Aws::MediaLive
7785
7836
  # },
7786
7837
  # }
7787
7838
  #
7839
+ # @!attribute [rw] automatic_input_failover_settings
7840
+ # User-specified settings for defining what the conditions are for
7841
+ # declaring the input unhealthy and failing over to a different input.
7842
+ # @return [Types::AutomaticInputFailoverSettings]
7843
+ #
7788
7844
  # @!attribute [rw] input_attachment_name
7789
7845
  # User-specified name for the attachment. This is required if the user
7790
7846
  # wants to use this input in an input switch action.
@@ -7801,6 +7857,7 @@ module Aws::MediaLive
7801
7857
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputAttachment AWS API Documentation
7802
7858
  #
7803
7859
  class InputAttachment < Struct.new(
7860
+ :automatic_input_failover_settings,
7804
7861
  :input_attachment_name,
7805
7862
  :input_id,
7806
7863
  :input_settings)
@@ -14713,6 +14770,7 @@ module Aws::MediaLive
14713
14770
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
14714
14771
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
14715
14772
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
14773
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
14716
14774
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
14717
14775
  # framerate_denominator: 1,
14718
14776
  # framerate_numerator: 1,
@@ -14795,6 +14853,10 @@ module Aws::MediaLive
14795
14853
  # },
14796
14854
  # input_attachments: [
14797
14855
  # {
14856
+ # automatic_input_failover_settings: {
14857
+ # input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
14858
+ # secondary_input_id: "__string", # required
14859
+ # },
14798
14860
  # input_attachment_name: "__string",
14799
14861
  # input_id: "__string",
14800
14862
  # input_settings: {
@@ -15368,6 +15430,7 @@ module Aws::MediaLive
15368
15430
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
15369
15431
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
15370
15432
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
15433
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
15371
15434
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
15372
15435
  # framerate_denominator: 1,
15373
15436
  # framerate_numerator: 1,
@@ -15490,6 +15553,7 @@ module Aws::MediaLive
15490
15553
  # entropy_encoding: "CABAC", # accepts CABAC, CAVLC
15491
15554
  # fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
15492
15555
  # flicker_aq: "DISABLED", # accepts DISABLED, ENABLED
15556
+ # force_field_pictures: "DISABLED", # accepts DISABLED, ENABLED
15493
15557
  # framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
15494
15558
  # framerate_denominator: 1,
15495
15559
  # framerate_numerator: 1,
@@ -8,6 +8,74 @@
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
10
  module Aws::MediaLive
11
+ # Waiters are utility methods that poll for a particular state to occur
12
+ # on a client. Waiters can fail after a number of attempts at a polling
13
+ # interval defined for the service client.
14
+ #
15
+ # For a list of operations that can be waited for and the
16
+ # client methods called for each operation, see the table below or the
17
+ # {Client#wait_until} field documentation for the {Client}.
18
+ #
19
+ # # Invoking a Waiter
20
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
21
+ # is the waiter name, which is specific to the service client and indicates
22
+ # which operation is being waited for. The second parameter is a hash of
23
+ # parameters that are passed to the client method called by the waiter,
24
+ # which varies according to the waiter name.
25
+ #
26
+ # # Wait Failures
27
+ # To catch errors in a waiter, use WaiterFailed,
28
+ # as shown in the following example.
29
+ #
30
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
31
+ # puts "failed waiting for instance running: #{error.message}
32
+ # end
33
+ #
34
+ # # Configuring a Waiter
35
+ # Each waiter has a default polling interval and a maximum number of
36
+ # attempts it will make before returning control to your program.
37
+ # To set these values, use the `max_attempts` and `delay` parameters
38
+ # in your `#wait_until` call.
39
+ # The following example waits for up to 25 seconds, polling every five seconds.
40
+ #
41
+ # client.wait_until(...) do |w|
42
+ # w.max_attempts = 5
43
+ # w.delay = 5
44
+ # end
45
+ #
46
+ # To disable wait failures, set the value of either of these parameters
47
+ # to `nil`.
48
+ #
49
+ # # Extending a Waiter
50
+ # To modify the behavior of waiters, you can register callbacks that are
51
+ # triggered before each polling attempt and before waiting.
52
+ #
53
+ # The following example implements an exponential backoff in a waiter
54
+ # by doubling the amount of time to wait on every attempt.
55
+ #
56
+ # client.wait_until(...) do |w|
57
+ # w.interval = 0 # disable normal sleep
58
+ # w.before_wait do |n, resp|
59
+ # sleep(n ** 2)
60
+ # end
61
+ # end
62
+ #
63
+ # # Available Waiters
64
+ #
65
+ # The following table lists the valid waiter names, the operations they call,
66
+ # and the default `:delay` and `:max_attempts` values.
67
+ #
68
+ # | waiter_name | params | :delay | :max_attempts |
69
+ # | ----------------- | --------------------------- | -------- | ------------- |
70
+ # | channel_created | {Client#describe_channel} | 3 | 5 |
71
+ # | channel_deleted | {Client#describe_channel} | 5 | 84 |
72
+ # | channel_running | {Client#describe_channel} | 5 | 120 |
73
+ # | channel_stopped | {Client#describe_channel} | 5 | 60 |
74
+ # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
75
+ # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
76
+ # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
77
+ # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
78
+ #
11
79
  module Waiters
12
80
 
13
81
  # Wait until a channel has been created
@@ -71,14 +139,14 @@ module Aws::MediaLive
71
139
 
72
140
  # @param [Hash] options
73
141
  # @option options [required, Client] :client
74
- # @option options [Integer] :max_attempts (20)
142
+ # @option options [Integer] :max_attempts (84)
75
143
  # @option options [Integer] :delay (5)
76
144
  # @option options [Proc] :before_attempt
77
145
  # @option options [Proc] :before_wait
78
146
  def initialize(options)
79
147
  @client = options.fetch(:client)
80
148
  @waiter = Aws::Waiters::Waiter.new({
81
- max_attempts: 20,
149
+ max_attempts: 84,
82
150
  delay: 5,
83
151
  poller: Aws::Waiters::Poller.new(
84
152
  operation_name: :describe_channel,
@@ -171,14 +239,14 @@ module Aws::MediaLive
171
239
 
172
240
  # @param [Hash] options
173
241
  # @option options [required, Client] :client
174
- # @option options [Integer] :max_attempts (28)
242
+ # @option options [Integer] :max_attempts (60)
175
243
  # @option options [Integer] :delay (5)
176
244
  # @option options [Proc] :before_attempt
177
245
  # @option options [Proc] :before_wait
178
246
  def initialize(options)
179
247
  @client = options.fetch(:client)
180
248
  @waiter = Aws::Waiters::Waiter.new({
181
- max_attempts: 28,
249
+ max_attempts: 60,
182
250
  delay: 5,
183
251
  poller: Aws::Waiters::Poller.new(
184
252
  operation_name: :describe_channel,
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.41.0
4
+ version: 1.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.5.2.3
85
+ rubygems_version: 2.7.6.2
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: AWS SDK for Ruby - MediaLive