Class: Aws::QConnect::Types::CreateContentRequest

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

#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)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_idString

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#metadataHash<String,String>

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.

Returns:

  • (Hash<String,String>)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the [SearchContent] API.

[1]: docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_SearchContent.html

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content.

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :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>)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The title of the content. If not set, the title is equal to the name.

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#upload_idString

A pointer to the uploaded asset. This value is returned by [StartContentUpload].

[1]: docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_StartContentUpload.html

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aws-sdk-qconnect/types.rb', line 2864

class CreateContentRequest < Struct.new(
  :knowledge_base_id,
  :name,
  :title,
  :override_link_out_uri,
  :metadata,
  :upload_id,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end