amazonka-elasticbeanstalk-0.0.2: Amazon Elastic Beanstalk SDK.

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.

http://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_RebuildEnvironment.html

Synopsis

Request

Request constructor

rebuildEnvironment :: RebuildEnvironment Source

RebuildEnvironment constructor.

The fields accessible through corresponding lenses are:

Request lenses

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.

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.

Response

Response constructor