Class: Aws::QConnect::Types::CreateMessageTemplateAttachmentRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:name, :body]

Instance Attribute Summary collapse

Instance Attribute Details

#body ⇒ String

The body of the attachment file being uploaded. It should be encoded using base64 encoding.

Returns:

  • (String)


3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3224

class CreateMessageTemplateAttachmentRequest < Struct.new(
  :knowledge_base_id,
  :message_template_id,
  :content_disposition,
  :name,
  :body,
  :client_token)
  SENSITIVE = [:name, :body]
  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.

Returns:

  • (String)


3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3224

class CreateMessageTemplateAttachmentRequest < Struct.new(
  :knowledge_base_id,
  :message_template_id,
  :content_disposition,
  :name,
  :body,
  :client_token)
  SENSITIVE = [:name, :body]
  include Aws::Structure
end

#content_disposition ⇒ String

The presentation information for the attachment file.

Returns:

  • (String)


3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3224

class CreateMessageTemplateAttachmentRequest < Struct.new(
  :knowledge_base_id,
  :message_template_id,
  :content_disposition,
  :name,
  :body,
  :client_token)
  SENSITIVE = [:name, :body]
  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)


3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3224

class CreateMessageTemplateAttachmentRequest < Struct.new(
  :knowledge_base_id,
  :message_template_id,
  :content_disposition,
  :name,
  :body,
  :client_token)
  SENSITIVE = [:name, :body]
  include Aws::Structure
end

#message_template_id ⇒ String

The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.

Returns:

  • (String)


3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3224

class CreateMessageTemplateAttachmentRequest < Struct.new(
  :knowledge_base_id,
  :message_template_id,
  :content_disposition,
  :name,
  :body,
  :client_token)
  SENSITIVE = [:name, :body]
  include Aws::Structure
end

#name ⇒ String

The name of the attachment file being uploaded. The name should include the file extension.

Returns:

  • (String)


3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3224

class CreateMessageTemplateAttachmentRequest < Struct.new(
  :knowledge_base_id,
  :message_template_id,
  :content_disposition,
  :name,
  :body,
  :client_token)
  SENSITIVE = [:name, :body]
  include Aws::Structure
end