aws_sdk_lightsail/client/get_container_service_powers.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 [`GetContainerServicePowers`](crate::operation::get_container_service_powers::builders::GetContainerServicePowersFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_container_service_powers::builders::GetContainerServicePowersFluentBuilder::send) it.
6 /// - On success, responds with [`GetContainerServicePowersOutput`](crate::operation::get_container_service_powers::GetContainerServicePowersOutput) with field(s):
7 /// - [`powers(Option<Vec::<ContainerServicePower>>)`](crate::operation::get_container_service_powers::GetContainerServicePowersOutput::powers): <p>An array of objects that describe the powers that can be specified for a container service.</p>
8 /// - On failure, responds with [`SdkError<GetContainerServicePowersError>`](crate::operation::get_container_service_powers::GetContainerServicePowersError)
9 pub fn get_container_service_powers(&self) -> crate::operation::get_container_service_powers::builders::GetContainerServicePowersFluentBuilder {
10 crate::operation::get_container_service_powers::builders::GetContainerServicePowersFluentBuilder::new(self.handle.clone())
11 }
12}