Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_environmentName :: Lens' RebuildEnvironment (Maybe Text)
- rebuildEnvironment_environmentId :: Lens' RebuildEnvironment (Maybe Text)
- data RebuildEnvironmentResponse = RebuildEnvironmentResponse' {
- newRebuildEnvironmentResponse :: RebuildEnvironmentResponse
Creating a Request
data RebuildEnvironment Source #
See: newRebuildEnvironment
smart constructor.
RebuildEnvironment' | |
|
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:
$sel:environmentName: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.
$sel:environmentId: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.
Request Lenses
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.
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.
Destructuring the Response
data RebuildEnvironmentResponse Source #
See: newRebuildEnvironmentResponse
smart constructor.
Instances
newRebuildEnvironmentResponse :: RebuildEnvironmentResponse Source #
Create a value of RebuildEnvironmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.