aws-sdk-bedrockagentruntime 1.15.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,15 +37,23 @@ module Aws::BedrockAgentRuntime
37
37
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
38
38
  ByteContentBlob = Shapes::BlobShape.new(name: 'ByteContentBlob')
39
39
  ByteContentDoc = Shapes::StructureShape.new(name: 'ByteContentDoc')
40
+ ByteContentFile = Shapes::StructureShape.new(name: 'ByteContentFile')
40
41
  Citation = Shapes::StructureShape.new(name: 'Citation')
41
42
  Citations = Shapes::ListShape.new(name: 'Citations')
43
+ CodeInterpreterInvocationInput = Shapes::StructureShape.new(name: 'CodeInterpreterInvocationInput')
44
+ CodeInterpreterInvocationOutput = Shapes::StructureShape.new(name: 'CodeInterpreterInvocationOutput')
42
45
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
43
46
  ContentBody = Shapes::StructureShape.new(name: 'ContentBody')
44
47
  ContentMap = Shapes::MapShape.new(name: 'ContentMap')
45
48
  ContentType = Shapes::StringShape.new(name: 'ContentType')
46
49
  CreationMode = Shapes::StringShape.new(name: 'CreationMode')
50
+ DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
51
+ DeleteAgentMemoryRequest = Shapes::StructureShape.new(name: 'DeleteAgentMemoryRequest')
52
+ DeleteAgentMemoryResponse = Shapes::StructureShape.new(name: 'DeleteAgentMemoryResponse')
47
53
  DependencyFailedException = Shapes::StructureShape.new(name: 'DependencyFailedException')
54
+ Document = Shapes::DocumentShape.new(name: 'Document', document: true)
48
55
  Double = Shapes::FloatShape.new(name: 'Double')
56
+ ExecutionType = Shapes::StringShape.new(name: 'ExecutionType')
49
57
  ExternalSource = Shapes::StructureShape.new(name: 'ExternalSource')
50
58
  ExternalSourceType = Shapes::StringShape.new(name: 'ExternalSourceType')
51
59
  ExternalSources = Shapes::ListShape.new(name: 'ExternalSources')
@@ -53,11 +61,27 @@ module Aws::BedrockAgentRuntime
53
61
  ExternalSourcesRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'ExternalSourcesRetrieveAndGenerateConfiguration')
54
62
  FailureReasonString = Shapes::StringShape.new(name: 'FailureReasonString')
55
63
  FailureTrace = Shapes::StructureShape.new(name: 'FailureTrace')
64
+ FileBody = Shapes::BlobShape.new(name: 'FileBody')
65
+ FilePart = Shapes::StructureShape.new(name: 'FilePart')
66
+ FileSource = Shapes::StructureShape.new(name: 'FileSource')
67
+ FileSourceType = Shapes::StringShape.new(name: 'FileSourceType')
68
+ FileUseCase = Shapes::StringShape.new(name: 'FileUseCase')
69
+ Files = Shapes::ListShape.new(name: 'Files')
56
70
  FilterAttribute = Shapes::StructureShape.new(name: 'FilterAttribute')
57
71
  FilterKey = Shapes::StringShape.new(name: 'FilterKey')
58
72
  FilterValue = Shapes::DocumentShape.new(name: 'FilterValue', document: true)
59
73
  FinalResponse = Shapes::StructureShape.new(name: 'FinalResponse')
60
74
  FinalResponseString = Shapes::StringShape.new(name: 'FinalResponseString')
75
+ FlowAliasIdentifier = Shapes::StringShape.new(name: 'FlowAliasIdentifier')
76
+ FlowCompletionEvent = Shapes::StructureShape.new(name: 'FlowCompletionEvent')
77
+ FlowCompletionReason = Shapes::StringShape.new(name: 'FlowCompletionReason')
78
+ FlowIdentifier = Shapes::StringShape.new(name: 'FlowIdentifier')
79
+ FlowInput = Shapes::StructureShape.new(name: 'FlowInput')
80
+ FlowInputContent = Shapes::UnionShape.new(name: 'FlowInputContent')
81
+ FlowInputs = Shapes::ListShape.new(name: 'FlowInputs')
82
+ FlowOutputContent = Shapes::UnionShape.new(name: 'FlowOutputContent')
83
+ FlowOutputEvent = Shapes::StructureShape.new(name: 'FlowOutputEvent')
84
+ FlowResponseStream = Shapes::StructureShape.new(name: 'FlowResponseStream')
61
85
  Function = Shapes::StringShape.new(name: 'Function')
62
86
  FunctionInvocationInput = Shapes::StructureShape.new(name: 'FunctionInvocationInput')
63
87
  FunctionParameter = Shapes::StructureShape.new(name: 'FunctionParameter')
@@ -65,6 +89,8 @@ module Aws::BedrockAgentRuntime
65
89
  FunctionResult = Shapes::StructureShape.new(name: 'FunctionResult')
66
90
  GeneratedResponsePart = Shapes::StructureShape.new(name: 'GeneratedResponsePart')
67
91
  GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
92
+ GetAgentMemoryRequest = Shapes::StructureShape.new(name: 'GetAgentMemoryRequest')
93
+ GetAgentMemoryResponse = Shapes::StructureShape.new(name: 'GetAgentMemoryResponse')
68
94
  GuadrailAction = Shapes::StringShape.new(name: 'GuadrailAction')
69
95
  GuardrailAction = Shapes::StringShape.new(name: 'GuardrailAction')
70
96
  GuardrailAssessment = Shapes::StructureShape.new(name: 'GuardrailAssessment')
@@ -101,6 +127,8 @@ module Aws::BedrockAgentRuntime
101
127
  Identifier = Shapes::StringShape.new(name: 'Identifier')
102
128
  InferenceConfig = Shapes::StructureShape.new(name: 'InferenceConfig')
103
129
  InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
130
+ InputFile = Shapes::StructureShape.new(name: 'InputFile')
131
+ InputFiles = Shapes::ListShape.new(name: 'InputFiles')
104
132
  InputText = Shapes::StringShape.new(name: 'InputText')
105
133
  Integer = Shapes::IntegerShape.new(name: 'Integer')
106
134
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -111,7 +139,11 @@ module Aws::BedrockAgentRuntime
111
139
  InvocationType = Shapes::StringShape.new(name: 'InvocationType')
112
140
  InvokeAgentRequest = Shapes::StructureShape.new(name: 'InvokeAgentRequest')
113
141
  InvokeAgentResponse = Shapes::StructureShape.new(name: 'InvokeAgentResponse')
142
+ InvokeFlowRequest = Shapes::StructureShape.new(name: 'InvokeFlowRequest')
143
+ InvokeFlowResponse = Shapes::StructureShape.new(name: 'InvokeFlowResponse')
114
144
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
145
+ KnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseConfiguration')
146
+ KnowledgeBaseConfigurations = Shapes::ListShape.new(name: 'KnowledgeBaseConfigurations')
115
147
  KnowledgeBaseId = Shapes::StringShape.new(name: 'KnowledgeBaseId')
116
148
  KnowledgeBaseLookupInput = Shapes::StructureShape.new(name: 'KnowledgeBaseLookupInput')
117
149
  KnowledgeBaseLookupInputString = Shapes::StringShape.new(name: 'KnowledgeBaseLookupInputString')
@@ -125,14 +157,28 @@ module Aws::BedrockAgentRuntime
125
157
  KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
126
158
  KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
127
159
  LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
160
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
128
161
  MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
129
162
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
163
+ Memories = Shapes::ListShape.new(name: 'Memories')
164
+ Memory = Shapes::UnionShape.new(name: 'Memory')
165
+ MemoryId = Shapes::StringShape.new(name: 'MemoryId')
166
+ MemorySessionSummary = Shapes::StructureShape.new(name: 'MemorySessionSummary')
167
+ MemoryType = Shapes::StringShape.new(name: 'MemoryType')
168
+ Metadata = Shapes::StructureShape.new(name: 'Metadata')
130
169
  MimeType = Shapes::StringShape.new(name: 'MimeType')
131
170
  ModelInvocationInput = Shapes::StructureShape.new(name: 'ModelInvocationInput')
132
171
  NextToken = Shapes::StringShape.new(name: 'NextToken')
172
+ NodeName = Shapes::StringShape.new(name: 'NodeName')
173
+ NodeOutputName = Shapes::StringShape.new(name: 'NodeOutputName')
174
+ NodeType = Shapes::StringShape.new(name: 'NodeType')
133
175
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
134
176
  Observation = Shapes::StructureShape.new(name: 'Observation')
177
+ OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
178
+ OrchestrationModelInvocationOutput = Shapes::StructureShape.new(name: 'OrchestrationModelInvocationOutput')
135
179
  OrchestrationTrace = Shapes::UnionShape.new(name: 'OrchestrationTrace')
180
+ OutputFile = Shapes::StructureShape.new(name: 'OutputFile')
181
+ OutputFiles = Shapes::ListShape.new(name: 'OutputFiles')
136
182
  OutputString = Shapes::StringShape.new(name: 'OutputString')
137
183
  Parameter = Shapes::StructureShape.new(name: 'Parameter')
138
184
  ParameterList = Shapes::ListShape.new(name: 'ParameterList')
@@ -150,10 +196,13 @@ module Aws::BedrockAgentRuntime
150
196
  PromptText = Shapes::StringShape.new(name: 'PromptText')
151
197
  PromptType = Shapes::StringShape.new(name: 'PromptType')
152
198
  PropertyParameters = Shapes::StructureShape.new(name: 'PropertyParameters')
199
+ QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
200
+ QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
153
201
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
154
202
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
155
203
  Rationale = Shapes::StructureShape.new(name: 'Rationale')
156
204
  RationaleString = Shapes::StringShape.new(name: 'RationaleString')
205
+ RawResponse = Shapes::StructureShape.new(name: 'RawResponse')
157
206
  RepromptResponse = Shapes::StructureShape.new(name: 'RepromptResponse')
158
207
  RequestBody = Shapes::StructureShape.new(name: 'RequestBody')
159
208
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -162,6 +211,7 @@ module Aws::BedrockAgentRuntime
162
211
  ResponseStream = Shapes::StructureShape.new(name: 'ResponseStream')
163
212
  RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
164
213
  RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
214
+ RetrievalResultConfluenceLocation = Shapes::StructureShape.new(name: 'RetrievalResultConfluenceLocation')
165
215
  RetrievalResultContent = Shapes::StructureShape.new(name: 'RetrievalResultContent')
166
216
  RetrievalResultLocation = Shapes::StructureShape.new(name: 'RetrievalResultLocation')
167
217
  RetrievalResultLocationType = Shapes::StringShape.new(name: 'RetrievalResultLocationType')
@@ -169,6 +219,9 @@ module Aws::BedrockAgentRuntime
169
219
  RetrievalResultMetadataKey = Shapes::StringShape.new(name: 'RetrievalResultMetadataKey')
170
220
  RetrievalResultMetadataValue = Shapes::DocumentShape.new(name: 'RetrievalResultMetadataValue', document: true)
171
221
  RetrievalResultS3Location = Shapes::StructureShape.new(name: 'RetrievalResultS3Location')
222
+ RetrievalResultSalesforceLocation = Shapes::StructureShape.new(name: 'RetrievalResultSalesforceLocation')
223
+ RetrievalResultSharePointLocation = Shapes::StructureShape.new(name: 'RetrievalResultSharePointLocation')
224
+ RetrievalResultWebLocation = Shapes::StructureShape.new(name: 'RetrievalResultWebLocation')
172
225
  RetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'RetrieveAndGenerateConfiguration')
173
226
  RetrieveAndGenerateInput = Shapes::StructureShape.new(name: 'RetrieveAndGenerateInput')
174
227
  RetrieveAndGenerateInputTextString = Shapes::StringShape.new(name: 'RetrieveAndGenerateInputTextString')
@@ -184,6 +237,7 @@ module Aws::BedrockAgentRuntime
184
237
  ReturnControlInvocationResults = Shapes::ListShape.new(name: 'ReturnControlInvocationResults')
185
238
  ReturnControlPayload = Shapes::StructureShape.new(name: 'ReturnControlPayload')
186
239
  S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
240
+ S3ObjectFile = Shapes::StructureShape.new(name: 'S3ObjectFile')
187
241
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
188
242
  SearchType = Shapes::StringShape.new(name: 'SearchType')
189
243
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -196,6 +250,7 @@ module Aws::BedrockAgentRuntime
196
250
  SpanStartInteger = Shapes::IntegerShape.new(name: 'SpanStartInteger')
197
251
  StopSequences = Shapes::ListShape.new(name: 'StopSequences')
198
252
  String = Shapes::StringShape.new(name: 'String')
253
+ SummaryText = Shapes::StringShape.new(name: 'SummaryText')
199
254
  Temperature = Shapes::FloatShape.new(name: 'Temperature')
200
255
  TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
201
256
  TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
@@ -208,6 +263,7 @@ module Aws::BedrockAgentRuntime
208
263
  TraceKnowledgeBaseId = Shapes::StringShape.new(name: 'TraceKnowledgeBaseId')
209
264
  TracePart = Shapes::StructureShape.new(name: 'TracePart')
210
265
  Type = Shapes::StringShape.new(name: 'Type')
266
+ Usage = Shapes::StructureShape.new(name: 'Usage')
211
267
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
212
268
  Verb = Shapes::StringShape.new(name: 'Verb')
213
269
 
@@ -216,7 +272,9 @@ module Aws::BedrockAgentRuntime
216
272
 
217
273
  ActionGroupInvocationInput.add_member(:action_group_name, Shapes::ShapeRef.new(shape: ActionGroupName, location_name: "actionGroupName"))
218
274
  ActionGroupInvocationInput.add_member(:api_path, Shapes::ShapeRef.new(shape: ApiPath, location_name: "apiPath"))
275
+ ActionGroupInvocationInput.add_member(:execution_type, Shapes::ShapeRef.new(shape: ExecutionType, location_name: "executionType"))
219
276
  ActionGroupInvocationInput.add_member(:function, Shapes::ShapeRef.new(shape: Function, location_name: "function"))
277
+ ActionGroupInvocationInput.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
220
278
  ActionGroupInvocationInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "parameters"))
221
279
  ActionGroupInvocationInput.add_member(:request_body, Shapes::ShapeRef.new(shape: RequestBody, location_name: "requestBody"))
222
280
  ActionGroupInvocationInput.add_member(:verb, Shapes::ShapeRef.new(shape: Verb, location_name: "verb"))
@@ -268,12 +326,26 @@ module Aws::BedrockAgentRuntime
268
326
  ByteContentDoc.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "identifier"))
269
327
  ByteContentDoc.struct_class = Types::ByteContentDoc
270
328
 
329
+ ByteContentFile.add_member(:data, Shapes::ShapeRef.new(shape: ByteContentBlob, required: true, location_name: "data"))
330
+ ByteContentFile.add_member(:media_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location_name: "mediaType"))
331
+ ByteContentFile.struct_class = Types::ByteContentFile
332
+
271
333
  Citation.add_member(:generated_response_part, Shapes::ShapeRef.new(shape: GeneratedResponsePart, location_name: "generatedResponsePart"))
272
334
  Citation.add_member(:retrieved_references, Shapes::ShapeRef.new(shape: RetrievedReferences, location_name: "retrievedReferences"))
273
335
  Citation.struct_class = Types::Citation
274
336
 
275
337
  Citations.member = Shapes::ShapeRef.new(shape: Citation)
276
338
 
339
+ CodeInterpreterInvocationInput.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
340
+ CodeInterpreterInvocationInput.add_member(:files, Shapes::ShapeRef.new(shape: Files, location_name: "files"))
341
+ CodeInterpreterInvocationInput.struct_class = Types::CodeInterpreterInvocationInput
342
+
343
+ CodeInterpreterInvocationOutput.add_member(:execution_error, Shapes::ShapeRef.new(shape: String, location_name: "executionError"))
344
+ CodeInterpreterInvocationOutput.add_member(:execution_output, Shapes::ShapeRef.new(shape: String, location_name: "executionOutput"))
345
+ CodeInterpreterInvocationOutput.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "executionTimeout"))
346
+ CodeInterpreterInvocationOutput.add_member(:files, Shapes::ShapeRef.new(shape: Files, location_name: "files"))
347
+ CodeInterpreterInvocationOutput.struct_class = Types::CodeInterpreterInvocationOutput
348
+
277
349
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
278
350
  ConflictException.struct_class = Types::ConflictException
279
351
 
@@ -283,6 +355,13 @@ module Aws::BedrockAgentRuntime
283
355
  ContentMap.key = Shapes::ShapeRef.new(shape: String)
284
356
  ContentMap.value = Shapes::ShapeRef.new(shape: Parameters)
285
357
 
358
+ DeleteAgentMemoryRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
359
+ DeleteAgentMemoryRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location: "uri", location_name: "agentId"))
360
+ DeleteAgentMemoryRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location: "querystring", location_name: "memoryId"))
361
+ DeleteAgentMemoryRequest.struct_class = Types::DeleteAgentMemoryRequest
362
+
363
+ DeleteAgentMemoryResponse.struct_class = Types::DeleteAgentMemoryResponse
364
+
286
365
  DependencyFailedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
287
366
  DependencyFailedException.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "resourceName"))
288
367
  DependencyFailedException.struct_class = Types::DependencyFailedException
@@ -309,6 +388,16 @@ module Aws::BedrockAgentRuntime
309
388
  FailureTrace.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
310
389
  FailureTrace.struct_class = Types::FailureTrace
311
390
 
391
+ FilePart.add_member(:files, Shapes::ShapeRef.new(shape: OutputFiles, location_name: "files"))
392
+ FilePart.struct_class = Types::FilePart
393
+
394
+ FileSource.add_member(:byte_content, Shapes::ShapeRef.new(shape: ByteContentFile, location_name: "byteContent"))
395
+ FileSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3ObjectFile, location_name: "s3Location"))
396
+ FileSource.add_member(:source_type, Shapes::ShapeRef.new(shape: FileSourceType, required: true, location_name: "sourceType"))
397
+ FileSource.struct_class = Types::FileSource
398
+
399
+ Files.member = Shapes::ShapeRef.new(shape: String)
400
+
312
401
  FilterAttribute.add_member(:key, Shapes::ShapeRef.new(shape: FilterKey, required: true, location_name: "key"))
313
402
  FilterAttribute.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, required: true, location_name: "value"))
314
403
  FilterAttribute.struct_class = Types::FilterAttribute
@@ -316,6 +405,46 @@ module Aws::BedrockAgentRuntime
316
405
  FinalResponse.add_member(:text, Shapes::ShapeRef.new(shape: FinalResponseString, location_name: "text"))
317
406
  FinalResponse.struct_class = Types::FinalResponse
318
407
 
408
+ FlowCompletionEvent.add_member(:completion_reason, Shapes::ShapeRef.new(shape: FlowCompletionReason, required: true, location_name: "completionReason"))
409
+ FlowCompletionEvent.struct_class = Types::FlowCompletionEvent
410
+
411
+ FlowInput.add_member(:content, Shapes::ShapeRef.new(shape: FlowInputContent, required: true, location_name: "content"))
412
+ FlowInput.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
413
+ FlowInput.add_member(:node_output_name, Shapes::ShapeRef.new(shape: NodeOutputName, required: true, location_name: "nodeOutputName"))
414
+ FlowInput.struct_class = Types::FlowInput
415
+
416
+ FlowInputContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
417
+ FlowInputContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
418
+ FlowInputContent.add_member_subclass(:document, Types::FlowInputContent::Document)
419
+ FlowInputContent.add_member_subclass(:unknown, Types::FlowInputContent::Unknown)
420
+ FlowInputContent.struct_class = Types::FlowInputContent
421
+
422
+ FlowInputs.member = Shapes::ShapeRef.new(shape: FlowInput)
423
+
424
+ FlowOutputContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
425
+ FlowOutputContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
426
+ FlowOutputContent.add_member_subclass(:document, Types::FlowOutputContent::Document)
427
+ FlowOutputContent.add_member_subclass(:unknown, Types::FlowOutputContent::Unknown)
428
+ FlowOutputContent.struct_class = Types::FlowOutputContent
429
+
430
+ FlowOutputEvent.add_member(:content, Shapes::ShapeRef.new(shape: FlowOutputContent, required: true, location_name: "content"))
431
+ FlowOutputEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
432
+ FlowOutputEvent.add_member(:node_type, Shapes::ShapeRef.new(shape: NodeType, required: true, location_name: "nodeType"))
433
+ FlowOutputEvent.struct_class = Types::FlowOutputEvent
434
+
435
+ FlowResponseStream.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
436
+ FlowResponseStream.add_member(:bad_gateway_exception, Shapes::ShapeRef.new(shape: BadGatewayException, location_name: "badGatewayException"))
437
+ FlowResponseStream.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
438
+ FlowResponseStream.add_member(:dependency_failed_exception, Shapes::ShapeRef.new(shape: DependencyFailedException, location_name: "dependencyFailedException"))
439
+ FlowResponseStream.add_member(:flow_completion_event, Shapes::ShapeRef.new(shape: FlowCompletionEvent, event: true, location_name: "flowCompletionEvent"))
440
+ FlowResponseStream.add_member(:flow_output_event, Shapes::ShapeRef.new(shape: FlowOutputEvent, event: true, location_name: "flowOutputEvent"))
441
+ FlowResponseStream.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
442
+ FlowResponseStream.add_member(:resource_not_found_exception, Shapes::ShapeRef.new(shape: ResourceNotFoundException, location_name: "resourceNotFoundException"))
443
+ FlowResponseStream.add_member(:service_quota_exceeded_exception, Shapes::ShapeRef.new(shape: ServiceQuotaExceededException, location_name: "serviceQuotaExceededException"))
444
+ FlowResponseStream.add_member(:throttling_exception, Shapes::ShapeRef.new(shape: ThrottlingException, location_name: "throttlingException"))
445
+ FlowResponseStream.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
446
+ FlowResponseStream.struct_class = Types::FlowResponseStream
447
+
319
448
  FunctionInvocationInput.add_member(:action_group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionGroup"))
320
449
  FunctionInvocationInput.add_member(:function, Shapes::ShapeRef.new(shape: String, location_name: "function"))
321
450
  FunctionInvocationInput.add_member(:parameters, Shapes::ShapeRef.new(shape: FunctionParameters, location_name: "parameters"))
@@ -343,6 +472,18 @@ module Aws::BedrockAgentRuntime
343
472
  GenerationConfiguration.add_member(:prompt_template, Shapes::ShapeRef.new(shape: PromptTemplate, location_name: "promptTemplate"))
344
473
  GenerationConfiguration.struct_class = Types::GenerationConfiguration
345
474
 
475
+ GetAgentMemoryRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
476
+ GetAgentMemoryRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location: "uri", location_name: "agentId"))
477
+ GetAgentMemoryRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxItems"))
478
+ GetAgentMemoryRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "querystring", location_name: "memoryId"))
479
+ GetAgentMemoryRequest.add_member(:memory_type, Shapes::ShapeRef.new(shape: MemoryType, required: true, location: "querystring", location_name: "memoryType"))
480
+ GetAgentMemoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
481
+ GetAgentMemoryRequest.struct_class = Types::GetAgentMemoryRequest
482
+
483
+ GetAgentMemoryResponse.add_member(:memory_contents, Shapes::ShapeRef.new(shape: Memories, location_name: "memoryContents"))
484
+ GetAgentMemoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
485
+ GetAgentMemoryResponse.struct_class = Types::GetAgentMemoryResponse
486
+
346
487
  GuardrailAssessment.add_member(:content_policy, Shapes::ShapeRef.new(shape: GuardrailContentPolicyAssessment, location_name: "contentPolicy"))
347
488
  GuardrailAssessment.add_member(:sensitive_information_policy, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationPolicyAssessment, location_name: "sensitiveInformationPolicy"))
348
489
  GuardrailAssessment.add_member(:topic_policy, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyAssessment, location_name: "topicPolicy"))
@@ -427,10 +568,18 @@ module Aws::BedrockAgentRuntime
427
568
  InferenceConfiguration.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
428
569
  InferenceConfiguration.struct_class = Types::InferenceConfiguration
429
570
 
571
+ InputFile.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
572
+ InputFile.add_member(:source, Shapes::ShapeRef.new(shape: FileSource, required: true, location_name: "source"))
573
+ InputFile.add_member(:use_case, Shapes::ShapeRef.new(shape: FileUseCase, required: true, location_name: "useCase"))
574
+ InputFile.struct_class = Types::InputFile
575
+
576
+ InputFiles.member = Shapes::ShapeRef.new(shape: InputFile)
577
+
430
578
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
431
579
  InternalServerException.struct_class = Types::InternalServerException
432
580
 
433
581
  InvocationInput.add_member(:action_group_invocation_input, Shapes::ShapeRef.new(shape: ActionGroupInvocationInput, location_name: "actionGroupInvocationInput"))
582
+ InvocationInput.add_member(:code_interpreter_invocation_input, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationInput, location_name: "codeInterpreterInvocationInput"))
434
583
  InvocationInput.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location_name: "invocationType"))
435
584
  InvocationInput.add_member(:knowledge_base_lookup_input, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupInput, location_name: "knowledgeBaseLookupInput"))
436
585
  InvocationInput.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
@@ -459,17 +608,35 @@ module Aws::BedrockAgentRuntime
459
608
  InvokeAgentRequest.add_member(:enable_trace, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableTrace"))
460
609
  InvokeAgentRequest.add_member(:end_session, Shapes::ShapeRef.new(shape: Boolean, location_name: "endSession"))
461
610
  InvokeAgentRequest.add_member(:input_text, Shapes::ShapeRef.new(shape: InputText, location_name: "inputText"))
611
+ InvokeAgentRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location_name: "memoryId"))
462
612
  InvokeAgentRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
463
613
  InvokeAgentRequest.add_member(:session_state, Shapes::ShapeRef.new(shape: SessionState, location_name: "sessionState"))
464
614
  InvokeAgentRequest.struct_class = Types::InvokeAgentRequest
465
615
 
466
616
  InvokeAgentResponse.add_member(:completion, Shapes::ShapeRef.new(shape: ResponseStream, required: true, eventstream: true, location_name: "completion"))
467
617
  InvokeAgentResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "x-amzn-bedrock-agent-content-type"))
618
+ InvokeAgentResponse.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location: "header", location_name: "x-amz-bedrock-agent-memory-id"))
468
619
  InvokeAgentResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "header", location_name: "x-amz-bedrock-agent-session-id"))
469
620
  InvokeAgentResponse.struct_class = Types::InvokeAgentResponse
470
621
  InvokeAgentResponse[:payload] = :completion
471
622
  InvokeAgentResponse[:payload_member] = InvokeAgentResponse.member(:completion)
472
623
 
624
+ InvokeFlowRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
625
+ InvokeFlowRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
626
+ InvokeFlowRequest.add_member(:inputs, Shapes::ShapeRef.new(shape: FlowInputs, required: true, location_name: "inputs"))
627
+ InvokeFlowRequest.struct_class = Types::InvokeFlowRequest
628
+
629
+ InvokeFlowResponse.add_member(:response_stream, Shapes::ShapeRef.new(shape: FlowResponseStream, required: true, eventstream: true, location_name: "responseStream"))
630
+ InvokeFlowResponse.struct_class = Types::InvokeFlowResponse
631
+ InvokeFlowResponse[:payload] = :response_stream
632
+ InvokeFlowResponse[:payload_member] = InvokeFlowResponse.member(:response_stream)
633
+
634
+ KnowledgeBaseConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
635
+ KnowledgeBaseConfiguration.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, required: true, location_name: "retrievalConfiguration"))
636
+ KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
637
+
638
+ KnowledgeBaseConfigurations.member = Shapes::ShapeRef.new(shape: KnowledgeBaseConfiguration)
639
+
473
640
  KnowledgeBaseLookupInput.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: TraceKnowledgeBaseId, location_name: "knowledgeBaseId"))
474
641
  KnowledgeBaseLookupInput.add_member(:text, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupInputString, location_name: "text"))
475
642
  KnowledgeBaseLookupInput.struct_class = Types::KnowledgeBaseLookupInput
@@ -494,6 +661,7 @@ module Aws::BedrockAgentRuntime
494
661
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:generation_configuration, Shapes::ShapeRef.new(shape: GenerationConfiguration, location_name: "generationConfiguration"))
495
662
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
496
663
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
664
+ KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:orchestration_configuration, Shapes::ShapeRef.new(shape: OrchestrationConfiguration, location_name: "orchestrationConfiguration"))
497
665
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, location_name: "retrievalConfiguration"))
498
666
  KnowledgeBaseRetrieveAndGenerateConfiguration.struct_class = Types::KnowledgeBaseRetrieveAndGenerateConfiguration
499
667
 
@@ -502,6 +670,24 @@ module Aws::BedrockAgentRuntime
502
670
  KnowledgeBaseVectorSearchConfiguration.add_member(:override_search_type, Shapes::ShapeRef.new(shape: SearchType, location_name: "overrideSearchType"))
503
671
  KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
504
672
 
673
+ Memories.member = Shapes::ShapeRef.new(shape: Memory)
674
+
675
+ Memory.add_member(:session_summary, Shapes::ShapeRef.new(shape: MemorySessionSummary, location_name: "sessionSummary"))
676
+ Memory.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
677
+ Memory.add_member_subclass(:session_summary, Types::Memory::SessionSummary)
678
+ Memory.add_member_subclass(:unknown, Types::Memory::Unknown)
679
+ Memory.struct_class = Types::Memory
680
+
681
+ MemorySessionSummary.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location_name: "memoryId"))
682
+ MemorySessionSummary.add_member(:session_expiry_time, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "sessionExpiryTime"))
683
+ MemorySessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
684
+ MemorySessionSummary.add_member(:session_start_time, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "sessionStartTime"))
685
+ MemorySessionSummary.add_member(:summary_text, Shapes::ShapeRef.new(shape: SummaryText, location_name: "summaryText"))
686
+ MemorySessionSummary.struct_class = Types::MemorySessionSummary
687
+
688
+ Metadata.add_member(:usage, Shapes::ShapeRef.new(shape: Usage, location_name: "usage"))
689
+ Metadata.struct_class = Types::Metadata
690
+
505
691
  ModelInvocationInput.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
506
692
  ModelInvocationInput.add_member(:override_lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "overrideLambda"))
507
693
  ModelInvocationInput.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
@@ -512,6 +698,7 @@ module Aws::BedrockAgentRuntime
512
698
  ModelInvocationInput.struct_class = Types::ModelInvocationInput
513
699
 
514
700
  Observation.add_member(:action_group_invocation_output, Shapes::ShapeRef.new(shape: ActionGroupInvocationOutput, location_name: "actionGroupInvocationOutput"))
701
+ Observation.add_member(:code_interpreter_invocation_output, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationOutput, location_name: "codeInterpreterInvocationOutput"))
515
702
  Observation.add_member(:final_response, Shapes::ShapeRef.new(shape: FinalResponse, location_name: "finalResponse"))
516
703
  Observation.add_member(:knowledge_base_lookup_output, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupOutput, location_name: "knowledgeBaseLookupOutput"))
517
704
  Observation.add_member(:reprompt_response, Shapes::ShapeRef.new(shape: RepromptResponse, location_name: "repromptResponse"))
@@ -519,18 +706,35 @@ module Aws::BedrockAgentRuntime
519
706
  Observation.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
520
707
  Observation.struct_class = Types::Observation
521
708
 
709
+ OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
710
+ OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
711
+
712
+ OrchestrationModelInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
713
+ OrchestrationModelInvocationOutput.add_member(:raw_response, Shapes::ShapeRef.new(shape: RawResponse, location_name: "rawResponse"))
714
+ OrchestrationModelInvocationOutput.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
715
+ OrchestrationModelInvocationOutput.struct_class = Types::OrchestrationModelInvocationOutput
716
+
522
717
  OrchestrationTrace.add_member(:invocation_input, Shapes::ShapeRef.new(shape: InvocationInput, location_name: "invocationInput"))
523
718
  OrchestrationTrace.add_member(:model_invocation_input, Shapes::ShapeRef.new(shape: ModelInvocationInput, location_name: "modelInvocationInput"))
719
+ OrchestrationTrace.add_member(:model_invocation_output, Shapes::ShapeRef.new(shape: OrchestrationModelInvocationOutput, location_name: "modelInvocationOutput"))
524
720
  OrchestrationTrace.add_member(:observation, Shapes::ShapeRef.new(shape: Observation, location_name: "observation"))
525
721
  OrchestrationTrace.add_member(:rationale, Shapes::ShapeRef.new(shape: Rationale, location_name: "rationale"))
526
722
  OrchestrationTrace.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
527
723
  OrchestrationTrace.add_member_subclass(:invocation_input, Types::OrchestrationTrace::InvocationInput)
528
724
  OrchestrationTrace.add_member_subclass(:model_invocation_input, Types::OrchestrationTrace::ModelInvocationInput)
725
+ OrchestrationTrace.add_member_subclass(:model_invocation_output, Types::OrchestrationTrace::ModelInvocationOutput)
529
726
  OrchestrationTrace.add_member_subclass(:observation, Types::OrchestrationTrace::Observation)
530
727
  OrchestrationTrace.add_member_subclass(:rationale, Types::OrchestrationTrace::Rationale)
531
728
  OrchestrationTrace.add_member_subclass(:unknown, Types::OrchestrationTrace::Unknown)
532
729
  OrchestrationTrace.struct_class = Types::OrchestrationTrace
533
730
 
731
+ OutputFile.add_member(:bytes, Shapes::ShapeRef.new(shape: FileBody, location_name: "bytes"))
732
+ OutputFile.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
733
+ OutputFile.add_member(:type, Shapes::ShapeRef.new(shape: MimeType, location_name: "type"))
734
+ OutputFile.struct_class = Types::OutputFile
735
+
736
+ OutputFiles.member = Shapes::ShapeRef.new(shape: OutputFile)
737
+
534
738
  Parameter.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
535
739
  Parameter.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
536
740
  Parameter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
@@ -584,12 +788,18 @@ module Aws::BedrockAgentRuntime
584
788
  PropertyParameters.add_member(:properties, Shapes::ShapeRef.new(shape: ParameterList, location_name: "properties"))
585
789
  PropertyParameters.struct_class = Types::PropertyParameters
586
790
 
791
+ QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
792
+ QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
793
+
587
794
  RAGStopSequences.member = Shapes::ShapeRef.new(shape: RAGStopSequencesMemberString)
588
795
 
589
796
  Rationale.add_member(:text, Shapes::ShapeRef.new(shape: RationaleString, location_name: "text"))
590
797
  Rationale.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
591
798
  Rationale.struct_class = Types::Rationale
592
799
 
800
+ RawResponse.add_member(:content, Shapes::ShapeRef.new(shape: String, location_name: "content"))
801
+ RawResponse.struct_class = Types::RawResponse
802
+
593
803
  RepromptResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
594
804
  RepromptResponse.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
595
805
  RepromptResponse.struct_class = Types::RepromptResponse
@@ -608,6 +818,7 @@ module Aws::BedrockAgentRuntime
608
818
  ResponseStream.add_member(:chunk, Shapes::ShapeRef.new(shape: PayloadPart, event: true, location_name: "chunk"))
609
819
  ResponseStream.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
610
820
  ResponseStream.add_member(:dependency_failed_exception, Shapes::ShapeRef.new(shape: DependencyFailedException, location_name: "dependencyFailedException"))
821
+ ResponseStream.add_member(:files, Shapes::ShapeRef.new(shape: FilePart, event: true, location_name: "files"))
611
822
  ResponseStream.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
612
823
  ResponseStream.add_member(:resource_not_found_exception, Shapes::ShapeRef.new(shape: ResourceNotFoundException, location_name: "resourceNotFoundException"))
613
824
  ResponseStream.add_member(:return_control, Shapes::ShapeRef.new(shape: ReturnControlPayload, event: true, location_name: "returnControl"))
@@ -649,11 +860,18 @@ module Aws::BedrockAgentRuntime
649
860
 
650
861
  RetrievalFilterList.member = Shapes::ShapeRef.new(shape: RetrievalFilter)
651
862
 
863
+ RetrievalResultConfluenceLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
864
+ RetrievalResultConfluenceLocation.struct_class = Types::RetrievalResultConfluenceLocation
865
+
652
866
  RetrievalResultContent.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "text"))
653
867
  RetrievalResultContent.struct_class = Types::RetrievalResultContent
654
868
 
869
+ RetrievalResultLocation.add_member(:confluence_location, Shapes::ShapeRef.new(shape: RetrievalResultConfluenceLocation, location_name: "confluenceLocation"))
655
870
  RetrievalResultLocation.add_member(:s3_location, Shapes::ShapeRef.new(shape: RetrievalResultS3Location, location_name: "s3Location"))
871
+ RetrievalResultLocation.add_member(:salesforce_location, Shapes::ShapeRef.new(shape: RetrievalResultSalesforceLocation, location_name: "salesforceLocation"))
872
+ RetrievalResultLocation.add_member(:share_point_location, Shapes::ShapeRef.new(shape: RetrievalResultSharePointLocation, location_name: "sharePointLocation"))
656
873
  RetrievalResultLocation.add_member(:type, Shapes::ShapeRef.new(shape: RetrievalResultLocationType, required: true, location_name: "type"))
874
+ RetrievalResultLocation.add_member(:web_location, Shapes::ShapeRef.new(shape: RetrievalResultWebLocation, location_name: "webLocation"))
657
875
  RetrievalResultLocation.struct_class = Types::RetrievalResultLocation
658
876
 
659
877
  RetrievalResultMetadata.key = Shapes::ShapeRef.new(shape: RetrievalResultMetadataKey)
@@ -662,6 +880,15 @@ module Aws::BedrockAgentRuntime
662
880
  RetrievalResultS3Location.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
663
881
  RetrievalResultS3Location.struct_class = Types::RetrievalResultS3Location
664
882
 
883
+ RetrievalResultSalesforceLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
884
+ RetrievalResultSalesforceLocation.struct_class = Types::RetrievalResultSalesforceLocation
885
+
886
+ RetrievalResultSharePointLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
887
+ RetrievalResultSharePointLocation.struct_class = Types::RetrievalResultSharePointLocation
888
+
889
+ RetrievalResultWebLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
890
+ RetrievalResultWebLocation.struct_class = Types::RetrievalResultWebLocation
891
+
665
892
  RetrieveAndGenerateConfiguration.add_member(:external_sources_configuration, Shapes::ShapeRef.new(shape: ExternalSourcesRetrieveAndGenerateConfiguration, location_name: "externalSourcesConfiguration"))
666
893
  RetrieveAndGenerateConfiguration.add_member(:knowledge_base_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrieveAndGenerateConfiguration, location_name: "knowledgeBaseConfiguration"))
667
894
  RetrieveAndGenerateConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: RetrieveAndGenerateType, required: true, location_name: "type"))
@@ -714,13 +941,18 @@ module Aws::BedrockAgentRuntime
714
941
  S3ObjectDoc.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
715
942
  S3ObjectDoc.struct_class = Types::S3ObjectDoc
716
943
 
944
+ S3ObjectFile.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
945
+ S3ObjectFile.struct_class = Types::S3ObjectFile
946
+
717
947
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
718
948
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
719
949
 
720
950
  SessionAttributesMap.key = Shapes::ShapeRef.new(shape: String)
721
951
  SessionAttributesMap.value = Shapes::ShapeRef.new(shape: String)
722
952
 
953
+ SessionState.add_member(:files, Shapes::ShapeRef.new(shape: InputFiles, location_name: "files"))
723
954
  SessionState.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
955
+ SessionState.add_member(:knowledge_base_configurations, Shapes::ShapeRef.new(shape: KnowledgeBaseConfigurations, location_name: "knowledgeBaseConfigurations"))
724
956
  SessionState.add_member(:prompt_session_attributes, Shapes::ShapeRef.new(shape: PromptSessionAttributesMap, location_name: "promptSessionAttributes"))
725
957
  SessionState.add_member(:return_control_invocation_results, Shapes::ShapeRef.new(shape: ReturnControlInvocationResults, location_name: "returnControlInvocationResults"))
726
958
  SessionState.add_member(:session_attributes, Shapes::ShapeRef.new(shape: SessionAttributesMap, location_name: "sessionAttributes"))
@@ -766,6 +998,10 @@ module Aws::BedrockAgentRuntime
766
998
  TracePart.add_member(:trace, Shapes::ShapeRef.new(shape: Trace, location_name: "trace"))
767
999
  TracePart.struct_class = Types::TracePart
768
1000
 
1001
+ Usage.add_member(:input_tokens, Shapes::ShapeRef.new(shape: Integer, location_name: "inputTokens"))
1002
+ Usage.add_member(:output_tokens, Shapes::ShapeRef.new(shape: Integer, location_name: "outputTokens"))
1003
+ Usage.struct_class = Types::Usage
1004
+
769
1005
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
770
1006
  ValidationException.struct_class = Types::ValidationException
771
1007
 
@@ -787,6 +1023,46 @@ module Aws::BedrockAgentRuntime
787
1023
  "uid" => "bedrock-agent-runtime-2023-07-26",
788
1024
  }
789
1025
 
1026
+ api.add_operation(:delete_agent_memory, Seahorse::Model::Operation.new.tap do |o|
1027
+ o.name = "DeleteAgentMemory"
1028
+ o.http_method = "DELETE"
1029
+ o.http_request_uri = "/agents/{agentId}/agentAliases/{agentAliasId}/memories"
1030
+ o.input = Shapes::ShapeRef.new(shape: DeleteAgentMemoryRequest)
1031
+ o.output = Shapes::ShapeRef.new(shape: DeleteAgentMemoryResponse)
1032
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1041
+ end)
1042
+
1043
+ api.add_operation(:get_agent_memory, Seahorse::Model::Operation.new.tap do |o|
1044
+ o.name = "GetAgentMemory"
1045
+ o.http_method = "GET"
1046
+ o.http_request_uri = "/agents/{agentId}/agentAliases/{agentAliasId}/memories"
1047
+ o.input = Shapes::ShapeRef.new(shape: GetAgentMemoryRequest)
1048
+ o.output = Shapes::ShapeRef.new(shape: GetAgentMemoryResponse)
1049
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1053
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
1054
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
1055
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1057
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1058
+ o[:pager] = Aws::Pager.new(
1059
+ limit_key: "max_items",
1060
+ tokens: {
1061
+ "next_token" => "next_token"
1062
+ }
1063
+ )
1064
+ end)
1065
+
790
1066
  api.add_operation(:invoke_agent, Seahorse::Model::Operation.new.tap do |o|
791
1067
  o.name = "InvokeAgent"
792
1068
  o.http_method = "POST"
@@ -804,6 +1080,23 @@ module Aws::BedrockAgentRuntime
804
1080
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
805
1081
  end)
806
1082
 
1083
+ api.add_operation(:invoke_flow, Seahorse::Model::Operation.new.tap do |o|
1084
+ o.name = "InvokeFlow"
1085
+ o.http_method = "POST"
1086
+ o.http_request_uri = "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}"
1087
+ o.input = Shapes::ShapeRef.new(shape: InvokeFlowRequest)
1088
+ o.output = Shapes::ShapeRef.new(shape: InvokeFlowResponse)
1089
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1090
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1091
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
1095
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1098
+ end)
1099
+
807
1100
  api.add_operation(:retrieve, Seahorse::Model::Operation.new.tap do |o|
808
1101
  o.name = "Retrieve"
809
1102
  o.http_method = "POST"