1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListServiceVersions`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_name(ServiceName)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::service_name) / [`set_service_name(Option<ServiceName>)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::set_service_name):<br>required: **true**<br><p>The name of the service for which you're requesting supported versions.</p><br>
    ///   - [`dependent_services(DependentService)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::dependent_services) / [`set_dependent_services(Option<Vec::<DependentService>>)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::set_dependent_services):<br>required: **false**<br><p>A list of names and versions of dependant services of the requested service.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of <code>ListServiceVersions</code> objects to return.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>Because HTTP requests are stateless, this is the starting point for the next list of returned <code>ListServiceVersionsRequest</code> versions.</p><br>
    /// - On success, responds with [`ListServiceVersionsOutput`](crate::operation::list_service_versions::ListServiceVersionsOutput) with field(s):
    ///   - [`service_versions(Vec::<ServiceVersion>)`](crate::operation::list_service_versions::ListServiceVersionsOutput::service_versions): <p>A list of supported versions.</p>
    ///   - [`service_name(ServiceName)`](crate::operation::list_service_versions::ListServiceVersionsOutput::service_name): <p>The name of the service for which the system provided supported versions.</p>
    ///   - [`dependent_services(Option<Vec::<DependentService>>)`](crate::operation::list_service_versions::ListServiceVersionsOutput::dependent_services): <p>A list of names and versions of dependant services of the service for which the system provided supported versions.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_service_versions::ListServiceVersionsOutput::next_token): <p>Because HTTP requests are stateless, this is the starting point of the next list of returned <code>ListServiceVersionsResult</code> results.</p>
    /// - On failure, responds with [`SdkError<ListServiceVersionsError>`](crate::operation::list_service_versions::ListServiceVersionsError)
    pub fn list_service_versions(&self) -> crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder {
        crate::operation::list_service_versions::builders::ListServiceVersionsFluentBuilder::new(self.handle.clone())
    }
}