in gems/aws-sdk-omics/lib/aws-sdk-omics/waiters.rb [528:582]
def initialize(options)
@client = options.fetch(:client)
@waiter = Aws::Waiters::Waiter.new({
max_attempts: 20,
delay: 30,
poller: Aws::Waiters::Poller.new(
operation_name: :get_read_set_import_job,
acceptors: [
{
"matcher" => "path",
"argument" => "status",
"state" => "success",
"expected" => "COMPLETED"
},
{
"matcher" => "path",
"argument" => "status",
"state" => "retry",
"expected" => "SUBMITTED"
},
{
"matcher" => "path",
"argument" => "status",
"state" => "retry",
"expected" => "IN_PROGRESS"
},
{
"matcher" => "path",
"argument" => "status",
"state" => "retry",
"expected" => "CANCELLING"
},
{
"matcher" => "path",
"argument" => "status",
"state" => "failure",
"expected" => "CANCELLED"
},
{
"matcher" => "path",
"argument" => "status",
"state" => "failure",
"expected" => "FAILED"
},
{
"matcher" => "path",
"argument" => "status",
"state" => "failure",
"expected" => "COMPLETED_WITH_FAILURES"
}
]
)
}.merge(options))
end