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)


1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1328

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)


1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1328

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.



1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1328

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)


1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1328

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)


1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1328

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.



1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1328

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


1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1328

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