Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates the specified configuration template to have the specified properties or configuration option values.
Related Topics
DescribeConfigurationOptions
Synopsis
- 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)
- csdPlatformARN :: Lens' ConfigurationSettingsDescription (Maybe Text)
- 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:
uctOptionsToRemove
- A list of configuration options to remove from the configuration set. Constraint: You can remove onlyUserDefined
configuration options.uctOptionSettings
- A list of configuration option settings to update with the new specified option value.uctDescription
- A new description for the configuration.uctApplicationName
- The name of the application associated with the configuration template to update. If no application is found with this name,UpdateConfigurationTemplate
returns anInvalidParameterValue
error.uctTemplateName
- The name of the configuration template to update. If no configuration template is found with this name,UpdateConfigurationTemplate
returns anInvalidParameterValue
error.
data UpdateConfigurationTemplate Source #
The result message containing the options for the specified solution stack.
See: updateConfigurationTemplate
smart constructor.
Instances
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:
csdTemplateName
- If notnull
, 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 notnull
, 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, theDeploymentStatus
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
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.
csdPlatformARN :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
The ARN of the platform.
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.
csdDescription :: Lens' ConfigurationSettingsDescription (Maybe Text) Source #
Describes this configuration set.