How to implement waiters in Lightsail?
up vote
0
down vote
favorite
I have code
ls = boto3.client(...)
droplet = ls.create_instances_from_snapshot(...)
w = ls.get_waiter('running')
I create instance trough API, but I want to wait until instance running. Instead I see exception.
ValueError: Waiter does not exist: running
Why?
python-2.7 amazon-web-services amazon-lightsail
New contributor
add a comment |
up vote
0
down vote
favorite
I have code
ls = boto3.client(...)
droplet = ls.create_instances_from_snapshot(...)
w = ls.get_waiter('running')
I create instance trough API, but I want to wait until instance running. Instead I see exception.
ValueError: Waiter does not exist: running
Why?
python-2.7 amazon-web-services amazon-lightsail
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have code
ls = boto3.client(...)
droplet = ls.create_instances_from_snapshot(...)
w = ls.get_waiter('running')
I create instance trough API, but I want to wait until instance running. Instead I see exception.
ValueError: Waiter does not exist: running
Why?
python-2.7 amazon-web-services amazon-lightsail
New contributor
I have code
ls = boto3.client(...)
droplet = ls.create_instances_from_snapshot(...)
w = ls.get_waiter('running')
I create instance trough API, but I want to wait until instance running. Instead I see exception.
ValueError: Waiter does not exist: running
Why?
python-2.7 amazon-web-services amazon-lightsail
python-2.7 amazon-web-services amazon-lightsail
New contributor
New contributor
New contributor
asked Nov 10 at 11:51
Mike C
1
1
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Mike C is a new contributor. Be nice, and check out our Code of Conduct.
draft saved
draft discarded
Mike C is a new contributor. Be nice, and check out our Code of Conduct.
Mike C is a new contributor. Be nice, and check out our Code of Conduct.
Mike C is a new contributor. Be nice, and check out our Code of Conduct.
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238648%2fhow-to-implement-waiters-in-lightsail%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password