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 |
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.
Synopsis
- data ValidateConfigurationSettings = ValidateConfigurationSettings' {}
- newValidateConfigurationSettings :: Text -> ValidateConfigurationSettings
- validateConfigurationSettings_templateName :: Lens' ValidateConfigurationSettings (Maybe Text)
- validateConfigurationSettings_environmentName :: Lens' ValidateConfigurationSettings (Maybe Text)
- validateConfigurationSettings_applicationName :: Lens' ValidateConfigurationSettings Text
- validateConfigurationSettings_optionSettings :: Lens' ValidateConfigurationSettings [ConfigurationOptionSetting]
- data ValidateConfigurationSettingsResponse = ValidateConfigurationSettingsResponse' {
- messages :: Maybe [ValidationMessage]
- httpStatus :: Int
- newValidateConfigurationSettingsResponse :: Int -> ValidateConfigurationSettingsResponse
- validateConfigurationSettingsResponse_messages :: Lens' ValidateConfigurationSettingsResponse (Maybe [ValidationMessage])
- validateConfigurationSettingsResponse_httpStatus :: Lens' ValidateConfigurationSettingsResponse Int
Creating a Request
data ValidateConfigurationSettings Source #
A list of validation messages for a specified configuration template.
See: newValidateConfigurationSettings
smart constructor.
ValidateConfigurationSettings' | |
|
Instances
newValidateConfigurationSettings Source #
Create a value of ValidateConfigurationSettings
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:ValidateConfigurationSettings'
, validateConfigurationSettings_templateName
- The name of the configuration template to validate the settings against.
Condition: You cannot specify both this and an environment name.
$sel:environmentName:ValidateConfigurationSettings'
, validateConfigurationSettings_environmentName
- The name of the environment to validate the settings against.
Condition: You cannot specify both this and a configuration template name.
$sel:applicationName:ValidateConfigurationSettings'
, validateConfigurationSettings_applicationName
- The name of the application that the configuration template or
environment belongs to.
$sel:optionSettings:ValidateConfigurationSettings'
, validateConfigurationSettings_optionSettings
- A list of the options and desired values to evaluate.
Request Lenses
validateConfigurationSettings_templateName :: 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.
validateConfigurationSettings_environmentName :: 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.
validateConfigurationSettings_applicationName :: Lens' ValidateConfigurationSettings Text Source #
The name of the application that the configuration template or environment belongs to.
validateConfigurationSettings_optionSettings :: Lens' ValidateConfigurationSettings [ConfigurationOptionSetting] Source #
A list of the options and desired values to evaluate.
Destructuring the Response
data ValidateConfigurationSettingsResponse Source #
Provides a list of validation messages.
See: newValidateConfigurationSettingsResponse
smart constructor.
ValidateConfigurationSettingsResponse' | |
|
Instances
newValidateConfigurationSettingsResponse Source #
Create a value of ValidateConfigurationSettingsResponse
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:messages:ValidateConfigurationSettingsResponse'
, validateConfigurationSettingsResponse_messages
- A list of ValidationMessage.
$sel:httpStatus:ValidateConfigurationSettingsResponse'
, validateConfigurationSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
validateConfigurationSettingsResponse_messages :: Lens' ValidateConfigurationSettingsResponse (Maybe [ValidationMessage]) Source #
A list of ValidationMessage.
validateConfigurationSettingsResponse_httpStatus :: Lens' ValidateConfigurationSettingsResponse Int Source #
The response's http status code.