amazonka-elasticbeanstalk-1.5.0: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2017 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 custome 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 # 
Data CreateConfigurationTemplate Source # 

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 # 
Show CreateConfigurationTemplate Source # 
Generic CreateConfigurationTemplate Source # 
Hashable CreateConfigurationTemplate Source # 
NFData CreateConfigurationTemplate Source # 
AWSRequest CreateConfigurationTemplate Source # 
ToQuery CreateConfigurationTemplate Source # 
ToPath CreateConfigurationTemplate Source # 
ToHeaders CreateConfigurationTemplate Source # 
type Rep CreateConfigurationTemplate Source # 
type Rep CreateConfigurationTemplate = D1 (MetaData "CreateConfigurationTemplate" "Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate" "amazonka-elasticbeanstalk-1.5.0-HuYvjBPDirT34jkKSIOeuN" False) (C1 (MetaCons "CreateConfigurationTemplate'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cctOptionSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ConfigurationOptionSetting]))) (S1 (MetaSel (Just Symbol "_cctPlatformARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cctSourceConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceConfiguration))) (S1 (MetaSel (Just Symbol "_cctSolutionStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cctEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cctDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cctApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cctTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateConfigurationTemplate Source # 

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 custome 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 # 
Data ConfigurationSettingsDescription Source # 

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 # 
Show ConfigurationSettingsDescription Source # 
Generic ConfigurationSettingsDescription Source # 
Hashable ConfigurationSettingsDescription Source # 
NFData ConfigurationSettingsDescription Source # 
FromXML ConfigurationSettingsDescription Source # 
type Rep ConfigurationSettingsDescription Source # 
type Rep ConfigurationSettingsDescription = D1 (MetaData "ConfigurationSettingsDescription" "Network.AWS.ElasticBeanstalk.Types.Product" "amazonka-elasticbeanstalk-1.5.0-HuYvjBPDirT34jkKSIOeuN" False) (C1 (MetaCons "ConfigurationSettingsDescription'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csdTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csdOptionSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ConfigurationOptionSetting])))) ((:*:) (S1 (MetaSel (Just Symbol "_csdDateUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_csdDateCreated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_csdPlatformARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csdEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csdApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_csdDeploymentStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConfigurationDeploymentStatus))) ((:*:) (S1 (MetaSel (Just Symbol "_csdSolutionStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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.