SentimentConfiguration
A structure that contains the configuration settings for a sentiment analysis task.
Contents
- RuleName
-
The name of the rule in the sentiment configuration.
Type: String
Length Constraints: Minimum length of 2. Maximum length of 64.
Pattern:
^[0-9a-zA-Z._-]+
Required: Yes
- SentimentType
-
The type of sentiment,
POSITIVE
,NEGATIVE
, orNEUTRAL
.Type: String
Valid Values:
NEGATIVE
Required: Yes
- TimePeriod
-
Specifies the analysis interval.
Type: Integer
Valid Range: Minimum value of 60. Maximum value of 1800.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: