Struct rusoto_kendra::DescribeThesaurusResponse
source · [−]pub struct DescribeThesaurusResponse {Show 13 fields
pub created_at: Option<f64>,
pub description: Option<String>,
pub error_message: Option<String>,
pub file_size_bytes: Option<i64>,
pub id: Option<String>,
pub index_id: Option<String>,
pub name: Option<String>,
pub role_arn: Option<String>,
pub source_s3_path: Option<S3Path>,
pub status: Option<String>,
pub synonym_rule_count: Option<i64>,
pub term_count: Option<i64>,
pub updated_at: Option<f64>,
}
Fields
created_at: Option<f64>
The Unix datetime that the thesaurus was created.
description: Option<String>
The thesaurus description.
error_message: Option<String>
When the Status
field value is FAILED
, the ErrorMessage
field provides more information.
file_size_bytes: Option<i64>
The size of the thesaurus file in bytes.
id: Option<String>
The identifier of the thesaurus.
index_id: Option<String>
The identifier of the index associated with the thesaurus to describe.
name: Option<String>
The thesaurus name.
role_arn: Option<String>
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path
.
source_s3_path: Option<S3Path>
status: Option<String>
The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the new thesaurus file. The old thesaurus file is still active.
synonym_rule_count: Option<i64>
The number of synonym rules in the thesaurus file.
term_count: Option<i64>
The number of unique terms in the thesaurus file. For example, the synonyms a,b,c
and a=>d
, the term count would be 4.
updated_at: Option<f64>
The Unix datetime that the thesaurus was last updated.
Trait Implementations
sourceimpl Clone for DescribeThesaurusResponse
impl Clone for DescribeThesaurusResponse
sourcefn clone(&self) -> DescribeThesaurusResponse
fn clone(&self) -> DescribeThesaurusResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeThesaurusResponse
impl Debug for DescribeThesaurusResponse
sourceimpl Default for DescribeThesaurusResponse
impl Default for DescribeThesaurusResponse
sourcefn default() -> DescribeThesaurusResponse
fn default() -> DescribeThesaurusResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DescribeThesaurusResponse
impl<'de> Deserialize<'de> for DescribeThesaurusResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DescribeThesaurusResponse> for DescribeThesaurusResponse
impl PartialEq<DescribeThesaurusResponse> for DescribeThesaurusResponse
sourcefn eq(&self, other: &DescribeThesaurusResponse) -> bool
fn eq(&self, other: &DescribeThesaurusResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeThesaurusResponse) -> bool
fn ne(&self, other: &DescribeThesaurusResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeThesaurusResponse
Auto Trait Implementations
impl RefUnwindSafe for DescribeThesaurusResponse
impl Send for DescribeThesaurusResponse
impl Sync for DescribeThesaurusResponse
impl Unpin for DescribeThesaurusResponse
impl UnwindSafe for DescribeThesaurusResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more