aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateContainerServiceDeployment`](crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`CreateContainerServiceDeploymentOutput`](crate::operation::create_container_service_deployment::CreateContainerServiceDeploymentOutput) with field(s):
    ///   - [`container_service(Option<ContainerService>)`](crate::operation::create_container_service_deployment::CreateContainerServiceDeploymentOutput::container_service): <p>An object that describes a container service.</p>
    /// - On failure, responds with [`SdkError<CreateContainerServiceDeploymentError>`](crate::operation::create_container_service_deployment::CreateContainerServiceDeploymentError)
    pub fn create_container_service_deployment(
        &self,
    ) -> crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder {
        crate::operation::create_container_service_deployment::builders::CreateContainerServiceDeploymentFluentBuilder::new(self.handle.clone())
    }
}