Class: Aws::GameLiftStreams::Waiters::ApplicationDeleted
- Inherits:
-
Object
- Object
- Aws::GameLiftStreams::Waiters::ApplicationDeleted
- Defined in:
- lib/aws-sdk-gameliftstreams/waiters.rb
Overview
Waits until an application is deleted
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ ApplicationDeleted
constructor
A new instance of ApplicationDeleted.
-
#wait(params = {}) ⇒ Types::GetApplicationOutput
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ ApplicationDeleted
Returns a new instance of ApplicationDeleted.
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/aws-sdk-gameliftstreams/waiters.rb', line 89 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 2, poller: Aws::Waiters::Poller.new( operation_name: :get_application, acceptors: [{ "matcher" => "error", "state" => "success", "expected" => "ResourceNotFoundException" }] ) }.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.
112 113 114 |
# File 'lib/aws-sdk-gameliftstreams/waiters.rb', line 112 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetApplicationOutput
Returns a response object which responds to the following methods:
-
#arn => String
-
#description => String
-
#runtime_environment => Types::RuntimeEnvironment
-
#executable_path => String
-
#application_log_paths => Array<String>
-
#application_log_output_uri => String
-
#application_source_uri => String
-
#id => String
-
#status => String
-
#status_reason => String
-
#replication_statuses => Array<Types::ReplicationStatus>
-
#created_at => Time
-
#last_updated_at => Time
-
#associated_stream_groups => Array<String>
107 108 109 |
# File 'lib/aws-sdk-gameliftstreams/waiters.rb', line 107 def wait(params = {}) @waiter.wait(client: @client, params: params) end |