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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1944

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)


1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1944

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.



1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1944

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)


1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1944

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)


1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1944

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.



1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1944

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


1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1944

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