Skip to content

Instantly share code, notes, and snippets.

View cfclrk's full-sized avatar
❤️

Chris Clark cfclrk

❤️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cfclrk on github.
  • I am cfclrk (https://keybase.io/cfclrk) on keybase.
  • I have a public key whose fingerprint is B354 F6B5 BEF2 1495 111E 3796 7E2B 7BC1 EA50 E5EB

To claim this, I am signing this object:

@cfclrk
cfclrk / aiobotocore_waiter.py
Created April 4, 2017 13:03
botocore waiter with aiobotocore (does not work)
import asyncio
import aiobotocore
cloudformation_template = """
{
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"queue1": {
"Type": "AWS::SQS::Queue",
"Properties": {
@cfclrk
cfclrk / botocore_waiter_asyncio.py
Last active September 19, 2018 03:09
Asyncio botocore waiter
import asyncio
import botocore.session
import functools
cloudformation_template = """
{
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"queue1": {
"Type": "AWS::SQS::Queue",
@cfclrk
cfclrk / botocore_waiter.py
Last active April 4, 2017 13:00
Example of using a botocore waiter
import botocore.session
cloudformation_template = """
{
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"queue1": {
"Type": "AWS::SQS::Queue",
"Properties": {
"QueueName": "my-queue"