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

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

Creating a Request

data RebuildEnvironment Source #

See: newRebuildEnvironment smart constructor.

Constructors

RebuildEnvironment' 

Fields

  • environmentName :: Maybe Text

    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.

  • environmentId :: Maybe Text

    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.

Instances

Instances details
Eq RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Read RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Show RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Generic RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Associated Types

type Rep RebuildEnvironment :: Type -> Type #

NFData RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Methods

rnf :: RebuildEnvironment -> () #

Hashable RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

AWSRequest RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Associated Types

type AWSResponse RebuildEnvironment #

ToHeaders RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

ToPath RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

ToQuery RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

type Rep RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

type Rep RebuildEnvironment = D1 ('MetaData "RebuildEnvironment" "Amazonka.ElasticBeanstalk.RebuildEnvironment" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "RebuildEnvironment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse RebuildEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

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

Instances details
Eq RebuildEnvironmentResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Read RebuildEnvironmentResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Show RebuildEnvironmentResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Generic RebuildEnvironmentResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

Associated Types

type Rep RebuildEnvironmentResponse :: Type -> Type #

NFData RebuildEnvironmentResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

type Rep RebuildEnvironmentResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RebuildEnvironment

type Rep RebuildEnvironmentResponse = D1 ('MetaData "RebuildEnvironmentResponse" "Amazonka.ElasticBeanstalk.RebuildEnvironment" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "RebuildEnvironmentResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRebuildEnvironmentResponse :: RebuildEnvironmentResponse Source #

Create a value of RebuildEnvironmentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.