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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/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.

Returns:

  • (String)


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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 Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.

Returns:

  • (Hash<String,String>)


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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.

Returns:

  • (String)


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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)


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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)


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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.

Returns:

  • (String)


2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2580

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