-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make it easy to add custom waiters #1047
Comments
This is an interesting feature request, will definitely take a look at this. |
is there a way to have a waiters for Aws::Route53::Client? The waiter_names list is empty on the documentation: http://docs.aws.amazon.com/sdkforruby/api/Aws/Route53/Client.html#waiter_names-instance_method |
Adding to feature request backlog. Will also take a PR for this if you want to take a crack at it. |
@basex A lack of waiters just means that none have been created yet, and that there is no waiters JSON file. We can still take PRs, for example, to add Route53 waiters. You'd just need to create the file in the pattern of other waiter files. |
Reopening - deprecating usage of Feature Requests backlog markdown file. |
Until #1039 is merged I'm implementing the waiter myself, like this:
As best I can tell there is no public way to inject custom waiters. It would be nice if I could add to the default set on a per-client or per-service basis, so I could use something like
ec2.wait_until(:nat_gateway_available, ...)
regardless of where the waiter is defined.The text was updated successfully, but these errors were encountered: