Struct rusoto_kendra::ServiceNowConfiguration
source · [−]pub struct ServiceNowConfiguration {
pub authentication_type: Option<String>,
pub host_url: String,
pub knowledge_article_configuration: Option<ServiceNowKnowledgeArticleConfiguration>,
pub secret_arn: String,
pub service_catalog_configuration: Option<ServiceNowServiceCatalogConfiguration>,
pub service_now_build_version: String,
}
Expand description
Provides configuration information required to connect to a ServiceNow data source.
Fields
authentication_type: Option<String>
Determines the type of authentication used to connect to the ServiceNow instance. If you choose HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the AWS Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
, Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see Using a ServiceNow data source.
host_url: String
The ServiceNow instance that the data source connects to. The host endpoint should look like the following: {instance}.service-now.com.
knowledge_article_configuration: Option<ServiceNowKnowledgeArticleConfiguration>
Provides configuration information for crawling knowledge articles in the ServiceNow site.
secret_arn: String
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required to connect to the ServiceNow instance.
service_catalog_configuration: Option<ServiceNowServiceCatalogConfiguration>
Provides configuration information for crawling service catalogs in the ServiceNow site.
service_now_build_version: String
The identifier of the release that the ServiceNow host is running. If the host is not running the LONDON
release, use OTHERS
.
Trait Implementations
sourceimpl Clone for ServiceNowConfiguration
impl Clone for ServiceNowConfiguration
sourcefn clone(&self) -> ServiceNowConfiguration
fn clone(&self) -> ServiceNowConfiguration
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 ServiceNowConfiguration
impl Debug for ServiceNowConfiguration
sourceimpl Default for ServiceNowConfiguration
impl Default for ServiceNowConfiguration
sourcefn default() -> ServiceNowConfiguration
fn default() -> ServiceNowConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceNowConfiguration
impl<'de> Deserialize<'de> for ServiceNowConfiguration
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<ServiceNowConfiguration> for ServiceNowConfiguration
impl PartialEq<ServiceNowConfiguration> for ServiceNowConfiguration
sourcefn eq(&self, other: &ServiceNowConfiguration) -> bool
fn eq(&self, other: &ServiceNowConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceNowConfiguration) -> bool
fn ne(&self, other: &ServiceNowConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for ServiceNowConfiguration
impl Serialize for ServiceNowConfiguration
impl StructuralPartialEq for ServiceNowConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ServiceNowConfiguration
impl Send for ServiceNowConfiguration
impl Sync for ServiceNowConfiguration
impl Unpin for ServiceNowConfiguration
impl UnwindSafe for ServiceNowConfiguration
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