Class: Aws::ELBProxy::Waiters::ProxyDeleted
- Inherits:
-
Object
- Object
- Aws::ELBProxy::Waiters::ProxyDeleted
- Defined in:
- gems/aws-sdk-elbproxy/lib/aws-sdk-elbproxy/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ ProxyDeleted
constructor
A new instance of ProxyDeleted.
-
#wait(params = {}) ⇒ Types::GetProxyResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ ProxyDeleted
Returns a new instance of ProxyDeleted.
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'gems/aws-sdk-elbproxy/lib/aws-sdk-elbproxy/waiters.rb', line 136 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" => "error", "state" => "success", "expected" => "ResourceNotFoundException" }] ) }.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
154 155 156 |
# File 'gems/aws-sdk-elbproxy/lib/aws-sdk-elbproxy/waiters.rb', line 154 def wait(params = {}) @waiter.wait(client: @client, params: params) end |