aws-sdk-bedrockagent 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +1004 -648
- data/lib/aws-sdk-bedrockagent/client_api.rb +142 -140
- data/lib/aws-sdk-bedrockagent/errors.rb +4 -4
- data/lib/aws-sdk-bedrockagent/types.rb +1605 -1079
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +137 -137
- data/sig/errors.rbs +1 -1
- data/sig/types.rbs +143 -141
- metadata +2 -2
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -80,8 +80,8 @@ module Aws
|
|
80
80
|
def associate_agent_knowledge_base: (
|
81
81
|
agent_id: ::String,
|
82
82
|
agent_version: ::String,
|
83
|
-
knowledge_base_id: ::String,
|
84
83
|
description: ::String,
|
84
|
+
knowledge_base_id: ::String,
|
85
85
|
?knowledge_base_state: ("ENABLED" | "DISABLED")
|
86
86
|
) -> _AssociateAgentKnowledgeBaseResponseSuccess
|
87
87
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateAgentKnowledgeBaseResponseSuccess
|
@@ -93,33 +93,33 @@ module Aws
|
|
93
93
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_agent-instance_method
|
94
94
|
def create_agent: (
|
95
95
|
agent_name: ::String,
|
96
|
+
?agent_resource_role_arn: ::String,
|
96
97
|
?client_token: ::String,
|
97
|
-
?
|
98
|
-
?foundation_model: ::String,
|
98
|
+
?customer_encryption_key_arn: ::String,
|
99
99
|
?description: ::String,
|
100
|
+
?foundation_model: ::String,
|
100
101
|
?idle_session_ttl_in_seconds: ::Integer,
|
101
|
-
|
102
|
-
?customer_encryption_key_arn: ::String,
|
103
|
-
?tags: Hash[::String, ::String],
|
102
|
+
?instruction: ::String,
|
104
103
|
?prompt_override_configuration: {
|
104
|
+
override_lambda: ::String?,
|
105
105
|
prompt_configurations: Array[
|
106
106
|
{
|
107
|
-
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?,
|
108
|
-
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
109
|
-
prompt_state: ("ENABLED" | "DISABLED")?,
|
110
107
|
base_prompt_template: ::String?,
|
111
108
|
inference_configuration: {
|
109
|
+
maximum_length: ::Integer?,
|
110
|
+
stop_sequences: Array[::String]?,
|
112
111
|
temperature: ::Float?,
|
113
|
-
top_p: ::Float?,
|
114
112
|
top_k: ::Integer?,
|
115
|
-
|
116
|
-
stop_sequences: Array[::String]?
|
113
|
+
top_p: ::Float?
|
117
114
|
}?,
|
118
|
-
parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
115
|
+
parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
116
|
+
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
117
|
+
prompt_state: ("ENABLED" | "DISABLED")?,
|
118
|
+
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?
|
119
119
|
},
|
120
|
-
]
|
121
|
-
|
122
|
-
|
120
|
+
]
|
121
|
+
},
|
122
|
+
?tags: Hash[::String, ::String]
|
123
123
|
) -> _CreateAgentResponseSuccess
|
124
124
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentResponseSuccess
|
125
125
|
|
@@ -129,23 +129,23 @@ module Aws
|
|
129
129
|
end
|
130
130
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_agent_action_group-instance_method
|
131
131
|
def create_agent_action_group: (
|
132
|
-
agent_id: ::String,
|
133
|
-
agent_version: ::String,
|
134
|
-
action_group_name: ::String,
|
135
|
-
?client_token: ::String,
|
136
|
-
?description: ::String,
|
137
|
-
?parent_action_group_signature: ("AMAZON.UserInput"),
|
138
132
|
?action_group_executor: {
|
139
133
|
lambda: ::String?
|
140
134
|
},
|
135
|
+
action_group_name: ::String,
|
136
|
+
?action_group_state: ("ENABLED" | "DISABLED"),
|
137
|
+
agent_id: ::String,
|
138
|
+
agent_version: ::String,
|
141
139
|
?api_schema: {
|
140
|
+
payload: ::String?,
|
142
141
|
s3: {
|
143
142
|
s3_bucket_name: ::String?,
|
144
143
|
s3_object_key: ::String?
|
145
|
-
}
|
146
|
-
payload: ::String?
|
144
|
+
}?
|
147
145
|
},
|
148
|
-
?
|
146
|
+
?client_token: ::String,
|
147
|
+
?description: ::String,
|
148
|
+
?parent_action_group_signature: ("AMAZON.UserInput")
|
149
149
|
) -> _CreateAgentActionGroupResponseSuccess
|
150
150
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentActionGroupResponseSuccess
|
151
151
|
|
@@ -155,8 +155,8 @@ module Aws
|
|
155
155
|
end
|
156
156
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_agent_alias-instance_method
|
157
157
|
def create_agent_alias: (
|
158
|
-
agent_id: ::String,
|
159
158
|
agent_alias_name: ::String,
|
159
|
+
agent_id: ::String,
|
160
160
|
?client_token: ::String,
|
161
161
|
?description: ::String,
|
162
162
|
?routing_configuration: Array[
|
@@ -174,17 +174,17 @@ module Aws
|
|
174
174
|
end
|
175
175
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_data_source-instance_method
|
176
176
|
def create_data_source: (
|
177
|
-
knowledge_base_id: ::String,
|
178
177
|
?client_token: ::String,
|
179
|
-
name: ::String,
|
180
|
-
?description: ::String,
|
181
178
|
data_source_configuration: {
|
182
|
-
type: ("S3"),
|
183
179
|
s3_configuration: {
|
184
180
|
bucket_arn: ::String,
|
185
181
|
inclusion_prefixes: Array[::String]?
|
186
|
-
}
|
182
|
+
}?,
|
183
|
+
type: ("S3")
|
187
184
|
},
|
185
|
+
?description: ::String,
|
186
|
+
knowledge_base_id: ::String,
|
187
|
+
name: ::String,
|
188
188
|
?server_side_encryption_configuration: {
|
189
189
|
kms_key_arn: ::String?
|
190
190
|
},
|
@@ -207,57 +207,57 @@ module Aws
|
|
207
207
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_knowledge_base-instance_method
|
208
208
|
def create_knowledge_base: (
|
209
209
|
?client_token: ::String,
|
210
|
-
name: ::String,
|
211
210
|
?description: ::String,
|
212
|
-
role_arn: ::String,
|
213
211
|
knowledge_base_configuration: {
|
214
212
|
type: ("VECTOR"),
|
215
213
|
vector_knowledge_base_configuration: {
|
216
214
|
embedding_model_arn: ::String
|
217
215
|
}?
|
218
216
|
},
|
217
|
+
name: ::String,
|
218
|
+
role_arn: ::String,
|
219
219
|
storage_configuration: {
|
220
|
-
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS"),
|
221
220
|
opensearch_serverless_configuration: {
|
222
221
|
collection_arn: ::String,
|
223
|
-
vector_index_name: ::String,
|
224
222
|
field_mapping: {
|
225
|
-
|
223
|
+
metadata_field: ::String,
|
226
224
|
text_field: ::String,
|
227
|
-
|
228
|
-
}
|
225
|
+
vector_field: ::String
|
226
|
+
},
|
227
|
+
vector_index_name: ::String
|
229
228
|
}?,
|
230
229
|
pinecone_configuration: {
|
231
230
|
connection_string: ::String,
|
232
231
|
credentials_secret_arn: ::String,
|
233
|
-
namespace: ::String?,
|
234
232
|
field_mapping: {
|
235
|
-
|
236
|
-
|
237
|
-
}
|
233
|
+
metadata_field: ::String,
|
234
|
+
text_field: ::String
|
235
|
+
},
|
236
|
+
namespace: ::String?
|
238
237
|
}?,
|
239
|
-
|
240
|
-
endpoint: ::String,
|
241
|
-
vector_index_name: ::String,
|
238
|
+
rds_configuration: {
|
242
239
|
credentials_secret_arn: ::String,
|
240
|
+
database_name: ::String,
|
243
241
|
field_mapping: {
|
244
|
-
|
242
|
+
metadata_field: ::String,
|
243
|
+
primary_key_field: ::String,
|
245
244
|
text_field: ::String,
|
246
|
-
|
247
|
-
}
|
248
|
-
}?,
|
249
|
-
rds_configuration: {
|
245
|
+
vector_field: ::String
|
246
|
+
},
|
250
247
|
resource_arn: ::String,
|
248
|
+
table_name: ::String
|
249
|
+
}?,
|
250
|
+
redis_enterprise_cloud_configuration: {
|
251
251
|
credentials_secret_arn: ::String,
|
252
|
-
|
253
|
-
table_name: ::String,
|
252
|
+
endpoint: ::String,
|
254
253
|
field_mapping: {
|
255
|
-
|
256
|
-
vector_field: ::String,
|
254
|
+
metadata_field: ::String,
|
257
255
|
text_field: ::String,
|
258
|
-
|
259
|
-
}
|
260
|
-
|
256
|
+
vector_field: ::String
|
257
|
+
},
|
258
|
+
vector_index_name: ::String
|
259
|
+
}?,
|
260
|
+
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
|
261
261
|
},
|
262
262
|
?tags: Hash[::String, ::String]
|
263
263
|
) -> _CreateKnowledgeBaseResponseSuccess
|
@@ -280,31 +280,31 @@ module Aws
|
|
280
280
|
end
|
281
281
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_agent_action_group-instance_method
|
282
282
|
def delete_agent_action_group: (
|
283
|
+
action_group_id: ::String,
|
283
284
|
agent_id: ::String,
|
284
285
|
agent_version: ::String,
|
285
|
-
action_group_id: ::String,
|
286
286
|
?skip_resource_in_use_check: bool
|
287
287
|
) -> _DeleteAgentActionGroupResponseSuccess
|
288
288
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentActionGroupResponseSuccess
|
289
289
|
|
290
290
|
interface _DeleteAgentAliasResponseSuccess
|
291
291
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentAliasResponse]
|
292
|
-
def agent_id: () -> ::String
|
293
292
|
def agent_alias_id: () -> ::String
|
294
293
|
def agent_alias_status: () -> ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
294
|
+
def agent_id: () -> ::String
|
295
295
|
end
|
296
296
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_agent_alias-instance_method
|
297
297
|
def delete_agent_alias: (
|
298
|
-
|
299
|
-
|
298
|
+
agent_alias_id: ::String,
|
299
|
+
agent_id: ::String
|
300
300
|
) -> _DeleteAgentAliasResponseSuccess
|
301
301
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentAliasResponseSuccess
|
302
302
|
|
303
303
|
interface _DeleteAgentVersionResponseSuccess
|
304
304
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentVersionResponse]
|
305
305
|
def agent_id: () -> ::String
|
306
|
-
def agent_version: () -> ::String
|
307
306
|
def agent_status: () -> ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
|
307
|
+
def agent_version: () -> ::String
|
308
308
|
end
|
309
309
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_agent_version-instance_method
|
310
310
|
def delete_agent_version: (
|
@@ -316,14 +316,14 @@ module Aws
|
|
316
316
|
|
317
317
|
interface _DeleteDataSourceResponseSuccess
|
318
318
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataSourceResponse]
|
319
|
-
def knowledge_base_id: () -> ::String
|
320
319
|
def data_source_id: () -> ::String
|
320
|
+
def knowledge_base_id: () -> ::String
|
321
321
|
def status: () -> ("AVAILABLE" | "DELETING")
|
322
322
|
end
|
323
323
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_data_source-instance_method
|
324
324
|
def delete_data_source: (
|
325
|
-
|
326
|
-
|
325
|
+
data_source_id: ::String,
|
326
|
+
knowledge_base_id: ::String
|
327
327
|
) -> _DeleteDataSourceResponseSuccess
|
328
328
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataSourceResponseSuccess
|
329
329
|
|
@@ -365,9 +365,9 @@ module Aws
|
|
365
365
|
end
|
366
366
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_agent_action_group-instance_method
|
367
367
|
def get_agent_action_group: (
|
368
|
+
action_group_id: ::String,
|
368
369
|
agent_id: ::String,
|
369
|
-
agent_version: ::String
|
370
|
-
action_group_id: ::String
|
370
|
+
agent_version: ::String
|
371
371
|
) -> _GetAgentActionGroupResponseSuccess
|
372
372
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentActionGroupResponseSuccess
|
373
373
|
|
@@ -377,8 +377,8 @@ module Aws
|
|
377
377
|
end
|
378
378
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_agent_alias-instance_method
|
379
379
|
def get_agent_alias: (
|
380
|
-
|
381
|
-
|
380
|
+
agent_alias_id: ::String,
|
381
|
+
agent_id: ::String
|
382
382
|
) -> _GetAgentAliasResponseSuccess
|
383
383
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentAliasResponseSuccess
|
384
384
|
|
@@ -411,8 +411,8 @@ module Aws
|
|
411
411
|
end
|
412
412
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_data_source-instance_method
|
413
413
|
def get_data_source: (
|
414
|
-
|
415
|
-
|
414
|
+
data_source_id: ::String,
|
415
|
+
knowledge_base_id: ::String
|
416
416
|
) -> _GetDataSourceResponseSuccess
|
417
417
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataSourceResponseSuccess
|
418
418
|
|
@@ -422,9 +422,9 @@ module Aws
|
|
422
422
|
end
|
423
423
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_ingestion_job-instance_method
|
424
424
|
def get_ingestion_job: (
|
425
|
-
knowledge_base_id: ::String,
|
426
425
|
data_source_id: ::String,
|
427
|
-
ingestion_job_id: ::String
|
426
|
+
ingestion_job_id: ::String,
|
427
|
+
knowledge_base_id: ::String
|
428
428
|
) -> _GetIngestionJobResponseSuccess
|
429
429
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIngestionJobResponseSuccess
|
430
430
|
|
@@ -524,7 +524,6 @@ module Aws
|
|
524
524
|
end
|
525
525
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#list_ingestion_jobs-instance_method
|
526
526
|
def list_ingestion_jobs: (
|
527
|
-
knowledge_base_id: ::String,
|
528
527
|
data_source_id: ::String,
|
529
528
|
?filters: Array[
|
530
529
|
{
|
@@ -533,12 +532,13 @@ module Aws
|
|
533
532
|
values: Array[::String]
|
534
533
|
},
|
535
534
|
],
|
535
|
+
knowledge_base_id: ::String,
|
536
|
+
?max_results: ::Integer,
|
537
|
+
?next_token: ::String,
|
536
538
|
?sort_by: {
|
537
539
|
attribute: ("STATUS" | "STARTED_AT"),
|
538
540
|
order: ("ASCENDING" | "DESCENDING")
|
539
|
-
}
|
540
|
-
?max_results: ::Integer,
|
541
|
-
?next_token: ::String
|
541
|
+
}
|
542
542
|
) -> _ListIngestionJobsResponseSuccess
|
543
543
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIngestionJobsResponseSuccess
|
544
544
|
|
@@ -583,10 +583,10 @@ module Aws
|
|
583
583
|
end
|
584
584
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#start_ingestion_job-instance_method
|
585
585
|
def start_ingestion_job: (
|
586
|
-
knowledge_base_id: ::String,
|
587
|
-
data_source_id: ::String,
|
588
586
|
?client_token: ::String,
|
589
|
-
|
587
|
+
data_source_id: ::String,
|
588
|
+
?description: ::String,
|
589
|
+
knowledge_base_id: ::String
|
590
590
|
) -> _StartIngestionJobResponseSuccess
|
591
591
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartIngestionJobResponseSuccess
|
592
592
|
|
@@ -618,30 +618,30 @@ module Aws
|
|
618
618
|
def update_agent: (
|
619
619
|
agent_id: ::String,
|
620
620
|
agent_name: ::String,
|
621
|
-
?instruction: ::String,
|
622
|
-
?foundation_model: ::String,
|
623
|
-
?description: ::String,
|
624
|
-
?idle_session_ttl_in_seconds: ::Integer,
|
625
621
|
agent_resource_role_arn: ::String,
|
626
622
|
?customer_encryption_key_arn: ::String,
|
623
|
+
?description: ::String,
|
624
|
+
foundation_model: ::String,
|
625
|
+
?idle_session_ttl_in_seconds: ::Integer,
|
626
|
+
?instruction: ::String,
|
627
627
|
?prompt_override_configuration: {
|
628
|
+
override_lambda: ::String?,
|
628
629
|
prompt_configurations: Array[
|
629
630
|
{
|
630
|
-
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?,
|
631
|
-
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
632
|
-
prompt_state: ("ENABLED" | "DISABLED")?,
|
633
631
|
base_prompt_template: ::String?,
|
634
632
|
inference_configuration: {
|
633
|
+
maximum_length: ::Integer?,
|
634
|
+
stop_sequences: Array[::String]?,
|
635
635
|
temperature: ::Float?,
|
636
|
-
top_p: ::Float?,
|
637
636
|
top_k: ::Integer?,
|
638
|
-
|
639
|
-
stop_sequences: Array[::String]?
|
637
|
+
top_p: ::Float?
|
640
638
|
}?,
|
641
|
-
parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
639
|
+
parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
640
|
+
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
641
|
+
prompt_state: ("ENABLED" | "DISABLED")?,
|
642
|
+
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")?
|
642
643
|
},
|
643
|
-
]
|
644
|
-
override_lambda: ::String?
|
644
|
+
]
|
645
645
|
}
|
646
646
|
) -> _UpdateAgentResponseSuccess
|
647
647
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentResponseSuccess
|
@@ -652,23 +652,23 @@ module Aws
|
|
652
652
|
end
|
653
653
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_agent_action_group-instance_method
|
654
654
|
def update_agent_action_group: (
|
655
|
-
agent_id: ::String,
|
656
|
-
agent_version: ::String,
|
657
|
-
action_group_id: ::String,
|
658
|
-
action_group_name: ::String,
|
659
|
-
?description: ::String,
|
660
|
-
?parent_action_group_signature: ("AMAZON.UserInput"),
|
661
655
|
?action_group_executor: {
|
662
656
|
lambda: ::String?
|
663
657
|
},
|
658
|
+
action_group_id: ::String,
|
659
|
+
action_group_name: ::String,
|
664
660
|
?action_group_state: ("ENABLED" | "DISABLED"),
|
661
|
+
agent_id: ::String,
|
662
|
+
agent_version: ::String,
|
665
663
|
?api_schema: {
|
664
|
+
payload: ::String?,
|
666
665
|
s3: {
|
667
666
|
s3_bucket_name: ::String?,
|
668
667
|
s3_object_key: ::String?
|
669
|
-
}
|
670
|
-
|
671
|
-
|
668
|
+
}?
|
669
|
+
},
|
670
|
+
?description: ::String,
|
671
|
+
?parent_action_group_signature: ("AMAZON.UserInput")
|
672
672
|
) -> _UpdateAgentActionGroupResponseSuccess
|
673
673
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentActionGroupResponseSuccess
|
674
674
|
|
@@ -678,9 +678,9 @@ module Aws
|
|
678
678
|
end
|
679
679
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_agent_alias-instance_method
|
680
680
|
def update_agent_alias: (
|
681
|
-
agent_id: ::String,
|
682
681
|
agent_alias_id: ::String,
|
683
682
|
agent_alias_name: ::String,
|
683
|
+
agent_id: ::String,
|
684
684
|
?description: ::String,
|
685
685
|
?routing_configuration: Array[
|
686
686
|
{
|
@@ -698,8 +698,8 @@ module Aws
|
|
698
698
|
def update_agent_knowledge_base: (
|
699
699
|
agent_id: ::String,
|
700
700
|
agent_version: ::String,
|
701
|
-
knowledge_base_id: ::String,
|
702
701
|
?description: ::String,
|
702
|
+
knowledge_base_id: ::String,
|
703
703
|
?knowledge_base_state: ("ENABLED" | "DISABLED")
|
704
704
|
) -> _UpdateAgentKnowledgeBaseResponseSuccess
|
705
705
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentKnowledgeBaseResponseSuccess
|
@@ -710,17 +710,17 @@ module Aws
|
|
710
710
|
end
|
711
711
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_data_source-instance_method
|
712
712
|
def update_data_source: (
|
713
|
-
knowledge_base_id: ::String,
|
714
|
-
data_source_id: ::String,
|
715
|
-
name: ::String,
|
716
|
-
?description: ::String,
|
717
713
|
data_source_configuration: {
|
718
|
-
type: ("S3"),
|
719
714
|
s3_configuration: {
|
720
715
|
bucket_arn: ::String,
|
721
716
|
inclusion_prefixes: Array[::String]?
|
722
|
-
}
|
717
|
+
}?,
|
718
|
+
type: ("S3")
|
723
719
|
},
|
720
|
+
data_source_id: ::String,
|
721
|
+
?description: ::String,
|
722
|
+
knowledge_base_id: ::String,
|
723
|
+
name: ::String,
|
724
724
|
?server_side_encryption_configuration: {
|
725
725
|
kms_key_arn: ::String?
|
726
726
|
},
|
@@ -742,58 +742,58 @@ module Aws
|
|
742
742
|
end
|
743
743
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_knowledge_base-instance_method
|
744
744
|
def update_knowledge_base: (
|
745
|
-
knowledge_base_id: ::String,
|
746
|
-
name: ::String,
|
747
745
|
?description: ::String,
|
748
|
-
role_arn: ::String,
|
749
746
|
knowledge_base_configuration: {
|
750
747
|
type: ("VECTOR"),
|
751
748
|
vector_knowledge_base_configuration: {
|
752
749
|
embedding_model_arn: ::String
|
753
750
|
}?
|
754
751
|
},
|
752
|
+
knowledge_base_id: ::String,
|
753
|
+
name: ::String,
|
754
|
+
role_arn: ::String,
|
755
755
|
storage_configuration: {
|
756
|
-
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS"),
|
757
756
|
opensearch_serverless_configuration: {
|
758
757
|
collection_arn: ::String,
|
759
|
-
vector_index_name: ::String,
|
760
758
|
field_mapping: {
|
761
|
-
|
759
|
+
metadata_field: ::String,
|
762
760
|
text_field: ::String,
|
763
|
-
|
764
|
-
}
|
761
|
+
vector_field: ::String
|
762
|
+
},
|
763
|
+
vector_index_name: ::String
|
765
764
|
}?,
|
766
765
|
pinecone_configuration: {
|
767
766
|
connection_string: ::String,
|
768
767
|
credentials_secret_arn: ::String,
|
769
|
-
namespace: ::String?,
|
770
768
|
field_mapping: {
|
771
|
-
|
772
|
-
|
773
|
-
}
|
769
|
+
metadata_field: ::String,
|
770
|
+
text_field: ::String
|
771
|
+
},
|
772
|
+
namespace: ::String?
|
774
773
|
}?,
|
775
|
-
|
776
|
-
endpoint: ::String,
|
777
|
-
vector_index_name: ::String,
|
774
|
+
rds_configuration: {
|
778
775
|
credentials_secret_arn: ::String,
|
776
|
+
database_name: ::String,
|
779
777
|
field_mapping: {
|
780
|
-
|
778
|
+
metadata_field: ::String,
|
779
|
+
primary_key_field: ::String,
|
781
780
|
text_field: ::String,
|
782
|
-
|
783
|
-
}
|
784
|
-
}?,
|
785
|
-
rds_configuration: {
|
781
|
+
vector_field: ::String
|
782
|
+
},
|
786
783
|
resource_arn: ::String,
|
784
|
+
table_name: ::String
|
785
|
+
}?,
|
786
|
+
redis_enterprise_cloud_configuration: {
|
787
787
|
credentials_secret_arn: ::String,
|
788
|
-
|
789
|
-
table_name: ::String,
|
788
|
+
endpoint: ::String,
|
790
789
|
field_mapping: {
|
791
|
-
|
792
|
-
vector_field: ::String,
|
790
|
+
metadata_field: ::String,
|
793
791
|
text_field: ::String,
|
794
|
-
|
795
|
-
}
|
796
|
-
|
792
|
+
vector_field: ::String
|
793
|
+
},
|
794
|
+
vector_index_name: ::String
|
795
|
+
}?,
|
796
|
+
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
|
797
797
|
}
|
798
798
|
) -> _UpdateKnowledgeBaseResponseSuccess
|
799
799
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
|