#[non_exhaustive]pub struct AppIntegrationsConfigurationBuilder { /* private fields */ }Expand description
A builder for AppIntegrationsConfiguration.
Implementations§
source§impl AppIntegrationsConfigurationBuilder
impl AppIntegrationsConfigurationBuilder
sourcepub fn app_integration_arn(self, input: impl Into<String>) -> Self
pub fn app_integration_arn(self, input: impl Into<String>) -> Self
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 set_app_integration_arn(self, input: Option<String>) -> Self
pub fn set_app_integration_arn(self, input: Option<String>) -> Self
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 get_app_integration_arn(&self) -> &Option<String>
pub fn get_app_integration_arn(&self) -> &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. -
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, input: impl Into<String>) -> Self
pub fn object_fields(self, input: impl Into<String>) -> Self
Appends an item to object_fields.
To override the contents of this collection use set_object_fields.
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.
sourcepub fn set_object_fields(self, input: Option<Vec<String>>) -> Self
pub fn set_object_fields(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_object_fields(&self) -> &Option<Vec<String>>
pub fn get_object_fields(&self) -> &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.
sourcepub fn build(self) -> Result<AppIntegrationsConfiguration, BuildError>
pub fn build(self) -> Result<AppIntegrationsConfiguration, BuildError>
Consumes the builder and constructs a AppIntegrationsConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AppIntegrationsConfigurationBuilder
impl Clone for AppIntegrationsConfigurationBuilder
source§fn clone(&self) -> AppIntegrationsConfigurationBuilder
fn clone(&self) -> AppIntegrationsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AppIntegrationsConfigurationBuilder
impl Default for AppIntegrationsConfigurationBuilder
source§fn default() -> AppIntegrationsConfigurationBuilder
fn default() -> AppIntegrationsConfigurationBuilder
source§impl PartialEq for AppIntegrationsConfigurationBuilder
impl PartialEq for AppIntegrationsConfigurationBuilder
source§fn eq(&self, other: &AppIntegrationsConfigurationBuilder) -> bool
fn eq(&self, other: &AppIntegrationsConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AppIntegrationsConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AppIntegrationsConfigurationBuilder
impl RefUnwindSafe for AppIntegrationsConfigurationBuilder
impl Send for AppIntegrationsConfigurationBuilder
impl Sync for AppIntegrationsConfigurationBuilder
impl Unpin for AppIntegrationsConfigurationBuilder
impl UnwindSafe for AppIntegrationsConfigurationBuilder
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