1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateConfigurationTemplate`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_name(impl ::std::convert::Into<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::application_name) / [`set_application_name(Option<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::set_application_name): <p>The name of the application associated with the configuration template to update.</p>  <p> If no application is found with this name, <code>UpdateConfigurationTemplate</code> returns an <code>InvalidParameterValue</code> error. </p>
    ///   - [`template_name(impl ::std::convert::Into<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::set_template_name): <p>The name of the configuration template to update.</p>  <p> If no configuration template is found with this name, <code>UpdateConfigurationTemplate</code> returns an <code>InvalidParameterValue</code> error. </p>
    ///   - [`description(impl ::std::convert::Into<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::set_description): <p>A new description for the configuration.</p>
    ///   - [`option_settings(Vec<ConfigurationOptionSetting>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::option_settings) / [`set_option_settings(Option<Vec<ConfigurationOptionSetting>>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::set_option_settings): <p>A list of configuration option settings to update with the new specified option value.</p>
    ///   - [`options_to_remove(Vec<OptionSpecification>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::options_to_remove) / [`set_options_to_remove(Option<Vec<OptionSpecification>>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::set_options_to_remove): <p>A list of configuration options to remove from the configuration set.</p>  <p> Constraint: You can remove only <code>UserDefined</code> configuration options. </p>
    /// - On success, responds with [`UpdateConfigurationTemplateOutput`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput) with field(s):
    ///   - [`solution_stack_name(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::solution_stack_name): <p>The name of the solution stack this configuration set uses.</p>
    ///   - [`platform_arn(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::platform_arn): <p>The ARN of the platform version.</p>
    ///   - [`application_name(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::application_name): <p>The name of the application associated with this configuration set.</p>
    ///   - [`template_name(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::template_name): <p> If not <code>null</code>, the name of the configuration template for this configuration set. </p>
    ///   - [`description(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::description): <p>Describes this configuration set.</p>
    ///   - [`environment_name(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::environment_name): <p> If not <code>null</code>, the name of the environment for this configuration set. </p>
    ///   - [`deployment_status(Option<ConfigurationDeploymentStatus>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::deployment_status): <p> If this configuration set is associated with an environment, the <code>DeploymentStatus</code> parameter indicates the deployment status of this configuration set: </p>  <ul>   <li> <p> <code>null</code>: This configuration is not associated with a running environment.</p> </li>   <li> <p> <code>pending</code>: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying.</p> </li>   <li> <p> <code>deployed</code>: This is the configuration that is currently deployed to the associated running environment.</p> </li>   <li> <p> <code>failed</code>: This is a draft configuration that failed to successfully deploy.</p> </li>  </ul>
    ///   - [`date_created(Option<DateTime>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::date_created): <p>The date (in UTC time) when this configuration set was created.</p>
    ///   - [`date_updated(Option<DateTime>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::date_updated): <p>The date (in UTC time) when this configuration set was last modified.</p>
    ///   - [`option_settings(Option<Vec<ConfigurationOptionSetting>>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::option_settings): <p>A list of the configuration options and their values in this configuration set.</p>
    /// - On failure, responds with [`SdkError<UpdateConfigurationTemplateError>`](crate::operation::update_configuration_template::UpdateConfigurationTemplateError)
    pub fn update_configuration_template(
        &self,
    ) -> crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder {
        crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::new(self.handle.clone())
    }
}