aws-sdk-socialmessaging 1.72.0

AWS SDK for AWS End User Messaging Social
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListWhatsAppFlows`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the WhatsApp Business Account to list Flows for.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
    /// - On success, responds with [`ListWhatsAppFlowsOutput`](crate::operation::list_whats_app_flows::ListWhatsAppFlowsOutput) with field(s):
    ///   - [`flows(Vec::<MetaFlowSummary>)`](crate::operation::list_whats_app_flows::ListWhatsAppFlowsOutput::flows): <p>A list of Flow summaries.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_whats_app_flows::ListWhatsAppFlowsOutput::next_token): <p>The token to retrieve the next page of results, if any.</p>
    /// - On failure, responds with [`SdkError<ListWhatsAppFlowsError>`](crate::operation::list_whats_app_flows::ListWhatsAppFlowsError)
    pub fn list_whats_app_flows(&self) -> crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder {
        crate::operation::list_whats_app_flows::builders::ListWhatsAppFlowsFluentBuilder::new(self.handle.clone())
    }
}