Class: Aws::RTBFabric::Waiters::LinkActive
- Inherits:
-
Object
- Object
- Aws::RTBFabric::Waiters::LinkActive
- Defined in:
- gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ LinkActive
constructor
A new instance of LinkActive.
-
#wait(params = {}) ⇒ Types::GetLinkResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ LinkActive
Returns a new instance of LinkActive.
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/waiters.rb', line 400 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 5, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :get_link, acceptors: [ { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "CREATE_FAILED" }, { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "ACTIVE" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "REJECTED" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "FAILED" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "DELETED" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetLinkResponse
Returns a response object which responds to the following methods:
- #gateway_id => String
- #peer_gateway_id => String
- #status => String
- #created_at => Time
- #updated_at => Time
- #direction => String
- #flow_modules => Array<Types::ModuleConfiguration>
- #pending_flow_modules => Array<Types::ModuleConfiguration>
- #attributes => Types::LinkAttributes
- #log_settings => Types::LinkLogSettings
- #connectivity_type => String
- #error_details => Array<Types::ErrorDetail>
- #link_id => String
- #tags => Hash<String,String>
- #http_responder_allowed => Boolean
- #timeout_in_millis => Integer
- #lock_token => String
- #flows => Array<Types::Flow>
445 446 447 |
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/waiters.rb', line 445 def wait(params = {}) @waiter.wait(client: @client, params: params) end |