Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateConfigurationTemplate.html
- data CreateConfigurationTemplate
- createConfigurationTemplate :: Text -> Text -> CreateConfigurationTemplate
- cctApplicationName :: Lens' CreateConfigurationTemplate Text
- cctDescription :: Lens' CreateConfigurationTemplate (Maybe Text)
- cctEnvironmentId :: Lens' CreateConfigurationTemplate (Maybe Text)
- cctOptionSettings :: Lens' CreateConfigurationTemplate [ConfigurationOptionSetting]
- cctSolutionStackName :: Lens' CreateConfigurationTemplate (Maybe Text)
- cctSourceConfiguration :: Lens' CreateConfigurationTemplate (Maybe SourceConfiguration)
- cctTemplateName :: Lens' CreateConfigurationTemplate Text
- data CreateConfigurationTemplateResponse
- createConfigurationTemplateResponse :: CreateConfigurationTemplateResponse
- cctrApplicationName :: Lens' CreateConfigurationTemplateResponse (Maybe Text)
- cctrDateCreated :: Lens' CreateConfigurationTemplateResponse (Maybe UTCTime)
- cctrDateUpdated :: Lens' CreateConfigurationTemplateResponse (Maybe UTCTime)
- cctrDeploymentStatus :: Lens' CreateConfigurationTemplateResponse (Maybe ConfigurationDeploymentStatus)
- cctrDescription :: Lens' CreateConfigurationTemplateResponse (Maybe Text)
- cctrEnvironmentName :: Lens' CreateConfigurationTemplateResponse (Maybe Text)
- cctrOptionSettings :: Lens' CreateConfigurationTemplateResponse [ConfigurationOptionSetting]
- cctrSolutionStackName :: Lens' CreateConfigurationTemplateResponse (Maybe Text)
- cctrTemplateName :: Lens' CreateConfigurationTemplateResponse (Maybe Text)
Request
data CreateConfigurationTemplate Source
Request constructor
createConfigurationTemplate Source
CreateConfigurationTemplate
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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.
cctDescription :: Lens' CreateConfigurationTemplate (Maybe Text) Source
Describes this configuration.
cctEnvironmentId :: Lens' CreateConfigurationTemplate (Maybe Text) Source
The ID of the environment used with this configuration template.
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.
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.
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.
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.
Response
Response constructor
createConfigurationTemplateResponse :: CreateConfigurationTemplateResponse Source
CreateConfigurationTemplateResponse
constructor.
The fields accessible through corresponding lenses are:
cctrApplicationName
::
Maybe
Text
cctrDateCreated
::
Maybe
UTCTime
cctrDateUpdated
::
Maybe
UTCTime
cctrDeploymentStatus
::
Maybe
ConfigurationDeploymentStatus
cctrDescription
::
Maybe
Text
cctrEnvironmentName
::
Maybe
Text
cctrOptionSettings
::
[ConfigurationOptionSetting
]cctrSolutionStackName
::
Maybe
Text
cctrTemplateName
::
Maybe
Text
Response lenses
cctrApplicationName :: Lens' CreateConfigurationTemplateResponse (Maybe Text) Source
The name of the application associated with this configuration set.
cctrDateCreated :: Lens' CreateConfigurationTemplateResponse (Maybe UTCTime) Source
The date (in UTC time) when this configuration set was created.
cctrDateUpdated :: Lens' CreateConfigurationTemplateResponse (Maybe UTCTime) Source
The date (in UTC time) when this configuration set was last modified.
cctrDeploymentStatus :: Lens' CreateConfigurationTemplateResponse (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. 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.
cctrDescription :: Lens' CreateConfigurationTemplateResponse (Maybe Text) Source
Describes this configuration set.
cctrEnvironmentName :: Lens' CreateConfigurationTemplateResponse (Maybe Text) Source
If not null, the name of the environment for this configuration set.
cctrOptionSettings :: Lens' CreateConfigurationTemplateResponse [ConfigurationOptionSetting] Source
A list of the configuration options and their values in this configuration set.
cctrSolutionStackName :: Lens' CreateConfigurationTemplateResponse (Maybe Text) Source
The name of the solution stack this configuration set uses.
cctrTemplateName :: Lens' CreateConfigurationTemplateResponse (Maybe Text) Source
If not null, the name of the configuration template for this configuration set.