#[non_exhaustive]pub struct CreateQuickResponseInput {
pub knowledge_base_id: Option<String>,
pub name: Option<String>,
pub content: Option<QuickResponseDataProvider>,
pub content_type: Option<String>,
pub grouping_configuration: Option<GroupingConfiguration>,
pub description: Option<String>,
pub shortcut_key: Option<String>,
pub is_active: Option<bool>,
pub channels: Option<Vec<String>>,
pub language: Option<String>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, 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 Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
name: Option<String>The name of the quick response.
content: Option<QuickResponseDataProvider>The content of the quick response.
content_type: Option<String>The media type of the quick response content.
-
Use
application/x.quickresponse;format=plainfor a quick response written in plain text. -
Use
application/x.quickresponse;format=markdownfor a quick response written in richtext.
grouping_configuration: Option<GroupingConfiguration>The configuration information of the user groups that the quick response is accessible to.
description: Option<String>The description of the quick response.
shortcut_key: Option<String>The shortcut key of the quick response. The value should be unique across the knowledge base.
is_active: Option<bool>Whether the quick response is active.
channels: Option<Vec<String>>The Amazon Connect channels this quick response applies to.
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
client_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl CreateQuickResponseInput
impl CreateQuickResponseInput
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 Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn content(&self) -> Option<&QuickResponseDataProvider>
pub fn content(&self) -> Option<&QuickResponseDataProvider>
The 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 a quick response written in plain text. -
Use
application/x.quickresponse;format=markdownfor a quick response written in richtext.
sourcepub fn grouping_configuration(&self) -> Option<&GroupingConfiguration>
pub fn grouping_configuration(&self) -> Option<&GroupingConfiguration>
The configuration information of the user groups that the quick response is accessible to.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of 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 channels(&self) -> &[String]
pub fn channels(&self) -> &[String]
The Amazon Connect channels this quick response applies to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .channels.is_none().
sourcepub fn language(&self) -> Option<&str>
pub fn language(&self) -> Option<&str>
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
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
The tags used to organize, track, or control access for this resource.
source§impl CreateQuickResponseInput
impl CreateQuickResponseInput
sourcepub fn builder() -> CreateQuickResponseInputBuilder
pub fn builder() -> CreateQuickResponseInputBuilder
Creates a new builder-style object to manufacture CreateQuickResponseInput.
Trait Implementations§
source§impl Clone for CreateQuickResponseInput
impl Clone for CreateQuickResponseInput
source§fn clone(&self) -> CreateQuickResponseInput
fn clone(&self) -> CreateQuickResponseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateQuickResponseInput
impl Debug for CreateQuickResponseInput
source§impl PartialEq for CreateQuickResponseInput
impl PartialEq for CreateQuickResponseInput
source§fn eq(&self, other: &CreateQuickResponseInput) -> bool
fn eq(&self, other: &CreateQuickResponseInput) -> bool
self and other values to be equal, and is used
by ==.