Class: Aws::HealthLake::Waiters::FHIRExportJobCompleted
- Inherits:
-
Object
- Object
- Aws::HealthLake::Waiters::FHIRExportJobCompleted
- Defined in:
- gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ FHIRExportJobCompleted
constructor
A new instance of FHIRExportJobCompleted.
-
#wait(params = {}) ⇒ Types::DescribeFHIRExportJobResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ FHIRExportJobCompleted
Returns a new instance of FHIRExportJobCompleted.
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 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-healthlake/lib/aws-sdk-healthlake/waiters.rb', line 229 def initialize() @client = .fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 5, delay: 120, poller: Aws::Waiters::Poller.new( operation_name: :describe_fhir_export_job, acceptors: [ { "matcher" => "path", "argument" => "export_job_properties.job_status", "state" => "success", "expected" => "COMPLETED" }, { "matcher" => "path", "argument" => "export_job_properties.job_status", "state" => "success", "expected" => "COMPLETED_WITH_ERRORS" }, { "matcher" => "path", "argument" => "export_job_properties.job_status", "state" => "failure", "expected" => "CANCEL_COMPLETED" }, { "matcher" => "path", "argument" => "export_job_properties.job_status", "state" => "failure", "expected" => "FAILED" }, { "matcher" => "path", "argument" => "export_job_properties.job_status", "state" => "failure", "expected" => "CANCEL_FAILED" } ] ) }.merge()) end |
Instance Method Details
#wait(params = {}) ⇒ Types::DescribeFHIRExportJobResponse
Returns a response object which responds to the following methods:
- #export_job_properties => Types::ExportJobProperties
274 275 276 |
# File 'gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/waiters.rb', line 274 def wait(params = {}) @waiter.wait(client: @client, params: params) end |