aws_sdk_evs/client/get_versions.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 [`GetVersions`](crate::operation::get_versions::builders::GetVersionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_versions::builders::GetVersionsFluentBuilder::send) it.
6 /// - On success, responds with [`GetVersionsOutput`](crate::operation::get_versions::GetVersionsOutput) with field(s):
7 /// - [`vcf_versions(Vec::<VcfVersionInfo>)`](crate::operation::get_versions::GetVersionsOutput::vcf_versions): <p>A list of VCF versions with their availability status, default ESX version, and instance types.</p>
8 /// - [`instance_type_esx_versions(Vec::<InstanceTypeEsxVersionsInfo>)`](crate::operation::get_versions::GetVersionsOutput::instance_type_esx_versions): <p>A list of EC2 instance types and their available ESX versions.</p>
9 /// - On failure, responds with [`SdkError<GetVersionsError>`](crate::operation::get_versions::GetVersionsError)
10 pub fn get_versions(&self) -> crate::operation::get_versions::builders::GetVersionsFluentBuilder {
11 crate::operation::get_versions::builders::GetVersionsFluentBuilder::new(self.handle.clone())
12 }
13}