aws-sdk-bedrockagentruntime 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,26 @@ 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')
130
168
  MimeType = Shapes::StringShape.new(name: 'MimeType')
131
169
  ModelInvocationInput = Shapes::StructureShape.new(name: 'ModelInvocationInput')
132
170
  NextToken = Shapes::StringShape.new(name: 'NextToken')
171
+ NodeName = Shapes::StringShape.new(name: 'NodeName')
172
+ NodeOutputName = Shapes::StringShape.new(name: 'NodeOutputName')
173
+ NodeType = Shapes::StringShape.new(name: 'NodeType')
133
174
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
134
175
  Observation = Shapes::StructureShape.new(name: 'Observation')
176
+ OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
135
177
  OrchestrationTrace = Shapes::UnionShape.new(name: 'OrchestrationTrace')
178
+ OutputFile = Shapes::StructureShape.new(name: 'OutputFile')
179
+ OutputFiles = Shapes::ListShape.new(name: 'OutputFiles')
136
180
  OutputString = Shapes::StringShape.new(name: 'OutputString')
137
181
  Parameter = Shapes::StructureShape.new(name: 'Parameter')
138
182
  ParameterList = Shapes::ListShape.new(name: 'ParameterList')
@@ -150,6 +194,8 @@ module Aws::BedrockAgentRuntime
150
194
  PromptText = Shapes::StringShape.new(name: 'PromptText')
151
195
  PromptType = Shapes::StringShape.new(name: 'PromptType')
152
196
  PropertyParameters = Shapes::StructureShape.new(name: 'PropertyParameters')
197
+ QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
198
+ QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
153
199
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
154
200
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
155
201
  Rationale = Shapes::StructureShape.new(name: 'Rationale')
@@ -162,6 +208,7 @@ module Aws::BedrockAgentRuntime
162
208
  ResponseStream = Shapes::StructureShape.new(name: 'ResponseStream')
163
209
  RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
164
210
  RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
211
+ RetrievalResultConfluenceLocation = Shapes::StructureShape.new(name: 'RetrievalResultConfluenceLocation')
165
212
  RetrievalResultContent = Shapes::StructureShape.new(name: 'RetrievalResultContent')
166
213
  RetrievalResultLocation = Shapes::StructureShape.new(name: 'RetrievalResultLocation')
167
214
  RetrievalResultLocationType = Shapes::StringShape.new(name: 'RetrievalResultLocationType')
@@ -169,6 +216,9 @@ module Aws::BedrockAgentRuntime
169
216
  RetrievalResultMetadataKey = Shapes::StringShape.new(name: 'RetrievalResultMetadataKey')
170
217
  RetrievalResultMetadataValue = Shapes::DocumentShape.new(name: 'RetrievalResultMetadataValue', document: true)
171
218
  RetrievalResultS3Location = Shapes::StructureShape.new(name: 'RetrievalResultS3Location')
219
+ RetrievalResultSalesforceLocation = Shapes::StructureShape.new(name: 'RetrievalResultSalesforceLocation')
220
+ RetrievalResultSharePointLocation = Shapes::StructureShape.new(name: 'RetrievalResultSharePointLocation')
221
+ RetrievalResultWebLocation = Shapes::StructureShape.new(name: 'RetrievalResultWebLocation')
172
222
  RetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'RetrieveAndGenerateConfiguration')
173
223
  RetrieveAndGenerateInput = Shapes::StructureShape.new(name: 'RetrieveAndGenerateInput')
174
224
  RetrieveAndGenerateInputTextString = Shapes::StringShape.new(name: 'RetrieveAndGenerateInputTextString')
@@ -184,6 +234,7 @@ module Aws::BedrockAgentRuntime
184
234
  ReturnControlInvocationResults = Shapes::ListShape.new(name: 'ReturnControlInvocationResults')
185
235
  ReturnControlPayload = Shapes::StructureShape.new(name: 'ReturnControlPayload')
186
236
  S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
237
+ S3ObjectFile = Shapes::StructureShape.new(name: 'S3ObjectFile')
187
238
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
188
239
  SearchType = Shapes::StringShape.new(name: 'SearchType')
189
240
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -196,6 +247,7 @@ module Aws::BedrockAgentRuntime
196
247
  SpanStartInteger = Shapes::IntegerShape.new(name: 'SpanStartInteger')
197
248
  StopSequences = Shapes::ListShape.new(name: 'StopSequences')
198
249
  String = Shapes::StringShape.new(name: 'String')
250
+ SummaryText = Shapes::StringShape.new(name: 'SummaryText')
199
251
  Temperature = Shapes::FloatShape.new(name: 'Temperature')
200
252
  TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
201
253
  TextPromptTemplate = Shapes::StringShape.new(name: 'TextPromptTemplate')
@@ -216,7 +268,9 @@ module Aws::BedrockAgentRuntime
216
268
 
217
269
  ActionGroupInvocationInput.add_member(:action_group_name, Shapes::ShapeRef.new(shape: ActionGroupName, location_name: "actionGroupName"))
218
270
  ActionGroupInvocationInput.add_member(:api_path, Shapes::ShapeRef.new(shape: ApiPath, location_name: "apiPath"))
271
+ ActionGroupInvocationInput.add_member(:execution_type, Shapes::ShapeRef.new(shape: ExecutionType, location_name: "executionType"))
219
272
  ActionGroupInvocationInput.add_member(:function, Shapes::ShapeRef.new(shape: Function, location_name: "function"))
273
+ ActionGroupInvocationInput.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
220
274
  ActionGroupInvocationInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "parameters"))
221
275
  ActionGroupInvocationInput.add_member(:request_body, Shapes::ShapeRef.new(shape: RequestBody, location_name: "requestBody"))
222
276
  ActionGroupInvocationInput.add_member(:verb, Shapes::ShapeRef.new(shape: Verb, location_name: "verb"))
@@ -268,12 +322,26 @@ module Aws::BedrockAgentRuntime
268
322
  ByteContentDoc.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "identifier"))
269
323
  ByteContentDoc.struct_class = Types::ByteContentDoc
270
324
 
325
+ ByteContentFile.add_member(:data, Shapes::ShapeRef.new(shape: ByteContentBlob, required: true, location_name: "data"))
326
+ ByteContentFile.add_member(:media_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location_name: "mediaType"))
327
+ ByteContentFile.struct_class = Types::ByteContentFile
328
+
271
329
  Citation.add_member(:generated_response_part, Shapes::ShapeRef.new(shape: GeneratedResponsePart, location_name: "generatedResponsePart"))
272
330
  Citation.add_member(:retrieved_references, Shapes::ShapeRef.new(shape: RetrievedReferences, location_name: "retrievedReferences"))
273
331
  Citation.struct_class = Types::Citation
274
332
 
275
333
  Citations.member = Shapes::ShapeRef.new(shape: Citation)
276
334
 
335
+ CodeInterpreterInvocationInput.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
336
+ CodeInterpreterInvocationInput.add_member(:files, Shapes::ShapeRef.new(shape: Files, location_name: "files"))
337
+ CodeInterpreterInvocationInput.struct_class = Types::CodeInterpreterInvocationInput
338
+
339
+ CodeInterpreterInvocationOutput.add_member(:execution_error, Shapes::ShapeRef.new(shape: String, location_name: "executionError"))
340
+ CodeInterpreterInvocationOutput.add_member(:execution_output, Shapes::ShapeRef.new(shape: String, location_name: "executionOutput"))
341
+ CodeInterpreterInvocationOutput.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "executionTimeout"))
342
+ CodeInterpreterInvocationOutput.add_member(:files, Shapes::ShapeRef.new(shape: Files, location_name: "files"))
343
+ CodeInterpreterInvocationOutput.struct_class = Types::CodeInterpreterInvocationOutput
344
+
277
345
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
278
346
  ConflictException.struct_class = Types::ConflictException
279
347
 
@@ -283,6 +351,13 @@ module Aws::BedrockAgentRuntime
283
351
  ContentMap.key = Shapes::ShapeRef.new(shape: String)
284
352
  ContentMap.value = Shapes::ShapeRef.new(shape: Parameters)
285
353
 
354
+ DeleteAgentMemoryRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
355
+ DeleteAgentMemoryRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location: "uri", location_name: "agentId"))
356
+ DeleteAgentMemoryRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location: "querystring", location_name: "memoryId"))
357
+ DeleteAgentMemoryRequest.struct_class = Types::DeleteAgentMemoryRequest
358
+
359
+ DeleteAgentMemoryResponse.struct_class = Types::DeleteAgentMemoryResponse
360
+
286
361
  DependencyFailedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
287
362
  DependencyFailedException.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "resourceName"))
288
363
  DependencyFailedException.struct_class = Types::DependencyFailedException
@@ -309,6 +384,16 @@ module Aws::BedrockAgentRuntime
309
384
  FailureTrace.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
310
385
  FailureTrace.struct_class = Types::FailureTrace
311
386
 
387
+ FilePart.add_member(:files, Shapes::ShapeRef.new(shape: OutputFiles, location_name: "files"))
388
+ FilePart.struct_class = Types::FilePart
389
+
390
+ FileSource.add_member(:byte_content, Shapes::ShapeRef.new(shape: ByteContentFile, location_name: "byteContent"))
391
+ FileSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3ObjectFile, location_name: "s3Location"))
392
+ FileSource.add_member(:source_type, Shapes::ShapeRef.new(shape: FileSourceType, required: true, location_name: "sourceType"))
393
+ FileSource.struct_class = Types::FileSource
394
+
395
+ Files.member = Shapes::ShapeRef.new(shape: String)
396
+
312
397
  FilterAttribute.add_member(:key, Shapes::ShapeRef.new(shape: FilterKey, required: true, location_name: "key"))
313
398
  FilterAttribute.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, required: true, location_name: "value"))
314
399
  FilterAttribute.struct_class = Types::FilterAttribute
@@ -316,6 +401,46 @@ module Aws::BedrockAgentRuntime
316
401
  FinalResponse.add_member(:text, Shapes::ShapeRef.new(shape: FinalResponseString, location_name: "text"))
317
402
  FinalResponse.struct_class = Types::FinalResponse
318
403
 
404
+ FlowCompletionEvent.add_member(:completion_reason, Shapes::ShapeRef.new(shape: FlowCompletionReason, required: true, location_name: "completionReason"))
405
+ FlowCompletionEvent.struct_class = Types::FlowCompletionEvent
406
+
407
+ FlowInput.add_member(:content, Shapes::ShapeRef.new(shape: FlowInputContent, required: true, location_name: "content"))
408
+ FlowInput.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
409
+ FlowInput.add_member(:node_output_name, Shapes::ShapeRef.new(shape: NodeOutputName, required: true, location_name: "nodeOutputName"))
410
+ FlowInput.struct_class = Types::FlowInput
411
+
412
+ FlowInputContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
413
+ FlowInputContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
414
+ FlowInputContent.add_member_subclass(:document, Types::FlowInputContent::Document)
415
+ FlowInputContent.add_member_subclass(:unknown, Types::FlowInputContent::Unknown)
416
+ FlowInputContent.struct_class = Types::FlowInputContent
417
+
418
+ FlowInputs.member = Shapes::ShapeRef.new(shape: FlowInput)
419
+
420
+ FlowOutputContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
421
+ FlowOutputContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
422
+ FlowOutputContent.add_member_subclass(:document, Types::FlowOutputContent::Document)
423
+ FlowOutputContent.add_member_subclass(:unknown, Types::FlowOutputContent::Unknown)
424
+ FlowOutputContent.struct_class = Types::FlowOutputContent
425
+
426
+ FlowOutputEvent.add_member(:content, Shapes::ShapeRef.new(shape: FlowOutputContent, required: true, location_name: "content"))
427
+ FlowOutputEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
428
+ FlowOutputEvent.add_member(:node_type, Shapes::ShapeRef.new(shape: NodeType, required: true, location_name: "nodeType"))
429
+ FlowOutputEvent.struct_class = Types::FlowOutputEvent
430
+
431
+ FlowResponseStream.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
432
+ FlowResponseStream.add_member(:bad_gateway_exception, Shapes::ShapeRef.new(shape: BadGatewayException, location_name: "badGatewayException"))
433
+ FlowResponseStream.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
434
+ FlowResponseStream.add_member(:dependency_failed_exception, Shapes::ShapeRef.new(shape: DependencyFailedException, location_name: "dependencyFailedException"))
435
+ FlowResponseStream.add_member(:flow_completion_event, Shapes::ShapeRef.new(shape: FlowCompletionEvent, event: true, location_name: "flowCompletionEvent"))
436
+ FlowResponseStream.add_member(:flow_output_event, Shapes::ShapeRef.new(shape: FlowOutputEvent, event: true, location_name: "flowOutputEvent"))
437
+ FlowResponseStream.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
438
+ FlowResponseStream.add_member(:resource_not_found_exception, Shapes::ShapeRef.new(shape: ResourceNotFoundException, location_name: "resourceNotFoundException"))
439
+ FlowResponseStream.add_member(:service_quota_exceeded_exception, Shapes::ShapeRef.new(shape: ServiceQuotaExceededException, location_name: "serviceQuotaExceededException"))
440
+ FlowResponseStream.add_member(:throttling_exception, Shapes::ShapeRef.new(shape: ThrottlingException, location_name: "throttlingException"))
441
+ FlowResponseStream.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
442
+ FlowResponseStream.struct_class = Types::FlowResponseStream
443
+
319
444
  FunctionInvocationInput.add_member(:action_group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionGroup"))
320
445
  FunctionInvocationInput.add_member(:function, Shapes::ShapeRef.new(shape: String, location_name: "function"))
321
446
  FunctionInvocationInput.add_member(:parameters, Shapes::ShapeRef.new(shape: FunctionParameters, location_name: "parameters"))
@@ -343,6 +468,18 @@ module Aws::BedrockAgentRuntime
343
468
  GenerationConfiguration.add_member(:prompt_template, Shapes::ShapeRef.new(shape: PromptTemplate, location_name: "promptTemplate"))
344
469
  GenerationConfiguration.struct_class = Types::GenerationConfiguration
345
470
 
471
+ GetAgentMemoryRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
472
+ GetAgentMemoryRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location: "uri", location_name: "agentId"))
473
+ GetAgentMemoryRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxItems"))
474
+ GetAgentMemoryRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "querystring", location_name: "memoryId"))
475
+ GetAgentMemoryRequest.add_member(:memory_type, Shapes::ShapeRef.new(shape: MemoryType, required: true, location: "querystring", location_name: "memoryType"))
476
+ GetAgentMemoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
477
+ GetAgentMemoryRequest.struct_class = Types::GetAgentMemoryRequest
478
+
479
+ GetAgentMemoryResponse.add_member(:memory_contents, Shapes::ShapeRef.new(shape: Memories, location_name: "memoryContents"))
480
+ GetAgentMemoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
481
+ GetAgentMemoryResponse.struct_class = Types::GetAgentMemoryResponse
482
+
346
483
  GuardrailAssessment.add_member(:content_policy, Shapes::ShapeRef.new(shape: GuardrailContentPolicyAssessment, location_name: "contentPolicy"))
347
484
  GuardrailAssessment.add_member(:sensitive_information_policy, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationPolicyAssessment, location_name: "sensitiveInformationPolicy"))
348
485
  GuardrailAssessment.add_member(:topic_policy, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyAssessment, location_name: "topicPolicy"))
@@ -427,10 +564,18 @@ module Aws::BedrockAgentRuntime
427
564
  InferenceConfiguration.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
428
565
  InferenceConfiguration.struct_class = Types::InferenceConfiguration
429
566
 
567
+ InputFile.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
568
+ InputFile.add_member(:source, Shapes::ShapeRef.new(shape: FileSource, required: true, location_name: "source"))
569
+ InputFile.add_member(:use_case, Shapes::ShapeRef.new(shape: FileUseCase, required: true, location_name: "useCase"))
570
+ InputFile.struct_class = Types::InputFile
571
+
572
+ InputFiles.member = Shapes::ShapeRef.new(shape: InputFile)
573
+
430
574
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
431
575
  InternalServerException.struct_class = Types::InternalServerException
432
576
 
433
577
  InvocationInput.add_member(:action_group_invocation_input, Shapes::ShapeRef.new(shape: ActionGroupInvocationInput, location_name: "actionGroupInvocationInput"))
578
+ InvocationInput.add_member(:code_interpreter_invocation_input, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationInput, location_name: "codeInterpreterInvocationInput"))
434
579
  InvocationInput.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location_name: "invocationType"))
435
580
  InvocationInput.add_member(:knowledge_base_lookup_input, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupInput, location_name: "knowledgeBaseLookupInput"))
436
581
  InvocationInput.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
@@ -459,17 +604,35 @@ module Aws::BedrockAgentRuntime
459
604
  InvokeAgentRequest.add_member(:enable_trace, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableTrace"))
460
605
  InvokeAgentRequest.add_member(:end_session, Shapes::ShapeRef.new(shape: Boolean, location_name: "endSession"))
461
606
  InvokeAgentRequest.add_member(:input_text, Shapes::ShapeRef.new(shape: InputText, location_name: "inputText"))
607
+ InvokeAgentRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location_name: "memoryId"))
462
608
  InvokeAgentRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
463
609
  InvokeAgentRequest.add_member(:session_state, Shapes::ShapeRef.new(shape: SessionState, location_name: "sessionState"))
464
610
  InvokeAgentRequest.struct_class = Types::InvokeAgentRequest
465
611
 
466
612
  InvokeAgentResponse.add_member(:completion, Shapes::ShapeRef.new(shape: ResponseStream, required: true, eventstream: true, location_name: "completion"))
467
613
  InvokeAgentResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "x-amzn-bedrock-agent-content-type"))
614
+ InvokeAgentResponse.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location: "header", location_name: "x-amz-bedrock-agent-memory-id"))
468
615
  InvokeAgentResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "header", location_name: "x-amz-bedrock-agent-session-id"))
469
616
  InvokeAgentResponse.struct_class = Types::InvokeAgentResponse
470
617
  InvokeAgentResponse[:payload] = :completion
471
618
  InvokeAgentResponse[:payload_member] = InvokeAgentResponse.member(:completion)
472
619
 
620
+ InvokeFlowRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
621
+ InvokeFlowRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
622
+ InvokeFlowRequest.add_member(:inputs, Shapes::ShapeRef.new(shape: FlowInputs, required: true, location_name: "inputs"))
623
+ InvokeFlowRequest.struct_class = Types::InvokeFlowRequest
624
+
625
+ InvokeFlowResponse.add_member(:response_stream, Shapes::ShapeRef.new(shape: FlowResponseStream, required: true, eventstream: true, location_name: "responseStream"))
626
+ InvokeFlowResponse.struct_class = Types::InvokeFlowResponse
627
+ InvokeFlowResponse[:payload] = :response_stream
628
+ InvokeFlowResponse[:payload_member] = InvokeFlowResponse.member(:response_stream)
629
+
630
+ KnowledgeBaseConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
631
+ KnowledgeBaseConfiguration.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, required: true, location_name: "retrievalConfiguration"))
632
+ KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
633
+
634
+ KnowledgeBaseConfigurations.member = Shapes::ShapeRef.new(shape: KnowledgeBaseConfiguration)
635
+
473
636
  KnowledgeBaseLookupInput.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: TraceKnowledgeBaseId, location_name: "knowledgeBaseId"))
474
637
  KnowledgeBaseLookupInput.add_member(:text, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupInputString, location_name: "text"))
475
638
  KnowledgeBaseLookupInput.struct_class = Types::KnowledgeBaseLookupInput
@@ -494,6 +657,7 @@ module Aws::BedrockAgentRuntime
494
657
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:generation_configuration, Shapes::ShapeRef.new(shape: GenerationConfiguration, location_name: "generationConfiguration"))
495
658
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
496
659
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
660
+ KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:orchestration_configuration, Shapes::ShapeRef.new(shape: OrchestrationConfiguration, location_name: "orchestrationConfiguration"))
497
661
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, location_name: "retrievalConfiguration"))
498
662
  KnowledgeBaseRetrieveAndGenerateConfiguration.struct_class = Types::KnowledgeBaseRetrieveAndGenerateConfiguration
499
663
 
@@ -502,6 +666,21 @@ module Aws::BedrockAgentRuntime
502
666
  KnowledgeBaseVectorSearchConfiguration.add_member(:override_search_type, Shapes::ShapeRef.new(shape: SearchType, location_name: "overrideSearchType"))
503
667
  KnowledgeBaseVectorSearchConfiguration.struct_class = Types::KnowledgeBaseVectorSearchConfiguration
504
668
 
669
+ Memories.member = Shapes::ShapeRef.new(shape: Memory)
670
+
671
+ Memory.add_member(:session_summary, Shapes::ShapeRef.new(shape: MemorySessionSummary, location_name: "sessionSummary"))
672
+ Memory.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
673
+ Memory.add_member_subclass(:session_summary, Types::Memory::SessionSummary)
674
+ Memory.add_member_subclass(:unknown, Types::Memory::Unknown)
675
+ Memory.struct_class = Types::Memory
676
+
677
+ MemorySessionSummary.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location_name: "memoryId"))
678
+ MemorySessionSummary.add_member(:session_expiry_time, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "sessionExpiryTime"))
679
+ MemorySessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
680
+ MemorySessionSummary.add_member(:session_start_time, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "sessionStartTime"))
681
+ MemorySessionSummary.add_member(:summary_text, Shapes::ShapeRef.new(shape: SummaryText, location_name: "summaryText"))
682
+ MemorySessionSummary.struct_class = Types::MemorySessionSummary
683
+
505
684
  ModelInvocationInput.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
506
685
  ModelInvocationInput.add_member(:override_lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "overrideLambda"))
507
686
  ModelInvocationInput.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
@@ -512,6 +691,7 @@ module Aws::BedrockAgentRuntime
512
691
  ModelInvocationInput.struct_class = Types::ModelInvocationInput
513
692
 
514
693
  Observation.add_member(:action_group_invocation_output, Shapes::ShapeRef.new(shape: ActionGroupInvocationOutput, location_name: "actionGroupInvocationOutput"))
694
+ Observation.add_member(:code_interpreter_invocation_output, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationOutput, location_name: "codeInterpreterInvocationOutput"))
515
695
  Observation.add_member(:final_response, Shapes::ShapeRef.new(shape: FinalResponse, location_name: "finalResponse"))
516
696
  Observation.add_member(:knowledge_base_lookup_output, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupOutput, location_name: "knowledgeBaseLookupOutput"))
517
697
  Observation.add_member(:reprompt_response, Shapes::ShapeRef.new(shape: RepromptResponse, location_name: "repromptResponse"))
@@ -519,6 +699,9 @@ module Aws::BedrockAgentRuntime
519
699
  Observation.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
520
700
  Observation.struct_class = Types::Observation
521
701
 
702
+ OrchestrationConfiguration.add_member(:query_transformation_configuration, Shapes::ShapeRef.new(shape: QueryTransformationConfiguration, required: true, location_name: "queryTransformationConfiguration"))
703
+ OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
704
+
522
705
  OrchestrationTrace.add_member(:invocation_input, Shapes::ShapeRef.new(shape: InvocationInput, location_name: "invocationInput"))
523
706
  OrchestrationTrace.add_member(:model_invocation_input, Shapes::ShapeRef.new(shape: ModelInvocationInput, location_name: "modelInvocationInput"))
524
707
  OrchestrationTrace.add_member(:observation, Shapes::ShapeRef.new(shape: Observation, location_name: "observation"))
@@ -531,6 +714,13 @@ module Aws::BedrockAgentRuntime
531
714
  OrchestrationTrace.add_member_subclass(:unknown, Types::OrchestrationTrace::Unknown)
532
715
  OrchestrationTrace.struct_class = Types::OrchestrationTrace
533
716
 
717
+ OutputFile.add_member(:bytes, Shapes::ShapeRef.new(shape: FileBody, location_name: "bytes"))
718
+ OutputFile.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
719
+ OutputFile.add_member(:type, Shapes::ShapeRef.new(shape: MimeType, location_name: "type"))
720
+ OutputFile.struct_class = Types::OutputFile
721
+
722
+ OutputFiles.member = Shapes::ShapeRef.new(shape: OutputFile)
723
+
534
724
  Parameter.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
535
725
  Parameter.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
536
726
  Parameter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
@@ -584,6 +774,9 @@ module Aws::BedrockAgentRuntime
584
774
  PropertyParameters.add_member(:properties, Shapes::ShapeRef.new(shape: ParameterList, location_name: "properties"))
585
775
  PropertyParameters.struct_class = Types::PropertyParameters
586
776
 
777
+ QueryTransformationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: QueryTransformationType, required: true, location_name: "type"))
778
+ QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
779
+
587
780
  RAGStopSequences.member = Shapes::ShapeRef.new(shape: RAGStopSequencesMemberString)
588
781
 
589
782
  Rationale.add_member(:text, Shapes::ShapeRef.new(shape: RationaleString, location_name: "text"))
@@ -608,6 +801,7 @@ module Aws::BedrockAgentRuntime
608
801
  ResponseStream.add_member(:chunk, Shapes::ShapeRef.new(shape: PayloadPart, event: true, location_name: "chunk"))
609
802
  ResponseStream.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
610
803
  ResponseStream.add_member(:dependency_failed_exception, Shapes::ShapeRef.new(shape: DependencyFailedException, location_name: "dependencyFailedException"))
804
+ ResponseStream.add_member(:files, Shapes::ShapeRef.new(shape: FilePart, event: true, location_name: "files"))
611
805
  ResponseStream.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
612
806
  ResponseStream.add_member(:resource_not_found_exception, Shapes::ShapeRef.new(shape: ResourceNotFoundException, location_name: "resourceNotFoundException"))
613
807
  ResponseStream.add_member(:return_control, Shapes::ShapeRef.new(shape: ReturnControlPayload, event: true, location_name: "returnControl"))
@@ -649,11 +843,18 @@ module Aws::BedrockAgentRuntime
649
843
 
650
844
  RetrievalFilterList.member = Shapes::ShapeRef.new(shape: RetrievalFilter)
651
845
 
846
+ RetrievalResultConfluenceLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
847
+ RetrievalResultConfluenceLocation.struct_class = Types::RetrievalResultConfluenceLocation
848
+
652
849
  RetrievalResultContent.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "text"))
653
850
  RetrievalResultContent.struct_class = Types::RetrievalResultContent
654
851
 
852
+ RetrievalResultLocation.add_member(:confluence_location, Shapes::ShapeRef.new(shape: RetrievalResultConfluenceLocation, location_name: "confluenceLocation"))
655
853
  RetrievalResultLocation.add_member(:s3_location, Shapes::ShapeRef.new(shape: RetrievalResultS3Location, location_name: "s3Location"))
854
+ RetrievalResultLocation.add_member(:salesforce_location, Shapes::ShapeRef.new(shape: RetrievalResultSalesforceLocation, location_name: "salesforceLocation"))
855
+ RetrievalResultLocation.add_member(:share_point_location, Shapes::ShapeRef.new(shape: RetrievalResultSharePointLocation, location_name: "sharePointLocation"))
656
856
  RetrievalResultLocation.add_member(:type, Shapes::ShapeRef.new(shape: RetrievalResultLocationType, required: true, location_name: "type"))
857
+ RetrievalResultLocation.add_member(:web_location, Shapes::ShapeRef.new(shape: RetrievalResultWebLocation, location_name: "webLocation"))
657
858
  RetrievalResultLocation.struct_class = Types::RetrievalResultLocation
658
859
 
659
860
  RetrievalResultMetadata.key = Shapes::ShapeRef.new(shape: RetrievalResultMetadataKey)
@@ -662,6 +863,15 @@ module Aws::BedrockAgentRuntime
662
863
  RetrievalResultS3Location.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
663
864
  RetrievalResultS3Location.struct_class = Types::RetrievalResultS3Location
664
865
 
866
+ RetrievalResultSalesforceLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
867
+ RetrievalResultSalesforceLocation.struct_class = Types::RetrievalResultSalesforceLocation
868
+
869
+ RetrievalResultSharePointLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
870
+ RetrievalResultSharePointLocation.struct_class = Types::RetrievalResultSharePointLocation
871
+
872
+ RetrievalResultWebLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
873
+ RetrievalResultWebLocation.struct_class = Types::RetrievalResultWebLocation
874
+
665
875
  RetrieveAndGenerateConfiguration.add_member(:external_sources_configuration, Shapes::ShapeRef.new(shape: ExternalSourcesRetrieveAndGenerateConfiguration, location_name: "externalSourcesConfiguration"))
666
876
  RetrieveAndGenerateConfiguration.add_member(:knowledge_base_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrieveAndGenerateConfiguration, location_name: "knowledgeBaseConfiguration"))
667
877
  RetrieveAndGenerateConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: RetrieveAndGenerateType, required: true, location_name: "type"))
@@ -714,13 +924,18 @@ module Aws::BedrockAgentRuntime
714
924
  S3ObjectDoc.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
715
925
  S3ObjectDoc.struct_class = Types::S3ObjectDoc
716
926
 
927
+ S3ObjectFile.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
928
+ S3ObjectFile.struct_class = Types::S3ObjectFile
929
+
717
930
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
718
931
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
719
932
 
720
933
  SessionAttributesMap.key = Shapes::ShapeRef.new(shape: String)
721
934
  SessionAttributesMap.value = Shapes::ShapeRef.new(shape: String)
722
935
 
936
+ SessionState.add_member(:files, Shapes::ShapeRef.new(shape: InputFiles, location_name: "files"))
723
937
  SessionState.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
938
+ SessionState.add_member(:knowledge_base_configurations, Shapes::ShapeRef.new(shape: KnowledgeBaseConfigurations, location_name: "knowledgeBaseConfigurations"))
724
939
  SessionState.add_member(:prompt_session_attributes, Shapes::ShapeRef.new(shape: PromptSessionAttributesMap, location_name: "promptSessionAttributes"))
725
940
  SessionState.add_member(:return_control_invocation_results, Shapes::ShapeRef.new(shape: ReturnControlInvocationResults, location_name: "returnControlInvocationResults"))
726
941
  SessionState.add_member(:session_attributes, Shapes::ShapeRef.new(shape: SessionAttributesMap, location_name: "sessionAttributes"))
@@ -787,6 +1002,46 @@ module Aws::BedrockAgentRuntime
787
1002
  "uid" => "bedrock-agent-runtime-2023-07-26",
788
1003
  }
789
1004
 
1005
+ api.add_operation(:delete_agent_memory, Seahorse::Model::Operation.new.tap do |o|
1006
+ o.name = "DeleteAgentMemory"
1007
+ o.http_method = "DELETE"
1008
+ o.http_request_uri = "/agents/{agentId}/agentAliases/{agentAliasId}/memories"
1009
+ o.input = Shapes::ShapeRef.new(shape: DeleteAgentMemoryRequest)
1010
+ o.output = Shapes::ShapeRef.new(shape: DeleteAgentMemoryResponse)
1011
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
1017
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1018
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1020
+ end)
1021
+
1022
+ api.add_operation(:get_agent_memory, Seahorse::Model::Operation.new.tap do |o|
1023
+ o.name = "GetAgentMemory"
1024
+ o.http_method = "GET"
1025
+ o.http_request_uri = "/agents/{agentId}/agentAliases/{agentAliasId}/memories"
1026
+ o.input = Shapes::ShapeRef.new(shape: GetAgentMemoryRequest)
1027
+ o.output = Shapes::ShapeRef.new(shape: GetAgentMemoryResponse)
1028
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1037
+ o[:pager] = Aws::Pager.new(
1038
+ limit_key: "max_items",
1039
+ tokens: {
1040
+ "next_token" => "next_token"
1041
+ }
1042
+ )
1043
+ end)
1044
+
790
1045
  api.add_operation(:invoke_agent, Seahorse::Model::Operation.new.tap do |o|
791
1046
  o.name = "InvokeAgent"
792
1047
  o.http_method = "POST"
@@ -804,6 +1059,23 @@ module Aws::BedrockAgentRuntime
804
1059
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
805
1060
  end)
806
1061
 
1062
+ api.add_operation(:invoke_flow, Seahorse::Model::Operation.new.tap do |o|
1063
+ o.name = "InvokeFlow"
1064
+ o.http_method = "POST"
1065
+ o.http_request_uri = "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}"
1066
+ o.input = Shapes::ShapeRef.new(shape: InvokeFlowRequest)
1067
+ o.output = Shapes::ShapeRef.new(shape: InvokeFlowResponse)
1068
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1069
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1070
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1071
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
1073
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
1074
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1075
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1077
+ end)
1078
+
807
1079
  api.add_operation(:retrieve, Seahorse::Model::Operation.new.tap do |o|
808
1080
  o.name = "Retrieve"
809
1081
  o.http_method = "POST"
@@ -12,6 +12,34 @@ module Aws::BedrockAgentRuntime
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class DeleteAgentMemory
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::BedrockAgentRuntime::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
29
+ class GetAgentMemory
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::BedrockAgentRuntime::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
15
43
  class InvokeAgent
16
44
  def self.build(context)
17
45
  unless context.config.regional_endpoint
@@ -26,6 +54,20 @@ module Aws::BedrockAgentRuntime
26
54
  end
27
55
  end
28
56
 
57
+ class InvokeFlow
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::BedrockAgentRuntime::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
29
71
  class Retrieve
30
72
  def self.build(context)
31
73
  unless context.config.regional_endpoint