From b034cb805145f040c9b29f4cac8baf911847330a Mon Sep 17 00:00:00 2001 From: Clement Demonchy Date: Wed, 4 Oct 2017 14:57:36 +0200 Subject: Update layer1.py Add more information on rebuild_environment --- boto/beanstalk/layer1.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boto/beanstalk/layer1.py b/boto/beanstalk/layer1.py index e72ee23e..9464d819 100644 --- a/boto/beanstalk/layer1.py +++ b/boto/beanstalk/layer1.py @@ -772,6 +772,8 @@ class Layer1(AWSQueryConnection): Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. + If the environment hadn't be created or is terminated returns + InvalidParameterValue error. :raises: InsufficientPrivilegesException """ -- cgit v1.2.1 From 736ff2146e0e2ac8134037c31ee942ffd79768aa Mon Sep 17 00:00:00 2001 From: Clement Demonchy Date: Tue, 24 Oct 2017 18:23:43 +0200 Subject: Update layer1.py Change according to request in review --- boto/beanstalk/layer1.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boto/beanstalk/layer1.py b/boto/beanstalk/layer1.py index 9464d819..b4b745e4 100644 --- a/boto/beanstalk/layer1.py +++ b/boto/beanstalk/layer1.py @@ -772,9 +772,8 @@ class Layer1(AWSQueryConnection): Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - If the environment hadn't be created or is terminated returns - InvalidParameterValue error. + :raises InvalidParameterValue: If the environment hadn't be created or is terminated :raises: InsufficientPrivilegesException """ params = {} -- cgit v1.2.1 From 0f9948428a272edb117f54a7a0ce4e771576dc8f Mon Sep 17 00:00:00 2001 From: Clement Demonchy Date: Tue, 24 Oct 2017 18:25:35 +0200 Subject: Update layer1.py --- boto/beanstalk/layer1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boto/beanstalk/layer1.py b/boto/beanstalk/layer1.py index b4b745e4..aa2c876e 100644 --- a/boto/beanstalk/layer1.py +++ b/boto/beanstalk/layer1.py @@ -773,7 +773,7 @@ class Layer1(AWSQueryConnection): both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error. - :raises InvalidParameterValue: If the environment hadn't be created or is terminated + :raises InvalidParameterValue: If environment_name doesn't refer to a currently active environment :raises: InsufficientPrivilegesException """ params = {} -- cgit v1.2.1