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)


3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3058

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)


3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3058

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)


3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3058

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)


3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3058

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)


3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3058

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)


3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3058

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