update_configuration_template
async
¶
update_configuration_template(
application_name: ApplicationName,
template_name: ConfigurationTemplateName,
*,
config_overrides: Optional[AsyncElasticBeanstalkClientConfig] = None,
description: Optional[Description] = None,
option_settings: Optional[ConfigurationOptionSettingsList] = None,
options_to_remove: Optional[OptionsSpecifierList] = None,
) -> ConfigurationSettingsDescription
Updates the specified configuration template to have the specified properties or configuration option values.
If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string.
Related Topics
Parameters:
-
application_name(ApplicationName) –The name of the application associated with the configuration template to update.
If no application is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror. -
template_name(ConfigurationTemplateName) –The name of the configuration template to update.
If no configuration template is found with this name,
UpdateConfigurationTemplatereturns anInvalidParameterValueerror. -
description(Optional[Description], default:None) –A new description for the configuration.
-
option_settings(Optional[ConfigurationOptionSettingsList], default:None) –A list of configuration option settings to update with the new specified option value.
-
options_to_remove(Optional[OptionsSpecifierList], default:None) –A list of configuration options to remove from the configuration set.
Constraint: You can remove only
UserDefinedconfiguration options.
Raises:
-
InsufficientPrivilegesException–The specified account does not have sufficient privileges for one or more Amazon Web Services services.
-
TooManyBucketsException–The specified account has reached its limit of Amazon S3 buckets.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To update a configuration template The following operation removes the configured CloudWatch custom health metrics configuration ConfigDocument from a saved configuration template named my-template:
>>> await client.update_configuration_template(application_name='my-app', template_name='my-template', options_to_remove=[{'Namespace': 'aws:elasticbeanstalk:healthreporting:system', 'OptionName': 'ConfigDocument'}])
Source code in docs_src/capo_elastic_beanstalk/_services/async_elastic_beanstalk.py
3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 | |