Class: Aws::ELBProxy::Waiters::ProxyActive
- Inherits:
-
Object
- Object
- Aws::ELBProxy::Waiters::ProxyActive
- Defined in:
- gems/aws-sdk-elbproxy/lib/aws-sdk-elbproxy/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ ProxyActive
constructor
A new instance of ProxyActive.
-
#wait(params = {}) ⇒ Types::GetProxyResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ ProxyActive
Returns a new instance of ProxyActive.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'gems/aws-sdk-elbproxy/lib/aws-sdk-elbproxy/waiters.rb', line 86 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 40, delay: 15, poller: Aws::Waiters::Poller.new( operation_name: :get_proxy, acceptors: [ { "matcher" => "path", "argument" => "status.code", "state" => "success", "expected" => "active" }, { "matcher" => "path", "argument" => "status.code", "state" => "failure", "expected" => "create-failed" }, { "matcher" => "path", "argument" => "status.code", "state" => "failure", "expected" => "action-required" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetProxyResponse
Returns a response object which responds to the following methods:
- #arn => String
- #name => String
- #type => String
- #proxy_version => String
- #dns_name => String
- #role_arn => String
- #network_configuration => Types::ProxyNetworkConfiguration
- #status => Types::ProxyStatus
- #configuration_metadata => Types::ConfigurationMetadata
- #created_at => Time
- #customer_kms_key_arn => String
119 120 121 |
# File 'gems/aws-sdk-elbproxy/lib/aws-sdk-elbproxy/waiters.rb', line 119 def wait(params = {}) @waiter.wait(client: @client, params: params) end |