Class: Aws::Context::Types::ConnectionMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::ConnectionMapping
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
A connection mapping entry on CreateAgentContext and UpdateAgentContext. Each entry binds a connection to one or more ontologies within the agent context, optionally scoped by a data filter, extraction depth, and path segments.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#connection_id ⇒ String
The connection, by its ID (which starts with
conn-) or its full ARN. -
#data_filter ⇒ Types::DataFilter
Optional.
-
#extraction_depth ⇒ String
Optional extraction depth override for BEDROCK_KNOWLEDGE_BASE connections.
-
#ontology_mappings ⇒ Array<Types::OntologyMapping>
The ontology mappings for this connection mapping.
-
#path_segments ⇒ Array<Types::PathSegment>
The path segments that scope ingestion within the data source, 0–100 segments.
-
#type ⇒ String
The connection's data source type.
Instance Attribute Details
#connection_id ⇒ String
The connection, by its ID (which starts with conn-) or its full
ARN. Required. AWS Context resolves an ID to an ARN in your account
and the current Region.
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1371 class ConnectionMapping < Struct.new( :connection_id, :ontology_mappings, :data_filter, :extraction_depth, :path_segments, :type) SENSITIVE = [] include Aws::Structure end |
#data_filter ⇒ Types::DataFilter
Optional. The data filter for this connection mapping. A document matches if it matches any filter in the list. Within a filter, all conditions must match. If you omit it, every document matches.
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1371 class ConnectionMapping < Struct.new( :connection_id, :ontology_mappings, :data_filter, :extraction_depth, :path_segments, :type) SENSITIVE = [] include Aws::Structure end |
#extraction_depth ⇒ String
Optional extraction depth override for BEDROCK_KNOWLEDGE_BASE connections.
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1371 class ConnectionMapping < Struct.new( :connection_id, :ontology_mappings, :data_filter, :extraction_depth, :path_segments, :type) SENSITIVE = [] include Aws::Structure end |
#ontology_mappings ⇒ Array<Types::OntologyMapping>
The ontology mappings for this connection mapping. Each entry
identifies an ontology that this mapping targets.
BEDROCK_KNOWLEDGE_BASE rejects the AWS managed Data ontology.
GLUE_DATA_CATALOG rejects the AWS managed Enterprise and Business
Process ontologies. AWS Context accepts a new or changed mapping to
a customer-owned ontology only on BEDROCK_KNOWLEDGE_BASE. An
incompatible mapping, or an ontology that isn't PUBLISHED, fails
with ValidationException.
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1371 class ConnectionMapping < Struct.new( :connection_id, :ontology_mappings, :data_filter, :extraction_depth, :path_segments, :type) SENSITIVE = [] include Aws::Structure end |
#path_segments ⇒ Array<Types::PathSegment>
The path segments that scope ingestion within the data source, 0–100 segments. Optional. An empty list is the same as omitting the field and matches everything. The segments name levels from one branch of the connection type's level hierarchy. The container levels form a contiguous prefix of that branch that starts at its root, and a link can also name the table level. AWS Context rejects a link that mixes branches. The branches are the following:
GLUE_DATA_CATALOG- The native branch (glueDatabase, glueTable) and one branch for each federated AWS data source:redshiftNamespace, redshiftDatabase, redshiftSchema, redshiftTable,rdsInstance, rdsDatabase, rdsSchema, rdsTable,s3TableBucket, s3Namespace, s3Table, andsagemakerModelGroup.SNOWFLAKE-snowflakeDatabase, snowflakeSchema, snowflakeTable.DATABRICKS-databricksCatalog, databricksSchema, databricksTable.
The connection holds the source's identity, such as the account locator or metastore ID, so it isn't a segment. AWS Context matches IDs as opaque strings against the source's coordinate values.
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1371 class ConnectionMapping < Struct.new( :connection_id, :ontology_mappings, :data_filter, :extraction_depth, :path_segments, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The connection's data source type. AWS Context sets it from the referenced connection's data source type when you create or update the mapping. Read-only.
Valid values:
GLUE_DATA_CATALOG- An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.BEDROCK_KNOWLEDGE_BASE- An Amazon Bedrock knowledge base.DATABRICKS- A Databricks third-party catalog.SNOWFLAKE- A Snowflake third-party catalog.
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1371 class ConnectionMapping < Struct.new( :connection_id, :ontology_mappings, :data_filter, :extraction_depth, :path_segments, :type) SENSITIVE = [] include Aws::Structure end |