aws_sdk_elasticbeanstalk/client/update_configuration_template.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateConfigurationTemplate`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_name(impl 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):<br>required: **true**<br><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><br>
7 /// - [`template_name(impl 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):<br>required: **true**<br><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><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::set_description):<br>required: **false**<br><p>A new description for the configuration.</p><br>
9 /// - [`option_settings(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):<br>required: **false**<br><p>A list of configuration option settings to update with the new specified option value.</p><br>
10 /// - [`options_to_remove(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):<br>required: **false**<br><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><br>
11 /// - On success, responds with [`UpdateConfigurationTemplateOutput`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput) with field(s):
12 /// - [`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>
13 /// - [`platform_arn(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::platform_arn): <p>The ARN of the platform version.</p>
14 /// - [`application_name(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::application_name): <p>The name of the application associated with this configuration set.</p>
15 /// - [`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>
16 /// - [`description(Option<String>)`](crate::operation::update_configuration_template::UpdateConfigurationTemplateOutput::description): <p>Describes this configuration set.</p>
17 /// - [`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>
18 /// - [`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>
19 /// - [`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>
20 /// - [`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>
21 /// - [`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>
22 /// - On failure, responds with [`SdkError<UpdateConfigurationTemplateError>`](crate::operation::update_configuration_template::UpdateConfigurationTemplateError)
23 pub fn update_configuration_template(
24 &self,
25 ) -> crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder {
26 crate::operation::update_configuration_template::builders::UpdateConfigurationTemplateFluentBuilder::new(self.handle.clone())
27 }
28}