aws-sdk-medialive 1.44.0 → 1.45.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 +4 -4
 - data/lib/aws-sdk-medialive.rb +1 -1
 - data/lib/aws-sdk-medialive/client.rb +241 -15
 - data/lib/aws-sdk-medialive/client_api.rb +196 -9
 - data/lib/aws-sdk-medialive/types.rb +642 -59
 - data/lib/aws-sdk-medialive/waiters.rb +159 -0
 - metadata +2 -2
 
| 
         @@ -71,6 +71,9 @@ module Aws::MediaLive 
     | 
|
| 
       71 
71 
     | 
    
         
             
              # | channel_deleted   | {Client#describe_channel}   | 5        | 84            |
         
     | 
| 
       72 
72 
     | 
    
         
             
              # | channel_running   | {Client#describe_channel}   | 5        | 120           |
         
     | 
| 
       73 
73 
     | 
    
         
             
              # | channel_stopped   | {Client#describe_channel}   | 5        | 60            |
         
     | 
| 
      
 74 
     | 
    
         
            +
              # | input_attached    | {Client#describe_input}     | 5        | 20            |
         
     | 
| 
      
 75 
     | 
    
         
            +
              # | input_deleted     | {Client#describe_input}     | 5        | 20            |
         
     | 
| 
      
 76 
     | 
    
         
            +
              # | input_detached    | {Client#describe_input}     | 5        | 84            |
         
     | 
| 
       74 
77 
     | 
    
         
             
              # | multiplex_created | {Client#describe_multiplex} | 3        | 5             |
         
     | 
| 
       75 
78 
     | 
    
         
             
              # | multiplex_deleted | {Client#describe_multiplex} | 5        | 20            |
         
     | 
| 
       76 
79 
     | 
    
         
             
              # | multiplex_running | {Client#describe_multiplex} | 5        | 120           |
         
     | 
| 
         @@ -284,6 +287,162 @@ module Aws::MediaLive 
     | 
|
| 
       284 
287 
     | 
    
         | 
| 
       285 
288 
     | 
    
         
             
                end
         
     | 
| 
       286 
289 
     | 
    
         | 
| 
      
 290 
     | 
    
         
            +
                # Wait until an input has been attached
         
     | 
| 
      
 291 
     | 
    
         
            +
                class InputAttached
         
     | 
| 
      
 292 
     | 
    
         
            +
             
     | 
| 
      
 293 
     | 
    
         
            +
                  # @param [Hash] options
         
     | 
| 
      
 294 
     | 
    
         
            +
                  # @option options [required, Client] :client
         
     | 
| 
      
 295 
     | 
    
         
            +
                  # @option options [Integer] :max_attempts (20)
         
     | 
| 
      
 296 
     | 
    
         
            +
                  # @option options [Integer] :delay (5)
         
     | 
| 
      
 297 
     | 
    
         
            +
                  # @option options [Proc] :before_attempt
         
     | 
| 
      
 298 
     | 
    
         
            +
                  # @option options [Proc] :before_wait
         
     | 
| 
      
 299 
     | 
    
         
            +
                  def initialize(options)
         
     | 
| 
      
 300 
     | 
    
         
            +
                    @client = options.fetch(:client)
         
     | 
| 
      
 301 
     | 
    
         
            +
                    @waiter = Aws::Waiters::Waiter.new({
         
     | 
| 
      
 302 
     | 
    
         
            +
                      max_attempts: 20,
         
     | 
| 
      
 303 
     | 
    
         
            +
                      delay: 5,
         
     | 
| 
      
 304 
     | 
    
         
            +
                      poller: Aws::Waiters::Poller.new(
         
     | 
| 
      
 305 
     | 
    
         
            +
                        operation_name: :describe_input,
         
     | 
| 
      
 306 
     | 
    
         
            +
                        acceptors: [
         
     | 
| 
      
 307 
     | 
    
         
            +
                          {
         
     | 
| 
      
 308 
     | 
    
         
            +
                            "state" => "success",
         
     | 
| 
      
 309 
     | 
    
         
            +
                            "matcher" => "path",
         
     | 
| 
      
 310 
     | 
    
         
            +
                            "argument" => "state",
         
     | 
| 
      
 311 
     | 
    
         
            +
                            "expected" => "ATTACHED"
         
     | 
| 
      
 312 
     | 
    
         
            +
                          },
         
     | 
| 
      
 313 
     | 
    
         
            +
                          {
         
     | 
| 
      
 314 
     | 
    
         
            +
                            "state" => "retry",
         
     | 
| 
      
 315 
     | 
    
         
            +
                            "matcher" => "path",
         
     | 
| 
      
 316 
     | 
    
         
            +
                            "argument" => "state",
         
     | 
| 
      
 317 
     | 
    
         
            +
                            "expected" => "DETACHED"
         
     | 
| 
      
 318 
     | 
    
         
            +
                          },
         
     | 
| 
      
 319 
     | 
    
         
            +
                          {
         
     | 
| 
      
 320 
     | 
    
         
            +
                            "state" => "retry",
         
     | 
| 
      
 321 
     | 
    
         
            +
                            "matcher" => "status",
         
     | 
| 
      
 322 
     | 
    
         
            +
                            "expected" => 500
         
     | 
| 
      
 323 
     | 
    
         
            +
                          }
         
     | 
| 
      
 324 
     | 
    
         
            +
                        ]
         
     | 
| 
      
 325 
     | 
    
         
            +
                      )
         
     | 
| 
      
 326 
     | 
    
         
            +
                    }.merge(options))
         
     | 
| 
      
 327 
     | 
    
         
            +
                  end
         
     | 
| 
      
 328 
     | 
    
         
            +
             
     | 
| 
      
 329 
     | 
    
         
            +
                  # @option (see Client#describe_input)
         
     | 
| 
      
 330 
     | 
    
         
            +
                  # @return (see Client#describe_input)
         
     | 
| 
      
 331 
     | 
    
         
            +
                  def wait(params = {})
         
     | 
| 
      
 332 
     | 
    
         
            +
                    @waiter.wait(client: @client, params: params)
         
     | 
| 
      
 333 
     | 
    
         
            +
                  end
         
     | 
| 
      
 334 
     | 
    
         
            +
             
     | 
| 
      
 335 
     | 
    
         
            +
                  # @api private
         
     | 
| 
      
 336 
     | 
    
         
            +
                  attr_reader :waiter
         
     | 
| 
      
 337 
     | 
    
         
            +
             
     | 
| 
      
 338 
     | 
    
         
            +
                end
         
     | 
| 
      
 339 
     | 
    
         
            +
             
     | 
| 
      
 340 
     | 
    
         
            +
                # Wait until an input has been deleted
         
     | 
| 
      
 341 
     | 
    
         
            +
                class InputDeleted
         
     | 
| 
      
 342 
     | 
    
         
            +
             
     | 
| 
      
 343 
     | 
    
         
            +
                  # @param [Hash] options
         
     | 
| 
      
 344 
     | 
    
         
            +
                  # @option options [required, Client] :client
         
     | 
| 
      
 345 
     | 
    
         
            +
                  # @option options [Integer] :max_attempts (20)
         
     | 
| 
      
 346 
     | 
    
         
            +
                  # @option options [Integer] :delay (5)
         
     | 
| 
      
 347 
     | 
    
         
            +
                  # @option options [Proc] :before_attempt
         
     | 
| 
      
 348 
     | 
    
         
            +
                  # @option options [Proc] :before_wait
         
     | 
| 
      
 349 
     | 
    
         
            +
                  def initialize(options)
         
     | 
| 
      
 350 
     | 
    
         
            +
                    @client = options.fetch(:client)
         
     | 
| 
      
 351 
     | 
    
         
            +
                    @waiter = Aws::Waiters::Waiter.new({
         
     | 
| 
      
 352 
     | 
    
         
            +
                      max_attempts: 20,
         
     | 
| 
      
 353 
     | 
    
         
            +
                      delay: 5,
         
     | 
| 
      
 354 
     | 
    
         
            +
                      poller: Aws::Waiters::Poller.new(
         
     | 
| 
      
 355 
     | 
    
         
            +
                        operation_name: :describe_input,
         
     | 
| 
      
 356 
     | 
    
         
            +
                        acceptors: [
         
     | 
| 
      
 357 
     | 
    
         
            +
                          {
         
     | 
| 
      
 358 
     | 
    
         
            +
                            "state" => "success",
         
     | 
| 
      
 359 
     | 
    
         
            +
                            "matcher" => "path",
         
     | 
| 
      
 360 
     | 
    
         
            +
                            "argument" => "state",
         
     | 
| 
      
 361 
     | 
    
         
            +
                            "expected" => "DELETED"
         
     | 
| 
      
 362 
     | 
    
         
            +
                          },
         
     | 
| 
      
 363 
     | 
    
         
            +
                          {
         
     | 
| 
      
 364 
     | 
    
         
            +
                            "state" => "retry",
         
     | 
| 
      
 365 
     | 
    
         
            +
                            "matcher" => "path",
         
     | 
| 
      
 366 
     | 
    
         
            +
                            "argument" => "state",
         
     | 
| 
      
 367 
     | 
    
         
            +
                            "expected" => "DELETING"
         
     | 
| 
      
 368 
     | 
    
         
            +
                          },
         
     | 
| 
      
 369 
     | 
    
         
            +
                          {
         
     | 
| 
      
 370 
     | 
    
         
            +
                            "state" => "retry",
         
     | 
| 
      
 371 
     | 
    
         
            +
                            "matcher" => "status",
         
     | 
| 
      
 372 
     | 
    
         
            +
                            "expected" => 500
         
     | 
| 
      
 373 
     | 
    
         
            +
                          }
         
     | 
| 
      
 374 
     | 
    
         
            +
                        ]
         
     | 
| 
      
 375 
     | 
    
         
            +
                      )
         
     | 
| 
      
 376 
     | 
    
         
            +
                    }.merge(options))
         
     | 
| 
      
 377 
     | 
    
         
            +
                  end
         
     | 
| 
      
 378 
     | 
    
         
            +
             
     | 
| 
      
 379 
     | 
    
         
            +
                  # @option (see Client#describe_input)
         
     | 
| 
      
 380 
     | 
    
         
            +
                  # @return (see Client#describe_input)
         
     | 
| 
      
 381 
     | 
    
         
            +
                  def wait(params = {})
         
     | 
| 
      
 382 
     | 
    
         
            +
                    @waiter.wait(client: @client, params: params)
         
     | 
| 
      
 383 
     | 
    
         
            +
                  end
         
     | 
| 
      
 384 
     | 
    
         
            +
             
     | 
| 
      
 385 
     | 
    
         
            +
                  # @api private
         
     | 
| 
      
 386 
     | 
    
         
            +
                  attr_reader :waiter
         
     | 
| 
      
 387 
     | 
    
         
            +
             
     | 
| 
      
 388 
     | 
    
         
            +
                end
         
     | 
| 
      
 389 
     | 
    
         
            +
             
     | 
| 
      
 390 
     | 
    
         
            +
                # Wait until an input has been detached
         
     | 
| 
      
 391 
     | 
    
         
            +
                class InputDetached
         
     | 
| 
      
 392 
     | 
    
         
            +
             
     | 
| 
      
 393 
     | 
    
         
            +
                  # @param [Hash] options
         
     | 
| 
      
 394 
     | 
    
         
            +
                  # @option options [required, Client] :client
         
     | 
| 
      
 395 
     | 
    
         
            +
                  # @option options [Integer] :max_attempts (84)
         
     | 
| 
      
 396 
     | 
    
         
            +
                  # @option options [Integer] :delay (5)
         
     | 
| 
      
 397 
     | 
    
         
            +
                  # @option options [Proc] :before_attempt
         
     | 
| 
      
 398 
     | 
    
         
            +
                  # @option options [Proc] :before_wait
         
     | 
| 
      
 399 
     | 
    
         
            +
                  def initialize(options)
         
     | 
| 
      
 400 
     | 
    
         
            +
                    @client = options.fetch(:client)
         
     | 
| 
      
 401 
     | 
    
         
            +
                    @waiter = Aws::Waiters::Waiter.new({
         
     | 
| 
      
 402 
     | 
    
         
            +
                      max_attempts: 84,
         
     | 
| 
      
 403 
     | 
    
         
            +
                      delay: 5,
         
     | 
| 
      
 404 
     | 
    
         
            +
                      poller: Aws::Waiters::Poller.new(
         
     | 
| 
      
 405 
     | 
    
         
            +
                        operation_name: :describe_input,
         
     | 
| 
      
 406 
     | 
    
         
            +
                        acceptors: [
         
     | 
| 
      
 407 
     | 
    
         
            +
                          {
         
     | 
| 
      
 408 
     | 
    
         
            +
                            "state" => "success",
         
     | 
| 
      
 409 
     | 
    
         
            +
                            "matcher" => "path",
         
     | 
| 
      
 410 
     | 
    
         
            +
                            "argument" => "state",
         
     | 
| 
      
 411 
     | 
    
         
            +
                            "expected" => "DETACHED"
         
     | 
| 
      
 412 
     | 
    
         
            +
                          },
         
     | 
| 
      
 413 
     | 
    
         
            +
                          {
         
     | 
| 
      
 414 
     | 
    
         
            +
                            "state" => "retry",
         
     | 
| 
      
 415 
     | 
    
         
            +
                            "matcher" => "path",
         
     | 
| 
      
 416 
     | 
    
         
            +
                            "argument" => "state",
         
     | 
| 
      
 417 
     | 
    
         
            +
                            "expected" => "CREATING"
         
     | 
| 
      
 418 
     | 
    
         
            +
                          },
         
     | 
| 
      
 419 
     | 
    
         
            +
                          {
         
     | 
| 
      
 420 
     | 
    
         
            +
                            "state" => "retry",
         
     | 
| 
      
 421 
     | 
    
         
            +
                            "matcher" => "path",
         
     | 
| 
      
 422 
     | 
    
         
            +
                            "argument" => "state",
         
     | 
| 
      
 423 
     | 
    
         
            +
                            "expected" => "ATTACHED"
         
     | 
| 
      
 424 
     | 
    
         
            +
                          },
         
     | 
| 
      
 425 
     | 
    
         
            +
                          {
         
     | 
| 
      
 426 
     | 
    
         
            +
                            "state" => "retry",
         
     | 
| 
      
 427 
     | 
    
         
            +
                            "matcher" => "status",
         
     | 
| 
      
 428 
     | 
    
         
            +
                            "expected" => 500
         
     | 
| 
      
 429 
     | 
    
         
            +
                          }
         
     | 
| 
      
 430 
     | 
    
         
            +
                        ]
         
     | 
| 
      
 431 
     | 
    
         
            +
                      )
         
     | 
| 
      
 432 
     | 
    
         
            +
                    }.merge(options))
         
     | 
| 
      
 433 
     | 
    
         
            +
                  end
         
     | 
| 
      
 434 
     | 
    
         
            +
             
     | 
| 
      
 435 
     | 
    
         
            +
                  # @option (see Client#describe_input)
         
     | 
| 
      
 436 
     | 
    
         
            +
                  # @return (see Client#describe_input)
         
     | 
| 
      
 437 
     | 
    
         
            +
                  def wait(params = {})
         
     | 
| 
      
 438 
     | 
    
         
            +
                    @waiter.wait(client: @client, params: params)
         
     | 
| 
      
 439 
     | 
    
         
            +
                  end
         
     | 
| 
      
 440 
     | 
    
         
            +
             
     | 
| 
      
 441 
     | 
    
         
            +
                  # @api private
         
     | 
| 
      
 442 
     | 
    
         
            +
                  attr_reader :waiter
         
     | 
| 
      
 443 
     | 
    
         
            +
             
     | 
| 
      
 444 
     | 
    
         
            +
                end
         
     | 
| 
      
 445 
     | 
    
         
            +
             
     | 
| 
       287 
446 
     | 
    
         
             
                # Wait until a multiplex has been created
         
     | 
| 
       288 
447 
     | 
    
         
             
                class MultiplexCreated
         
     | 
| 
       289 
448 
     | 
    
         | 
    
        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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.45.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-05- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2020-05-20 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     |