Class: Aws::LambdaCore::Waiters::RuntimeAliasActive
- Inherits:
-
Object
- Object
- Aws::LambdaCore::Waiters::RuntimeAliasActive
- Defined in:
- gems/aws-sdk-lambdacore/lib/aws-sdk-lambdacore/waiters.rb
Overview
Wait until a runtime alias has finished provisioning/updating and reached the ACTIVE state.
Instance Method Summary collapse
-
#initialize(options) ⇒ RuntimeAliasActive
constructor
A new instance of RuntimeAliasActive.
-
#wait(params = {}) ⇒ Types::GetRuntimeAliasResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ RuntimeAliasActive
Returns a new instance of RuntimeAliasActive.
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'gems/aws-sdk-lambdacore/lib/aws-sdk-lambdacore/waiters.rb', line 86 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 60, delay: 2, poller: Aws::Waiters::Poller.new( operation_name: :get_runtime_alias, acceptors: [{ "matcher" => "path", "argument" => "state", "state" => "success", "expected" => "ACTIVE" }] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetRuntimeAliasResponse
Returns a response object which responds to the following methods:
- #name => String
- #arn => String
- #runtime_version => String
- #runtime_version_arn => String
- #state => String
- #pending_deletion_at => String
- #description => String
- #compatibility => Types::Compatibility
- #release_lifecycle => Types::RuntimeReleaseLifecycle
- #created => String
- #last_modified => String
105 106 107 |
# File 'gems/aws-sdk-lambdacore/lib/aws-sdk-lambdacore/waiters.rb', line 105 def wait(params = {}) @waiter.wait(client: @client, params: params) end |