Class: Aws::Deadline::Waiters::LicenseEndpointDeleted
- Inherits:
-
Object
- Object
- Aws::Deadline::Waiters::LicenseEndpointDeleted
- Defined in:
- lib/aws-sdk-deadline/waiters.rb
Overview
Wait until a LicenseEndpoint is Deleted. Use this after invoking DeleteLicenseEndpoint.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ LicenseEndpointDeleted
constructor
A new instance of LicenseEndpointDeleted.
-
#wait(params = {}) ⇒ Types::GetLicenseEndpointResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ LicenseEndpointDeleted
Returns a new instance of LicenseEndpointDeleted.
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'lib/aws-sdk-deadline/waiters.rb', line 211 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 234, delay: 10, poller: Aws::Waiters::Poller.new( operation_name: :get_license_endpoint, acceptors: [ { "matcher" => "error", "state" => "success", "expected" => "ResourceNotFoundException" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "NOT_READY" } ] ) }.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.
242 243 244 |
# File 'lib/aws-sdk-deadline/waiters.rb', line 242 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetLicenseEndpointResponse
Returns a response object which responds to the following methods:
-
#license_endpoint_id => String
-
#status => String
-
#status_message => String
-
#vpc_id => String
-
#dns_name => String
-
#subnet_ids => Array<String>
-
#security_group_ids => Array<String>
237 238 239 |
# File 'lib/aws-sdk-deadline/waiters.rb', line 237 def wait(params = {}) @waiter.wait(client: @client, params: params) end |