aws_sdk_chimesdkvoice/client/delete_voice_profile.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 [`DeleteVoiceProfile`](crate::operation::delete_voice_profile::builders::DeleteVoiceProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`voice_profile_id(impl Into<String>)`](crate::operation::delete_voice_profile::builders::DeleteVoiceProfileFluentBuilder::voice_profile_id) / [`set_voice_profile_id(Option<String>)`](crate::operation::delete_voice_profile::builders::DeleteVoiceProfileFluentBuilder::set_voice_profile_id):<br>required: **true**<br><p>The voice profile ID.</p><br>
7 /// - On success, responds with [`DeleteVoiceProfileOutput`](crate::operation::delete_voice_profile::DeleteVoiceProfileOutput)
8 /// - On failure, responds with [`SdkError<DeleteVoiceProfileError>`](crate::operation::delete_voice_profile::DeleteVoiceProfileError)
9 pub fn delete_voice_profile(&self) -> crate::operation::delete_voice_profile::builders::DeleteVoiceProfileFluentBuilder {
10 crate::operation::delete_voice_profile::builders::DeleteVoiceProfileFluentBuilder::new(self.handle.clone())
11 }
12}