#[non_exhaustive]pub struct UpdateQuickResponseInput {Show 14 fields
pub knowledge_base_id: Option<String>,
pub quick_response_id: Option<String>,
pub name: Option<String>,
pub content: Option<QuickResponseDataProvider>,
pub content_type: Option<String>,
pub grouping_configuration: Option<GroupingConfiguration>,
pub remove_grouping_configuration: Option<bool>,
pub description: Option<String>,
pub remove_description: Option<bool>,
pub shortcut_key: Option<String>,
pub remove_shortcut_key: Option<bool>,
pub is_active: Option<bool>,
pub channels: Option<Vec<String>>,
pub language: Option<String>,
}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.knowledge_base_id: Option<String>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
quick_response_id: Option<String>The identifier of the quick response.
name: Option<String>The name of the quick response.
content: Option<QuickResponseDataProvider>The updated content of the quick response.
content_type: Option<String>The media type of the quick response content.
-
Use
application/x.quickresponse;format=plainfor quick response written in plain text. -
Use
application/x.quickresponse;format=markdownfor quick response written in richtext.
grouping_configuration: Option<GroupingConfiguration>The updated grouping configuration of the quick response.
remove_grouping_configuration: Option<bool>Whether to remove the grouping configuration of the quick response.
description: Option<String>The updated description of the quick response.
remove_description: Option<bool>Whether to remove the description from the quick response.
shortcut_key: Option<String>The shortcut key of the quick response. The value should be unique across the knowledge base.
remove_shortcut_key: Option<bool>Whether to remove the shortcut key of the quick response.
is_active: Option<bool>Whether the quick response is active.
channels: Option<Vec<String>>The Amazon Connect contact channels this quick response applies to. The supported contact channel types include Chat.
language: Option<String>The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW
Implementations§
source§impl UpdateQuickResponseInput
impl UpdateQuickResponseInput
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn quick_response_id(&self) -> Option<&str>
pub fn quick_response_id(&self) -> Option<&str>
The identifier of the quick response.
sourcepub fn content(&self) -> Option<&QuickResponseDataProvider>
pub fn content(&self) -> Option<&QuickResponseDataProvider>
The updated content of the quick response.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The media type of the quick response content.
-
Use
application/x.quickresponse;format=plainfor quick response written in plain text. -
Use
application/x.quickresponse;format=markdownfor quick response written in richtext.
sourcepub fn grouping_configuration(&self) -> Option<&GroupingConfiguration>
pub fn grouping_configuration(&self) -> Option<&GroupingConfiguration>
The updated grouping configuration of the quick response.
sourcepub fn remove_grouping_configuration(&self) -> Option<bool>
pub fn remove_grouping_configuration(&self) -> Option<bool>
Whether to remove the grouping configuration of the quick response.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The updated description of the quick response.
sourcepub fn remove_description(&self) -> Option<bool>
pub fn remove_description(&self) -> Option<bool>
Whether to remove the description from the quick response.
sourcepub fn shortcut_key(&self) -> Option<&str>
pub fn shortcut_key(&self) -> Option<&str>
The shortcut key of the quick response. The value should be unique across the knowledge base.
sourcepub fn remove_shortcut_key(&self) -> Option<bool>
pub fn remove_shortcut_key(&self) -> Option<bool>
Whether to remove the shortcut key of the quick response.
source§impl UpdateQuickResponseInput
impl UpdateQuickResponseInput
sourcepub fn builder() -> UpdateQuickResponseInputBuilder
pub fn builder() -> UpdateQuickResponseInputBuilder
Creates a new builder-style object to manufacture UpdateQuickResponseInput.
Trait Implementations§
source§impl Clone for UpdateQuickResponseInput
impl Clone for UpdateQuickResponseInput
source§fn clone(&self) -> UpdateQuickResponseInput
fn clone(&self) -> UpdateQuickResponseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateQuickResponseInput
impl Debug for UpdateQuickResponseInput
source§impl PartialEq for UpdateQuickResponseInput
impl PartialEq for UpdateQuickResponseInput
source§fn eq(&self, other: &UpdateQuickResponseInput) -> bool
fn eq(&self, other: &UpdateQuickResponseInput) -> bool
self and other values to be equal, and is used
by ==.