#[non_exhaustive]pub struct AppIntegrationsConfiguration {
pub app_integration_arn: Option<String>,
pub object_fields: Option<Vec<String>>,
}Expand description
Configuration information for Amazon AppIntegrations to automatically ingest content.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.app_integration_arn: Option<String>The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.
-
For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least
Id,ArticleNumber,VersionNumber,Title,PublishStatus, andIsDeletedas source fields. -
For ServiceNow, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least
number,short_description,sys_mod_count,workflow_state, andactiveas source fields. -
For Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if
objectFieldsis not provided, including at leastid,title,updated_at, anddraftas source fields. -
For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file extensions that are among
docx,pdf,html,htm, andtxt.
object_fields: Option<Vec<String>>The fields from the source that are made available to your agents in Wisdom. Optional if ObjectConfiguration is included in the provided DataIntegration.
-
For Salesforce, you must include at least
Id,ArticleNumber,VersionNumber,Title,PublishStatus, andIsDeleted. -
For ServiceNow, you must include at least
number,short_description,sys_mod_count,workflow_state, andactive. -
For Zendesk, you must include at least
id,title,updated_at, anddraft.
Make sure to include additional fields. These fields are indexed and used to source recommendations.
Implementations§
source§impl AppIntegrationsConfiguration
impl AppIntegrationsConfiguration
sourcepub fn app_integration_arn(&self) -> Option<&str>
pub fn app_integration_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.
-
For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least
Id,ArticleNumber,VersionNumber,Title,PublishStatus, andIsDeletedas source fields. -
For ServiceNow, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least
number,short_description,sys_mod_count,workflow_state, andactiveas source fields. -
For Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if
objectFieldsis not provided, including at leastid,title,updated_at, anddraftas source fields. -
For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file extensions that are among
docx,pdf,html,htm, andtxt.
sourcepub fn object_fields(&self) -> Option<&[String]>
pub fn object_fields(&self) -> Option<&[String]>
The fields from the source that are made available to your agents in Wisdom. Optional if ObjectConfiguration is included in the provided DataIntegration.
-
For Salesforce, you must include at least
Id,ArticleNumber,VersionNumber,Title,PublishStatus, andIsDeleted. -
For ServiceNow, you must include at least
number,short_description,sys_mod_count,workflow_state, andactive. -
For Zendesk, you must include at least
id,title,updated_at, anddraft.
Make sure to include additional fields. These fields are indexed and used to source recommendations.
source§impl AppIntegrationsConfiguration
impl AppIntegrationsConfiguration
sourcepub fn builder() -> AppIntegrationsConfigurationBuilder
pub fn builder() -> AppIntegrationsConfigurationBuilder
Creates a new builder-style object to manufacture AppIntegrationsConfiguration.
Trait Implementations§
source§impl Clone for AppIntegrationsConfiguration
impl Clone for AppIntegrationsConfiguration
source§fn clone(&self) -> AppIntegrationsConfiguration
fn clone(&self) -> AppIntegrationsConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AppIntegrationsConfiguration
impl Debug for AppIntegrationsConfiguration
source§impl PartialEq<AppIntegrationsConfiguration> for AppIntegrationsConfiguration
impl PartialEq<AppIntegrationsConfiguration> for AppIntegrationsConfiguration
source§fn eq(&self, other: &AppIntegrationsConfiguration) -> bool
fn eq(&self, other: &AppIntegrationsConfiguration) -> bool
self and other values to be equal, and is used
by ==.