Class: Aws::ConnectWisdomService::Types::CreateContentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-connectwisdomservice/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)


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

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

#knowledge_base_idString

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you’re storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

class CreateContentRequest < Struct.new(
  :client_token,
  :knowledge_base_id,
  :metadata,
  :name,
  :override_link_out_uri,
  :tags,
  :title,
  :upload_id)
  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 Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

Returns:

  • (Hash<String,String>)


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

class CreateContentRequest < Struct.new(
  :client_token,
  :knowledge_base_id,
  :metadata,
  :name,
  :override_link_out_uri,
  :tags,
  :title,
  :upload_id)
  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/wisdom/latest/APIReference/API_SearchContent.html

Returns:

  • (String)


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

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


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

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

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

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

#titleString

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

Returns:

  • (String)


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

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

#upload_idString

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

[1]: docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html

Returns:

  • (String)


835
836
837
838
839
840
841
842
843
844
845
846
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 835

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