Class: Aws::QConnect::Types::CreateMessageTemplateRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_subtype ⇒ String

The channel subtype this message template applies to.

Returns:

  • (String)


3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_token ⇒ 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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#content ⇒ Types::MessageTemplateContentProvider

The content of the message template.



3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#default_attributes ⇒ Types::MessageTemplateAttributes

An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.



3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description of the message template.

Returns:

  • (String)


3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#grouping_configuration ⇒ Types::GroupingConfiguration

The configuration information of the grouping of Amazon Q in Connect users.



3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_id ⇒ String

The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#language ⇒ 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

Returns:

  • (String)


3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the message template.

Returns:

  • (String)


3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#source_configuration ⇒ Types::MessageTemplateSourceConfiguration

The source configuration of the message template. Only set this argument for WHATSAPP channel subtype.



3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The tags used to organize, track, or control access for this resource.

Returns:

  • (Hash<String,String>)


3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3314

class CreateMessageTemplateRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :content,
  :description,
  :channel_subtype,
  :language,
  :source_configuration,
  :default_attributes,
  :grouping_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end