aws-sdk-ecs 1.132.0

AWS SDK for Amazon EC2 Container Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateExpressGatewayService`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`task_definition_arn(impl Into<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::task_definition_arn) / [`set_task_definition_arn(Option<String>)`](crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::set_task_definition_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.</p> <p>The task definition must have a container named <code>Main</code> with a single TCP port mapping that includes a container port and port name. The task definition must also have <code>FARGATE</code> compatibility.</p> <p>If you provide a task definition ARN, you cannot also specify <code>primaryContainer</code>, <code>taskRoleArn</code>, <code>cpu</code>, or <code>memory</code>.</p><br>
    /// - On success, responds with [`UpdateExpressGatewayServiceOutput`](crate::operation::update_express_gateway_service::UpdateExpressGatewayServiceOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdateExpressGatewayServiceError>`](crate::operation::update_express_gateway_service::UpdateExpressGatewayServiceError)
    pub fn update_express_gateway_service(
        &self,
    ) -> crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder {
        crate::operation::update_express_gateway_service::builders::UpdateExpressGatewayServiceFluentBuilder::new(self.handle.clone())
    }
}