| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.UpdateConfigurationTemplate
Description
Updates the specified configuration template to have the specified properties or configuration option values.
If a property (for example, ApplicationName) is not provided, its
value remains unchanged. To clear such properties, specify an empty
string.
Related Topics
- DescribeConfigurationOptions
Synopsis
- data UpdateConfigurationTemplate = UpdateConfigurationTemplate' {}
- newUpdateConfigurationTemplate :: Text -> Text -> UpdateConfigurationTemplate
- updateConfigurationTemplate_description :: Lens' UpdateConfigurationTemplate (Maybe Text)
- updateConfigurationTemplate_optionSettings :: Lens' UpdateConfigurationTemplate (Maybe [ConfigurationOptionSetting])
- updateConfigurationTemplate_optionsToRemove :: Lens' UpdateConfigurationTemplate (Maybe [OptionSpecification])
- updateConfigurationTemplate_applicationName :: Lens' UpdateConfigurationTemplate Text
- updateConfigurationTemplate_templateName :: Lens' UpdateConfigurationTemplate Text
- data ConfigurationSettingsDescription = ConfigurationSettingsDescription' {
- applicationName :: Maybe Text
- dateCreated :: Maybe ISO8601
- dateUpdated :: Maybe ISO8601
- deploymentStatus :: Maybe ConfigurationDeploymentStatus
- description :: Maybe Text
- environmentName :: Maybe Text
- optionSettings :: Maybe [ConfigurationOptionSetting]
- platformArn :: Maybe Text
- solutionStackName :: Maybe Text
- templateName :: Maybe Text
- newConfigurationSettingsDescription :: ConfigurationSettingsDescription
- configurationSettingsDescription_applicationName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_dateCreated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime)
- configurationSettingsDescription_dateUpdated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime)
- configurationSettingsDescription_deploymentStatus :: Lens' ConfigurationSettingsDescription (Maybe ConfigurationDeploymentStatus)
- configurationSettingsDescription_description :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_environmentName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_optionSettings :: Lens' ConfigurationSettingsDescription (Maybe [ConfigurationOptionSetting])
- configurationSettingsDescription_platformArn :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_solutionStackName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_templateName :: Lens' ConfigurationSettingsDescription (Maybe Text)
Creating a Request
data UpdateConfigurationTemplate Source #
The result message containing the options for the specified solution stack.
See: newUpdateConfigurationTemplate smart constructor.
Constructors
| UpdateConfigurationTemplate' | |
Fields
| |
Instances
newUpdateConfigurationTemplate Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateConfigurationTemplate |
Create a value of UpdateConfigurationTemplate 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:
UpdateConfigurationTemplate, updateConfigurationTemplate_description - A new description for the configuration.
UpdateConfigurationTemplate, updateConfigurationTemplate_optionSettings - A list of configuration option settings to update with the new specified
option value.
$sel:optionsToRemove:UpdateConfigurationTemplate', updateConfigurationTemplate_optionsToRemove - A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined configuration options.
UpdateConfigurationTemplate, updateConfigurationTemplate_applicationName - The name of the application associated with the configuration template
to update.
If no application is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue error.
UpdateConfigurationTemplate, updateConfigurationTemplate_templateName - The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplate returns an InvalidParameterValue error.
Request Lenses
updateConfigurationTemplate_description :: Lens' UpdateConfigurationTemplate (Maybe Text) Source #
A new description for the configuration.
updateConfigurationTemplate_optionSettings :: Lens' UpdateConfigurationTemplate (Maybe [ConfigurationOptionSetting]) Source #
A list of configuration option settings to update with the new specified option value.
updateConfigurationTemplate_optionsToRemove :: Lens' UpdateConfigurationTemplate (Maybe [OptionSpecification]) Source #
A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined configuration options.
updateConfigurationTemplate_applicationName :: Lens' UpdateConfigurationTemplate Text Source #
The name of the application associated with the configuration template to update.
If no application is found with this name, UpdateConfigurationTemplate
returns an InvalidParameterValue error.
updateConfigurationTemplate_templateName :: Lens' UpdateConfigurationTemplate Text Source #
The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplate returns an InvalidParameterValue error.
Destructuring the Response
data ConfigurationSettingsDescription Source #
Describes the settings for a configuration set.
See: newConfigurationSettingsDescription smart constructor.
Constructors
| ConfigurationSettingsDescription' | |
Fields
| |
Instances
newConfigurationSettingsDescription :: ConfigurationSettingsDescription Source #
Create a value of ConfigurationSettingsDescription 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:applicationName:ConfigurationSettingsDescription', configurationSettingsDescription_applicationName - The name of the application associated with this configuration set.
$sel:dateCreated:ConfigurationSettingsDescription', configurationSettingsDescription_dateCreated - The date (in UTC time) when this configuration set was created.
$sel:dateUpdated:ConfigurationSettingsDescription', configurationSettingsDescription_dateUpdated - The date (in UTC time) when this configuration set was last modified.
$sel:deploymentStatus:ConfigurationSettingsDescription', configurationSettingsDescription_deploymentStatus - 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.
$sel:description:ConfigurationSettingsDescription', configurationSettingsDescription_description - Describes this configuration set.
$sel:environmentName:ConfigurationSettingsDescription', configurationSettingsDescription_environmentName - If not null, the name of the environment for this configuration set.
$sel:optionSettings:ConfigurationSettingsDescription', configurationSettingsDescription_optionSettings - A list of the configuration options and their values in this
configuration set.
$sel:platformArn:ConfigurationSettingsDescription', configurationSettingsDescription_platformArn - The ARN of the platform version.
$sel:solutionStackName:ConfigurationSettingsDescription', configurationSettingsDescription_solutionStackName - The name of the solution stack this configuration set uses.
$sel:templateName:ConfigurationSettingsDescription', configurationSettingsDescription_templateName - If not null, the name of the configuration template for this
configuration set.
Response Lenses
configurationSettingsDescription_applicationName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
The name of the application associated with this configuration set.
configurationSettingsDescription_dateCreated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime) Source #
The date (in UTC time) when this configuration set was created.
configurationSettingsDescription_dateUpdated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime) Source #
The date (in UTC time) when this configuration set was last modified.
configurationSettingsDescription_deploymentStatus :: 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.
configurationSettingsDescription_description :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
Describes this configuration set.
configurationSettingsDescription_environmentName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
If not null, the name of the environment for this configuration set.
configurationSettingsDescription_optionSettings :: Lens' ConfigurationSettingsDescription (Maybe [ConfigurationOptionSetting]) Source #
A list of the configuration options and their values in this configuration set.
configurationSettingsDescription_platformArn :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
The ARN of the platform version.
configurationSettingsDescription_solutionStackName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
The name of the solution stack this configuration set uses.
configurationSettingsDescription_templateName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
If not null, the name of the configuration template for this
configuration set.