aws-sdk-medialive 1.118.0 → 1.119.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,19 +67,23 @@ module Aws::MediaLive
67
67
  # The following table lists the valid waiter names, the operations they call,
68
68
  # and the default `:delay` and `:max_attempts` values.
69
69
  #
70
- # | waiter_name | params | :delay | :max_attempts |
71
- # | ----------------- | --------------------------- | -------- | ------------- |
72
- # | channel_created | {Client#describe_channel} | 3 | 5 |
73
- # | channel_deleted | {Client#describe_channel} | 5 | 84 |
74
- # | channel_running | {Client#describe_channel} | 5 | 120 |
75
- # | channel_stopped | {Client#describe_channel} | 5 | 60 |
76
- # | input_attached | {Client#describe_input} | 5 | 20 |
77
- # | input_deleted | {Client#describe_input} | 5 | 20 |
78
- # | input_detached | {Client#describe_input} | 5 | 84 |
79
- # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
80
- # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
81
- # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
82
- # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | --------------------------- | --------------------------- | -------- | ------------- |
72
+ # | channel_created | {Client#describe_channel} | 3 | 5 |
73
+ # | channel_deleted | {Client#describe_channel} | 5 | 84 |
74
+ # | channel_running | {Client#describe_channel} | 5 | 120 |
75
+ # | channel_stopped | {Client#describe_channel} | 5 | 60 |
76
+ # | input_attached | {Client#describe_input} | 5 | 20 |
77
+ # | input_deleted | {Client#describe_input} | 5 | 20 |
78
+ # | input_detached | {Client#describe_input} | 5 | 84 |
79
+ # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
80
+ # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
81
+ # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
82
+ # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
83
+ # | signal_map_created | {Client#get_signal_map} | 5 | 60 |
84
+ # | signal_map_monitor_deleted | {Client#get_signal_map} | 5 | 120 |
85
+ # | signal_map_monitor_deployed | {Client#get_signal_map} | 5 | 120 |
86
+ # | signal_map_updated | {Client#get_signal_map} | 5 | 60 |
83
87
  #
84
88
  module Waiters
85
89
 
@@ -650,5 +654,233 @@ module Aws::MediaLive
650
654
  attr_reader :waiter
651
655
 
652
656
  end
657
+
658
+ # Wait until a signal map has been created
659
+ class SignalMapCreated
660
+
661
+ # @param [Hash] options
662
+ # @option options [required, Client] :client
663
+ # @option options [Integer] :max_attempts (60)
664
+ # @option options [Integer] :delay (5)
665
+ # @option options [Proc] :before_attempt
666
+ # @option options [Proc] :before_wait
667
+ def initialize(options)
668
+ @client = options.fetch(:client)
669
+ @waiter = Aws::Waiters::Waiter.new({
670
+ max_attempts: 60,
671
+ delay: 5,
672
+ poller: Aws::Waiters::Poller.new(
673
+ operation_name: :get_signal_map,
674
+ acceptors: [
675
+ {
676
+ "matcher" => "path",
677
+ "argument" => "status",
678
+ "state" => "success",
679
+ "expected" => "CREATE_COMPLETE"
680
+ },
681
+ {
682
+ "matcher" => "path",
683
+ "argument" => "status",
684
+ "state" => "retry",
685
+ "expected" => "CREATE_IN_PROGRESS"
686
+ },
687
+ {
688
+ "matcher" => "path",
689
+ "argument" => "status",
690
+ "state" => "failure",
691
+ "expected" => "CREATE_FAILED"
692
+ }
693
+ ]
694
+ )
695
+ }.merge(options))
696
+ end
697
+
698
+ # @option (see Client#get_signal_map)
699
+ # @return (see Client#get_signal_map)
700
+ def wait(params = {})
701
+ @waiter.wait(client: @client, params: params)
702
+ end
703
+
704
+ # @api private
705
+ attr_reader :waiter
706
+
707
+ end
708
+
709
+ # Wait until a signal map's monitor has been deleted
710
+ class SignalMapMonitorDeleted
711
+
712
+ # @param [Hash] options
713
+ # @option options [required, Client] :client
714
+ # @option options [Integer] :max_attempts (120)
715
+ # @option options [Integer] :delay (5)
716
+ # @option options [Proc] :before_attempt
717
+ # @option options [Proc] :before_wait
718
+ def initialize(options)
719
+ @client = options.fetch(:client)
720
+ @waiter = Aws::Waiters::Waiter.new({
721
+ max_attempts: 120,
722
+ delay: 5,
723
+ poller: Aws::Waiters::Poller.new(
724
+ operation_name: :get_signal_map,
725
+ acceptors: [
726
+ {
727
+ "matcher" => "path",
728
+ "argument" => "monitor_deployment.status",
729
+ "state" => "success",
730
+ "expected" => "DELETE_COMPLETE"
731
+ },
732
+ {
733
+ "matcher" => "path",
734
+ "argument" => "monitor_deployment.status",
735
+ "state" => "retry",
736
+ "expected" => "DELETE_IN_PROGRESS"
737
+ },
738
+ {
739
+ "matcher" => "path",
740
+ "argument" => "monitor_deployment.status",
741
+ "state" => "failure",
742
+ "expected" => "DELETE_FAILED"
743
+ }
744
+ ]
745
+ )
746
+ }.merge(options))
747
+ end
748
+
749
+ # @option (see Client#get_signal_map)
750
+ # @return (see Client#get_signal_map)
751
+ def wait(params = {})
752
+ @waiter.wait(client: @client, params: params)
753
+ end
754
+
755
+ # @api private
756
+ attr_reader :waiter
757
+
758
+ end
759
+
760
+ # Wait until a signal map's monitor has been deployed
761
+ class SignalMapMonitorDeployed
762
+
763
+ # @param [Hash] options
764
+ # @option options [required, Client] :client
765
+ # @option options [Integer] :max_attempts (120)
766
+ # @option options [Integer] :delay (5)
767
+ # @option options [Proc] :before_attempt
768
+ # @option options [Proc] :before_wait
769
+ def initialize(options)
770
+ @client = options.fetch(:client)
771
+ @waiter = Aws::Waiters::Waiter.new({
772
+ max_attempts: 120,
773
+ delay: 5,
774
+ poller: Aws::Waiters::Poller.new(
775
+ operation_name: :get_signal_map,
776
+ acceptors: [
777
+ {
778
+ "matcher" => "path",
779
+ "argument" => "monitor_deployment.status",
780
+ "state" => "success",
781
+ "expected" => "DRY_RUN_DEPLOYMENT_COMPLETE"
782
+ },
783
+ {
784
+ "matcher" => "path",
785
+ "argument" => "monitor_deployment.status",
786
+ "state" => "success",
787
+ "expected" => "DEPLOYMENT_COMPLETE"
788
+ },
789
+ {
790
+ "matcher" => "path",
791
+ "argument" => "monitor_deployment.status",
792
+ "state" => "retry",
793
+ "expected" => "DRY_RUN_DEPLOYMENT_IN_PROGRESS"
794
+ },
795
+ {
796
+ "matcher" => "path",
797
+ "argument" => "monitor_deployment.status",
798
+ "state" => "retry",
799
+ "expected" => "DEPLOYMENT_IN_PROGRESS"
800
+ },
801
+ {
802
+ "matcher" => "path",
803
+ "argument" => "monitor_deployment.status",
804
+ "state" => "failure",
805
+ "expected" => "DRY_RUN_DEPLOYMENT_FAILED"
806
+ },
807
+ {
808
+ "matcher" => "path",
809
+ "argument" => "monitor_deployment.status",
810
+ "state" => "failure",
811
+ "expected" => "DEPLOYMENT_FAILED"
812
+ }
813
+ ]
814
+ )
815
+ }.merge(options))
816
+ end
817
+
818
+ # @option (see Client#get_signal_map)
819
+ # @return (see Client#get_signal_map)
820
+ def wait(params = {})
821
+ @waiter.wait(client: @client, params: params)
822
+ end
823
+
824
+ # @api private
825
+ attr_reader :waiter
826
+
827
+ end
828
+
829
+ # Wait until a signal map has been updated
830
+ class SignalMapUpdated
831
+
832
+ # @param [Hash] options
833
+ # @option options [required, Client] :client
834
+ # @option options [Integer] :max_attempts (60)
835
+ # @option options [Integer] :delay (5)
836
+ # @option options [Proc] :before_attempt
837
+ # @option options [Proc] :before_wait
838
+ def initialize(options)
839
+ @client = options.fetch(:client)
840
+ @waiter = Aws::Waiters::Waiter.new({
841
+ max_attempts: 60,
842
+ delay: 5,
843
+ poller: Aws::Waiters::Poller.new(
844
+ operation_name: :get_signal_map,
845
+ acceptors: [
846
+ {
847
+ "matcher" => "path",
848
+ "argument" => "status",
849
+ "state" => "success",
850
+ "expected" => "UPDATE_COMPLETE"
851
+ },
852
+ {
853
+ "matcher" => "path",
854
+ "argument" => "status",
855
+ "state" => "retry",
856
+ "expected" => "UPDATE_IN_PROGRESS"
857
+ },
858
+ {
859
+ "matcher" => "path",
860
+ "argument" => "status",
861
+ "state" => "failure",
862
+ "expected" => "UPDATE_FAILED"
863
+ },
864
+ {
865
+ "matcher" => "path",
866
+ "argument" => "status",
867
+ "state" => "failure",
868
+ "expected" => "UPDATE_REVERTED"
869
+ }
870
+ ]
871
+ )
872
+ }.merge(options))
873
+ end
874
+
875
+ # @option (see Client#get_signal_map)
876
+ # @return (see Client#get_signal_map)
877
+ def wait(params = {})
878
+ @waiter.wait(client: @client, params: params)
879
+ end
880
+
881
+ # @api private
882
+ attr_reader :waiter
883
+
884
+ end
653
885
  end
654
886
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-medialive/customizations'
53
53
  # @!group service
54
54
  module Aws::MediaLive
55
55
 
56
- GEM_VERSION = '1.118.0'
56
+ GEM_VERSION = '1.119.0'
57
57
 
58
58
  end