// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeMacHosts`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`filters(Filter)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::set_filters):<br>required: **false**<br><p>The filters.</p> <ul> <li> <p><code>availability-zone</code> - The Availability Zone of the EC2 Mac Dedicated Host.</p></li> <li> <p><code>instance-type</code> - The instance type size that the EC2 Mac Dedicated Host is configured to support.</p></li> </ul><br>
/// - [`host_ids(impl Into<String>)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::host_ids) / [`set_host_ids(Option<Vec::<String>>)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::set_host_ids):<br>required: **false**<br><p>The IDs of the EC2 Mac Dedicated Hosts.</p><br>
/// - [`max_results(i32)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to use to retrieve the next page of results.</p><br>
/// - On success, responds with [`DescribeMacHostsOutput`](crate::operation::describe_mac_hosts::DescribeMacHostsOutput) with field(s):
/// - [`mac_hosts(Option<Vec::<MacHost>>)`](crate::operation::describe_mac_hosts::DescribeMacHostsOutput::mac_hosts): <p>Information about the EC2 Mac Dedicated Hosts.</p>
/// - [`next_token(Option<String>)`](crate::operation::describe_mac_hosts::DescribeMacHostsOutput::next_token): <p>The token to use to retrieve the next page of results.</p>
/// - On failure, responds with [`SdkError<DescribeMacHostsError>`](crate::operation::describe_mac_hosts::DescribeMacHostsError)
pub fn describe_mac_hosts(&self) -> crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder {
crate::operation::describe_mac_hosts::builders::DescribeMacHostsFluentBuilder::new(self.handle.clone())
}
}