Class: Aws::LambdaWeb::Waiters::WebFunctionEndpointDeleted
- Inherits:
-
Object
- Object
- Aws::LambdaWeb::Waiters::WebFunctionEndpointDeleted
- Defined in:
- gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/waiters.rb
Overview
Waits for the web function endpoint to be deleted. This should be used after endpoint deletion.
Instance Method Summary collapse
-
#initialize(options) ⇒ WebFunctionEndpointDeleted
constructor
A new instance of WebFunctionEndpointDeleted.
-
#wait(params = {}) ⇒ Types::GetWebFunctionEndpointResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ WebFunctionEndpointDeleted
Returns a new instance of WebFunctionEndpointDeleted.
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/waiters.rb', line 248 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 300, delay: 1, poller: Aws::Waiters::Poller.new( operation_name: :get_web_function_endpoint, acceptors: [ { "matcher" => "error", "state" => "success", "expected" => "ResourceNotFoundException" }, { "matcher" => "path", "argument" => "state", "state" => "retry", "expected" => "Deleting" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetWebFunctionEndpointResponse
Returns a response object which responds to the following methods:
- #function_arn => String
- #endpoint_arn => String
- #endpoint_name => String
- #description => String
- #endpoint_type => String
- #domain_name => String
- #auth_type => String
- #auto_deployment_mode => String
- #revision_weights => Array<Types::RevisionWeight>
- #regions => Array<String>
- #scaling_config => Types::ScalingConfig
- #throttle_config => Types::ThrottleConfig
- #state => String
- #state_reason => String
- #update_status => String
- #update_status_reason => String
- #regional_endpoints => Hash<String,Types::RegionalEndpoint>
- #created_at => Time
- #updated_at => Time
274 275 276 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/waiters.rb', line 274 def wait(params = {}) @waiter.wait(client: @client, params: params) end |