aws_sdk_lightsail/client/get_container_service_deployments.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 [`GetContainerServiceDeployments`](crate::operation::get_container_service_deployments::builders::GetContainerServiceDeploymentsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_name(impl Into<String>)`](crate::operation::get_container_service_deployments::builders::GetContainerServiceDeploymentsFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::get_container_service_deployments::builders::GetContainerServiceDeploymentsFluentBuilder::set_service_name):<br>required: **true**<br><p>The name of the container service for which to return deployments.</p><br>
7 /// - On success, responds with [`GetContainerServiceDeploymentsOutput`](crate::operation::get_container_service_deployments::GetContainerServiceDeploymentsOutput) with field(s):
8 /// - [`deployments(Option<Vec::<ContainerServiceDeployment>>)`](crate::operation::get_container_service_deployments::GetContainerServiceDeploymentsOutput::deployments): <p>An array of objects that describe deployments for a container service.</p>
9 /// - On failure, responds with [`SdkError<GetContainerServiceDeploymentsError>`](crate::operation::get_container_service_deployments::GetContainerServiceDeploymentsError)
10 pub fn get_container_service_deployments(
11 &self,
12 ) -> crate::operation::get_container_service_deployments::builders::GetContainerServiceDeploymentsFluentBuilder {
13 crate::operation::get_container_service_deployments::builders::GetContainerServiceDeploymentsFluentBuilder::new(self.handle.clone())
14 }
15}