pub struct ServiceNowServiceCatalogConfiguration {
pub crawl_attachments: Option<bool>,
pub document_data_field_name: String,
pub document_title_field_name: Option<String>,
pub exclude_attachment_file_patterns: Option<Vec<String>>,
pub field_mappings: Option<Vec<DataSourceToIndexFieldMapping>>,
pub include_attachment_file_patterns: Option<Vec<String>>,
}
Expand description
Provides configuration information for crawling service catalog items in the ServiceNow site
Fields
crawl_attachments: Option<bool>
Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
document_data_field_name: String
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
document_title_field_name: Option<String>
The name of the ServiceNow field that is mapped to the index document title field.
exclude_attachment_file_patterns: Option<Vec<String>>
A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.
The regex is applied to the file name of the attachment.
field_mappings: Option<Vec<DataSourceToIndexFieldMapping>>
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
include_attachment_file_patterns: Option<Vec<String>>
A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.
The regex is applied to the file name of the attachment.
Trait Implementations
sourceimpl Clone for ServiceNowServiceCatalogConfiguration
impl Clone for ServiceNowServiceCatalogConfiguration
sourcefn clone(&self) -> ServiceNowServiceCatalogConfiguration
fn clone(&self) -> ServiceNowServiceCatalogConfiguration
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 Default for ServiceNowServiceCatalogConfiguration
impl Default for ServiceNowServiceCatalogConfiguration
sourcefn default() -> ServiceNowServiceCatalogConfiguration
fn default() -> ServiceNowServiceCatalogConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceNowServiceCatalogConfiguration
impl<'de> Deserialize<'de> for ServiceNowServiceCatalogConfiguration
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<ServiceNowServiceCatalogConfiguration> for ServiceNowServiceCatalogConfiguration
impl PartialEq<ServiceNowServiceCatalogConfiguration> for ServiceNowServiceCatalogConfiguration
sourcefn eq(&self, other: &ServiceNowServiceCatalogConfiguration) -> bool
fn eq(&self, other: &ServiceNowServiceCatalogConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceNowServiceCatalogConfiguration) -> bool
fn ne(&self, other: &ServiceNowServiceCatalogConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for ServiceNowServiceCatalogConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ServiceNowServiceCatalogConfiguration
impl Send for ServiceNowServiceCatalogConfiguration
impl Sync for ServiceNowServiceCatalogConfiguration
impl Unpin for ServiceNowServiceCatalogConfiguration
impl UnwindSafe for ServiceNowServiceCatalogConfiguration
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