| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.RebuildEnvironment
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.
Synopsis
- data RebuildEnvironment = RebuildEnvironment' {}
- newRebuildEnvironment :: RebuildEnvironment
- rebuildEnvironment_environmentId :: Lens' RebuildEnvironment (Maybe Text)
- rebuildEnvironment_environmentName :: Lens' RebuildEnvironment (Maybe Text)
- data RebuildEnvironmentResponse = RebuildEnvironmentResponse' {
- newRebuildEnvironmentResponse :: RebuildEnvironmentResponse
Creating a Request
data RebuildEnvironment Source #
See: newRebuildEnvironment smart constructor.
Constructors
| RebuildEnvironment' | |
Fields
| |
Instances
newRebuildEnvironment :: RebuildEnvironment Source #
Create a value of RebuildEnvironment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RebuildEnvironment, rebuildEnvironment_environmentId - 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.
RebuildEnvironment, rebuildEnvironment_environmentName - 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.
Request Lenses
rebuildEnvironment_environmentId :: 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.
rebuildEnvironment_environmentName :: 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.
Destructuring the Response
data RebuildEnvironmentResponse Source #
See: newRebuildEnvironmentResponse smart constructor.
Constructors
| RebuildEnvironmentResponse' | |
Instances
newRebuildEnvironmentResponse :: RebuildEnvironmentResponse Source #
Create a value of RebuildEnvironmentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.