Class: Aws::BedrockAgent::Types::KnowledgeBase

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

Overview

Contains information about a knowledge base.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Time

The time the knowledge base was created.

Returns:

  • (Time)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description of the knowledge base.

Returns:

  • (String)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#failure_reasons ⇒ Array<String>

A list of reasons that the API operation on the knowledge base failed.

Returns:

  • (Array<String>)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_arn ⇒ String

The Amazon Resource Name (ARN) of the knowledge base.

Returns:

  • (String)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_configuration ⇒ Types::KnowledgeBaseConfiguration

Contains details about the embeddings configuration of the knowledge base.



6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_id ⇒ String

The unique identifier of the knowledge base.

Returns:

  • (String)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#metadata_configurations ⇒ Array<Types::MetadataConfiguration>

The custom metadata field configurations of the knowledge base. Each configuration specifies whether its field is searchable (ENABLED or DISABLED).

If the update fails, the knowledge base status becomes UPDATE_UNSUCCESSFUL, the field configurations revert to their previous values, and failureReasons describes the cause. You can retry the update from UPDATE_UNSUCCESSFUL.

Returns:



6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the knowledge base.

Returns:

  • (String)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#role_arn ⇒ String

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

Returns:

  • (String)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the knowledge base. The following statuses are possible:

  • CREATING – The knowledge base is being created.

  • ACTIVE – The knowledge base is ready to be queried.

  • DELETING – The knowledge base is being deleted.

  • UPDATING – The knowledge base is being updated.

  • FAILED – The knowledge base API operation failed.

Returns:

  • (String)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#storage_configuration ⇒ Types::StorageConfiguration

Contains details about the storage configuration of the knowledge base.



6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

The time the knowledge base was last updated.

Returns:

  • (Time)


6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6912

class KnowledgeBase < Struct.new(
  :knowledge_base_id,
  :name,
  :knowledge_base_arn,
  :description,
  :role_arn,
  :knowledge_base_configuration,
  :storage_configuration,
  :status,
  :created_at,
  :updated_at,
  :failure_reasons,
  :metadata_configurations)
  SENSITIVE = []
  include Aws::Structure
end