class Aws::Proton::Waiters::ServicePipelineDeployed
Wait until an ServicePipeline is deployed. Use this after invoking CreateService or UpdateServicePipeline
Attributes
waiter[R]
@api private
Public Class Methods
new(options)
click to toggle source
@param [Hash] options @option options [required, Client] :client @option options [Integer] :max_attempts (360) @option options [Integer] :delay (10) @option options [Proc] :before_attempt @option options [Proc] :before_wait
# File lib/aws-sdk-proton/waiters.rb, line 334 def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 360, delay: 10, poller: Aws::Waiters::Poller.new( operation_name: :get_service, acceptors: [ { "matcher" => "path", "argument" => "service.pipeline.deployment_status", "state" => "success", "expected" => "SUCCEEDED" }, { "matcher" => "path", "argument" => "service.pipeline.deployment_status", "state" => "failure", "expected" => "FAILED" } ] ) }.merge(options)) end
Public Instance Methods
wait(params = {})
click to toggle source
@option (see Client#get_service
) @return (see Client#get_service
)
# File lib/aws-sdk-proton/waiters.rb, line 361 def wait(params = {}) @waiter.wait(client: @client, params: params) end