aws-sdk-lightsail 1.108.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetContainerServices`](crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetContainerServicesOutput`](crate::operation::get_container_services::GetContainerServicesOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetContainerServicesError>`](crate::operation::get_container_services::GetContainerServicesError)
    pub fn get_container_services(&self) -> crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder {
        crate::operation::get_container_services::builders::GetContainerServicesFluentBuilder::new(self.handle.clone())
    }
}