Class: Aws::MediaLive::Waiters::ChannelPlacementGroupAssigned
- Inherits:
-
Object
- Object
- Aws::MediaLive::Waiters::ChannelPlacementGroupAssigned
- Defined in:
- lib/aws-sdk-medialive/waiters.rb
Overview
Wait until the channel placement group has been assigned
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ ChannelPlacementGroupAssigned
constructor
A new instance of ChannelPlacementGroupAssigned.
-
#wait(params = {}) ⇒ Types::DescribeChannelPlacementGroupResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ ChannelPlacementGroupAssigned
Returns a new instance of ChannelPlacementGroupAssigned.
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
# File 'lib/aws-sdk-medialive/waiters.rb', line 212 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 5, delay: 3, poller: Aws::Waiters::Poller.new( operation_name: :describe_channel_placement_group, acceptors: [ { "state" => "success", "matcher" => "path", "argument" => "state", "expected" => "ASSIGNED" }, { "state" => "retry", "matcher" => "path", "argument" => "state", "expected" => "ASSIGNING" }, { "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.
249 250 251 |
# File 'lib/aws-sdk-medialive/waiters.rb', line 249 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeChannelPlacementGroupResponse
244 245 246 |
# File 'lib/aws-sdk-medialive/waiters.rb', line 244 def wait(params = {}) @waiter.wait(client: @client, params: params) end |