aws_sdk_lightsail/client/get_container_services.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 [`GetContainerServices`](crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_name(impl Into<String>)`](crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder::set_service_name):<br>required: **false**<br><p>The name of the container service for which to return information.</p> <p>When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.</p><br>
7 /// - On success, responds with [`GetContainerServicesOutput`](crate::operation::get_container_services::GetContainerServicesOutput) with field(s):
8 /// - [`container_services(Option<Vec::<ContainerService>>)`](crate::operation::get_container_services::GetContainerServicesOutput::container_services): <p>An array of objects that describe one or more container services.</p>
9 /// - On failure, responds with [`SdkError<GetContainerServicesError>`](crate::operation::get_container_services::GetContainerServicesError)
10 pub fn get_container_services(&self) -> crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder {
11 crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder::new(self.handle.clone())
12 }
13}