Class: Aws::BedrockAgent::Types::CreateKnowledgeBaseRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2396

class CreateKnowledgeBaseRequest < Struct.new(
  :client_token,
  :description,
  :knowledge_base_configuration,
  :name,
  :role_arn,
  :storage_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the knowledge base.

Returns:

  • (String)


2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2396

class CreateKnowledgeBaseRequest < Struct.new(
  :client_token,
  :description,
  :knowledge_base_configuration,
  :name,
  :role_arn,
  :storage_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_configurationTypes::KnowledgeBaseConfiguration

Contains details about the embeddings model used for the knowledge base.



2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2396

class CreateKnowledgeBaseRequest < Struct.new(
  :client_token,
  :description,
  :knowledge_base_configuration,
  :name,
  :role_arn,
  :storage_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the knowledge base.

Returns:

  • (String)


2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2396

class CreateKnowledgeBaseRequest < Struct.new(
  :client_token,
  :description,
  :knowledge_base_configuration,
  :name,
  :role_arn,
  :storage_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.

Returns:

  • (String)


2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2396

class CreateKnowledgeBaseRequest < Struct.new(
  :client_token,
  :description,
  :knowledge_base_configuration,
  :name,
  :role_arn,
  :storage_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#storage_configurationTypes::StorageConfiguration

Contains details about the configuration of the vector database used for the knowledge base.



2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2396

class CreateKnowledgeBaseRequest < Struct.new(
  :client_token,
  :description,
  :knowledge_base_configuration,
  :name,
  :role_arn,
  :storage_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.

Returns:

  • (Hash<String,String>)


2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2396

class CreateKnowledgeBaseRequest < Struct.new(
  :client_token,
  :description,
  :knowledge_base_configuration,
  :name,
  :role_arn,
  :storage_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end