// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DetectTargetedSentiment`](crate::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`text(impl Into<String>)`](crate::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentFluentBuilder::text) / [`set_text(Option<String>)`](crate::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentFluentBuilder::set_text):<br>required: **true**<br><p>A UTF-8 text string. The maximum string length is 5 KB.</p><br>
/// - [`language_code(LanguageCode)`](crate::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentFluentBuilder::language_code) / [`set_language_code(Option<LanguageCode>)`](crate::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentFluentBuilder::set_language_code):<br>required: **true**<br><p>The language of the input documents. Currently, English is the only supported language.</p><br>
/// - On success, responds with [`DetectTargetedSentimentOutput`](crate::operation::detect_targeted_sentiment::DetectTargetedSentimentOutput) with field(s):
/// - [`entities(Option<Vec::<TargetedSentimentEntity>>)`](crate::operation::detect_targeted_sentiment::DetectTargetedSentimentOutput::entities): <p>Targeted sentiment analysis for each of the entities identified in the input text.</p>
/// - On failure, responds with [`SdkError<DetectTargetedSentimentError>`](crate::operation::detect_targeted_sentiment::DetectTargetedSentimentError)
pub fn detect_targeted_sentiment(&self) -> crate::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentFluentBuilder {
crate::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentFluentBuilder::new(self.handle.clone())
}
}