amazonka-elasticbeanstalk-1.2.0.2: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticBeanstalk.RebuildEnvironment

Contents

Description

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

See: AWS API Reference for RebuildEnvironment.

Synopsis

Creating a Request

rebuildEnvironment :: RebuildEnvironment Source

Creates a value of RebuildEnvironment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

reEnvironmentName :: Lens' RebuildEnvironment (Maybe Text) Source

The name of the environment to rebuild.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

reEnvironmentId :: Lens' RebuildEnvironment (Maybe Text) Source

The ID of the environment to rebuild.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Destructuring the Response

rebuildEnvironmentResponse :: RebuildEnvironmentResponse Source

Creates a value of RebuildEnvironmentResponse with the minimum fields required to make a request.