Class: Aws::MediaLive::Waiters::NodeDeregistered
- Inherits:
-
Object
- Object
- Aws::MediaLive::Waiters::NodeDeregistered
- Defined in:
- lib/aws-sdk-medialive/waiters.rb
Overview
Wait until a node has been deregistered
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ NodeDeregistered
constructor
A new instance of NodeDeregistered.
-
#wait(params = {}) ⇒ Types::DescribeNodeResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ NodeDeregistered
Returns a new instance of NodeDeregistered.
930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 |
# File 'lib/aws-sdk-medialive/waiters.rb', line 930 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 20, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :describe_node, acceptors: [ { "state" => "success", "matcher" => "path", "argument" => "state", "expected" => "DEREGISTERED" }, { "state" => "retry", "matcher" => "path", "argument" => "state", "expected" => "DEREGISTERING" }, { "state" => "retry", "matcher" => "path", "argument" => "state", "expected" => "DRAINING" }, { "state" => "retry", "matcher" => "status", "expected" => 500 } ] ) }.merge()) end |
Instance Attribute Details
#waiter ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
973 974 975 |
# File 'lib/aws-sdk-medialive/waiters.rb', line 973 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeNodeResponse
Returns a response object which responds to the following methods:
-
#arn => String
-
#channel_placement_groups => Array<String>
-
#cluster_id => String
-
#connection_state => String
-
#id => String
-
#instance_arn => String
-
#name => String
-
#node_interface_mappings => Array<Types::NodeInterfaceMapping>
-
#role => String
-
#state => String
968 969 970 |
# File 'lib/aws-sdk-medialive/waiters.rb', line 968 def wait(params = {}) @waiter.wait(client: @client, params: params) end |