1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateProxySession`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`voice_connector_id(impl Into<String>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::voice_connector_id) / [`set_voice_connector_id(Option<String>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_voice_connector_id): <p>The Amazon Chime voice connector ID.</p>
    ///   - [`participant_phone_numbers(Vec<String>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::participant_phone_numbers) / [`set_participant_phone_numbers(Option<Vec<String>>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_participant_phone_numbers): <p>The participant phone numbers.</p>
    ///   - [`name(impl Into<String>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_name): <p>The name of the proxy session.</p>
    ///   - [`expiry_minutes(i32)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::expiry_minutes) / [`set_expiry_minutes(Option<i32>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_expiry_minutes): <p>The number of minutes allowed for the proxy session.</p>
    ///   - [`capabilities(Vec<Capability>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::capabilities) / [`set_capabilities(Option<Vec<Capability>>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_capabilities): <p>The proxy session capabilities.</p>
    ///   - [`number_selection_behavior(NumberSelectionBehavior)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::number_selection_behavior) / [`set_number_selection_behavior(Option<NumberSelectionBehavior>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_number_selection_behavior): <p>The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.</p>
    ///   - [`geo_match_level(GeoMatchLevel)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::geo_match_level) / [`set_geo_match_level(Option<GeoMatchLevel>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_geo_match_level): <p>The preference for matching the country or area code of the proxy phone number with that of the first participant.</p>
    ///   - [`geo_match_params(GeoMatchParams)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::geo_match_params) / [`set_geo_match_params(Option<GeoMatchParams>)`](crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::set_geo_match_params): <p>The country and area code for the proxy phone number.</p>
    /// - On success, responds with [`CreateProxySessionOutput`](crate::operation::create_proxy_session::CreateProxySessionOutput) with field(s):
    ///   - [`proxy_session(Option<ProxySession>)`](crate::operation::create_proxy_session::CreateProxySessionOutput::proxy_session): <p>The proxy session details.</p>
    /// - On failure, responds with [`SdkError<CreateProxySessionError>`](crate::operation::create_proxy_session::CreateProxySessionError)
    pub fn create_proxy_session(
        &self,
    ) -> crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder {
        crate::operation::create_proxy_session::builders::CreateProxySessionFluentBuilder::new(
            self.handle.clone(),
        )
    }
}