aws-sdk-bedrockagentruntime 1.31.0 → 1.33.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-bedrockagentruntime/client.rb +1015 -5
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +261 -0
- data/lib/aws-sdk-bedrockagentruntime/event_streams.rb +163 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +944 -57
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +209 -0
- data/sig/types.rbs +218 -1
- metadata +2 -2
@@ -14,18 +14,24 @@ module Aws::BedrockAgentRuntime
|
|
14
14
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
|
+
APISchema = Shapes::UnionShape.new(name: 'APISchema')
|
17
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
19
|
+
ActionGroupExecutor = Shapes::UnionShape.new(name: 'ActionGroupExecutor')
|
18
20
|
ActionGroupInvocationInput = Shapes::StructureShape.new(name: 'ActionGroupInvocationInput')
|
19
21
|
ActionGroupInvocationOutput = Shapes::StructureShape.new(name: 'ActionGroupInvocationOutput')
|
20
22
|
ActionGroupName = Shapes::StringShape.new(name: 'ActionGroupName')
|
21
23
|
ActionGroupOutputString = Shapes::StringShape.new(name: 'ActionGroupOutputString')
|
24
|
+
ActionGroupSignature = Shapes::StringShape.new(name: 'ActionGroupSignature')
|
22
25
|
ActionInvocationType = Shapes::StringShape.new(name: 'ActionInvocationType')
|
23
26
|
AdditionalModelRequestFields = Shapes::MapShape.new(name: 'AdditionalModelRequestFields')
|
24
27
|
AdditionalModelRequestFieldsKey = Shapes::StringShape.new(name: 'AdditionalModelRequestFieldsKey')
|
25
28
|
AdditionalModelRequestFieldsValue = Shapes::DocumentShape.new(name: 'AdditionalModelRequestFieldsValue', document: true)
|
29
|
+
AgentActionGroup = Shapes::StructureShape.new(name: 'AgentActionGroup')
|
30
|
+
AgentActionGroups = Shapes::ListShape.new(name: 'AgentActionGroups')
|
26
31
|
AgentAliasId = Shapes::StringShape.new(name: 'AgentAliasId')
|
27
32
|
AgentId = Shapes::StringShape.new(name: 'AgentId')
|
28
33
|
AgentVersion = Shapes::StringShape.new(name: 'AgentVersion')
|
34
|
+
AnalyzePromptEvent = Shapes::StructureShape.new(name: 'AnalyzePromptEvent')
|
29
35
|
ApiContentMap = Shapes::MapShape.new(name: 'ApiContentMap')
|
30
36
|
ApiInvocationInput = Shapes::StructureShape.new(name: 'ApiInvocationInput')
|
31
37
|
ApiParameter = Shapes::StructureShape.new(name: 'ApiParameter')
|
@@ -35,6 +41,7 @@ module Aws::BedrockAgentRuntime
|
|
35
41
|
ApiResult = Shapes::StructureShape.new(name: 'ApiResult')
|
36
42
|
Attribution = Shapes::StructureShape.new(name: 'Attribution')
|
37
43
|
BadGatewayException = Shapes::StructureShape.new(name: 'BadGatewayException')
|
44
|
+
BasePromptTemplate = Shapes::StringShape.new(name: 'BasePromptTemplate')
|
38
45
|
BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
|
39
46
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
40
47
|
ByteContentBlob = Shapes::BlobShape.new(name: 'ByteContentBlob')
|
@@ -50,6 +57,7 @@ module Aws::BedrockAgentRuntime
|
|
50
57
|
ContentMap = Shapes::MapShape.new(name: 'ContentMap')
|
51
58
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
52
59
|
CreationMode = Shapes::StringShape.new(name: 'CreationMode')
|
60
|
+
CustomControlMethod = Shapes::StringShape.new(name: 'CustomControlMethod')
|
53
61
|
DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
|
54
62
|
DeleteAgentMemoryRequest = Shapes::StructureShape.new(name: 'DeleteAgentMemoryRequest')
|
55
63
|
DeleteAgentMemoryResponse = Shapes::StructureShape.new(name: 'DeleteAgentMemoryResponse')
|
@@ -99,10 +107,14 @@ module Aws::BedrockAgentRuntime
|
|
99
107
|
FlowTraceNodeOutputField = Shapes::StructureShape.new(name: 'FlowTraceNodeOutputField')
|
100
108
|
FlowTraceNodeOutputFields = Shapes::ListShape.new(name: 'FlowTraceNodeOutputFields')
|
101
109
|
Function = Shapes::StringShape.new(name: 'Function')
|
110
|
+
FunctionDefinition = Shapes::StructureShape.new(name: 'FunctionDefinition')
|
111
|
+
FunctionDescription = Shapes::StringShape.new(name: 'FunctionDescription')
|
102
112
|
FunctionInvocationInput = Shapes::StructureShape.new(name: 'FunctionInvocationInput')
|
103
113
|
FunctionParameter = Shapes::StructureShape.new(name: 'FunctionParameter')
|
104
114
|
FunctionParameters = Shapes::ListShape.new(name: 'FunctionParameters')
|
105
115
|
FunctionResult = Shapes::StructureShape.new(name: 'FunctionResult')
|
116
|
+
FunctionSchema = Shapes::UnionShape.new(name: 'FunctionSchema')
|
117
|
+
Functions = Shapes::ListShape.new(name: 'Functions')
|
106
118
|
GeneratedResponsePart = Shapes::StructureShape.new(name: 'GeneratedResponsePart')
|
107
119
|
GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
|
108
120
|
GetAgentMemoryRequest = Shapes::StructureShape.new(name: 'GetAgentMemoryRequest')
|
@@ -114,6 +126,7 @@ module Aws::BedrockAgentRuntime
|
|
114
126
|
GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
|
115
127
|
GuardrailConfigurationGuardrailIdString = Shapes::StringShape.new(name: 'GuardrailConfigurationGuardrailIdString')
|
116
128
|
GuardrailConfigurationGuardrailVersionString = Shapes::StringShape.new(name: 'GuardrailConfigurationGuardrailVersionString')
|
129
|
+
GuardrailConfigurationWithArn = Shapes::StructureShape.new(name: 'GuardrailConfigurationWithArn')
|
117
130
|
GuardrailContentFilter = Shapes::StructureShape.new(name: 'GuardrailContentFilter')
|
118
131
|
GuardrailContentFilterConfidence = Shapes::StringShape.new(name: 'GuardrailContentFilterConfidence')
|
119
132
|
GuardrailContentFilterList = Shapes::ListShape.new(name: 'GuardrailContentFilterList')
|
@@ -122,6 +135,7 @@ module Aws::BedrockAgentRuntime
|
|
122
135
|
GuardrailContentPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailContentPolicyAssessment')
|
123
136
|
GuardrailCustomWord = Shapes::StructureShape.new(name: 'GuardrailCustomWord')
|
124
137
|
GuardrailCustomWordList = Shapes::ListShape.new(name: 'GuardrailCustomWordList')
|
138
|
+
GuardrailIdentifierWithArn = Shapes::StringShape.new(name: 'GuardrailIdentifierWithArn')
|
125
139
|
GuardrailManagedWord = Shapes::StructureShape.new(name: 'GuardrailManagedWord')
|
126
140
|
GuardrailManagedWordList = Shapes::ListShape.new(name: 'GuardrailManagedWordList')
|
127
141
|
GuardrailManagedWordType = Shapes::StringShape.new(name: 'GuardrailManagedWordType')
|
@@ -138,14 +152,23 @@ module Aws::BedrockAgentRuntime
|
|
138
152
|
GuardrailTopicPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailTopicPolicyAssessment')
|
139
153
|
GuardrailTopicType = Shapes::StringShape.new(name: 'GuardrailTopicType')
|
140
154
|
GuardrailTrace = Shapes::StructureShape.new(name: 'GuardrailTrace')
|
155
|
+
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
141
156
|
GuardrailWordPolicyAction = Shapes::StringShape.new(name: 'GuardrailWordPolicyAction')
|
142
157
|
GuardrailWordPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailWordPolicyAssessment')
|
143
158
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
144
159
|
InferenceConfig = Shapes::StructureShape.new(name: 'InferenceConfig')
|
145
160
|
InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
|
161
|
+
InlineAgentFilePart = Shapes::StructureShape.new(name: 'InlineAgentFilePart')
|
162
|
+
InlineAgentPayloadPart = Shapes::StructureShape.new(name: 'InlineAgentPayloadPart')
|
163
|
+
InlineAgentResponseStream = Shapes::StructureShape.new(name: 'InlineAgentResponseStream')
|
164
|
+
InlineAgentReturnControlPayload = Shapes::StructureShape.new(name: 'InlineAgentReturnControlPayload')
|
165
|
+
InlineAgentTracePart = Shapes::StructureShape.new(name: 'InlineAgentTracePart')
|
166
|
+
InlineSessionState = Shapes::StructureShape.new(name: 'InlineSessionState')
|
146
167
|
InputFile = Shapes::StructureShape.new(name: 'InputFile')
|
147
168
|
InputFiles = Shapes::ListShape.new(name: 'InputFiles')
|
169
|
+
InputPrompt = Shapes::UnionShape.new(name: 'InputPrompt')
|
148
170
|
InputText = Shapes::StringShape.new(name: 'InputText')
|
171
|
+
Instruction = Shapes::StringShape.new(name: 'Instruction')
|
149
172
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
150
173
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
151
174
|
InvocationInput = Shapes::StructureShape.new(name: 'InvocationInput')
|
@@ -157,7 +180,10 @@ module Aws::BedrockAgentRuntime
|
|
157
180
|
InvokeAgentResponse = Shapes::StructureShape.new(name: 'InvokeAgentResponse')
|
158
181
|
InvokeFlowRequest = Shapes::StructureShape.new(name: 'InvokeFlowRequest')
|
159
182
|
InvokeFlowResponse = Shapes::StructureShape.new(name: 'InvokeFlowResponse')
|
183
|
+
InvokeInlineAgentRequest = Shapes::StructureShape.new(name: 'InvokeInlineAgentRequest')
|
184
|
+
InvokeInlineAgentResponse = Shapes::StructureShape.new(name: 'InvokeInlineAgentResponse')
|
160
185
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
186
|
+
KnowledgeBase = Shapes::StructureShape.new(name: 'KnowledgeBase')
|
161
187
|
KnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseConfiguration')
|
162
188
|
KnowledgeBaseConfigurations = Shapes::ListShape.new(name: 'KnowledgeBaseConfigurations')
|
163
189
|
KnowledgeBaseId = Shapes::StringShape.new(name: 'KnowledgeBaseId')
|
@@ -172,7 +198,9 @@ module Aws::BedrockAgentRuntime
|
|
172
198
|
KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
|
173
199
|
KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
|
174
200
|
KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
|
201
|
+
KnowledgeBases = Shapes::ListShape.new(name: 'KnowledgeBases')
|
175
202
|
LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
|
203
|
+
LambdaResourceArn = Shapes::StringShape.new(name: 'LambdaResourceArn')
|
176
204
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
177
205
|
MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
|
178
206
|
MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
|
@@ -183,6 +211,7 @@ module Aws::BedrockAgentRuntime
|
|
183
211
|
MemoryType = Shapes::StringShape.new(name: 'MemoryType')
|
184
212
|
Metadata = Shapes::StructureShape.new(name: 'Metadata')
|
185
213
|
MimeType = Shapes::StringShape.new(name: 'MimeType')
|
214
|
+
ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
|
186
215
|
ModelInvocationInput = Shapes::StructureShape.new(name: 'ModelInvocationInput')
|
187
216
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
188
217
|
NodeInputName = Shapes::StringShape.new(name: 'NodeInputName')
|
@@ -191,6 +220,12 @@ module Aws::BedrockAgentRuntime
|
|
191
220
|
NodeType = Shapes::StringShape.new(name: 'NodeType')
|
192
221
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
193
222
|
Observation = Shapes::StructureShape.new(name: 'Observation')
|
223
|
+
OptimizePromptRequest = Shapes::StructureShape.new(name: 'OptimizePromptRequest')
|
224
|
+
OptimizePromptRequestTargetModelIdString = Shapes::StringShape.new(name: 'OptimizePromptRequestTargetModelIdString')
|
225
|
+
OptimizePromptResponse = Shapes::StructureShape.new(name: 'OptimizePromptResponse')
|
226
|
+
OptimizedPrompt = Shapes::UnionShape.new(name: 'OptimizedPrompt')
|
227
|
+
OptimizedPromptEvent = Shapes::StructureShape.new(name: 'OptimizedPromptEvent')
|
228
|
+
OptimizedPromptStream = Shapes::StructureShape.new(name: 'OptimizedPromptStream')
|
194
229
|
OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
|
195
230
|
OrchestrationModelInvocationOutput = Shapes::StructureShape.new(name: 'OrchestrationModelInvocationOutput')
|
196
231
|
OrchestrationTrace = Shapes::UnionShape.new(name: 'OrchestrationTrace')
|
@@ -198,9 +233,15 @@ module Aws::BedrockAgentRuntime
|
|
198
233
|
OutputFiles = Shapes::ListShape.new(name: 'OutputFiles')
|
199
234
|
OutputString = Shapes::StringShape.new(name: 'OutputString')
|
200
235
|
Parameter = Shapes::StructureShape.new(name: 'Parameter')
|
236
|
+
ParameterDescription = Shapes::StringShape.new(name: 'ParameterDescription')
|
237
|
+
ParameterDetail = Shapes::StructureShape.new(name: 'ParameterDetail')
|
201
238
|
ParameterList = Shapes::ListShape.new(name: 'ParameterList')
|
239
|
+
ParameterMap = Shapes::MapShape.new(name: 'ParameterMap')
|
240
|
+
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
241
|
+
ParameterType = Shapes::StringShape.new(name: 'ParameterType')
|
202
242
|
Parameters = Shapes::ListShape.new(name: 'Parameters')
|
203
243
|
PartBody = Shapes::BlobShape.new(name: 'PartBody')
|
244
|
+
Payload = Shapes::StringShape.new(name: 'Payload')
|
204
245
|
PayloadPart = Shapes::StructureShape.new(name: 'PayloadPart')
|
205
246
|
PostProcessingModelInvocationOutput = Shapes::StructureShape.new(name: 'PostProcessingModelInvocationOutput')
|
206
247
|
PostProcessingParsedResponse = Shapes::StructureShape.new(name: 'PostProcessingParsedResponse')
|
@@ -208,7 +249,11 @@ module Aws::BedrockAgentRuntime
|
|
208
249
|
PreProcessingModelInvocationOutput = Shapes::StructureShape.new(name: 'PreProcessingModelInvocationOutput')
|
209
250
|
PreProcessingParsedResponse = Shapes::StructureShape.new(name: 'PreProcessingParsedResponse')
|
210
251
|
PreProcessingTrace = Shapes::UnionShape.new(name: 'PreProcessingTrace')
|
252
|
+
PromptConfiguration = Shapes::StructureShape.new(name: 'PromptConfiguration')
|
253
|
+
PromptConfigurations = Shapes::ListShape.new(name: 'PromptConfigurations')
|
254
|
+
PromptOverrideConfiguration = Shapes::StructureShape.new(name: 'PromptOverrideConfiguration')
|
211
255
|
PromptSessionAttributesMap = Shapes::MapShape.new(name: 'PromptSessionAttributesMap')
|
256
|
+
PromptState = Shapes::StringShape.new(name: 'PromptState')
|
212
257
|
PromptTemplate = Shapes::StructureShape.new(name: 'PromptTemplate')
|
213
258
|
PromptText = Shapes::StringShape.new(name: 'PromptText')
|
214
259
|
PromptType = Shapes::StringShape.new(name: 'PromptType')
|
@@ -222,6 +267,9 @@ module Aws::BedrockAgentRuntime
|
|
222
267
|
RawResponse = Shapes::StructureShape.new(name: 'RawResponse')
|
223
268
|
RepromptResponse = Shapes::StructureShape.new(name: 'RepromptResponse')
|
224
269
|
RequestBody = Shapes::StructureShape.new(name: 'RequestBody')
|
270
|
+
RequireConfirmation = Shapes::StringShape.new(name: 'RequireConfirmation')
|
271
|
+
ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
|
272
|
+
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
225
273
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
226
274
|
ResponseBody = Shapes::MapShape.new(name: 'ResponseBody')
|
227
275
|
ResponseState = Shapes::StringShape.new(name: 'ResponseState')
|
@@ -253,14 +301,18 @@ module Aws::BedrockAgentRuntime
|
|
253
301
|
RetrievedReferences = Shapes::ListShape.new(name: 'RetrievedReferences')
|
254
302
|
ReturnControlInvocationResults = Shapes::ListShape.new(name: 'ReturnControlInvocationResults')
|
255
303
|
ReturnControlPayload = Shapes::StructureShape.new(name: 'ReturnControlPayload')
|
304
|
+
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
305
|
+
S3Identifier = Shapes::StructureShape.new(name: 'S3Identifier')
|
256
306
|
S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
|
257
307
|
S3ObjectFile = Shapes::StructureShape.new(name: 'S3ObjectFile')
|
308
|
+
S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
|
258
309
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
259
310
|
SearchType = Shapes::StringShape.new(name: 'SearchType')
|
260
311
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
261
312
|
SessionAttributesMap = Shapes::MapShape.new(name: 'SessionAttributesMap')
|
262
313
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
263
314
|
SessionState = Shapes::StructureShape.new(name: 'SessionState')
|
315
|
+
SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
|
264
316
|
Source = Shapes::StringShape.new(name: 'Source')
|
265
317
|
Span = Shapes::StructureShape.new(name: 'Span')
|
266
318
|
SpanEndInteger = Shapes::IntegerShape.new(name: 'SpanEndInteger')
|
@@ -270,7 +322,9 @@ module Aws::BedrockAgentRuntime
|
|
270
322
|
SummaryText = Shapes::StringShape.new(name: 'SummaryText')
|
271
323
|
Temperature = Shapes::FloatShape.new(name: 'Temperature')
|
272
324
|
TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
|
325
|
+
TextPrompt = Shapes::StructureShape.new(name: 'TextPrompt')
|
273
326
|
TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
|
327
|
+
TextPromptTextString = Shapes::StringShape.new(name: 'TextPromptTextString')
|
274
328
|
TextResponsePart = Shapes::StructureShape.new(name: 'TextResponsePart')
|
275
329
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
276
330
|
TopK = Shapes::IntegerShape.new(name: 'TopK')
|
@@ -284,9 +338,25 @@ module Aws::BedrockAgentRuntime
|
|
284
338
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
285
339
|
Verb = Shapes::StringShape.new(name: 'Verb')
|
286
340
|
|
341
|
+
APISchema.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
|
342
|
+
APISchema.add_member(:s3, Shapes::ShapeRef.new(shape: S3Identifier, location_name: "s3"))
|
343
|
+
APISchema.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
344
|
+
APISchema.add_member_subclass(:payload, Types::APISchema::Payload)
|
345
|
+
APISchema.add_member_subclass(:s3, Types::APISchema::S3)
|
346
|
+
APISchema.add_member_subclass(:unknown, Types::APISchema::Unknown)
|
347
|
+
APISchema.struct_class = Types::APISchema
|
348
|
+
|
287
349
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
288
350
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
289
351
|
|
352
|
+
ActionGroupExecutor.add_member(:custom_control, Shapes::ShapeRef.new(shape: CustomControlMethod, location_name: "customControl"))
|
353
|
+
ActionGroupExecutor.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaResourceArn, location_name: "lambda"))
|
354
|
+
ActionGroupExecutor.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
355
|
+
ActionGroupExecutor.add_member_subclass(:custom_control, Types::ActionGroupExecutor::CustomControl)
|
356
|
+
ActionGroupExecutor.add_member_subclass(:lambda, Types::ActionGroupExecutor::Lambda)
|
357
|
+
ActionGroupExecutor.add_member_subclass(:unknown, Types::ActionGroupExecutor::Unknown)
|
358
|
+
ActionGroupExecutor.struct_class = Types::ActionGroupExecutor
|
359
|
+
|
290
360
|
ActionGroupInvocationInput.add_member(:action_group_name, Shapes::ShapeRef.new(shape: ActionGroupName, location_name: "actionGroupName"))
|
291
361
|
ActionGroupInvocationInput.add_member(:api_path, Shapes::ShapeRef.new(shape: ApiPath, location_name: "apiPath"))
|
292
362
|
ActionGroupInvocationInput.add_member(:execution_type, Shapes::ShapeRef.new(shape: ExecutionType, location_name: "executionType"))
|
@@ -303,6 +373,19 @@ module Aws::BedrockAgentRuntime
|
|
303
373
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
304
374
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
305
375
|
|
376
|
+
AgentActionGroup.add_member(:action_group_executor, Shapes::ShapeRef.new(shape: ActionGroupExecutor, location_name: "actionGroupExecutor"))
|
377
|
+
AgentActionGroup.add_member(:action_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "actionGroupName"))
|
378
|
+
AgentActionGroup.add_member(:api_schema, Shapes::ShapeRef.new(shape: APISchema, location_name: "apiSchema"))
|
379
|
+
AgentActionGroup.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
|
380
|
+
AgentActionGroup.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
|
381
|
+
AgentActionGroup.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
|
382
|
+
AgentActionGroup.struct_class = Types::AgentActionGroup
|
383
|
+
|
384
|
+
AgentActionGroups.member = Shapes::ShapeRef.new(shape: AgentActionGroup)
|
385
|
+
|
386
|
+
AnalyzePromptEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
387
|
+
AnalyzePromptEvent.struct_class = Types::AnalyzePromptEvent
|
388
|
+
|
306
389
|
ApiContentMap.key = Shapes::ShapeRef.new(shape: String)
|
307
390
|
ApiContentMap.value = Shapes::ShapeRef.new(shape: PropertyParameters)
|
308
391
|
|
@@ -522,6 +605,12 @@ module Aws::BedrockAgentRuntime
|
|
522
605
|
|
523
606
|
FlowTraceNodeOutputFields.member = Shapes::ShapeRef.new(shape: FlowTraceNodeOutputField)
|
524
607
|
|
608
|
+
FunctionDefinition.add_member(:description, Shapes::ShapeRef.new(shape: FunctionDescription, location_name: "description"))
|
609
|
+
FunctionDefinition.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
610
|
+
FunctionDefinition.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "parameters"))
|
611
|
+
FunctionDefinition.add_member(:require_confirmation, Shapes::ShapeRef.new(shape: RequireConfirmation, location_name: "requireConfirmation"))
|
612
|
+
FunctionDefinition.struct_class = Types::FunctionDefinition
|
613
|
+
|
525
614
|
FunctionInvocationInput.add_member(:action_group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionGroup"))
|
526
615
|
FunctionInvocationInput.add_member(:action_invocation_type, Shapes::ShapeRef.new(shape: ActionInvocationType, location_name: "actionInvocationType"))
|
527
616
|
FunctionInvocationInput.add_member(:function, Shapes::ShapeRef.new(shape: String, location_name: "function"))
|
@@ -542,6 +631,14 @@ module Aws::BedrockAgentRuntime
|
|
542
631
|
FunctionResult.add_member(:response_state, Shapes::ShapeRef.new(shape: ResponseState, location_name: "responseState"))
|
543
632
|
FunctionResult.struct_class = Types::FunctionResult
|
544
633
|
|
634
|
+
FunctionSchema.add_member(:functions, Shapes::ShapeRef.new(shape: Functions, location_name: "functions"))
|
635
|
+
FunctionSchema.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
636
|
+
FunctionSchema.add_member_subclass(:functions, Types::FunctionSchema::Functions)
|
637
|
+
FunctionSchema.add_member_subclass(:unknown, Types::FunctionSchema::Unknown)
|
638
|
+
FunctionSchema.struct_class = Types::FunctionSchema
|
639
|
+
|
640
|
+
Functions.member = Shapes::ShapeRef.new(shape: FunctionDefinition)
|
641
|
+
|
545
642
|
GeneratedResponsePart.add_member(:text_response_part, Shapes::ShapeRef.new(shape: TextResponsePart, location_name: "textResponsePart"))
|
546
643
|
GeneratedResponsePart.struct_class = Types::GeneratedResponsePart
|
547
644
|
|
@@ -575,6 +672,10 @@ module Aws::BedrockAgentRuntime
|
|
575
672
|
GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
|
576
673
|
GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
|
577
674
|
|
675
|
+
GuardrailConfigurationWithArn.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifierWithArn, required: true, location_name: "guardrailIdentifier"))
|
676
|
+
GuardrailConfigurationWithArn.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, required: true, location_name: "guardrailVersion"))
|
677
|
+
GuardrailConfigurationWithArn.struct_class = Types::GuardrailConfigurationWithArn
|
678
|
+
|
578
679
|
GuardrailContentFilter.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailContentPolicyAction, location_name: "action"))
|
579
680
|
GuardrailContentFilter.add_member(:confidence, Shapes::ShapeRef.new(shape: GuardrailContentFilterConfidence, location_name: "confidence"))
|
580
681
|
GuardrailContentFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, location_name: "type"))
|
@@ -647,6 +748,43 @@ module Aws::BedrockAgentRuntime
|
|
647
748
|
InferenceConfiguration.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
648
749
|
InferenceConfiguration.struct_class = Types::InferenceConfiguration
|
649
750
|
|
751
|
+
InlineAgentFilePart.add_member(:files, Shapes::ShapeRef.new(shape: OutputFiles, location_name: "files"))
|
752
|
+
InlineAgentFilePart.struct_class = Types::InlineAgentFilePart
|
753
|
+
|
754
|
+
InlineAgentPayloadPart.add_member(:attribution, Shapes::ShapeRef.new(shape: Attribution, location_name: "attribution"))
|
755
|
+
InlineAgentPayloadPart.add_member(:bytes, Shapes::ShapeRef.new(shape: PartBody, location_name: "bytes"))
|
756
|
+
InlineAgentPayloadPart.struct_class = Types::InlineAgentPayloadPart
|
757
|
+
|
758
|
+
InlineAgentResponseStream.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
|
759
|
+
InlineAgentResponseStream.add_member(:bad_gateway_exception, Shapes::ShapeRef.new(shape: BadGatewayException, location_name: "badGatewayException"))
|
760
|
+
InlineAgentResponseStream.add_member(:chunk, Shapes::ShapeRef.new(shape: InlineAgentPayloadPart, event: true, location_name: "chunk"))
|
761
|
+
InlineAgentResponseStream.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
|
762
|
+
InlineAgentResponseStream.add_member(:dependency_failed_exception, Shapes::ShapeRef.new(shape: DependencyFailedException, location_name: "dependencyFailedException"))
|
763
|
+
InlineAgentResponseStream.add_member(:files, Shapes::ShapeRef.new(shape: InlineAgentFilePart, event: true, location_name: "files"))
|
764
|
+
InlineAgentResponseStream.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
|
765
|
+
InlineAgentResponseStream.add_member(:resource_not_found_exception, Shapes::ShapeRef.new(shape: ResourceNotFoundException, location_name: "resourceNotFoundException"))
|
766
|
+
InlineAgentResponseStream.add_member(:return_control, Shapes::ShapeRef.new(shape: InlineAgentReturnControlPayload, event: true, location_name: "returnControl"))
|
767
|
+
InlineAgentResponseStream.add_member(:service_quota_exceeded_exception, Shapes::ShapeRef.new(shape: ServiceQuotaExceededException, location_name: "serviceQuotaExceededException"))
|
768
|
+
InlineAgentResponseStream.add_member(:throttling_exception, Shapes::ShapeRef.new(shape: ThrottlingException, location_name: "throttlingException"))
|
769
|
+
InlineAgentResponseStream.add_member(:trace, Shapes::ShapeRef.new(shape: InlineAgentTracePart, event: true, location_name: "trace"))
|
770
|
+
InlineAgentResponseStream.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
|
771
|
+
InlineAgentResponseStream.struct_class = Types::InlineAgentResponseStream
|
772
|
+
|
773
|
+
InlineAgentReturnControlPayload.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
|
774
|
+
InlineAgentReturnControlPayload.add_member(:invocation_inputs, Shapes::ShapeRef.new(shape: InvocationInputs, location_name: "invocationInputs"))
|
775
|
+
InlineAgentReturnControlPayload.struct_class = Types::InlineAgentReturnControlPayload
|
776
|
+
|
777
|
+
InlineAgentTracePart.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
|
778
|
+
InlineAgentTracePart.add_member(:trace, Shapes::ShapeRef.new(shape: Trace, location_name: "trace"))
|
779
|
+
InlineAgentTracePart.struct_class = Types::InlineAgentTracePart
|
780
|
+
|
781
|
+
InlineSessionState.add_member(:files, Shapes::ShapeRef.new(shape: InputFiles, location_name: "files"))
|
782
|
+
InlineSessionState.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
|
783
|
+
InlineSessionState.add_member(:prompt_session_attributes, Shapes::ShapeRef.new(shape: PromptSessionAttributesMap, location_name: "promptSessionAttributes"))
|
784
|
+
InlineSessionState.add_member(:return_control_invocation_results, Shapes::ShapeRef.new(shape: ReturnControlInvocationResults, location_name: "returnControlInvocationResults"))
|
785
|
+
InlineSessionState.add_member(:session_attributes, Shapes::ShapeRef.new(shape: SessionAttributesMap, location_name: "sessionAttributes"))
|
786
|
+
InlineSessionState.struct_class = Types::InlineSessionState
|
787
|
+
|
650
788
|
InputFile.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
651
789
|
InputFile.add_member(:source, Shapes::ShapeRef.new(shape: FileSource, required: true, location_name: "source"))
|
652
790
|
InputFile.add_member(:use_case, Shapes::ShapeRef.new(shape: FileUseCase, required: true, location_name: "useCase"))
|
@@ -654,6 +792,12 @@ module Aws::BedrockAgentRuntime
|
|
654
792
|
|
655
793
|
InputFiles.member = Shapes::ShapeRef.new(shape: InputFile)
|
656
794
|
|
795
|
+
InputPrompt.add_member(:text_prompt, Shapes::ShapeRef.new(shape: TextPrompt, location_name: "textPrompt"))
|
796
|
+
InputPrompt.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
797
|
+
InputPrompt.add_member_subclass(:text_prompt, Types::InputPrompt::TextPrompt)
|
798
|
+
InputPrompt.add_member_subclass(:unknown, Types::InputPrompt::Unknown)
|
799
|
+
InputPrompt.struct_class = Types::InputPrompt
|
800
|
+
|
657
801
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
658
802
|
InternalServerException.struct_class = Types::InternalServerException
|
659
803
|
|
@@ -711,6 +855,33 @@ module Aws::BedrockAgentRuntime
|
|
711
855
|
InvokeFlowResponse[:payload] = :response_stream
|
712
856
|
InvokeFlowResponse[:payload_member] = InvokeFlowResponse.member(:response_stream)
|
713
857
|
|
858
|
+
InvokeInlineAgentRequest.add_member(:action_groups, Shapes::ShapeRef.new(shape: AgentActionGroups, location_name: "actionGroups"))
|
859
|
+
InvokeInlineAgentRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
|
860
|
+
InvokeInlineAgentRequest.add_member(:enable_trace, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableTrace"))
|
861
|
+
InvokeInlineAgentRequest.add_member(:end_session, Shapes::ShapeRef.new(shape: Boolean, location_name: "endSession"))
|
862
|
+
InvokeInlineAgentRequest.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location_name: "foundationModel"))
|
863
|
+
InvokeInlineAgentRequest.add_member(:guardrail_configuration, Shapes::ShapeRef.new(shape: GuardrailConfigurationWithArn, location_name: "guardrailConfiguration"))
|
864
|
+
InvokeInlineAgentRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
|
865
|
+
InvokeInlineAgentRequest.add_member(:inline_session_state, Shapes::ShapeRef.new(shape: InlineSessionState, location_name: "inlineSessionState"))
|
866
|
+
InvokeInlineAgentRequest.add_member(:input_text, Shapes::ShapeRef.new(shape: InputText, location_name: "inputText"))
|
867
|
+
InvokeInlineAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, required: true, location_name: "instruction"))
|
868
|
+
InvokeInlineAgentRequest.add_member(:knowledge_bases, Shapes::ShapeRef.new(shape: KnowledgeBases, location_name: "knowledgeBases"))
|
869
|
+
InvokeInlineAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
|
870
|
+
InvokeInlineAgentRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
871
|
+
InvokeInlineAgentRequest.struct_class = Types::InvokeInlineAgentRequest
|
872
|
+
|
873
|
+
InvokeInlineAgentResponse.add_member(:completion, Shapes::ShapeRef.new(shape: InlineAgentResponseStream, required: true, eventstream: true, location_name: "completion"))
|
874
|
+
InvokeInlineAgentResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "x-amzn-bedrock-agent-content-type"))
|
875
|
+
InvokeInlineAgentResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "header", location_name: "x-amz-bedrock-agent-session-id"))
|
876
|
+
InvokeInlineAgentResponse.struct_class = Types::InvokeInlineAgentResponse
|
877
|
+
InvokeInlineAgentResponse[:payload] = :completion
|
878
|
+
InvokeInlineAgentResponse[:payload_member] = InvokeInlineAgentResponse.member(:completion)
|
879
|
+
|
880
|
+
KnowledgeBase.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "description"))
|
881
|
+
KnowledgeBase.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
|
882
|
+
KnowledgeBase.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, location_name: "retrievalConfiguration"))
|
883
|
+
KnowledgeBase.struct_class = Types::KnowledgeBase
|
884
|
+
|
714
885
|
KnowledgeBaseConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
|
715
886
|
KnowledgeBaseConfiguration.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, required: true, location_name: "retrievalConfiguration"))
|
716
887
|
KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
|
@@ -750,6 +921,8 @@ module Aws::BedrockAgentRuntime
|
|
750
921
|
KnowledgeBaseVectorSearchConfiguration.add_member(:override_search_type, Shapes::ShapeRef.new(shape: SearchType, location_name: "overrideSearchType"))
|
751
922
|
KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
|
752
923
|
|
924
|
+
KnowledgeBases.member = Shapes::ShapeRef.new(shape: KnowledgeBase)
|
925
|
+
|
753
926
|
Memories.member = Shapes::ShapeRef.new(shape: Memory)
|
754
927
|
|
755
928
|
Memory.add_member(:session_summary, Shapes::ShapeRef.new(shape: MemorySessionSummary, location_name: "sessionSummary"))
|
@@ -786,6 +959,34 @@ module Aws::BedrockAgentRuntime
|
|
786
959
|
Observation.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
787
960
|
Observation.struct_class = Types::Observation
|
788
961
|
|
962
|
+
OptimizePromptRequest.add_member(:input, Shapes::ShapeRef.new(shape: InputPrompt, required: true, location_name: "input"))
|
963
|
+
OptimizePromptRequest.add_member(:target_model_id, Shapes::ShapeRef.new(shape: OptimizePromptRequestTargetModelIdString, required: true, location_name: "targetModelId"))
|
964
|
+
OptimizePromptRequest.struct_class = Types::OptimizePromptRequest
|
965
|
+
|
966
|
+
OptimizePromptResponse.add_member(:optimized_prompt, Shapes::ShapeRef.new(shape: OptimizedPromptStream, required: true, eventstream: true, location_name: "optimizedPrompt"))
|
967
|
+
OptimizePromptResponse.struct_class = Types::OptimizePromptResponse
|
968
|
+
OptimizePromptResponse[:payload] = :optimized_prompt
|
969
|
+
OptimizePromptResponse[:payload_member] = OptimizePromptResponse.member(:optimized_prompt)
|
970
|
+
|
971
|
+
OptimizedPrompt.add_member(:text_prompt, Shapes::ShapeRef.new(shape: TextPrompt, location_name: "textPrompt"))
|
972
|
+
OptimizedPrompt.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
973
|
+
OptimizedPrompt.add_member_subclass(:text_prompt, Types::OptimizedPrompt::TextPrompt)
|
974
|
+
OptimizedPrompt.add_member_subclass(:unknown, Types::OptimizedPrompt::Unknown)
|
975
|
+
OptimizedPrompt.struct_class = Types::OptimizedPrompt
|
976
|
+
|
977
|
+
OptimizedPromptEvent.add_member(:optimized_prompt, Shapes::ShapeRef.new(shape: OptimizedPrompt, location_name: "optimizedPrompt"))
|
978
|
+
OptimizedPromptEvent.struct_class = Types::OptimizedPromptEvent
|
979
|
+
|
980
|
+
OptimizedPromptStream.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
|
981
|
+
OptimizedPromptStream.add_member(:analyze_prompt_event, Shapes::ShapeRef.new(shape: AnalyzePromptEvent, event: true, location_name: "analyzePromptEvent"))
|
982
|
+
OptimizedPromptStream.add_member(:bad_gateway_exception, Shapes::ShapeRef.new(shape: BadGatewayException, location_name: "badGatewayException"))
|
983
|
+
OptimizedPromptStream.add_member(:dependency_failed_exception, Shapes::ShapeRef.new(shape: DependencyFailedException, location_name: "dependencyFailedException"))
|
984
|
+
OptimizedPromptStream.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
|
985
|
+
OptimizedPromptStream.add_member(:optimized_prompt_event, Shapes::ShapeRef.new(shape: OptimizedPromptEvent, event: true, location_name: "optimizedPromptEvent"))
|
986
|
+
OptimizedPromptStream.add_member(:throttling_exception, Shapes::ShapeRef.new(shape: ThrottlingException, location_name: "throttlingException"))
|
987
|
+
OptimizedPromptStream.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
|
988
|
+
OptimizedPromptStream.struct_class = Types::OptimizedPromptStream
|
989
|
+
|
789
990
|
OrchestrationConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
|
790
991
|
OrchestrationConfiguration.add_member(:inference_config, Shapes::ShapeRef.new(shape: InferenceConfig, location_name: "inferenceConfig"))
|
791
992
|
OrchestrationConfiguration.add_member(:prompt_template, Shapes::ShapeRef.new(shape: PromptTemplate, location_name: "promptTemplate"))
|
@@ -823,8 +1024,16 @@ module Aws::BedrockAgentRuntime
|
|
823
1024
|
Parameter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
824
1025
|
Parameter.struct_class = Types::Parameter
|
825
1026
|
|
1027
|
+
ParameterDetail.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "description"))
|
1028
|
+
ParameterDetail.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, location_name: "required"))
|
1029
|
+
ParameterDetail.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, required: true, location_name: "type"))
|
1030
|
+
ParameterDetail.struct_class = Types::ParameterDetail
|
1031
|
+
|
826
1032
|
ParameterList.member = Shapes::ShapeRef.new(shape: Parameter)
|
827
1033
|
|
1034
|
+
ParameterMap.key = Shapes::ShapeRef.new(shape: ParameterName)
|
1035
|
+
ParameterMap.value = Shapes::ShapeRef.new(shape: ParameterDetail)
|
1036
|
+
|
828
1037
|
Parameters.member = Shapes::ShapeRef.new(shape: Parameter)
|
829
1038
|
|
830
1039
|
PayloadPart.add_member(:attribution, Shapes::ShapeRef.new(shape: Attribution, location_name: "attribution"))
|
@@ -866,6 +1075,20 @@ module Aws::BedrockAgentRuntime
|
|
866
1075
|
PreProcessingTrace.add_member_subclass(:unknown, Types::PreProcessingTrace::Unknown)
|
867
1076
|
PreProcessingTrace.struct_class = Types::PreProcessingTrace
|
868
1077
|
|
1078
|
+
PromptConfiguration.add_member(:base_prompt_template, Shapes::ShapeRef.new(shape: BasePromptTemplate, location_name: "basePromptTemplate"))
|
1079
|
+
PromptConfiguration.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
|
1080
|
+
PromptConfiguration.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
|
1081
|
+
PromptConfiguration.add_member(:prompt_creation_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "promptCreationMode"))
|
1082
|
+
PromptConfiguration.add_member(:prompt_state, Shapes::ShapeRef.new(shape: PromptState, location_name: "promptState"))
|
1083
|
+
PromptConfiguration.add_member(:prompt_type, Shapes::ShapeRef.new(shape: PromptType, location_name: "promptType"))
|
1084
|
+
PromptConfiguration.struct_class = Types::PromptConfiguration
|
1085
|
+
|
1086
|
+
PromptConfigurations.member = Shapes::ShapeRef.new(shape: PromptConfiguration)
|
1087
|
+
|
1088
|
+
PromptOverrideConfiguration.add_member(:override_lambda, Shapes::ShapeRef.new(shape: LambdaResourceArn, location_name: "overrideLambda"))
|
1089
|
+
PromptOverrideConfiguration.add_member(:prompt_configurations, Shapes::ShapeRef.new(shape: PromptConfigurations, required: true, location_name: "promptConfigurations"))
|
1090
|
+
PromptOverrideConfiguration.struct_class = Types::PromptOverrideConfiguration
|
1091
|
+
|
869
1092
|
PromptSessionAttributesMap.key = Shapes::ShapeRef.new(shape: String)
|
870
1093
|
PromptSessionAttributesMap.value = Shapes::ShapeRef.new(shape: String)
|
871
1094
|
|
@@ -1025,6 +1248,10 @@ module Aws::BedrockAgentRuntime
|
|
1025
1248
|
ReturnControlPayload.add_member(:invocation_inputs, Shapes::ShapeRef.new(shape: InvocationInputs, location_name: "invocationInputs"))
|
1026
1249
|
ReturnControlPayload.struct_class = Types::ReturnControlPayload
|
1027
1250
|
|
1251
|
+
S3Identifier.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "s3BucketName"))
|
1252
|
+
S3Identifier.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "s3ObjectKey"))
|
1253
|
+
S3Identifier.struct_class = Types::S3Identifier
|
1254
|
+
|
1028
1255
|
S3ObjectDoc.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
|
1029
1256
|
S3ObjectDoc.struct_class = Types::S3ObjectDoc
|
1030
1257
|
|
@@ -1057,6 +1284,9 @@ module Aws::BedrockAgentRuntime
|
|
1057
1284
|
TextInferenceConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
1058
1285
|
TextInferenceConfig.struct_class = Types::TextInferenceConfig
|
1059
1286
|
|
1287
|
+
TextPrompt.add_member(:text, Shapes::ShapeRef.new(shape: TextPromptTextString, required: true, location_name: "text"))
|
1288
|
+
TextPrompt.struct_class = Types::TextPrompt
|
1289
|
+
|
1060
1290
|
TextResponsePart.add_member(:span, Shapes::ShapeRef.new(shape: Span, location_name: "span"))
|
1061
1291
|
TextResponsePart.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
|
1062
1292
|
TextResponsePart.struct_class = Types::TextResponsePart
|
@@ -1186,6 +1416,37 @@ module Aws::BedrockAgentRuntime
|
|
1186
1416
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1187
1417
|
end)
|
1188
1418
|
|
1419
|
+
api.add_operation(:invoke_inline_agent, Seahorse::Model::Operation.new.tap do |o|
|
1420
|
+
o.name = "InvokeInlineAgent"
|
1421
|
+
o.http_method = "POST"
|
1422
|
+
o.http_request_uri = "/agents/{sessionId}"
|
1423
|
+
o.input = Shapes::ShapeRef.new(shape: InvokeInlineAgentRequest)
|
1424
|
+
o.output = Shapes::ShapeRef.new(shape: InvokeInlineAgentResponse)
|
1425
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1426
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1427
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1428
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1429
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1434
|
+
end)
|
1435
|
+
|
1436
|
+
api.add_operation(:optimize_prompt, Seahorse::Model::Operation.new.tap do |o|
|
1437
|
+
o.name = "OptimizePrompt"
|
1438
|
+
o.http_method = "POST"
|
1439
|
+
o.http_request_uri = "/optimize-prompt"
|
1440
|
+
o.input = Shapes::ShapeRef.new(shape: OptimizePromptRequest)
|
1441
|
+
o.output = Shapes::ShapeRef.new(shape: OptimizePromptResponse)
|
1442
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1443
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1444
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
|
1445
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1446
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1447
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1448
|
+
end)
|
1449
|
+
|
1189
1450
|
api.add_operation(:retrieve, Seahorse::Model::Operation.new.tap do |o|
|
1190
1451
|
o.name = "Retrieve"
|
1191
1452
|
o.http_method = "POST"
|