From 2a392a607336109cb35c036004763294800d1c5b Mon Sep 17 00:00:00 2001 From: Dan Collis-Puro Date: Mon, 2 Mar 2015 11:11:07 -0500 Subject: [PATCH 1/2] Add a waiter to ensure an InstanceProfile is available --- aws-sdk-core/apis/iam/2010-05-08/waiters-2.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/aws-sdk-core/apis/iam/2010-05-08/waiters-2.json b/aws-sdk-core/apis/iam/2010-05-08/waiters-2.json index ce834bb69e5..d05dcd06451 100644 --- a/aws-sdk-core/apis/iam/2010-05-08/waiters-2.json +++ b/aws-sdk-core/apis/iam/2010-05-08/waiters-2.json @@ -1,6 +1,23 @@ { "version": 2, "waiters": { + "InstanceProfileAvailable": { + "delay": 15, + "operation": "GetInstanceProfile", + "maxAttempts": 40, + "acceptors": [ + { + "expected": 200, + "matcher": "status", + "state": "success" + }, + { + "state": "retry", + "matcher": "status", + "expected": 404 + } + ] + }, "UserExists": { "delay": 1, "operation": "GetUser", From 5ed19937aa3b8f6c9c0ff69f508319987b320abb Mon Sep 17 00:00:00 2001 From: Dan Collis-Puro Date: Fri, 13 Mar 2015 09:46:43 -0400 Subject: [PATCH 2/2] Opsworks client "AppAvailable" waiter --- aws-sdk-core/apis/opsworks/2013-02-18/waiters-2.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/aws-sdk-core/apis/opsworks/2013-02-18/waiters-2.json b/aws-sdk-core/apis/opsworks/2013-02-18/waiters-2.json index 2b5bb44de6e..7a3fe1fbf99 100644 --- a/aws-sdk-core/apis/opsworks/2013-02-18/waiters-2.json +++ b/aws-sdk-core/apis/opsworks/2013-02-18/waiters-2.json @@ -1,6 +1,18 @@ { "version": 2, "waiters": { + "AppAvailable": { + "delay": 15, + "operation": "DescribeApps", + "maxAttempts": 40, + "acceptors": [ + { + "expected": 200, + "matcher": "status", + "state": "success" + } + ] + }, "InstanceOnline": { "delay": 15, "operation": "DescribeInstances",