Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
See: AWS API Reference for UpdateConfigurationTemplate.
- updateConfigurationTemplate :: Text -> Text -> UpdateConfigurationTemplate
- data UpdateConfigurationTemplate
- uctOptionsToRemove :: Lens' UpdateConfigurationTemplate [OptionSpecification]
- uctOptionSettings :: Lens' UpdateConfigurationTemplate [ConfigurationOptionSetting]
- uctDescription :: Lens' UpdateConfigurationTemplate (Maybe Text)
- uctApplicationName :: Lens' UpdateConfigurationTemplate Text
- uctTemplateName :: Lens' UpdateConfigurationTemplate Text
- configurationSettingsDescription :: ConfigurationSettingsDescription
- data ConfigurationSettingsDescription
- csdTemplateName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- csdOptionSettings :: Lens' ConfigurationSettingsDescription [ConfigurationOptionSetting]
- csdDateUpdated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime)
- csdDateCreated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime)
- csdEnvironmentName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- csdApplicationName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- csdDeploymentStatus :: Lens' ConfigurationSettingsDescription (Maybe ConfigurationDeploymentStatus)
- csdSolutionStackName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- csdDescription :: Lens' ConfigurationSettingsDescription (Maybe Text)
Creating a Request
updateConfigurationTemplate Source
Creates a value of UpdateConfigurationTemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateConfigurationTemplate Source
The result message containing the options for the specified solution stack.
See: updateConfigurationTemplate
smart constructor.
Request Lenses
uctOptionsToRemove :: Lens' UpdateConfigurationTemplate [OptionSpecification] Source
A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
uctOptionSettings :: Lens' UpdateConfigurationTemplate [ConfigurationOptionSetting] Source
A list of configuration option settings to update with the new specified option value.
uctDescription :: Lens' UpdateConfigurationTemplate (Maybe Text) Source
A new description for the configuration.
uctApplicationName :: 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.
uctTemplateName :: 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
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:
data ConfigurationSettingsDescription Source
Describes the settings for a configuration set.
See: configurationSettingsDescription
smart constructor.
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.
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.
csdDescription :: Lens' ConfigurationSettingsDescription (Maybe Text) Source
Describes this configuration set.