aws_sdk_apprunner/client/update_service.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 [`UpdateService`](crate::operation::update_service::builders::UpdateServiceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_arn(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::service_arn) / [`set_service_arn(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_service_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the App Runner service that you want to update.</p><br>
7 /// - [`source_configuration(SourceConfiguration)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::source_configuration) / [`set_source_configuration(Option<SourceConfiguration>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_source_configuration):<br>required: **false**<br><p>The source configuration to apply to the App Runner service.</p> <p>You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of <code>SourceConfiguration</code> that you originally included when you created the service. Specifically, you can include either <code>CodeRepository</code> or <code>ImageRepository</code>. To update the source configuration, set the values to members of the structure that you include.</p><br>
8 /// - [`instance_configuration(InstanceConfiguration)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::instance_configuration) / [`set_instance_configuration(Option<InstanceConfiguration>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_instance_configuration):<br>required: **false**<br><p>The runtime configuration to apply to instances (scaling units) of your service.</p><br>
9 /// - [`auto_scaling_configuration_arn(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::auto_scaling_configuration_arn) / [`set_auto_scaling_configuration_arn(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_auto_scaling_configuration_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.</p><br>
10 /// - [`health_check_configuration(HealthCheckConfiguration)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::health_check_configuration) / [`set_health_check_configuration(Option<HealthCheckConfiguration>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_health_check_configuration):<br>required: **false**<br><p>The settings for the health check that App Runner performs to monitor the health of the App Runner service.</p><br>
11 /// - [`network_configuration(NetworkConfiguration)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::network_configuration) / [`set_network_configuration(Option<NetworkConfiguration>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_network_configuration):<br>required: **false**<br><p>Configuration settings related to network traffic of the web application that the App Runner service runs.</p><br>
12 /// - [`observability_configuration(ServiceObservabilityConfiguration)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::observability_configuration) / [`set_observability_configuration(Option<ServiceObservabilityConfiguration>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_observability_configuration):<br>required: **false**<br><p>The observability configuration of your service.</p><br>
13 /// - On success, responds with [`UpdateServiceOutput`](crate::operation::update_service::UpdateServiceOutput) with field(s):
14 /// - [`service(Option<Service>)`](crate::operation::update_service::UpdateServiceOutput::service): <p>A description of the App Runner service updated by this request. All configuration values in the returned <code>Service</code> structure reflect configuration changes that are being applied by this request.</p>
15 /// - [`operation_id(String)`](crate::operation::update_service::UpdateServiceOutput::operation_id): <p>The unique ID of the asynchronous operation that this request started. You can use it combined with the <code>ListOperations</code> call to track the operation's progress.</p>
16 /// - On failure, responds with [`SdkError<UpdateServiceError>`](crate::operation::update_service::UpdateServiceError)
17 pub fn update_service(&self) -> crate::operation::update_service::builders::UpdateServiceFluentBuilder {
18 crate::operation::update_service::builders::UpdateServiceFluentBuilder::new(self.handle.clone())
19 }
20}