#[non_exhaustive]pub struct AppIntegrationsConfiguration {
pub app_integration_arn: 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: StringThe 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. -
For Amazon S3, the ObjectConfiguration and FileConfiguration of your AppIntegrations DataIntegration must be null. The
SourceURIof your DataIntegration must use the following format:s3://your_s3_bucket_name.The bucket policy of the corresponding S3 bucket must allow the Amazon Web Services principal
app-integrations.amazonaws.comto performs3:ListBucket,s3:GetObject, ands3:GetBucketLocationagainst the bucket.
object_fields: Option<Vec<String>>The fields from the source that are made available to your agents in Amazon Q. 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) -> &str
pub fn app_integration_arn(&self) -> &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. -
For Amazon S3, the ObjectConfiguration and FileConfiguration of your AppIntegrations DataIntegration must be null. The
SourceURIof your DataIntegration must use the following format:s3://your_s3_bucket_name.The bucket policy of the corresponding S3 bucket must allow the Amazon Web Services principal
app-integrations.amazonaws.comto performs3:ListBucket,s3:GetObject, ands3:GetBucketLocationagainst the bucket.
sourcepub fn object_fields(&self) -> &[String]
pub fn object_fields(&self) -> &[String]
The fields from the source that are made available to your agents in Amazon Q. 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .object_fields.is_none().
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 for AppIntegrationsConfiguration
impl PartialEq 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 ==.