aws_sdk_ecs/client/
update_express_gateway_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 [`UpdateExpressGatewayService`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`service_arn(impl Into<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::service_arn) / [`set_service_arn(Option<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_service_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Express service to update.</p><br>
7    ///   - [`execution_role_arn(impl Into<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::execution_role_arn) / [`set_execution_role_arn(Option<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_execution_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the task execution role for the Express service.</p><br>
8    ///   - [`health_check_path(impl Into<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::health_check_path) / [`set_health_check_path(Option<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_health_check_path):<br>required: **false**<br><p>The path on the container for Application Load Balancer health checks.</p><br>
9    ///   - [`primary_container(ExpressGatewayContainer)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::primary_container) / [`set_primary_container(Option<ExpressGatewayContainer>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_primary_container):<br>required: **false**<br><p>The primary container configuration for the Express service.</p><br>
10    ///   - [`task_role_arn(impl Into<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::task_role_arn) / [`set_task_role_arn(Option<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_task_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the IAM role for containers in this task.</p><br>
11    ///   - [`network_configuration(ExpressGatewayServiceNetworkConfiguration)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::network_configuration) / [`set_network_configuration(Option<ExpressGatewayServiceNetworkConfiguration>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_network_configuration):<br>required: **false**<br><p>The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.</p><br>
12    ///   - [`cpu(impl Into<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::cpu) / [`set_cpu(Option<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_cpu):<br>required: **false**<br><p>The number of CPU units used by the task.</p><br>
13    ///   - [`memory(impl Into<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::memory) / [`set_memory(Option<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_memory):<br>required: **false**<br><p>The amount of memory (in MiB) used by the task.</p><br>
14    ///   - [`scaling_target(ExpressGatewayScalingTarget)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::scaling_target) / [`set_scaling_target(Option<ExpressGatewayScalingTarget>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_scaling_target):<br>required: **false**<br><p>The auto-scaling configuration for the Express service.</p><br>
15    /// - On success, responds with [`UpdateExpressGatewayServiceOutput`](crate::operation::update_express_gateway_service::UpdateExpressGatewayServiceOutput) with field(s):
16    ///   - [`service(Option<UpdatedExpressGatewayService>)`](crate::operation::update_express_gateway_service::UpdateExpressGatewayServiceOutput::service): <p>The full description of your express gateway service following the update call.</p>
17    /// - On failure, responds with [`SdkError<UpdateExpressGatewayServiceError>`](crate::operation::update_express_gateway_service::UpdateExpressGatewayServiceError)
18    pub fn update_express_gateway_service(
19        &self,
20    ) -> crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder {
21        crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::new(self.handle.clone())
22    }
23}