aws_sdk_pinpoint/client/
update_voice_channel.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateVoiceChannel`](crate::operation::update_voice_channel::builders::UpdateVoiceChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::update_voice_channel::builders::UpdateVoiceChannelFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_voice_channel::builders::UpdateVoiceChannelFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7    ///   - [`voice_channel_request(VoiceChannelRequest)`](crate::operation::update_voice_channel::builders::UpdateVoiceChannelFluentBuilder::voice_channel_request) / [`set_voice_channel_request(Option<VoiceChannelRequest>)`](crate::operation::update_voice_channel::builders::UpdateVoiceChannelFluentBuilder::set_voice_channel_request):<br>required: **true**<br><p>Specifies the status and settings of the voice channel for an application.</p><br>
8    /// - On success, responds with [`UpdateVoiceChannelOutput`](crate::operation::update_voice_channel::UpdateVoiceChannelOutput) with field(s):
9    ///   - [`voice_channel_response(Option<VoiceChannelResponse>)`](crate::operation::update_voice_channel::UpdateVoiceChannelOutput::voice_channel_response): <p>Provides information about the status and settings of the voice channel for an application.</p>
10    /// - On failure, responds with [`SdkError<UpdateVoiceChannelError>`](crate::operation::update_voice_channel::UpdateVoiceChannelError)
11    pub fn update_voice_channel(&self) -> crate::operation::update_voice_channel::builders::UpdateVoiceChannelFluentBuilder {
12        crate::operation::update_voice_channel::builders::UpdateVoiceChannelFluentBuilder::new(self.handle.clone())
13    }
14}