aws_sdk_voiceid/client/describe_speaker.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeSpeaker`](crate::operation::describe_speaker::builders::DescribeSpeakerFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_id(impl Into<String>)`](crate::operation::describe_speaker::builders::DescribeSpeakerFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::describe_speaker::builders::DescribeSpeakerFluentBuilder::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::describe_speaker::builders::DescribeSpeakerFluentBuilder::speaker_id) / [`set_speaker_id(Option<String>)`](crate::operation::describe_speaker::builders::DescribeSpeakerFluentBuilder::set_speaker_id):<br>required: **true**<br><p>The identifier of the speaker you are describing.</p><br>
/// - On success, responds with [`DescribeSpeakerOutput`](crate::operation::describe_speaker::DescribeSpeakerOutput) with field(s):
/// - [`speaker(Option<Speaker>)`](crate::operation::describe_speaker::DescribeSpeakerOutput::speaker): <p>Information about the specified speaker.</p>
/// - On failure, responds with [`SdkError<DescribeSpeakerError>`](crate::operation::describe_speaker::DescribeSpeakerError)
pub fn describe_speaker(&self) -> crate::operation::describe_speaker::builders::DescribeSpeakerFluentBuilder {
crate::operation::describe_speaker::builders::DescribeSpeakerFluentBuilder::new(self.handle.clone())
}
}