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

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

Overview

Constant Summary collapse

SENSITIVE =
[:name, :body]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

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

Returns:

  • (String)


3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-qconnect/types.rb', line 3019

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

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

Returns:

  • (String)


3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-qconnect/types.rb', line 3019

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

#content_dispositionString

The presentation information for the attachment file.

Returns:

  • (String)


3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-qconnect/types.rb', line 3019

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_idString

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

Returns:

  • (String)


3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-qconnect/types.rb', line 3019

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_idString

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

Returns:

  • (String)


3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-qconnect/types.rb', line 3019

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

#nameString

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

Returns:

  • (String)


3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
# File 'lib/aws-sdk-qconnect/types.rb', line 3019

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