Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_optionsToRemove :: Lens' UpdateConfigurationTemplate (Maybe [OptionSpecification])
- updateConfigurationTemplate_optionSettings :: Lens' UpdateConfigurationTemplate (Maybe [ConfigurationOptionSetting])
- updateConfigurationTemplate_description :: Lens' UpdateConfigurationTemplate (Maybe Text)
- updateConfigurationTemplate_applicationName :: Lens' UpdateConfigurationTemplate Text
- updateConfigurationTemplate_templateName :: Lens' UpdateConfigurationTemplate Text
- data ConfigurationSettingsDescription = ConfigurationSettingsDescription' {
- templateName :: Maybe Text
- optionSettings :: Maybe [ConfigurationOptionSetting]
- dateUpdated :: Maybe ISO8601
- dateCreated :: Maybe ISO8601
- platformArn :: Maybe Text
- environmentName :: Maybe Text
- applicationName :: Maybe Text
- deploymentStatus :: Maybe ConfigurationDeploymentStatus
- solutionStackName :: Maybe Text
- description :: Maybe Text
- newConfigurationSettingsDescription :: ConfigurationSettingsDescription
- configurationSettingsDescription_templateName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_optionSettings :: Lens' ConfigurationSettingsDescription (Maybe [ConfigurationOptionSetting])
- configurationSettingsDescription_dateUpdated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime)
- configurationSettingsDescription_dateCreated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime)
- configurationSettingsDescription_platformArn :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_environmentName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_applicationName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_deploymentStatus :: Lens' ConfigurationSettingsDescription (Maybe ConfigurationDeploymentStatus)
- configurationSettingsDescription_solutionStackName :: Lens' ConfigurationSettingsDescription (Maybe Text)
- configurationSettingsDescription_description :: 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.
UpdateConfigurationTemplate' | |
|
Instances
newUpdateConfigurationTemplate Source #
:: 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:
$sel:optionsToRemove:UpdateConfigurationTemplate'
, updateConfigurationTemplate_optionsToRemove
- A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined
configuration options.
$sel:optionSettings:UpdateConfigurationTemplate'
, updateConfigurationTemplate_optionSettings
- A list of configuration option settings to update with the new specified
option value.
$sel:description:UpdateConfigurationTemplate'
, updateConfigurationTemplate_description
- A new description for the configuration.
$sel:applicationName: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.
$sel:templateName: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_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_optionSettings :: Lens' UpdateConfigurationTemplate (Maybe [ConfigurationOptionSetting]) Source #
A list of configuration option settings to update with the new specified option value.
updateConfigurationTemplate_description :: Lens' UpdateConfigurationTemplate (Maybe Text) Source #
A new description for the configuration.
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.
ConfigurationSettingsDescription' | |
|
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:templateName:ConfigurationSettingsDescription'
, configurationSettingsDescription_templateName
- If not null
, the name of the configuration template for this
configuration set.
$sel:optionSettings:ConfigurationSettingsDescription'
, configurationSettingsDescription_optionSettings
- A list of the configuration options and their values in this
configuration set.
$sel:dateUpdated:ConfigurationSettingsDescription'
, configurationSettingsDescription_dateUpdated
- The date (in UTC time) when this configuration set was last modified.
$sel:dateCreated:ConfigurationSettingsDescription'
, configurationSettingsDescription_dateCreated
- The date (in UTC time) when this configuration set was created.
$sel:platformArn:ConfigurationSettingsDescription'
, configurationSettingsDescription_platformArn
- The ARN of the platform version.
$sel:environmentName:ConfigurationSettingsDescription'
, configurationSettingsDescription_environmentName
- If not null
, the name of the environment for this configuration set.
$sel:applicationName:ConfigurationSettingsDescription'
, configurationSettingsDescription_applicationName
- The name of the application associated with this configuration set.
$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:solutionStackName:ConfigurationSettingsDescription'
, configurationSettingsDescription_solutionStackName
- The name of the solution stack this configuration set uses.
$sel:description:ConfigurationSettingsDescription'
, configurationSettingsDescription_description
- Describes this configuration set.
Response Lenses
configurationSettingsDescription_templateName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
If not null
, the name of the configuration template 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_dateUpdated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime) Source #
The date (in UTC time) when this configuration set was last modified.
configurationSettingsDescription_dateCreated :: Lens' ConfigurationSettingsDescription (Maybe UTCTime) Source #
The date (in UTC time) when this configuration set was created.
configurationSettingsDescription_platformArn :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
The ARN of the platform version.
configurationSettingsDescription_environmentName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
If not null
, the name of the environment for this configuration set.
configurationSettingsDescription_applicationName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
The name of the application associated with this configuration set.
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_solutionStackName :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
The name of the solution stack this configuration set uses.
configurationSettingsDescription_description :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
Describes this configuration set.