1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ReleaseHosts`](crate::operation::release_hosts::builders::ReleaseHostsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`host_ids(impl Into<String>)`](crate::operation::release_hosts::builders::ReleaseHostsFluentBuilder::host_ids) / [`set_host_ids(Option<Vec::<String>>)`](crate::operation::release_hosts::builders::ReleaseHostsFluentBuilder::set_host_ids):<br>required: **true**<br><p>The IDs of the Dedicated Hosts to release.</p><br>
    /// - On success, responds with [`ReleaseHostsOutput`](crate::operation::release_hosts::ReleaseHostsOutput) with field(s):
    ///   - [`successful(Option<Vec::<String>>)`](crate::operation::release_hosts::ReleaseHostsOutput::successful): <p>The IDs of the Dedicated Hosts that were successfully released.</p>
    ///   - [`unsuccessful(Option<Vec::<UnsuccessfulItem>>)`](crate::operation::release_hosts::ReleaseHostsOutput::unsuccessful): <p>The IDs of the Dedicated Hosts that could not be released, including an error message.</p>
    /// - On failure, responds with [`SdkError<ReleaseHostsError>`](crate::operation::release_hosts::ReleaseHostsError)
    pub fn release_hosts(&self) -> crate::operation::release_hosts::builders::ReleaseHostsFluentBuilder {
        crate::operation::release_hosts::builders::ReleaseHostsFluentBuilder::new(self.handle.clone())
    }
}