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.RestartAppServer

Description

Causes the environment to restart the application container server running on each Amazon EC2 instance.

Synopsis

Creating a Request

data RestartAppServer Source #

See: newRestartAppServer smart constructor.

Constructors

RestartAppServer' 

Fields

  • environmentName :: Maybe Text

    The name of the environment to restart the server for.

    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 restart the server for.

    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 RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Read RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Show RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Generic RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Associated Types

type Rep RestartAppServer :: Type -> Type #

NFData RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Methods

rnf :: RestartAppServer -> () #

Hashable RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

AWSRequest RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Associated Types

type AWSResponse RestartAppServer #

ToHeaders RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

ToPath RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

ToQuery RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

type Rep RestartAppServer Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

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

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

newRestartAppServer :: RestartAppServer Source #

Create a value of RestartAppServer 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:RestartAppServer', restartAppServer_environmentName - The name of the environment to restart the server for.

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:RestartAppServer', restartAppServer_environmentId - The ID of the environment to restart the server for.

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

restartAppServer_environmentName :: Lens' RestartAppServer (Maybe Text) Source #

The name of the environment to restart the server for.

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

restartAppServer_environmentId :: Lens' RestartAppServer (Maybe Text) Source #

The ID of the environment to restart the server for.

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 RestartAppServerResponse Source #

See: newRestartAppServerResponse smart constructor.

Instances

Instances details
Eq RestartAppServerResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Read RestartAppServerResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Show RestartAppServerResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Generic RestartAppServerResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

Associated Types

type Rep RestartAppServerResponse :: Type -> Type #

NFData RestartAppServerResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

type Rep RestartAppServerResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RestartAppServer

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

newRestartAppServerResponse :: RestartAppServerResponse Source #

Create a value of RestartAppServerResponse with all optional fields omitted.

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