Copyright | (c) 2013-2016 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 |
Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.
This action returns a list of messages indicating any errors or warnings associated with the selection of option values.
- validateConfigurationSettings :: Text -> ValidateConfigurationSettings
- data ValidateConfigurationSettings
- vcsTemplateName :: Lens' ValidateConfigurationSettings (Maybe Text)
- vcsEnvironmentName :: Lens' ValidateConfigurationSettings (Maybe Text)
- vcsApplicationName :: Lens' ValidateConfigurationSettings Text
- vcsOptionSettings :: Lens' ValidateConfigurationSettings [ConfigurationOptionSetting]
- validateConfigurationSettingsResponse :: Int -> ValidateConfigurationSettingsResponse
- data ValidateConfigurationSettingsResponse
- vcsrsMessages :: Lens' ValidateConfigurationSettingsResponse [ValidationMessage]
- vcsrsResponseStatus :: Lens' ValidateConfigurationSettingsResponse Int
Creating a Request
validateConfigurationSettings Source #
Creates a value of ValidateConfigurationSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ValidateConfigurationSettings Source #
A list of validation messages for a specified configuration template.
See: validateConfigurationSettings
smart constructor.
Request Lenses
vcsTemplateName :: Lens' ValidateConfigurationSettings (Maybe Text) Source #
The name of the configuration template to validate the settings against.
Condition: You cannot specify both this and an environment name.
vcsEnvironmentName :: Lens' ValidateConfigurationSettings (Maybe Text) Source #
The name of the environment to validate the settings against.
Condition: You cannot specify both this and a configuration template name.
vcsApplicationName :: Lens' ValidateConfigurationSettings Text Source #
The name of the application that the configuration template or environment belongs to.
vcsOptionSettings :: Lens' ValidateConfigurationSettings [ConfigurationOptionSetting] Source #
A list of the options and desired values to evaluate.
Destructuring the Response
validateConfigurationSettingsResponse Source #
Creates a value of ValidateConfigurationSettingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ValidateConfigurationSettingsResponse Source #
Provides a list of validation messages.
See: validateConfigurationSettingsResponse
smart constructor.
Response Lenses
vcsrsMessages :: Lens' ValidateConfigurationSettingsResponse [ValidationMessage] Source #
A list of ValidationMessage.
vcsrsResponseStatus :: Lens' ValidateConfigurationSettingsResponse Int Source #
The response status code.