aws-sdk-bedrockagent 1.39.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +299 -31
- data/lib/aws-sdk-bedrockagent/client_api.rb +152 -3
- data/lib/aws-sdk-bedrockagent/types.rb +537 -26
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +176 -14
- data/sig/types.rbs +135 -6
- metadata +2 -2
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -133,6 +133,9 @@ module Aws
|
|
133
133
|
?instruction: ::String,
|
134
134
|
?memory_configuration: {
|
135
135
|
enabled_memory_types: Array[("SESSION_SUMMARY")],
|
136
|
+
session_summary_configuration: {
|
137
|
+
max_recent_sessions: ::Integer?
|
138
|
+
}?,
|
136
139
|
storage_days: ::Integer?
|
137
140
|
},
|
138
141
|
?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
|
@@ -152,7 +155,7 @@ module Aws
|
|
152
155
|
parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
153
156
|
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
154
157
|
prompt_state: ("ENABLED" | "DISABLED")?,
|
155
|
-
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?
|
158
|
+
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")?
|
156
159
|
},
|
157
160
|
]
|
158
161
|
},
|
@@ -294,7 +297,7 @@ module Aws
|
|
294
297
|
}?
|
295
298
|
}?,
|
296
299
|
source_configuration: {
|
297
|
-
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
300
|
+
auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"),
|
298
301
|
credentials_secret_arn: ::String,
|
299
302
|
domain: ::String,
|
300
303
|
host_type: ("ONLINE"),
|
@@ -302,15 +305,17 @@ module Aws
|
|
302
305
|
tenant_id: ::String?
|
303
306
|
}
|
304
307
|
}?,
|
305
|
-
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM"),
|
308
|
+
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA"),
|
306
309
|
web_configuration: {
|
307
310
|
crawler_configuration: {
|
308
311
|
crawler_limits: {
|
312
|
+
max_pages: ::Integer?,
|
309
313
|
rate_limit: ::Integer?
|
310
314
|
}?,
|
311
315
|
exclusion_filters: Array[::String]?,
|
312
316
|
inclusion_filters: Array[::String]?,
|
313
|
-
scope: ("HOST_ONLY" | "SUBDOMAINS")
|
317
|
+
scope: ("HOST_ONLY" | "SUBDOMAINS")?,
|
318
|
+
user_agent: ::String?
|
314
319
|
}?,
|
315
320
|
source_configuration: {
|
316
321
|
url_configuration: {
|
@@ -368,13 +373,17 @@ module Aws
|
|
368
373
|
]
|
369
374
|
}?,
|
370
375
|
parsing_configuration: {
|
376
|
+
bedrock_data_automation_configuration: {
|
377
|
+
parsing_modality: ("MULTIMODAL")?
|
378
|
+
}?,
|
371
379
|
bedrock_foundation_model_configuration: {
|
372
380
|
model_arn: ::String,
|
381
|
+
parsing_modality: ("MULTIMODAL")?,
|
373
382
|
parsing_prompt: {
|
374
383
|
parsing_prompt_text: ::String
|
375
384
|
}?
|
376
385
|
}?,
|
377
|
-
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
|
386
|
+
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION")
|
378
387
|
}?
|
379
388
|
}
|
380
389
|
) -> _CreateDataSourceResponseSuccess
|
@@ -629,7 +638,69 @@ module Aws
|
|
629
638
|
?client_token: ::String,
|
630
639
|
?description: ::String,
|
631
640
|
knowledge_base_configuration: {
|
632
|
-
|
641
|
+
kendra_knowledge_base_configuration: {
|
642
|
+
kendra_index_arn: ::String
|
643
|
+
}?,
|
644
|
+
sql_knowledge_base_configuration: {
|
645
|
+
redshift_configuration: {
|
646
|
+
query_engine_configuration: {
|
647
|
+
provisioned_configuration: {
|
648
|
+
auth_configuration: {
|
649
|
+
database_user: ::String?,
|
650
|
+
type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME"),
|
651
|
+
username_password_secret_arn: ::String?
|
652
|
+
},
|
653
|
+
cluster_identifier: ::String
|
654
|
+
}?,
|
655
|
+
serverless_configuration: {
|
656
|
+
auth_configuration: {
|
657
|
+
type: ("IAM" | "USERNAME_PASSWORD"),
|
658
|
+
username_password_secret_arn: ::String?
|
659
|
+
},
|
660
|
+
workgroup_arn: ::String
|
661
|
+
}?,
|
662
|
+
type: ("SERVERLESS" | "PROVISIONED")
|
663
|
+
},
|
664
|
+
query_generation_configuration: {
|
665
|
+
execution_timeout_seconds: ::Integer?,
|
666
|
+
generation_context: {
|
667
|
+
curated_queries: Array[
|
668
|
+
{
|
669
|
+
natural_language: ::String,
|
670
|
+
sql: ::String
|
671
|
+
},
|
672
|
+
]?,
|
673
|
+
tables: Array[
|
674
|
+
{
|
675
|
+
columns: Array[
|
676
|
+
{
|
677
|
+
description: ::String?,
|
678
|
+
inclusion: ("INCLUDE" | "EXCLUDE")?,
|
679
|
+
name: ::String?
|
680
|
+
},
|
681
|
+
]?,
|
682
|
+
description: ::String?,
|
683
|
+
inclusion: ("INCLUDE" | "EXCLUDE")?,
|
684
|
+
name: ::String
|
685
|
+
},
|
686
|
+
]?
|
687
|
+
}?
|
688
|
+
}?,
|
689
|
+
storage_configurations: Array[
|
690
|
+
{
|
691
|
+
aws_data_catalog_configuration: {
|
692
|
+
table_names: Array[::String]
|
693
|
+
}?,
|
694
|
+
redshift_configuration: {
|
695
|
+
database_name: ::String
|
696
|
+
}?,
|
697
|
+
type: ("REDSHIFT" | "AWS_DATA_CATALOG")
|
698
|
+
},
|
699
|
+
]
|
700
|
+
}?,
|
701
|
+
type: ("REDSHIFT")
|
702
|
+
}?,
|
703
|
+
type: ("VECTOR" | "KENDRA" | "SQL"),
|
633
704
|
vector_knowledge_base_configuration: {
|
634
705
|
embedding_model_arn: ::String,
|
635
706
|
embedding_model_configuration: {
|
@@ -637,12 +708,22 @@ module Aws
|
|
637
708
|
dimensions: ::Integer?,
|
638
709
|
embedding_data_type: ("FLOAT32" | "BINARY")?
|
639
710
|
}?
|
711
|
+
}?,
|
712
|
+
supplemental_data_storage_configuration: {
|
713
|
+
storage_locations: Array[
|
714
|
+
{
|
715
|
+
s3_location: {
|
716
|
+
uri: ::String
|
717
|
+
}?,
|
718
|
+
type: ("S3")
|
719
|
+
},
|
720
|
+
]
|
640
721
|
}?
|
641
722
|
}?
|
642
723
|
},
|
643
724
|
name: ::String,
|
644
725
|
role_arn: ::String,
|
645
|
-
storage_configuration: {
|
726
|
+
?storage_configuration: {
|
646
727
|
mongo_db_atlas_configuration: {
|
647
728
|
collection_name: ::String,
|
648
729
|
credentials_secret_arn: ::String,
|
@@ -1564,6 +1645,9 @@ module Aws
|
|
1564
1645
|
?instruction: ::String,
|
1565
1646
|
?memory_configuration: {
|
1566
1647
|
enabled_memory_types: Array[("SESSION_SUMMARY")],
|
1648
|
+
session_summary_configuration: {
|
1649
|
+
max_recent_sessions: ::Integer?
|
1650
|
+
}?,
|
1567
1651
|
storage_days: ::Integer?
|
1568
1652
|
},
|
1569
1653
|
?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
|
@@ -1583,7 +1667,7 @@ module Aws
|
|
1583
1667
|
parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
1584
1668
|
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
1585
1669
|
prompt_state: ("ENABLED" | "DISABLED")?,
|
1586
|
-
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?
|
1670
|
+
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")?
|
1587
1671
|
},
|
1588
1672
|
]
|
1589
1673
|
}
|
@@ -1754,7 +1838,7 @@ module Aws
|
|
1754
1838
|
}?
|
1755
1839
|
}?,
|
1756
1840
|
source_configuration: {
|
1757
|
-
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
1841
|
+
auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"),
|
1758
1842
|
credentials_secret_arn: ::String,
|
1759
1843
|
domain: ::String,
|
1760
1844
|
host_type: ("ONLINE"),
|
@@ -1762,15 +1846,17 @@ module Aws
|
|
1762
1846
|
tenant_id: ::String?
|
1763
1847
|
}
|
1764
1848
|
}?,
|
1765
|
-
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM"),
|
1849
|
+
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA"),
|
1766
1850
|
web_configuration: {
|
1767
1851
|
crawler_configuration: {
|
1768
1852
|
crawler_limits: {
|
1853
|
+
max_pages: ::Integer?,
|
1769
1854
|
rate_limit: ::Integer?
|
1770
1855
|
}?,
|
1771
1856
|
exclusion_filters: Array[::String]?,
|
1772
1857
|
inclusion_filters: Array[::String]?,
|
1773
|
-
scope: ("HOST_ONLY" | "SUBDOMAINS")
|
1858
|
+
scope: ("HOST_ONLY" | "SUBDOMAINS")?,
|
1859
|
+
user_agent: ::String?
|
1774
1860
|
}?,
|
1775
1861
|
source_configuration: {
|
1776
1862
|
url_configuration: {
|
@@ -1829,13 +1915,17 @@ module Aws
|
|
1829
1915
|
]
|
1830
1916
|
}?,
|
1831
1917
|
parsing_configuration: {
|
1918
|
+
bedrock_data_automation_configuration: {
|
1919
|
+
parsing_modality: ("MULTIMODAL")?
|
1920
|
+
}?,
|
1832
1921
|
bedrock_foundation_model_configuration: {
|
1833
1922
|
model_arn: ::String,
|
1923
|
+
parsing_modality: ("MULTIMODAL")?,
|
1834
1924
|
parsing_prompt: {
|
1835
1925
|
parsing_prompt_text: ::String
|
1836
1926
|
}?
|
1837
1927
|
}?,
|
1838
|
-
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
|
1928
|
+
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION")
|
1839
1929
|
}?
|
1840
1930
|
}
|
1841
1931
|
) -> _UpdateDataSourceResponseSuccess
|
@@ -2066,7 +2156,69 @@ module Aws
|
|
2066
2156
|
def update_knowledge_base: (
|
2067
2157
|
?description: ::String,
|
2068
2158
|
knowledge_base_configuration: {
|
2069
|
-
|
2159
|
+
kendra_knowledge_base_configuration: {
|
2160
|
+
kendra_index_arn: ::String
|
2161
|
+
}?,
|
2162
|
+
sql_knowledge_base_configuration: {
|
2163
|
+
redshift_configuration: {
|
2164
|
+
query_engine_configuration: {
|
2165
|
+
provisioned_configuration: {
|
2166
|
+
auth_configuration: {
|
2167
|
+
database_user: ::String?,
|
2168
|
+
type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME"),
|
2169
|
+
username_password_secret_arn: ::String?
|
2170
|
+
},
|
2171
|
+
cluster_identifier: ::String
|
2172
|
+
}?,
|
2173
|
+
serverless_configuration: {
|
2174
|
+
auth_configuration: {
|
2175
|
+
type: ("IAM" | "USERNAME_PASSWORD"),
|
2176
|
+
username_password_secret_arn: ::String?
|
2177
|
+
},
|
2178
|
+
workgroup_arn: ::String
|
2179
|
+
}?,
|
2180
|
+
type: ("SERVERLESS" | "PROVISIONED")
|
2181
|
+
},
|
2182
|
+
query_generation_configuration: {
|
2183
|
+
execution_timeout_seconds: ::Integer?,
|
2184
|
+
generation_context: {
|
2185
|
+
curated_queries: Array[
|
2186
|
+
{
|
2187
|
+
natural_language: ::String,
|
2188
|
+
sql: ::String
|
2189
|
+
},
|
2190
|
+
]?,
|
2191
|
+
tables: Array[
|
2192
|
+
{
|
2193
|
+
columns: Array[
|
2194
|
+
{
|
2195
|
+
description: ::String?,
|
2196
|
+
inclusion: ("INCLUDE" | "EXCLUDE")?,
|
2197
|
+
name: ::String?
|
2198
|
+
},
|
2199
|
+
]?,
|
2200
|
+
description: ::String?,
|
2201
|
+
inclusion: ("INCLUDE" | "EXCLUDE")?,
|
2202
|
+
name: ::String
|
2203
|
+
},
|
2204
|
+
]?
|
2205
|
+
}?
|
2206
|
+
}?,
|
2207
|
+
storage_configurations: Array[
|
2208
|
+
{
|
2209
|
+
aws_data_catalog_configuration: {
|
2210
|
+
table_names: Array[::String]
|
2211
|
+
}?,
|
2212
|
+
redshift_configuration: {
|
2213
|
+
database_name: ::String
|
2214
|
+
}?,
|
2215
|
+
type: ("REDSHIFT" | "AWS_DATA_CATALOG")
|
2216
|
+
},
|
2217
|
+
]
|
2218
|
+
}?,
|
2219
|
+
type: ("REDSHIFT")
|
2220
|
+
}?,
|
2221
|
+
type: ("VECTOR" | "KENDRA" | "SQL"),
|
2070
2222
|
vector_knowledge_base_configuration: {
|
2071
2223
|
embedding_model_arn: ::String,
|
2072
2224
|
embedding_model_configuration: {
|
@@ -2074,13 +2226,23 @@ module Aws
|
|
2074
2226
|
dimensions: ::Integer?,
|
2075
2227
|
embedding_data_type: ("FLOAT32" | "BINARY")?
|
2076
2228
|
}?
|
2229
|
+
}?,
|
2230
|
+
supplemental_data_storage_configuration: {
|
2231
|
+
storage_locations: Array[
|
2232
|
+
{
|
2233
|
+
s3_location: {
|
2234
|
+
uri: ::String
|
2235
|
+
}?,
|
2236
|
+
type: ("S3")
|
2237
|
+
},
|
2238
|
+
]
|
2077
2239
|
}?
|
2078
2240
|
}?
|
2079
2241
|
},
|
2080
2242
|
knowledge_base_id: ::String,
|
2081
2243
|
name: ::String,
|
2082
2244
|
role_arn: ::String,
|
2083
|
-
storage_configuration: {
|
2245
|
+
?storage_configuration: {
|
2084
2246
|
mongo_db_atlas_configuration: {
|
2085
2247
|
collection_name: ::String,
|
2086
2248
|
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
|
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
|
@@ -1675,6 +1694,7 @@ module Aws::BedrockAgent
|
|
1675
1694
|
|
1676
1695
|
class MemoryConfiguration
|
1677
1696
|
attr_accessor enabled_memory_types: ::Array[("SESSION_SUMMARY")]
|
1697
|
+
attr_accessor session_summary_configuration: Types::SessionSummaryConfiguration
|
1678
1698
|
attr_accessor storage_days: ::Integer
|
1679
1699
|
SENSITIVE: []
|
1680
1700
|
end
|
@@ -1807,8 +1827,9 @@ module Aws::BedrockAgent
|
|
1807
1827
|
end
|
1808
1828
|
|
1809
1829
|
class ParsingConfiguration
|
1830
|
+
attr_accessor bedrock_data_automation_configuration: Types::BedrockDataAutomationConfiguration
|
1810
1831
|
attr_accessor bedrock_foundation_model_configuration: Types::BedrockFoundationModelConfiguration
|
1811
|
-
attr_accessor parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
|
1832
|
+
attr_accessor parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION")
|
1812
1833
|
SENSITIVE: []
|
1813
1834
|
end
|
1814
1835
|
|
@@ -1879,7 +1900,7 @@ module Aws::BedrockAgent
|
|
1879
1900
|
attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
1880
1901
|
attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
|
1881
1902
|
attr_accessor prompt_state: ("ENABLED" | "DISABLED")
|
1882
|
-
attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")
|
1903
|
+
attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")
|
1883
1904
|
SENSITIVE: [:base_prompt_template]
|
1884
1905
|
end
|
1885
1906
|
|
@@ -2001,6 +2022,33 @@ module Aws::BedrockAgent
|
|
2001
2022
|
SENSITIVE: [:gen_ai_resource, :metadata]
|
2002
2023
|
end
|
2003
2024
|
|
2025
|
+
class QueryGenerationColumn
|
2026
|
+
attr_accessor description: ::String
|
2027
|
+
attr_accessor inclusion: ("INCLUDE" | "EXCLUDE")
|
2028
|
+
attr_accessor name: ::String
|
2029
|
+
SENSITIVE: []
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
class QueryGenerationConfiguration
|
2033
|
+
attr_accessor execution_timeout_seconds: ::Integer
|
2034
|
+
attr_accessor generation_context: Types::QueryGenerationContext
|
2035
|
+
SENSITIVE: [:generation_context]
|
2036
|
+
end
|
2037
|
+
|
2038
|
+
class QueryGenerationContext
|
2039
|
+
attr_accessor curated_queries: ::Array[Types::CuratedQuery]
|
2040
|
+
attr_accessor tables: ::Array[Types::QueryGenerationTable]
|
2041
|
+
SENSITIVE: []
|
2042
|
+
end
|
2043
|
+
|
2044
|
+
class QueryGenerationTable
|
2045
|
+
attr_accessor columns: ::Array[Types::QueryGenerationColumn]
|
2046
|
+
attr_accessor description: ::String
|
2047
|
+
attr_accessor inclusion: ("INCLUDE" | "EXCLUDE")
|
2048
|
+
attr_accessor name: ::String
|
2049
|
+
SENSITIVE: []
|
2050
|
+
end
|
2051
|
+
|
2004
2052
|
class RdsConfiguration
|
2005
2053
|
attr_accessor credentials_secret_arn: ::String
|
2006
2054
|
attr_accessor database_name: ::String
|
@@ -2033,6 +2081,62 @@ module Aws::BedrockAgent
|
|
2033
2081
|
SENSITIVE: []
|
2034
2082
|
end
|
2035
2083
|
|
2084
|
+
class RedshiftConfiguration
|
2085
|
+
attr_accessor query_engine_configuration: Types::RedshiftQueryEngineConfiguration
|
2086
|
+
attr_accessor query_generation_configuration: Types::QueryGenerationConfiguration
|
2087
|
+
attr_accessor storage_configurations: ::Array[Types::RedshiftQueryEngineStorageConfiguration]
|
2088
|
+
SENSITIVE: []
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
class RedshiftProvisionedAuthConfiguration
|
2092
|
+
attr_accessor database_user: ::String
|
2093
|
+
attr_accessor type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME")
|
2094
|
+
attr_accessor username_password_secret_arn: ::String
|
2095
|
+
SENSITIVE: []
|
2096
|
+
end
|
2097
|
+
|
2098
|
+
class RedshiftProvisionedConfiguration
|
2099
|
+
attr_accessor auth_configuration: Types::RedshiftProvisionedAuthConfiguration
|
2100
|
+
attr_accessor cluster_identifier: ::String
|
2101
|
+
SENSITIVE: []
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
class RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
2105
|
+
attr_accessor table_names: ::Array[::String]
|
2106
|
+
SENSITIVE: []
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
class RedshiftQueryEngineConfiguration
|
2110
|
+
attr_accessor provisioned_configuration: Types::RedshiftProvisionedConfiguration
|
2111
|
+
attr_accessor serverless_configuration: Types::RedshiftServerlessConfiguration
|
2112
|
+
attr_accessor type: ("SERVERLESS" | "PROVISIONED")
|
2113
|
+
SENSITIVE: []
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
class RedshiftQueryEngineRedshiftStorageConfiguration
|
2117
|
+
attr_accessor database_name: ::String
|
2118
|
+
SENSITIVE: []
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
class RedshiftQueryEngineStorageConfiguration
|
2122
|
+
attr_accessor aws_data_catalog_configuration: Types::RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
2123
|
+
attr_accessor redshift_configuration: Types::RedshiftQueryEngineRedshiftStorageConfiguration
|
2124
|
+
attr_accessor type: ("REDSHIFT" | "AWS_DATA_CATALOG")
|
2125
|
+
SENSITIVE: []
|
2126
|
+
end
|
2127
|
+
|
2128
|
+
class RedshiftServerlessAuthConfiguration
|
2129
|
+
attr_accessor type: ("IAM" | "USERNAME_PASSWORD")
|
2130
|
+
attr_accessor username_password_secret_arn: ::String
|
2131
|
+
SENSITIVE: []
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
class RedshiftServerlessConfiguration
|
2135
|
+
attr_accessor auth_configuration: Types::RedshiftServerlessAuthConfiguration
|
2136
|
+
attr_accessor workgroup_arn: ::String
|
2137
|
+
SENSITIVE: []
|
2138
|
+
end
|
2139
|
+
|
2036
2140
|
class ResourceNotFoundException
|
2037
2141
|
attr_accessor message: ::String
|
2038
2142
|
SENSITIVE: []
|
@@ -2122,6 +2226,11 @@ module Aws::BedrockAgent
|
|
2122
2226
|
SENSITIVE: []
|
2123
2227
|
end
|
2124
2228
|
|
2229
|
+
class SessionSummaryConfiguration
|
2230
|
+
attr_accessor max_recent_sessions: ::Integer
|
2231
|
+
SENSITIVE: []
|
2232
|
+
end
|
2233
|
+
|
2125
2234
|
class SharePointCrawlerConfiguration
|
2126
2235
|
attr_accessor filter_configuration: Types::CrawlFilterConfiguration
|
2127
2236
|
SENSITIVE: []
|
@@ -2134,7 +2243,7 @@ module Aws::BedrockAgent
|
|
2134
2243
|
end
|
2135
2244
|
|
2136
2245
|
class SharePointSourceConfiguration
|
2137
|
-
attr_accessor auth_type: ("OAUTH2_CLIENT_CREDENTIALS")
|
2246
|
+
attr_accessor auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS")
|
2138
2247
|
attr_accessor credentials_secret_arn: ::String
|
2139
2248
|
attr_accessor domain: ::String
|
2140
2249
|
attr_accessor host_type: ("ONLINE")
|
@@ -2148,6 +2257,12 @@ module Aws::BedrockAgent
|
|
2148
2257
|
SENSITIVE: []
|
2149
2258
|
end
|
2150
2259
|
|
2260
|
+
class SqlKnowledgeBaseConfiguration
|
2261
|
+
attr_accessor redshift_configuration: Types::RedshiftConfiguration
|
2262
|
+
attr_accessor type: ("REDSHIFT")
|
2263
|
+
SENSITIVE: []
|
2264
|
+
end
|
2265
|
+
|
2151
2266
|
class StartIngestionJobRequest
|
2152
2267
|
attr_accessor client_token: ::String
|
2153
2268
|
attr_accessor data_source_id: ::String
|
@@ -2204,6 +2319,17 @@ module Aws::BedrockAgent
|
|
2204
2319
|
end
|
2205
2320
|
end
|
2206
2321
|
|
2322
|
+
class SupplementalDataStorageConfiguration
|
2323
|
+
attr_accessor storage_locations: ::Array[Types::SupplementalDataStorageLocation]
|
2324
|
+
SENSITIVE: []
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
class SupplementalDataStorageLocation
|
2328
|
+
attr_accessor s3_location: Types::S3Location
|
2329
|
+
attr_accessor type: ("S3")
|
2330
|
+
SENSITIVE: []
|
2331
|
+
end
|
2332
|
+
|
2207
2333
|
class SystemContentBlock
|
2208
2334
|
attr_accessor text: ::String
|
2209
2335
|
attr_accessor unknown: untyped
|
@@ -2586,6 +2712,7 @@ module Aws::BedrockAgent
|
|
2586
2712
|
class VectorKnowledgeBaseConfiguration
|
2587
2713
|
attr_accessor embedding_model_arn: ::String
|
2588
2714
|
attr_accessor embedding_model_configuration: Types::EmbeddingModelConfiguration
|
2715
|
+
attr_accessor supplemental_data_storage_configuration: Types::SupplementalDataStorageConfiguration
|
2589
2716
|
SENSITIVE: []
|
2590
2717
|
end
|
2591
2718
|
|
@@ -2594,10 +2721,12 @@ module Aws::BedrockAgent
|
|
2594
2721
|
attr_accessor exclusion_filters: ::Array[::String]
|
2595
2722
|
attr_accessor inclusion_filters: ::Array[::String]
|
2596
2723
|
attr_accessor scope: ("HOST_ONLY" | "SUBDOMAINS")
|
2597
|
-
|
2724
|
+
attr_accessor user_agent: ::String
|
2725
|
+
SENSITIVE: [:exclusion_filters, :inclusion_filters, :user_agent]
|
2598
2726
|
end
|
2599
2727
|
|
2600
2728
|
class WebCrawlerLimits
|
2729
|
+
attr_accessor max_pages: ::Integer
|
2601
2730
|
attr_accessor rate_limit: ::Integer
|
2602
2731
|
SENSITIVE: []
|
2603
2732
|
end
|
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.
|
4
|
+
version: 1.41.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-
|
11
|
+
date: 2024-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|