Class: Aws::RTBFabric::Waiters::LinkRoutingRuleActive
- Inherits:
-
Object
- Object
- Aws::RTBFabric::Waiters::LinkRoutingRuleActive
- Defined in:
- gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ LinkRoutingRuleActive
constructor
A new instance of LinkRoutingRuleActive.
-
#wait(params = {}) ⇒ Types::GetLinkRoutingRuleResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ LinkRoutingRuleActive
Returns a new instance of LinkRoutingRuleActive.
518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 |
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/waiters.rb', line 518 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 24, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :get_link_routing_rule, 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" => "FAILED" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "DELETED" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetLinkRoutingRuleResponse
Returns a response object which responds to the following methods:
- #gateway_id => String
- #link_id => String
- #rule_id => String
- #priority => Integer
- #conditions => Types::RuleCondition
- #status => String
- #created_at => Time
- #updated_at => Time
- #tags => Hash<String,String>
- #error_details => Array<Types::ErrorDetail>
557 558 559 |
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/waiters.rb', line 557 def wait(params = {}) @waiter.wait(client: @client, params: params) end |