Class: Aws::BedrockAgent::Types::CreateDataSourceRequest

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)


1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#data_deletion_policyString

The deletion policy for the requested data source

Returns:

  • (String)


1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_configurationTypes::DataSourceConfiguration

Contains metadata about where the data source is stored.



1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the data source.

Returns:

  • (String)


1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_idString

The unique identifier of the knowledge base to which to add the data source.

Returns:

  • (String)


1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the data source.

Returns:

  • (String)


1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#server_side_encryption_configurationTypes::ServerSideEncryptionConfiguration

Contains details about the server-side encryption for the data source.



1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#vector_ingestion_configurationTypes::VectorIngestionConfiguration

Contains details about how to ingest the documents in the data source.



1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1242

class CreateDataSourceRequest < Struct.new(
  :client_token,
  :data_deletion_policy,
  :data_source_configuration,
  :description,
  :knowledge_base_id,
  :name,
  :server_side_encryption_configuration,
  :vector_ingestion_configuration)
  SENSITIVE = []
  include Aws::Structure
end