Class: Aws::B2bi::Waiters::TransformerJobSucceeded
- Inherits:
-
Object
- Object
- Aws::B2bi::Waiters::TransformerJobSucceeded
- Defined in:
- gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ TransformerJobSucceeded
constructor
A new instance of TransformerJobSucceeded.
-
#wait(params = {}) ⇒ Types::GetTransformerJobResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ TransformerJobSucceeded
Returns a new instance of TransformerJobSucceeded.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/waiters.rb', line 84 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 12, delay: 10, poller: Aws::Waiters::Poller.new( operation_name: :get_transformer_job, acceptors: [ { "matcher" => "path", "argument" => "status", "state" => "success", "expected" => "succeeded" }, { "matcher" => "path", "argument" => "status", "state" => "failure", "expected" => "failed" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetTransformerJobResponse
Returns a response object which responds to the following methods:
- #status => String
- #output_files => Array<Types::S3Location>
- #message => String
111 112 113 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/waiters.rb', line 111 def wait(params = {}) @waiter.wait(client: @client, params: params) end |