aws_sdk_voiceid/client/delete_speaker.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteSpeaker`](crate::operation::delete_speaker::builders::DeleteSpeakerFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_id(impl Into<String>)`](crate::operation::delete_speaker::builders::DeleteSpeakerFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::delete_speaker::builders::DeleteSpeakerFluentBuilder::set_domain_id):<br>required: **true**<br><p>The identifier of the domain that contains the speaker.</p><br>
/// - [`speaker_id(impl Into<String>)`](crate::operation::delete_speaker::builders::DeleteSpeakerFluentBuilder::speaker_id) / [`set_speaker_id(Option<String>)`](crate::operation::delete_speaker::builders::DeleteSpeakerFluentBuilder::set_speaker_id):<br>required: **true**<br><p>The identifier of the speaker you want to delete.</p><br>
/// - On success, responds with [`DeleteSpeakerOutput`](crate::operation::delete_speaker::DeleteSpeakerOutput)
/// - On failure, responds with [`SdkError<DeleteSpeakerError>`](crate::operation::delete_speaker::DeleteSpeakerError)
pub fn delete_speaker(&self) -> crate::operation::delete_speaker::builders::DeleteSpeakerFluentBuilder {
crate::operation::delete_speaker::builders::DeleteSpeakerFluentBuilder::new(self.handle.clone())
}
}