aws_sdk_lightsail/client/
get_container_api_metadata.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 [`GetContainerAPIMetadata`](crate::operation::get_container_api_metadata::builders::GetContainerAPIMetadataFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_container_api_metadata::builders::GetContainerAPIMetadataFluentBuilder::send) it.
6    /// - On success, responds with [`GetContainerApiMetadataOutput`](crate::operation::get_container_api_metadata::GetContainerApiMetadataOutput) with field(s):
7    ///   - [`metadata(Option<Vec::<HashMap::<String, String>>>)`](crate::operation::get_container_api_metadata::GetContainerApiMetadataOutput::metadata): <p>Metadata about Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.</p>
8    /// - On failure, responds with [`SdkError<GetContainerAPIMetadataError>`](crate::operation::get_container_api_metadata::GetContainerAPIMetadataError)
9    pub fn get_container_api_metadata(&self) -> crate::operation::get_container_api_metadata::builders::GetContainerAPIMetadataFluentBuilder {
10        crate::operation::get_container_api_metadata::builders::GetContainerAPIMetadataFluentBuilder::new(self.handle.clone())
11    }
12}