#[non_exhaustive]pub struct BatchDetectSentimentInput { /* private fields */ }Implementations§
source§impl BatchDetectSentimentInput
impl BatchDetectSentimentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchDetectSentiment, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchDetectSentiment, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<BatchDetectSentiment>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchDetectSentimentInput.
source§impl BatchDetectSentimentInput
impl BatchDetectSentimentInput
sourcepub fn text_list(&self) -> Option<&[String]>
pub fn text_list(&self) -> Option<&[String]>
A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
Amazon Comprehend performs real-time sentiment analysis on the first 500 characters of the input text and ignores any additional text in the input.
sourcepub fn language_code(&self) -> Option<&LanguageCode>
pub fn language_code(&self) -> Option<&LanguageCode>
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
Trait Implementations§
source§impl Clone for BatchDetectSentimentInput
impl Clone for BatchDetectSentimentInput
source§fn clone(&self) -> BatchDetectSentimentInput
fn clone(&self) -> BatchDetectSentimentInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BatchDetectSentimentInput
impl Debug for BatchDetectSentimentInput
source§impl PartialEq<BatchDetectSentimentInput> for BatchDetectSentimentInput
impl PartialEq<BatchDetectSentimentInput> for BatchDetectSentimentInput
source§fn eq(&self, other: &BatchDetectSentimentInput) -> bool
fn eq(&self, other: &BatchDetectSentimentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.