forked from aws/aws-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update waiters to use the new get_waiter_model
This fixes an issue where previously we were creating a client without specifying a region, which in certain cases would trigger an error. Now we only use the waiter model to generate the necessary commands. As part of thie change I went ahead and just switched the invoke to just use the service/operation object. This isn't ideal, but at the same time, it's pretty clear that for the time being there's no way to do this entirely with just clients. Given that's the case, I don't feel it's that imperative to use clients where possible. When we switch to clients, this module will need updates regardless. It also simplified the code a little bit.
- Loading branch information
Showing
2 changed files
with
108 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wrong indentation.
service_object.api_version
not under parenthesis.