aws-sdk-bedrockagent 1.3.0 → 1.4.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +999 -647
- 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 +1597 -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/sig/types.rbs
CHANGED
@@ -9,15 +9,15 @@ module Aws::BedrockAgent
|
|
9
9
|
module Types
|
10
10
|
|
11
11
|
class APISchema
|
12
|
-
attr_accessor s3: Types::S3Identifier
|
13
12
|
attr_accessor payload: ::String
|
13
|
+
attr_accessor s3: Types::S3Identifier
|
14
14
|
attr_accessor unknown: untyped
|
15
15
|
SENSITIVE: [:payload]
|
16
16
|
|
17
|
-
class S3 < APISchema
|
18
|
-
end
|
19
17
|
class Payload < APISchema
|
20
18
|
end
|
19
|
+
class S3 < APISchema
|
20
|
+
end
|
21
21
|
class Unknown < APISchema
|
22
22
|
end
|
23
23
|
end
|
@@ -48,61 +48,61 @@ module Aws::BedrockAgent
|
|
48
48
|
end
|
49
49
|
|
50
50
|
class Agent
|
51
|
+
attr_accessor agent_arn: ::String
|
51
52
|
attr_accessor agent_id: ::String
|
52
53
|
attr_accessor agent_name: ::String
|
53
|
-
attr_accessor
|
54
|
+
attr_accessor agent_resource_role_arn: ::String
|
55
|
+
attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
|
54
56
|
attr_accessor agent_version: ::String
|
55
57
|
attr_accessor client_token: ::String
|
56
|
-
attr_accessor
|
57
|
-
attr_accessor
|
58
|
-
attr_accessor foundation_model: ::String
|
58
|
+
attr_accessor created_at: ::Time
|
59
|
+
attr_accessor customer_encryption_key_arn: ::String
|
59
60
|
attr_accessor description: ::String
|
61
|
+
attr_accessor failure_reasons: ::Array[::String]
|
62
|
+
attr_accessor foundation_model: ::String
|
60
63
|
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
61
|
-
attr_accessor
|
62
|
-
attr_accessor customer_encryption_key_arn: ::String
|
63
|
-
attr_accessor created_at: ::Time
|
64
|
-
attr_accessor updated_at: ::Time
|
64
|
+
attr_accessor instruction: ::String
|
65
65
|
attr_accessor prepared_at: ::Time
|
66
|
-
attr_accessor failure_reasons: ::Array[::String]
|
67
|
-
attr_accessor recommended_actions: ::Array[::String]
|
68
66
|
attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
|
67
|
+
attr_accessor recommended_actions: ::Array[::String]
|
68
|
+
attr_accessor updated_at: ::Time
|
69
69
|
SENSITIVE: [:instruction, :prompt_override_configuration]
|
70
70
|
end
|
71
71
|
|
72
72
|
class AgentActionGroup
|
73
|
-
attr_accessor
|
74
|
-
attr_accessor agent_version: ::String
|
73
|
+
attr_accessor action_group_executor: Types::ActionGroupExecutor
|
75
74
|
attr_accessor action_group_id: ::String
|
76
75
|
attr_accessor action_group_name: ::String
|
76
|
+
attr_accessor action_group_state: ("ENABLED" | "DISABLED")
|
77
|
+
attr_accessor agent_id: ::String
|
78
|
+
attr_accessor agent_version: ::String
|
79
|
+
attr_accessor api_schema: Types::APISchema
|
77
80
|
attr_accessor client_token: ::String
|
78
|
-
attr_accessor description: ::String
|
79
81
|
attr_accessor created_at: ::Time
|
80
|
-
attr_accessor
|
82
|
+
attr_accessor description: ::String
|
81
83
|
attr_accessor parent_action_signature: ("AMAZON.UserInput")
|
82
|
-
attr_accessor
|
83
|
-
attr_accessor api_schema: Types::APISchema
|
84
|
-
attr_accessor action_group_state: ("ENABLED" | "DISABLED")
|
84
|
+
attr_accessor updated_at: ::Time
|
85
85
|
SENSITIVE: []
|
86
86
|
end
|
87
87
|
|
88
88
|
class AgentAlias
|
89
|
-
attr_accessor
|
89
|
+
attr_accessor agent_alias_arn: ::String
|
90
|
+
attr_accessor agent_alias_history_events: ::Array[Types::AgentAliasHistoryEvent]
|
90
91
|
attr_accessor agent_alias_id: ::String
|
91
92
|
attr_accessor agent_alias_name: ::String
|
92
|
-
attr_accessor
|
93
|
+
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
94
|
+
attr_accessor agent_id: ::String
|
93
95
|
attr_accessor client_token: ::String
|
96
|
+
attr_accessor created_at: ::Time
|
94
97
|
attr_accessor description: ::String
|
95
98
|
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
96
|
-
attr_accessor created_at: ::Time
|
97
99
|
attr_accessor updated_at: ::Time
|
98
|
-
attr_accessor agent_alias_history_events: ::Array[Types::AgentAliasHistoryEvent]
|
99
|
-
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
100
100
|
SENSITIVE: []
|
101
101
|
end
|
102
102
|
|
103
103
|
class AgentAliasHistoryEvent
|
104
|
-
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
105
104
|
attr_accessor end_date: ::Time
|
105
|
+
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
106
106
|
attr_accessor start_date: ::Time
|
107
107
|
SENSITIVE: []
|
108
108
|
end
|
@@ -115,10 +115,10 @@ module Aws::BedrockAgent
|
|
115
115
|
class AgentAliasSummary
|
116
116
|
attr_accessor agent_alias_id: ::String
|
117
117
|
attr_accessor agent_alias_name: ::String
|
118
|
-
attr_accessor description: ::String
|
119
|
-
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
120
118
|
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
121
119
|
attr_accessor created_at: ::Time
|
120
|
+
attr_accessor description: ::String
|
121
|
+
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
122
122
|
attr_accessor updated_at: ::Time
|
123
123
|
SENSITIVE: []
|
124
124
|
end
|
@@ -126,17 +126,17 @@ module Aws::BedrockAgent
|
|
126
126
|
class AgentKnowledgeBase
|
127
127
|
attr_accessor agent_id: ::String
|
128
128
|
attr_accessor agent_version: ::String
|
129
|
-
attr_accessor knowledge_base_id: ::String
|
130
|
-
attr_accessor description: ::String
|
131
129
|
attr_accessor created_at: ::Time
|
132
|
-
attr_accessor
|
130
|
+
attr_accessor description: ::String
|
131
|
+
attr_accessor knowledge_base_id: ::String
|
133
132
|
attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
|
133
|
+
attr_accessor updated_at: ::Time
|
134
134
|
SENSITIVE: []
|
135
135
|
end
|
136
136
|
|
137
137
|
class AgentKnowledgeBaseSummary
|
138
|
-
attr_accessor knowledge_base_id: ::String
|
139
138
|
attr_accessor description: ::String
|
139
|
+
attr_accessor knowledge_base_id: ::String
|
140
140
|
attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
|
141
141
|
attr_accessor updated_at: ::Time
|
142
142
|
SENSITIVE: []
|
@@ -147,28 +147,28 @@ module Aws::BedrockAgent
|
|
147
147
|
attr_accessor agent_name: ::String
|
148
148
|
attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
|
149
149
|
attr_accessor description: ::String
|
150
|
-
attr_accessor updated_at: ::Time
|
151
150
|
attr_accessor latest_agent_version: ::String
|
151
|
+
attr_accessor updated_at: ::Time
|
152
152
|
SENSITIVE: []
|
153
153
|
end
|
154
154
|
|
155
155
|
class AgentVersion
|
156
|
+
attr_accessor agent_arn: ::String
|
156
157
|
attr_accessor agent_id: ::String
|
157
158
|
attr_accessor agent_name: ::String
|
158
|
-
attr_accessor agent_arn: ::String
|
159
|
-
attr_accessor version: ::String
|
160
|
-
attr_accessor instruction: ::String
|
161
|
-
attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
|
162
|
-
attr_accessor foundation_model: ::String
|
163
|
-
attr_accessor description: ::String
|
164
|
-
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
165
159
|
attr_accessor agent_resource_role_arn: ::String
|
166
|
-
attr_accessor
|
160
|
+
attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
|
167
161
|
attr_accessor created_at: ::Time
|
168
|
-
attr_accessor
|
162
|
+
attr_accessor customer_encryption_key_arn: ::String
|
163
|
+
attr_accessor description: ::String
|
169
164
|
attr_accessor failure_reasons: ::Array[::String]
|
170
|
-
attr_accessor
|
165
|
+
attr_accessor foundation_model: ::String
|
166
|
+
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
167
|
+
attr_accessor instruction: ::String
|
171
168
|
attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
|
169
|
+
attr_accessor recommended_actions: ::Array[::String]
|
170
|
+
attr_accessor updated_at: ::Time
|
171
|
+
attr_accessor version: ::String
|
172
172
|
SENSITIVE: [:instruction, :prompt_override_configuration]
|
173
173
|
end
|
174
174
|
|
@@ -177,16 +177,16 @@ module Aws::BedrockAgent
|
|
177
177
|
attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
|
178
178
|
attr_accessor agent_version: ::String
|
179
179
|
attr_accessor created_at: ::Time
|
180
|
-
attr_accessor updated_at: ::Time
|
181
180
|
attr_accessor description: ::String
|
181
|
+
attr_accessor updated_at: ::Time
|
182
182
|
SENSITIVE: []
|
183
183
|
end
|
184
184
|
|
185
185
|
class AssociateAgentKnowledgeBaseRequest
|
186
186
|
attr_accessor agent_id: ::String
|
187
187
|
attr_accessor agent_version: ::String
|
188
|
-
attr_accessor knowledge_base_id: ::String
|
189
188
|
attr_accessor description: ::String
|
189
|
+
attr_accessor knowledge_base_id: ::String
|
190
190
|
attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
|
191
191
|
SENSITIVE: []
|
192
192
|
end
|
@@ -208,15 +208,15 @@ module Aws::BedrockAgent
|
|
208
208
|
end
|
209
209
|
|
210
210
|
class CreateAgentActionGroupRequest
|
211
|
+
attr_accessor action_group_executor: Types::ActionGroupExecutor
|
212
|
+
attr_accessor action_group_name: ::String
|
213
|
+
attr_accessor action_group_state: ("ENABLED" | "DISABLED")
|
211
214
|
attr_accessor agent_id: ::String
|
212
215
|
attr_accessor agent_version: ::String
|
213
|
-
attr_accessor
|
216
|
+
attr_accessor api_schema: Types::APISchema
|
214
217
|
attr_accessor client_token: ::String
|
215
218
|
attr_accessor description: ::String
|
216
219
|
attr_accessor parent_action_group_signature: ("AMAZON.UserInput")
|
217
|
-
attr_accessor action_group_executor: Types::ActionGroupExecutor
|
218
|
-
attr_accessor api_schema: Types::APISchema
|
219
|
-
attr_accessor action_group_state: ("ENABLED" | "DISABLED")
|
220
220
|
SENSITIVE: []
|
221
221
|
end
|
222
222
|
|
@@ -226,8 +226,8 @@ module Aws::BedrockAgent
|
|
226
226
|
end
|
227
227
|
|
228
228
|
class CreateAgentAliasRequest
|
229
|
-
attr_accessor agent_id: ::String
|
230
229
|
attr_accessor agent_alias_name: ::String
|
230
|
+
attr_accessor agent_id: ::String
|
231
231
|
attr_accessor client_token: ::String
|
232
232
|
attr_accessor description: ::String
|
233
233
|
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
@@ -242,15 +242,15 @@ module Aws::BedrockAgent
|
|
242
242
|
|
243
243
|
class CreateAgentRequest
|
244
244
|
attr_accessor agent_name: ::String
|
245
|
+
attr_accessor agent_resource_role_arn: ::String
|
245
246
|
attr_accessor client_token: ::String
|
246
|
-
attr_accessor
|
247
|
-
attr_accessor foundation_model: ::String
|
247
|
+
attr_accessor customer_encryption_key_arn: ::String
|
248
248
|
attr_accessor description: ::String
|
249
|
+
attr_accessor foundation_model: ::String
|
249
250
|
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
250
|
-
attr_accessor
|
251
|
-
attr_accessor customer_encryption_key_arn: ::String
|
252
|
-
attr_accessor tags: ::Hash[::String, ::String]
|
251
|
+
attr_accessor instruction: ::String
|
253
252
|
attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
|
253
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
254
254
|
SENSITIVE: [:instruction, :prompt_override_configuration]
|
255
255
|
end
|
256
256
|
|
@@ -260,11 +260,11 @@ module Aws::BedrockAgent
|
|
260
260
|
end
|
261
261
|
|
262
262
|
class CreateDataSourceRequest
|
263
|
-
attr_accessor knowledge_base_id: ::String
|
264
263
|
attr_accessor client_token: ::String
|
265
|
-
attr_accessor name: ::String
|
266
|
-
attr_accessor description: ::String
|
267
264
|
attr_accessor data_source_configuration: Types::DataSourceConfiguration
|
265
|
+
attr_accessor description: ::String
|
266
|
+
attr_accessor knowledge_base_id: ::String
|
267
|
+
attr_accessor name: ::String
|
268
268
|
attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
|
269
269
|
attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
|
270
270
|
SENSITIVE: []
|
@@ -277,10 +277,10 @@ module Aws::BedrockAgent
|
|
277
277
|
|
278
278
|
class CreateKnowledgeBaseRequest
|
279
279
|
attr_accessor client_token: ::String
|
280
|
-
attr_accessor name: ::String
|
281
280
|
attr_accessor description: ::String
|
282
|
-
attr_accessor role_arn: ::String
|
283
281
|
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
|
282
|
+
attr_accessor name: ::String
|
283
|
+
attr_accessor role_arn: ::String
|
284
284
|
attr_accessor storage_configuration: Types::StorageConfiguration
|
285
285
|
attr_accessor tags: ::Hash[::String, ::String]
|
286
286
|
SENSITIVE: []
|
@@ -292,39 +292,39 @@ module Aws::BedrockAgent
|
|
292
292
|
end
|
293
293
|
|
294
294
|
class DataSource
|
295
|
-
attr_accessor
|
295
|
+
attr_accessor created_at: ::Time
|
296
|
+
attr_accessor data_source_configuration: Types::DataSourceConfiguration
|
296
297
|
attr_accessor data_source_id: ::String
|
297
|
-
attr_accessor name: ::String
|
298
|
-
attr_accessor status: ("AVAILABLE" | "DELETING")
|
299
298
|
attr_accessor description: ::String
|
300
|
-
attr_accessor
|
299
|
+
attr_accessor knowledge_base_id: ::String
|
300
|
+
attr_accessor name: ::String
|
301
301
|
attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
|
302
|
-
attr_accessor
|
303
|
-
attr_accessor created_at: ::Time
|
302
|
+
attr_accessor status: ("AVAILABLE" | "DELETING")
|
304
303
|
attr_accessor updated_at: ::Time
|
304
|
+
attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
|
305
305
|
SENSITIVE: []
|
306
306
|
end
|
307
307
|
|
308
308
|
class DataSourceConfiguration
|
309
|
-
attr_accessor type: ("S3")
|
310
309
|
attr_accessor s3_configuration: Types::S3DataSourceConfiguration
|
310
|
+
attr_accessor type: ("S3")
|
311
311
|
SENSITIVE: []
|
312
312
|
end
|
313
313
|
|
314
314
|
class DataSourceSummary
|
315
|
-
attr_accessor knowledge_base_id: ::String
|
316
315
|
attr_accessor data_source_id: ::String
|
316
|
+
attr_accessor description: ::String
|
317
|
+
attr_accessor knowledge_base_id: ::String
|
317
318
|
attr_accessor name: ::String
|
318
319
|
attr_accessor status: ("AVAILABLE" | "DELETING")
|
319
|
-
attr_accessor description: ::String
|
320
320
|
attr_accessor updated_at: ::Time
|
321
321
|
SENSITIVE: []
|
322
322
|
end
|
323
323
|
|
324
324
|
class DeleteAgentActionGroupRequest
|
325
|
+
attr_accessor action_group_id: ::String
|
325
326
|
attr_accessor agent_id: ::String
|
326
327
|
attr_accessor agent_version: ::String
|
327
|
-
attr_accessor action_group_id: ::String
|
328
328
|
attr_accessor skip_resource_in_use_check: bool
|
329
329
|
SENSITIVE: []
|
330
330
|
end
|
@@ -333,15 +333,15 @@ module Aws::BedrockAgent
|
|
333
333
|
end
|
334
334
|
|
335
335
|
class DeleteAgentAliasRequest
|
336
|
-
attr_accessor agent_id: ::String
|
337
336
|
attr_accessor agent_alias_id: ::String
|
337
|
+
attr_accessor agent_id: ::String
|
338
338
|
SENSITIVE: []
|
339
339
|
end
|
340
340
|
|
341
341
|
class DeleteAgentAliasResponse
|
342
|
-
attr_accessor agent_id: ::String
|
343
342
|
attr_accessor agent_alias_id: ::String
|
344
343
|
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
344
|
+
attr_accessor agent_id: ::String
|
345
345
|
SENSITIVE: []
|
346
346
|
end
|
347
347
|
|
@@ -366,20 +366,20 @@ module Aws::BedrockAgent
|
|
366
366
|
|
367
367
|
class DeleteAgentVersionResponse
|
368
368
|
attr_accessor agent_id: ::String
|
369
|
-
attr_accessor agent_version: ::String
|
370
369
|
attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
|
370
|
+
attr_accessor agent_version: ::String
|
371
371
|
SENSITIVE: []
|
372
372
|
end
|
373
373
|
|
374
374
|
class DeleteDataSourceRequest
|
375
|
-
attr_accessor knowledge_base_id: ::String
|
376
375
|
attr_accessor data_source_id: ::String
|
376
|
+
attr_accessor knowledge_base_id: ::String
|
377
377
|
SENSITIVE: []
|
378
378
|
end
|
379
379
|
|
380
380
|
class DeleteDataSourceResponse
|
381
|
-
attr_accessor knowledge_base_id: ::String
|
382
381
|
attr_accessor data_source_id: ::String
|
382
|
+
attr_accessor knowledge_base_id: ::String
|
383
383
|
attr_accessor status: ("AVAILABLE" | "DELETING")
|
384
384
|
SENSITIVE: []
|
385
385
|
end
|
@@ -412,9 +412,9 @@ module Aws::BedrockAgent
|
|
412
412
|
end
|
413
413
|
|
414
414
|
class GetAgentActionGroupRequest
|
415
|
+
attr_accessor action_group_id: ::String
|
415
416
|
attr_accessor agent_id: ::String
|
416
417
|
attr_accessor agent_version: ::String
|
417
|
-
attr_accessor action_group_id: ::String
|
418
418
|
SENSITIVE: []
|
419
419
|
end
|
420
420
|
|
@@ -424,8 +424,8 @@ module Aws::BedrockAgent
|
|
424
424
|
end
|
425
425
|
|
426
426
|
class GetAgentAliasRequest
|
427
|
-
attr_accessor agent_id: ::String
|
428
427
|
attr_accessor agent_alias_id: ::String
|
428
|
+
attr_accessor agent_id: ::String
|
429
429
|
SENSITIVE: []
|
430
430
|
end
|
431
431
|
|
@@ -468,8 +468,8 @@ module Aws::BedrockAgent
|
|
468
468
|
end
|
469
469
|
|
470
470
|
class GetDataSourceRequest
|
471
|
-
attr_accessor knowledge_base_id: ::String
|
472
471
|
attr_accessor data_source_id: ::String
|
472
|
+
attr_accessor knowledge_base_id: ::String
|
473
473
|
SENSITIVE: []
|
474
474
|
end
|
475
475
|
|
@@ -479,9 +479,9 @@ module Aws::BedrockAgent
|
|
479
479
|
end
|
480
480
|
|
481
481
|
class GetIngestionJobRequest
|
482
|
-
attr_accessor knowledge_base_id: ::String
|
483
482
|
attr_accessor data_source_id: ::String
|
484
483
|
attr_accessor ingestion_job_id: ::String
|
484
|
+
attr_accessor knowledge_base_id: ::String
|
485
485
|
SENSITIVE: []
|
486
486
|
end
|
487
487
|
|
@@ -501,23 +501,23 @@ module Aws::BedrockAgent
|
|
501
501
|
end
|
502
502
|
|
503
503
|
class InferenceConfiguration
|
504
|
-
attr_accessor temperature: ::Float
|
505
|
-
attr_accessor top_p: ::Float
|
506
|
-
attr_accessor top_k: ::Integer
|
507
504
|
attr_accessor maximum_length: ::Integer
|
508
505
|
attr_accessor stop_sequences: ::Array[::String]
|
506
|
+
attr_accessor temperature: ::Float
|
507
|
+
attr_accessor top_k: ::Integer
|
508
|
+
attr_accessor top_p: ::Float
|
509
509
|
SENSITIVE: []
|
510
510
|
end
|
511
511
|
|
512
512
|
class IngestionJob
|
513
|
-
attr_accessor knowledge_base_id: ::String
|
514
513
|
attr_accessor data_source_id: ::String
|
515
|
-
attr_accessor ingestion_job_id: ::String
|
516
514
|
attr_accessor description: ::String
|
517
|
-
attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
|
518
|
-
attr_accessor statistics: Types::IngestionJobStatistics
|
519
515
|
attr_accessor failure_reasons: ::Array[::String]
|
516
|
+
attr_accessor ingestion_job_id: ::String
|
517
|
+
attr_accessor knowledge_base_id: ::String
|
520
518
|
attr_accessor started_at: ::Time
|
519
|
+
attr_accessor statistics: Types::IngestionJobStatistics
|
520
|
+
attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
|
521
521
|
attr_accessor updated_at: ::Time
|
522
522
|
SENSITIVE: []
|
523
523
|
end
|
@@ -536,23 +536,25 @@ module Aws::BedrockAgent
|
|
536
536
|
end
|
537
537
|
|
538
538
|
class IngestionJobStatistics
|
539
|
-
attr_accessor number_of_documents_scanned: ::Integer
|
540
|
-
attr_accessor number_of_new_documents_indexed: ::Integer
|
541
|
-
attr_accessor number_of_modified_documents_indexed: ::Integer
|
542
539
|
attr_accessor number_of_documents_deleted: ::Integer
|
543
540
|
attr_accessor number_of_documents_failed: ::Integer
|
541
|
+
attr_accessor number_of_documents_scanned: ::Integer
|
542
|
+
attr_accessor number_of_metadata_documents_modified: ::Integer
|
543
|
+
attr_accessor number_of_metadata_documents_scanned: ::Integer
|
544
|
+
attr_accessor number_of_modified_documents_indexed: ::Integer
|
545
|
+
attr_accessor number_of_new_documents_indexed: ::Integer
|
544
546
|
SENSITIVE: []
|
545
547
|
end
|
546
548
|
|
547
549
|
class IngestionJobSummary
|
548
|
-
attr_accessor knowledge_base_id: ::String
|
549
550
|
attr_accessor data_source_id: ::String
|
550
|
-
attr_accessor ingestion_job_id: ::String
|
551
551
|
attr_accessor description: ::String
|
552
|
-
attr_accessor
|
552
|
+
attr_accessor ingestion_job_id: ::String
|
553
|
+
attr_accessor knowledge_base_id: ::String
|
553
554
|
attr_accessor started_at: ::Time
|
554
|
-
attr_accessor updated_at: ::Time
|
555
555
|
attr_accessor statistics: Types::IngestionJobStatistics
|
556
|
+
attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
|
557
|
+
attr_accessor updated_at: ::Time
|
556
558
|
SENSITIVE: []
|
557
559
|
end
|
558
560
|
|
@@ -562,17 +564,17 @@ module Aws::BedrockAgent
|
|
562
564
|
end
|
563
565
|
|
564
566
|
class KnowledgeBase
|
567
|
+
attr_accessor created_at: ::Time
|
568
|
+
attr_accessor description: ::String
|
569
|
+
attr_accessor failure_reasons: ::Array[::String]
|
570
|
+
attr_accessor knowledge_base_arn: ::String
|
571
|
+
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
|
565
572
|
attr_accessor knowledge_base_id: ::String
|
566
573
|
attr_accessor name: ::String
|
567
|
-
attr_accessor knowledge_base_arn: ::String
|
568
|
-
attr_accessor description: ::String
|
569
574
|
attr_accessor role_arn: ::String
|
570
|
-
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
|
571
|
-
attr_accessor storage_configuration: Types::StorageConfiguration
|
572
575
|
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED")
|
573
|
-
attr_accessor
|
576
|
+
attr_accessor storage_configuration: Types::StorageConfiguration
|
574
577
|
attr_accessor updated_at: ::Time
|
575
|
-
attr_accessor failure_reasons: ::Array[::String]
|
576
578
|
SENSITIVE: []
|
577
579
|
end
|
578
580
|
|
@@ -583,9 +585,9 @@ module Aws::BedrockAgent
|
|
583
585
|
end
|
584
586
|
|
585
587
|
class KnowledgeBaseSummary
|
588
|
+
attr_accessor description: ::String
|
586
589
|
attr_accessor knowledge_base_id: ::String
|
587
590
|
attr_accessor name: ::String
|
588
|
-
attr_accessor description: ::String
|
589
591
|
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED")
|
590
592
|
attr_accessor updated_at: ::Time
|
591
593
|
SENSITIVE: []
|
@@ -671,12 +673,12 @@ module Aws::BedrockAgent
|
|
671
673
|
end
|
672
674
|
|
673
675
|
class ListIngestionJobsRequest
|
674
|
-
attr_accessor knowledge_base_id: ::String
|
675
676
|
attr_accessor data_source_id: ::String
|
676
677
|
attr_accessor filters: ::Array[Types::IngestionJobFilter]
|
677
|
-
attr_accessor
|
678
|
+
attr_accessor knowledge_base_id: ::String
|
678
679
|
attr_accessor max_results: ::Integer
|
679
680
|
attr_accessor next_token: ::String
|
681
|
+
attr_accessor sort_by: Types::IngestionJobSortBy
|
680
682
|
SENSITIVE: []
|
681
683
|
end
|
682
684
|
|
@@ -710,29 +712,29 @@ module Aws::BedrockAgent
|
|
710
712
|
|
711
713
|
class OpenSearchServerlessConfiguration
|
712
714
|
attr_accessor collection_arn: ::String
|
713
|
-
attr_accessor vector_index_name: ::String
|
714
715
|
attr_accessor field_mapping: Types::OpenSearchServerlessFieldMapping
|
716
|
+
attr_accessor vector_index_name: ::String
|
715
717
|
SENSITIVE: []
|
716
718
|
end
|
717
719
|
|
718
720
|
class OpenSearchServerlessFieldMapping
|
719
|
-
attr_accessor vector_field: ::String
|
720
|
-
attr_accessor text_field: ::String
|
721
721
|
attr_accessor metadata_field: ::String
|
722
|
+
attr_accessor text_field: ::String
|
723
|
+
attr_accessor vector_field: ::String
|
722
724
|
SENSITIVE: []
|
723
725
|
end
|
724
726
|
|
725
727
|
class PineconeConfiguration
|
726
728
|
attr_accessor connection_string: ::String
|
727
729
|
attr_accessor credentials_secret_arn: ::String
|
728
|
-
attr_accessor namespace: ::String
|
729
730
|
attr_accessor field_mapping: Types::PineconeFieldMapping
|
731
|
+
attr_accessor namespace: ::String
|
730
732
|
SENSITIVE: []
|
731
733
|
end
|
732
734
|
|
733
735
|
class PineconeFieldMapping
|
734
|
-
attr_accessor text_field: ::String
|
735
736
|
attr_accessor metadata_field: ::String
|
737
|
+
attr_accessor text_field: ::String
|
736
738
|
SENSITIVE: []
|
737
739
|
end
|
738
740
|
|
@@ -750,50 +752,50 @@ module Aws::BedrockAgent
|
|
750
752
|
end
|
751
753
|
|
752
754
|
class PromptConfiguration
|
753
|
-
attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")
|
754
|
-
attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
|
755
|
-
attr_accessor prompt_state: ("ENABLED" | "DISABLED")
|
756
755
|
attr_accessor base_prompt_template: ::String
|
757
756
|
attr_accessor inference_configuration: Types::InferenceConfiguration
|
758
757
|
attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
758
|
+
attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
|
759
|
+
attr_accessor prompt_state: ("ENABLED" | "DISABLED")
|
760
|
+
attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")
|
759
761
|
SENSITIVE: []
|
760
762
|
end
|
761
763
|
|
762
764
|
class PromptOverrideConfiguration
|
763
|
-
attr_accessor prompt_configurations: ::Array[Types::PromptConfiguration]
|
764
765
|
attr_accessor override_lambda: ::String
|
766
|
+
attr_accessor prompt_configurations: ::Array[Types::PromptConfiguration]
|
765
767
|
SENSITIVE: []
|
766
768
|
end
|
767
769
|
|
768
770
|
class RdsConfiguration
|
769
|
-
attr_accessor resource_arn: ::String
|
770
771
|
attr_accessor credentials_secret_arn: ::String
|
771
772
|
attr_accessor database_name: ::String
|
772
|
-
attr_accessor table_name: ::String
|
773
773
|
attr_accessor field_mapping: Types::RdsFieldMapping
|
774
|
+
attr_accessor resource_arn: ::String
|
775
|
+
attr_accessor table_name: ::String
|
774
776
|
SENSITIVE: []
|
775
777
|
end
|
776
778
|
|
777
779
|
class RdsFieldMapping
|
780
|
+
attr_accessor metadata_field: ::String
|
778
781
|
attr_accessor primary_key_field: ::String
|
779
|
-
attr_accessor vector_field: ::String
|
780
782
|
attr_accessor text_field: ::String
|
781
|
-
attr_accessor
|
783
|
+
attr_accessor vector_field: ::String
|
782
784
|
SENSITIVE: []
|
783
785
|
end
|
784
786
|
|
785
787
|
class RedisEnterpriseCloudConfiguration
|
786
|
-
attr_accessor endpoint: ::String
|
787
|
-
attr_accessor vector_index_name: ::String
|
788
788
|
attr_accessor credentials_secret_arn: ::String
|
789
|
+
attr_accessor endpoint: ::String
|
789
790
|
attr_accessor field_mapping: Types::RedisEnterpriseCloudFieldMapping
|
791
|
+
attr_accessor vector_index_name: ::String
|
790
792
|
SENSITIVE: []
|
791
793
|
end
|
792
794
|
|
793
795
|
class RedisEnterpriseCloudFieldMapping
|
794
|
-
attr_accessor vector_field: ::String
|
795
|
-
attr_accessor text_field: ::String
|
796
796
|
attr_accessor metadata_field: ::String
|
797
|
+
attr_accessor text_field: ::String
|
798
|
+
attr_accessor vector_field: ::String
|
797
799
|
SENSITIVE: []
|
798
800
|
end
|
799
801
|
|
@@ -825,10 +827,10 @@ module Aws::BedrockAgent
|
|
825
827
|
end
|
826
828
|
|
827
829
|
class StartIngestionJobRequest
|
828
|
-
attr_accessor knowledge_base_id: ::String
|
829
|
-
attr_accessor data_source_id: ::String
|
830
830
|
attr_accessor client_token: ::String
|
831
|
+
attr_accessor data_source_id: ::String
|
831
832
|
attr_accessor description: ::String
|
833
|
+
attr_accessor knowledge_base_id: ::String
|
832
834
|
SENSITIVE: []
|
833
835
|
end
|
834
836
|
|
@@ -838,11 +840,11 @@ module Aws::BedrockAgent
|
|
838
840
|
end
|
839
841
|
|
840
842
|
class StorageConfiguration
|
841
|
-
attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
|
842
843
|
attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
|
843
844
|
attr_accessor pinecone_configuration: Types::PineconeConfiguration
|
844
|
-
attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
|
845
845
|
attr_accessor rds_configuration: Types::RdsConfiguration
|
846
|
+
attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
|
847
|
+
attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
|
846
848
|
SENSITIVE: []
|
847
849
|
end
|
848
850
|
|
@@ -870,15 +872,15 @@ module Aws::BedrockAgent
|
|
870
872
|
end
|
871
873
|
|
872
874
|
class UpdateAgentActionGroupRequest
|
873
|
-
attr_accessor
|
874
|
-
attr_accessor agent_version: ::String
|
875
|
+
attr_accessor action_group_executor: Types::ActionGroupExecutor
|
875
876
|
attr_accessor action_group_id: ::String
|
876
877
|
attr_accessor action_group_name: ::String
|
877
|
-
attr_accessor description: ::String
|
878
|
-
attr_accessor parent_action_group_signature: ("AMAZON.UserInput")
|
879
|
-
attr_accessor action_group_executor: Types::ActionGroupExecutor
|
880
878
|
attr_accessor action_group_state: ("ENABLED" | "DISABLED")
|
879
|
+
attr_accessor agent_id: ::String
|
880
|
+
attr_accessor agent_version: ::String
|
881
881
|
attr_accessor api_schema: Types::APISchema
|
882
|
+
attr_accessor description: ::String
|
883
|
+
attr_accessor parent_action_group_signature: ("AMAZON.UserInput")
|
882
884
|
SENSITIVE: []
|
883
885
|
end
|
884
886
|
|
@@ -888,9 +890,9 @@ module Aws::BedrockAgent
|
|
888
890
|
end
|
889
891
|
|
890
892
|
class UpdateAgentAliasRequest
|
891
|
-
attr_accessor agent_id: ::String
|
892
893
|
attr_accessor agent_alias_id: ::String
|
893
894
|
attr_accessor agent_alias_name: ::String
|
895
|
+
attr_accessor agent_id: ::String
|
894
896
|
attr_accessor description: ::String
|
895
897
|
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
896
898
|
SENSITIVE: []
|
@@ -904,8 +906,8 @@ module Aws::BedrockAgent
|
|
904
906
|
class UpdateAgentKnowledgeBaseRequest
|
905
907
|
attr_accessor agent_id: ::String
|
906
908
|
attr_accessor agent_version: ::String
|
907
|
-
attr_accessor knowledge_base_id: ::String
|
908
909
|
attr_accessor description: ::String
|
910
|
+
attr_accessor knowledge_base_id: ::String
|
909
911
|
attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
|
910
912
|
SENSITIVE: []
|
911
913
|
end
|
@@ -918,12 +920,12 @@ module Aws::BedrockAgent
|
|
918
920
|
class UpdateAgentRequest
|
919
921
|
attr_accessor agent_id: ::String
|
920
922
|
attr_accessor agent_name: ::String
|
921
|
-
attr_accessor instruction: ::String
|
922
|
-
attr_accessor foundation_model: ::String
|
923
|
-
attr_accessor description: ::String
|
924
|
-
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
925
923
|
attr_accessor agent_resource_role_arn: ::String
|
926
924
|
attr_accessor customer_encryption_key_arn: ::String
|
925
|
+
attr_accessor description: ::String
|
926
|
+
attr_accessor foundation_model: ::String
|
927
|
+
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
928
|
+
attr_accessor instruction: ::String
|
927
929
|
attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
|
928
930
|
SENSITIVE: [:instruction, :prompt_override_configuration]
|
929
931
|
end
|
@@ -934,11 +936,11 @@ module Aws::BedrockAgent
|
|
934
936
|
end
|
935
937
|
|
936
938
|
class UpdateDataSourceRequest
|
937
|
-
attr_accessor
|
939
|
+
attr_accessor data_source_configuration: Types::DataSourceConfiguration
|
938
940
|
attr_accessor data_source_id: ::String
|
939
|
-
attr_accessor name: ::String
|
940
941
|
attr_accessor description: ::String
|
941
|
-
attr_accessor
|
942
|
+
attr_accessor knowledge_base_id: ::String
|
943
|
+
attr_accessor name: ::String
|
942
944
|
attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
|
943
945
|
attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
|
944
946
|
SENSITIVE: []
|
@@ -950,11 +952,11 @@ module Aws::BedrockAgent
|
|
950
952
|
end
|
951
953
|
|
952
954
|
class UpdateKnowledgeBaseRequest
|
955
|
+
attr_accessor description: ::String
|
956
|
+
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
|
953
957
|
attr_accessor knowledge_base_id: ::String
|
954
958
|
attr_accessor name: ::String
|
955
|
-
attr_accessor description: ::String
|
956
959
|
attr_accessor role_arn: ::String
|
957
|
-
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
|
958
960
|
attr_accessor storage_configuration: Types::StorageConfiguration
|
959
961
|
SENSITIVE: []
|
960
962
|
end
|
@@ -965,14 +967,14 @@ module Aws::BedrockAgent
|
|
965
967
|
end
|
966
968
|
|
967
969
|
class ValidationException
|
968
|
-
attr_accessor message: ::String
|
969
970
|
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
971
|
+
attr_accessor message: ::String
|
970
972
|
SENSITIVE: []
|
971
973
|
end
|
972
974
|
|
973
975
|
class ValidationExceptionField
|
974
|
-
attr_accessor name: ::String
|
975
976
|
attr_accessor message: ::String
|
977
|
+
attr_accessor name: ::String
|
976
978
|
SENSITIVE: []
|
977
979
|
end
|
978
980
|
|