aws_sdk_lightsail/client/
create_container_service_deployment.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 [`CreateContainerServiceDeployment`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`service_name(impl Into<String>)`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::set_service_name):<br>required: **true**<br><p>The name of the container service for which to create the deployment.</p><br>
7    ///   - [`containers(impl Into<String>, Container)`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::containers) / [`set_containers(Option<HashMap::<String, Container>>)`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::set_containers):<br>required: **false**<br><p>An object that describes the settings of the containers that will be launched on the container service.</p><br>
8    ///   - [`public_endpoint(EndpointRequest)`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::public_endpoint) / [`set_public_endpoint(Option<EndpointRequest>)`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::set_public_endpoint):<br>required: **false**<br><p>An object that describes the settings of the public endpoint for the container service.</p><br>
9    /// - On success, responds with [`CreateContainerServiceDeploymentOutput`](crate::operation::create_container_service_deployment::CreateContainerServiceDeploymentOutput) with field(s):
10    ///   - [`container_service(Option<ContainerService>)`](crate::operation::create_container_service_deployment::CreateContainerServiceDeploymentOutput::container_service): <p>An object that describes a container service.</p>
11    /// - On failure, responds with [`SdkError<CreateContainerServiceDeploymentError>`](crate::operation::create_container_service_deployment::CreateContainerServiceDeploymentError)
12    pub fn create_container_service_deployment(
13        &self,
14    ) -> crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder {
15        crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::new(self.handle.clone())
16    }
17}