Giter VIP home page Giter VIP logo

Comments (12)

kyleknap avatar kyleknap commented on September 18, 2024 1

Closing issue. PR is now merged: boto/botocore#841. Cloudformation waiters will be available in the next release of botocore.

from boto3.

danielgtaylor avatar danielgtaylor commented on September 18, 2024

@sergey-ob we plan to add waiters for as many services as possible. If you come across one we haven't gotten to yet, please do let us know. Customer feedback helps us to prioritize our tasks.

from boto3.

alexjurkiewicz avatar alexjurkiewicz commented on September 18, 2024

+1 for cloudformation waiter.

from boto3.

oliver-schoenherr avatar oliver-schoenherr commented on September 18, 2024

The ruby aws sdk includes already the CloudFormation waiter:

aws/aws-sdk-ruby#758
https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-core/apis/cloudformation/2010-05-15/waiters-2.json

+1 to add this feature in boto and eventually to the aws-cli.

from boto3.

bkyarger avatar bkyarger commented on September 18, 2024

+1

from boto3.

 avatar commented on September 18, 2024

+1

from boto3.

quiver avatar quiver commented on September 18, 2024

I'v PRed CFn waiters boto/botocore#630
Once that's reviewed and merged, you can do something like::

import boto3
client = boto3.client('cloudformation')
waiter = client.get_waiter('stack_completed')
waiter.wait(StackName='Blah')

from boto3.

analytically avatar analytically commented on September 18, 2024

+1

from boto3.

darkmule avatar darkmule commented on September 18, 2024

+1

from boto3.

vincemtnz avatar vincemtnz commented on September 18, 2024

+1

from boto3.

analytically avatar analytically commented on September 18, 2024

@quiver shouldn't your above example be client.get_waiter('StackAvailable')?

from boto3.

quiver avatar quiver commented on September 18, 2024

@quiver shouldn't your above example be client.get_waiter('StackAvailable')?

Nope. Wait subcommands are snake-cased at boto3 level.
See the following rul : http://boto3.readthedocs.org/en/latest/guide/clients.html#waiters

from boto3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.