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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_subtypeString

The channel subtype this message template applies to.

Returns:

  • (String)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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_tokenString

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.

[1]: aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/

Returns:

  • (String)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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

#contentTypes::MessageTemplateContentProvider

The content of the message template.



3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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_attributesTypes::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.



3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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

#descriptionString

The description of the message template.

Returns:

  • (String)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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_configurationTypes::GroupingConfiguration

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



3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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_idString

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

Returns:

  • (String)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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

#languageString

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)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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

#nameString

The name of the message template.

Returns:

  • (String)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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_configurationTypes::MessageTemplateSourceConfiguration

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



3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
# File 'lib/aws-sdk-qconnect/types.rb', line 3109

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