#[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 in Connect. 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 in Connect. 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 ==.impl StructuralPartialEq for AppIntegrationsConfiguration
Auto Trait Implementations§
impl Freeze for AppIntegrationsConfiguration
impl RefUnwindSafe for AppIntegrationsConfiguration
impl Send for AppIntegrationsConfiguration
impl Sync for AppIntegrationsConfiguration
impl Unpin for AppIntegrationsConfiguration
impl UnwindSafe for AppIntegrationsConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more