lib/aws-sdk-transfer/waiters.rb in aws-sdk-transfer-1.82.0 vs lib/aws-sdk-transfer/waiters.rb in aws-sdk-transfer-1.83.0
- old
+ new
@@ -89,20 +89,20 @@
delay: 30,
poller: Aws::Waiters::Poller.new(
operation_name: :describe_server,
acceptors: [
{
- "argument" => "server.state",
- "expected" => "OFFLINE",
"matcher" => "path",
- "state" => "success"
+ "argument" => "server.state",
+ "state" => "success",
+ "expected" => "OFFLINE"
},
{
- "argument" => "server.state",
- "expected" => "STOP_FAILED",
"matcher" => "path",
- "state" => "failure"
+ "argument" => "server.state",
+ "state" => "failure",
+ "expected" => "STOP_FAILED"
}
]
)
}.merge(options))
end
@@ -133,19 +133,19 @@
delay: 30,
poller: Aws::Waiters::Poller.new(
operation_name: :describe_server,
acceptors: [
{
- "argument" => "server.state",
- "expected" => "ONLINE",
"matcher" => "path",
- "state" => "success"
+ "argument" => "server.state",
+ "state" => "success",
+ "expected" => "ONLINE"
},
{
- "argument" => "server.state",
- "expected" => "START_FAILED",
"matcher" => "path",
- "state" => "failure"
+ "argument" => "server.state",
+ "state" => "failure",
+ "expected" => "START_FAILED"
}
]
)
}.merge(options))
end