amazonka-elasticbeanstalk-1.6.1: Amazon Elastic Beanstalk SDK.

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

Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Contents

Description

Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.

Related Topics

  • DescribeConfigurationOptions
  • DescribeConfigurationSettings
  • ListAvailableSolutionStacks
Synopsis

Creating a Request

createConfigurationTemplate Source #

Creates a value of CreateConfigurationTemplate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cctOptionSettings - If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
  • cctPlatformARN - The ARN of the custom platform.
  • cctSourceConfiguration - If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the OptionSettings parameter of this call overrides any values obtained from the SourceConfiguration . If no configuration template is found, returns an InvalidParameterValue error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an InvalidParameterCombination error.
  • cctSolutionStackName - The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values. Use ListAvailableSolutionStacks to obtain a list of available solution stacks. A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an InvalidParameterValue error. If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
  • cctEnvironmentId - The ID of the environment used with this configuration template.
  • cctDescription - Describes this configuration.
  • cctApplicationName - The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.
  • cctTemplateName - The name of the configuration template. Constraint: This name must be unique per application. Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.

data CreateConfigurationTemplate Source #

Request to create a configuration template.

See: createConfigurationTemplate smart constructor.

Instances
Eq CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Data CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateConfigurationTemplate -> c CreateConfigurationTemplate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateConfigurationTemplate #

toConstr :: CreateConfigurationTemplate -> Constr #

dataTypeOf :: CreateConfigurationTemplate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateConfigurationTemplate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateConfigurationTemplate) #

gmapT :: (forall b. Data b => b -> b) -> CreateConfigurationTemplate -> CreateConfigurationTemplate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateConfigurationTemplate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateConfigurationTemplate -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateConfigurationTemplate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateConfigurationTemplate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateConfigurationTemplate -> m CreateConfigurationTemplate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateConfigurationTemplate -> m CreateConfigurationTemplate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateConfigurationTemplate -> m CreateConfigurationTemplate #

Read CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Show CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Generic CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Associated Types

type Rep CreateConfigurationTemplate :: Type -> Type #

Hashable CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

AWSRequest CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Associated Types

type Rs CreateConfigurationTemplate :: Type #

ToHeaders CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

ToPath CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

ToQuery CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

NFData CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

type Rep CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

type Rep CreateConfigurationTemplate = D1 (MetaData "CreateConfigurationTemplate" "Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate" "amazonka-elasticbeanstalk-1.6.1-3CoYM4SK8sc46jAbvlY69V" False) (C1 (MetaCons "CreateConfigurationTemplate'" PrefixI True) (((S1 (MetaSel (Just "_cctOptionSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ConfigurationOptionSetting])) :*: S1 (MetaSel (Just "_cctPlatformARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cctSourceConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceConfiguration)) :*: S1 (MetaSel (Just "_cctSolutionStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cctEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cctDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cctApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cctTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateConfigurationTemplate Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate

Request Lenses

cctOptionSettings :: Lens' CreateConfigurationTemplate [ConfigurationOptionSetting] Source #

If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.

cctPlatformARN :: Lens' CreateConfigurationTemplate (Maybe Text) Source #

The ARN of the custom platform.

cctSourceConfiguration :: Lens' CreateConfigurationTemplate (Maybe SourceConfiguration) Source #

If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the OptionSettings parameter of this call overrides any values obtained from the SourceConfiguration . If no configuration template is found, returns an InvalidParameterValue error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an InvalidParameterCombination error.

cctSolutionStackName :: Lens' CreateConfigurationTemplate (Maybe Text) Source #

The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values. Use ListAvailableSolutionStacks to obtain a list of available solution stacks. A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an InvalidParameterValue error. If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.

cctEnvironmentId :: Lens' CreateConfigurationTemplate (Maybe Text) Source #

The ID of the environment used with this configuration template.

cctApplicationName :: Lens' CreateConfigurationTemplate Text Source #

The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.

cctTemplateName :: Lens' CreateConfigurationTemplate Text Source #

The name of the configuration template. Constraint: This name must be unique per application. Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.

Destructuring the Response

configurationSettingsDescription :: ConfigurationSettingsDescription Source #

Creates a value of ConfigurationSettingsDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • csdTemplateName - If not null , the name of the configuration template for this configuration set.
  • csdOptionSettings - A list of the configuration options and their values in this configuration set.
  • csdDateUpdated - The date (in UTC time) when this configuration set was last modified.
  • csdDateCreated - The date (in UTC time) when this configuration set was created.
  • csdPlatformARN - The ARN of the platform.
  • csdEnvironmentName - If not null , the name of the environment for this configuration set.
  • csdApplicationName - The name of the application associated with this configuration set.
  • csdDeploymentStatus - If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set: * null : This configuration is not associated with a running environment. * pending : This is a draft configuration that is not deployed to the associated environment but is in the process of deploying. * deployed : This is the configuration that is currently deployed to the associated running environment. * failed : This is a draft configuration that failed to successfully deploy.
  • csdSolutionStackName - The name of the solution stack this configuration set uses.
  • csdDescription - Describes this configuration set.

data ConfigurationSettingsDescription Source #

Describes the settings for a configuration set.

See: configurationSettingsDescription smart constructor.

Instances
Eq ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

Data ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConfigurationSettingsDescription -> c ConfigurationSettingsDescription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConfigurationSettingsDescription #

toConstr :: ConfigurationSettingsDescription -> Constr #

dataTypeOf :: ConfigurationSettingsDescription -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConfigurationSettingsDescription) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConfigurationSettingsDescription) #

gmapT :: (forall b. Data b => b -> b) -> ConfigurationSettingsDescription -> ConfigurationSettingsDescription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConfigurationSettingsDescription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConfigurationSettingsDescription -> r #

gmapQ :: (forall d. Data d => d -> u) -> ConfigurationSettingsDescription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ConfigurationSettingsDescription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConfigurationSettingsDescription -> m ConfigurationSettingsDescription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfigurationSettingsDescription -> m ConfigurationSettingsDescription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfigurationSettingsDescription -> m ConfigurationSettingsDescription #

Read ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

Show ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

Generic ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

Associated Types

type Rep ConfigurationSettingsDescription :: Type -> Type #

Hashable ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

FromXML ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

NFData ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

type Rep ConfigurationSettingsDescription Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.Types.Product

type Rep ConfigurationSettingsDescription = D1 (MetaData "ConfigurationSettingsDescription" "Network.AWS.ElasticBeanstalk.Types.Product" "amazonka-elasticbeanstalk-1.6.1-3CoYM4SK8sc46jAbvlY69V" False) (C1 (MetaCons "ConfigurationSettingsDescription'" PrefixI True) (((S1 (MetaSel (Just "_csdTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csdOptionSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ConfigurationOptionSetting]))) :*: (S1 (MetaSel (Just "_csdDateUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 (MetaSel (Just "_csdDateCreated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 (MetaSel (Just "_csdPlatformARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_csdEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csdApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_csdDeploymentStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConfigurationDeploymentStatus)) :*: (S1 (MetaSel (Just "_csdSolutionStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

Response Lenses

csdTemplateName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #

If not null , the name of the configuration template for this configuration set.

csdOptionSettings :: Lens' ConfigurationSettingsDescription [ConfigurationOptionSetting] Source #

A list of the configuration options and their values in this configuration set.

csdDateUpdated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime) Source #

The date (in UTC time) when this configuration set was last modified.

csdDateCreated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime) Source #

The date (in UTC time) when this configuration set was created.

csdEnvironmentName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #

If not null , the name of the environment for this configuration set.

csdApplicationName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #

The name of the application associated with this configuration set.

csdDeploymentStatus :: Lens' ConfigurationSettingsDescription (Maybe ConfigurationDeploymentStatus) Source #

If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set: * null : This configuration is not associated with a running environment. * pending : This is a draft configuration that is not deployed to the associated environment but is in the process of deploying. * deployed : This is the configuration that is currently deployed to the associated running environment. * failed : This is a draft configuration that failed to successfully deploy.

csdSolutionStackName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #

The name of the solution stack this configuration set uses.