1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListSmartHomeAppliances`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`room_arn(impl Into<String>)`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::room_arn) / [`set_room_arn(Option<String>)`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::set_room_arn):<br>required: **true**<br><p>The room that the appliances are associated with.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of appliances to be returned, per paginated calls.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::set_next_token):<br>required: **false**<br><p>The tokens used for pagination.</p><br>
    /// - On success, responds with [`ListSmartHomeAppliancesOutput`](crate::operation::list_smart_home_appliances::ListSmartHomeAppliancesOutput) with field(s):
    ///   - [`smart_home_appliances(Option<Vec::<SmartHomeAppliance>>)`](crate::operation::list_smart_home_appliances::ListSmartHomeAppliancesOutput::smart_home_appliances): <p>The smart home appliances.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_smart_home_appliances::ListSmartHomeAppliancesOutput::next_token): <p>The tokens used for pagination.</p>
    /// - On failure, responds with [`SdkError<ListSmartHomeAppliancesError>`](crate::operation::list_smart_home_appliances::ListSmartHomeAppliancesError)
    #[deprecated(note = "Alexa For Business is no longer supported")]
    pub fn list_smart_home_appliances(&self) -> crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder {
        crate::operation::list_smart_home_appliances::builders::ListSmartHomeAppliancesFluentBuilder::new(self.handle.clone())
    }
}