aws-sdk-bedrockagent 1.39.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -302,7 +302,7 @@ module Aws
302
302
  tenant_id: ::String?
303
303
  }
304
304
  }?,
305
- type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM"),
305
+ type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA"),
306
306
  web_configuration: {
307
307
  crawler_configuration: {
308
308
  crawler_limits: {
@@ -368,13 +368,17 @@ module Aws
368
368
  ]
369
369
  }?,
370
370
  parsing_configuration: {
371
+ bedrock_data_automation_configuration: {
372
+ parsing_modality: ("MULTIMODAL")?
373
+ }?,
371
374
  bedrock_foundation_model_configuration: {
372
375
  model_arn: ::String,
376
+ parsing_modality: ("MULTIMODAL")?,
373
377
  parsing_prompt: {
374
378
  parsing_prompt_text: ::String
375
379
  }?
376
380
  }?,
377
- parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
381
+ parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION")
378
382
  }?
379
383
  }
380
384
  ) -> _CreateDataSourceResponseSuccess
@@ -629,7 +633,69 @@ module Aws
629
633
  ?client_token: ::String,
630
634
  ?description: ::String,
631
635
  knowledge_base_configuration: {
632
- type: ("VECTOR"),
636
+ kendra_knowledge_base_configuration: {
637
+ kendra_index_arn: ::String
638
+ }?,
639
+ sql_knowledge_base_configuration: {
640
+ redshift_configuration: {
641
+ query_engine_configuration: {
642
+ provisioned_configuration: {
643
+ auth_configuration: {
644
+ database_user: ::String?,
645
+ type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME"),
646
+ username_password_secret_arn: ::String?
647
+ },
648
+ cluster_identifier: ::String
649
+ }?,
650
+ serverless_configuration: {
651
+ auth_configuration: {
652
+ type: ("IAM" | "USERNAME_PASSWORD"),
653
+ username_password_secret_arn: ::String?
654
+ },
655
+ workgroup_arn: ::String
656
+ }?,
657
+ type: ("SERVERLESS" | "PROVISIONED")
658
+ },
659
+ query_generation_configuration: {
660
+ execution_timeout_seconds: ::Integer?,
661
+ generation_context: {
662
+ curated_queries: Array[
663
+ {
664
+ natural_language: ::String,
665
+ sql: ::String
666
+ },
667
+ ]?,
668
+ tables: Array[
669
+ {
670
+ columns: Array[
671
+ {
672
+ description: ::String?,
673
+ inclusion: ("INCLUDE" | "EXCLUDE")?,
674
+ name: ::String?
675
+ },
676
+ ]?,
677
+ description: ::String?,
678
+ inclusion: ("INCLUDE" | "EXCLUDE")?,
679
+ name: ::String
680
+ },
681
+ ]?
682
+ }?
683
+ }?,
684
+ storage_configurations: Array[
685
+ {
686
+ aws_data_catalog_configuration: {
687
+ table_names: Array[::String]
688
+ }?,
689
+ redshift_configuration: {
690
+ database_name: ::String
691
+ }?,
692
+ type: ("REDSHIFT" | "AWS_DATA_CATALOG")
693
+ },
694
+ ]
695
+ }?,
696
+ type: ("REDSHIFT")
697
+ }?,
698
+ type: ("VECTOR" | "KENDRA" | "SQL"),
633
699
  vector_knowledge_base_configuration: {
634
700
  embedding_model_arn: ::String,
635
701
  embedding_model_configuration: {
@@ -637,12 +703,22 @@ module Aws
637
703
  dimensions: ::Integer?,
638
704
  embedding_data_type: ("FLOAT32" | "BINARY")?
639
705
  }?
706
+ }?,
707
+ supplemental_data_storage_configuration: {
708
+ storage_locations: Array[
709
+ {
710
+ s3_location: {
711
+ uri: ::String
712
+ }?,
713
+ type: ("S3")
714
+ },
715
+ ]
640
716
  }?
641
717
  }?
642
718
  },
643
719
  name: ::String,
644
720
  role_arn: ::String,
645
- storage_configuration: {
721
+ ?storage_configuration: {
646
722
  mongo_db_atlas_configuration: {
647
723
  collection_name: ::String,
648
724
  credentials_secret_arn: ::String,
@@ -1762,7 +1838,7 @@ module Aws
1762
1838
  tenant_id: ::String?
1763
1839
  }
1764
1840
  }?,
1765
- type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM"),
1841
+ type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA"),
1766
1842
  web_configuration: {
1767
1843
  crawler_configuration: {
1768
1844
  crawler_limits: {
@@ -1829,13 +1905,17 @@ module Aws
1829
1905
  ]
1830
1906
  }?,
1831
1907
  parsing_configuration: {
1908
+ bedrock_data_automation_configuration: {
1909
+ parsing_modality: ("MULTIMODAL")?
1910
+ }?,
1832
1911
  bedrock_foundation_model_configuration: {
1833
1912
  model_arn: ::String,
1913
+ parsing_modality: ("MULTIMODAL")?,
1834
1914
  parsing_prompt: {
1835
1915
  parsing_prompt_text: ::String
1836
1916
  }?
1837
1917
  }?,
1838
- parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
1918
+ parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION")
1839
1919
  }?
1840
1920
  }
1841
1921
  ) -> _UpdateDataSourceResponseSuccess
@@ -2066,7 +2146,69 @@ module Aws
2066
2146
  def update_knowledge_base: (
2067
2147
  ?description: ::String,
2068
2148
  knowledge_base_configuration: {
2069
- type: ("VECTOR"),
2149
+ kendra_knowledge_base_configuration: {
2150
+ kendra_index_arn: ::String
2151
+ }?,
2152
+ sql_knowledge_base_configuration: {
2153
+ redshift_configuration: {
2154
+ query_engine_configuration: {
2155
+ provisioned_configuration: {
2156
+ auth_configuration: {
2157
+ database_user: ::String?,
2158
+ type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME"),
2159
+ username_password_secret_arn: ::String?
2160
+ },
2161
+ cluster_identifier: ::String
2162
+ }?,
2163
+ serverless_configuration: {
2164
+ auth_configuration: {
2165
+ type: ("IAM" | "USERNAME_PASSWORD"),
2166
+ username_password_secret_arn: ::String?
2167
+ },
2168
+ workgroup_arn: ::String
2169
+ }?,
2170
+ type: ("SERVERLESS" | "PROVISIONED")
2171
+ },
2172
+ query_generation_configuration: {
2173
+ execution_timeout_seconds: ::Integer?,
2174
+ generation_context: {
2175
+ curated_queries: Array[
2176
+ {
2177
+ natural_language: ::String,
2178
+ sql: ::String
2179
+ },
2180
+ ]?,
2181
+ tables: Array[
2182
+ {
2183
+ columns: Array[
2184
+ {
2185
+ description: ::String?,
2186
+ inclusion: ("INCLUDE" | "EXCLUDE")?,
2187
+ name: ::String?
2188
+ },
2189
+ ]?,
2190
+ description: ::String?,
2191
+ inclusion: ("INCLUDE" | "EXCLUDE")?,
2192
+ name: ::String
2193
+ },
2194
+ ]?
2195
+ }?
2196
+ }?,
2197
+ storage_configurations: Array[
2198
+ {
2199
+ aws_data_catalog_configuration: {
2200
+ table_names: Array[::String]
2201
+ }?,
2202
+ redshift_configuration: {
2203
+ database_name: ::String
2204
+ }?,
2205
+ type: ("REDSHIFT" | "AWS_DATA_CATALOG")
2206
+ },
2207
+ ]
2208
+ }?,
2209
+ type: ("REDSHIFT")
2210
+ }?,
2211
+ type: ("VECTOR" | "KENDRA" | "SQL"),
2070
2212
  vector_knowledge_base_configuration: {
2071
2213
  embedding_model_arn: ::String,
2072
2214
  embedding_model_configuration: {
@@ -2074,13 +2216,23 @@ module Aws
2074
2216
  dimensions: ::Integer?,
2075
2217
  embedding_data_type: ("FLOAT32" | "BINARY")?
2076
2218
  }?
2219
+ }?,
2220
+ supplemental_data_storage_configuration: {
2221
+ storage_locations: Array[
2222
+ {
2223
+ s3_location: {
2224
+ uri: ::String
2225
+ }?,
2226
+ type: ("S3")
2227
+ },
2228
+ ]
2077
2229
  }?
2078
2230
  }?
2079
2231
  },
2080
2232
  knowledge_base_id: ::String,
2081
2233
  name: ::String,
2082
2234
  role_arn: ::String,
2083
- storage_configuration: {
2235
+ ?storage_configuration: {
2084
2236
  mongo_db_atlas_configuration: {
2085
2237
  collection_name: ::String,
2086
2238
  credentials_secret_arn: ::String,
data/sig/types.rbs CHANGED
@@ -271,6 +271,11 @@ module Aws::BedrockAgent
271
271
  class AutoToolChoice < Aws::EmptyStructure
272
272
  end
273
273
 
274
+ class BedrockDataAutomationConfiguration
275
+ attr_accessor parsing_modality: ("MULTIMODAL")
276
+ SENSITIVE: []
277
+ end
278
+
274
279
  class BedrockEmbeddingModelConfiguration
275
280
  attr_accessor dimensions: ::Integer
276
281
  attr_accessor embedding_data_type: ("FLOAT32" | "BINARY")
@@ -279,6 +284,7 @@ module Aws::BedrockAgent
279
284
 
280
285
  class BedrockFoundationModelConfiguration
281
286
  attr_accessor model_arn: ::String
287
+ attr_accessor parsing_modality: ("MULTIMODAL")
282
288
  attr_accessor parsing_prompt: Types::ParsingPrompt
283
289
  SENSITIVE: []
284
290
  end
@@ -561,6 +567,12 @@ module Aws::BedrockAgent
561
567
  SENSITIVE: [:variants]
562
568
  end
563
569
 
570
+ class CuratedQuery
571
+ attr_accessor natural_language: ::String
572
+ attr_accessor sql: ::String
573
+ SENSITIVE: []
574
+ end
575
+
564
576
  class CustomContent
565
577
  attr_accessor custom_document_identifier: Types::CustomDocumentIdentifier
566
578
  attr_accessor inline_content: Types::InlineContent
@@ -617,7 +629,7 @@ module Aws::BedrockAgent
617
629
  attr_accessor s3_configuration: Types::S3DataSourceConfiguration
618
630
  attr_accessor salesforce_configuration: Types::SalesforceDataSourceConfiguration
619
631
  attr_accessor share_point_configuration: Types::SharePointDataSourceConfiguration
620
- attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM")
632
+ attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA")
621
633
  attr_accessor web_configuration: Types::WebDataSourceConfiguration
622
634
  SENSITIVE: []
623
635
  end
@@ -1399,6 +1411,11 @@ module Aws::BedrockAgent
1399
1411
  class IteratorFlowNodeConfiguration < Aws::EmptyStructure
1400
1412
  end
1401
1413
 
1414
+ class KendraKnowledgeBaseConfiguration
1415
+ attr_accessor kendra_index_arn: ::String
1416
+ SENSITIVE: []
1417
+ end
1418
+
1402
1419
  class KnowledgeBase
1403
1420
  attr_accessor created_at: ::Time
1404
1421
  attr_accessor description: ::String
@@ -1415,7 +1432,9 @@ module Aws::BedrockAgent
1415
1432
  end
1416
1433
 
1417
1434
  class KnowledgeBaseConfiguration
1418
- attr_accessor type: ("VECTOR")
1435
+ attr_accessor kendra_knowledge_base_configuration: Types::KendraKnowledgeBaseConfiguration
1436
+ attr_accessor sql_knowledge_base_configuration: Types::SqlKnowledgeBaseConfiguration
1437
+ attr_accessor type: ("VECTOR" | "KENDRA" | "SQL")
1419
1438
  attr_accessor vector_knowledge_base_configuration: Types::VectorKnowledgeBaseConfiguration
1420
1439
  SENSITIVE: []
1421
1440
  end
@@ -1807,8 +1826,9 @@ module Aws::BedrockAgent
1807
1826
  end
1808
1827
 
1809
1828
  class ParsingConfiguration
1829
+ attr_accessor bedrock_data_automation_configuration: Types::BedrockDataAutomationConfiguration
1810
1830
  attr_accessor bedrock_foundation_model_configuration: Types::BedrockFoundationModelConfiguration
1811
- attr_accessor parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
1831
+ attr_accessor parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION")
1812
1832
  SENSITIVE: []
1813
1833
  end
1814
1834
 
@@ -2001,6 +2021,33 @@ module Aws::BedrockAgent
2001
2021
  SENSITIVE: [:gen_ai_resource, :metadata]
2002
2022
  end
2003
2023
 
2024
+ class QueryGenerationColumn
2025
+ attr_accessor description: ::String
2026
+ attr_accessor inclusion: ("INCLUDE" | "EXCLUDE")
2027
+ attr_accessor name: ::String
2028
+ SENSITIVE: []
2029
+ end
2030
+
2031
+ class QueryGenerationConfiguration
2032
+ attr_accessor execution_timeout_seconds: ::Integer
2033
+ attr_accessor generation_context: Types::QueryGenerationContext
2034
+ SENSITIVE: [:generation_context]
2035
+ end
2036
+
2037
+ class QueryGenerationContext
2038
+ attr_accessor curated_queries: ::Array[Types::CuratedQuery]
2039
+ attr_accessor tables: ::Array[Types::QueryGenerationTable]
2040
+ SENSITIVE: []
2041
+ end
2042
+
2043
+ class QueryGenerationTable
2044
+ attr_accessor columns: ::Array[Types::QueryGenerationColumn]
2045
+ attr_accessor description: ::String
2046
+ attr_accessor inclusion: ("INCLUDE" | "EXCLUDE")
2047
+ attr_accessor name: ::String
2048
+ SENSITIVE: []
2049
+ end
2050
+
2004
2051
  class RdsConfiguration
2005
2052
  attr_accessor credentials_secret_arn: ::String
2006
2053
  attr_accessor database_name: ::String
@@ -2033,6 +2080,62 @@ module Aws::BedrockAgent
2033
2080
  SENSITIVE: []
2034
2081
  end
2035
2082
 
2083
+ class RedshiftConfiguration
2084
+ attr_accessor query_engine_configuration: Types::RedshiftQueryEngineConfiguration
2085
+ attr_accessor query_generation_configuration: Types::QueryGenerationConfiguration
2086
+ attr_accessor storage_configurations: ::Array[Types::RedshiftQueryEngineStorageConfiguration]
2087
+ SENSITIVE: []
2088
+ end
2089
+
2090
+ class RedshiftProvisionedAuthConfiguration
2091
+ attr_accessor database_user: ::String
2092
+ attr_accessor type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME")
2093
+ attr_accessor username_password_secret_arn: ::String
2094
+ SENSITIVE: []
2095
+ end
2096
+
2097
+ class RedshiftProvisionedConfiguration
2098
+ attr_accessor auth_configuration: Types::RedshiftProvisionedAuthConfiguration
2099
+ attr_accessor cluster_identifier: ::String
2100
+ SENSITIVE: []
2101
+ end
2102
+
2103
+ class RedshiftQueryEngineAwsDataCatalogStorageConfiguration
2104
+ attr_accessor table_names: ::Array[::String]
2105
+ SENSITIVE: []
2106
+ end
2107
+
2108
+ class RedshiftQueryEngineConfiguration
2109
+ attr_accessor provisioned_configuration: Types::RedshiftProvisionedConfiguration
2110
+ attr_accessor serverless_configuration: Types::RedshiftServerlessConfiguration
2111
+ attr_accessor type: ("SERVERLESS" | "PROVISIONED")
2112
+ SENSITIVE: []
2113
+ end
2114
+
2115
+ class RedshiftQueryEngineRedshiftStorageConfiguration
2116
+ attr_accessor database_name: ::String
2117
+ SENSITIVE: []
2118
+ end
2119
+
2120
+ class RedshiftQueryEngineStorageConfiguration
2121
+ attr_accessor aws_data_catalog_configuration: Types::RedshiftQueryEngineAwsDataCatalogStorageConfiguration
2122
+ attr_accessor redshift_configuration: Types::RedshiftQueryEngineRedshiftStorageConfiguration
2123
+ attr_accessor type: ("REDSHIFT" | "AWS_DATA_CATALOG")
2124
+ SENSITIVE: []
2125
+ end
2126
+
2127
+ class RedshiftServerlessAuthConfiguration
2128
+ attr_accessor type: ("IAM" | "USERNAME_PASSWORD")
2129
+ attr_accessor username_password_secret_arn: ::String
2130
+ SENSITIVE: []
2131
+ end
2132
+
2133
+ class RedshiftServerlessConfiguration
2134
+ attr_accessor auth_configuration: Types::RedshiftServerlessAuthConfiguration
2135
+ attr_accessor workgroup_arn: ::String
2136
+ SENSITIVE: []
2137
+ end
2138
+
2036
2139
  class ResourceNotFoundException
2037
2140
  attr_accessor message: ::String
2038
2141
  SENSITIVE: []
@@ -2148,6 +2251,12 @@ module Aws::BedrockAgent
2148
2251
  SENSITIVE: []
2149
2252
  end
2150
2253
 
2254
+ class SqlKnowledgeBaseConfiguration
2255
+ attr_accessor redshift_configuration: Types::RedshiftConfiguration
2256
+ attr_accessor type: ("REDSHIFT")
2257
+ SENSITIVE: []
2258
+ end
2259
+
2151
2260
  class StartIngestionJobRequest
2152
2261
  attr_accessor client_token: ::String
2153
2262
  attr_accessor data_source_id: ::String
@@ -2204,6 +2313,17 @@ module Aws::BedrockAgent
2204
2313
  end
2205
2314
  end
2206
2315
 
2316
+ class SupplementalDataStorageConfiguration
2317
+ attr_accessor storage_locations: ::Array[Types::SupplementalDataStorageLocation]
2318
+ SENSITIVE: []
2319
+ end
2320
+
2321
+ class SupplementalDataStorageLocation
2322
+ attr_accessor s3_location: Types::S3Location
2323
+ attr_accessor type: ("S3")
2324
+ SENSITIVE: []
2325
+ end
2326
+
2207
2327
  class SystemContentBlock
2208
2328
  attr_accessor text: ::String
2209
2329
  attr_accessor unknown: untyped
@@ -2586,6 +2706,7 @@ module Aws::BedrockAgent
2586
2706
  class VectorKnowledgeBaseConfiguration
2587
2707
  attr_accessor embedding_model_arn: ::String
2588
2708
  attr_accessor embedding_model_configuration: Types::EmbeddingModelConfiguration
2709
+ attr_accessor supplemental_data_storage_configuration: Types::SupplementalDataStorageConfiguration
2589
2710
  SENSITIVE: []
2590
2711
  end
2591
2712
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.39.0
4
+ version: 1.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-03 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core