aws-sdk-bedrockagentcore 1.5.0 → 1.7.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.
@@ -19,10 +19,17 @@ module Aws::BedrockAgentCore
19
19
  ActorId = Shapes::StringShape.new(name: 'ActorId')
20
20
  ActorSummary = Shapes::StructureShape.new(name: 'ActorSummary')
21
21
  ActorSummaryList = Shapes::ListShape.new(name: 'ActorSummaryList')
22
+ AgentCard = Shapes::DocumentShape.new(name: 'AgentCard', document: true)
22
23
  ApiKeyType = Shapes::StringShape.new(name: 'ApiKeyType')
23
24
  AutomationStream = Shapes::StructureShape.new(name: 'AutomationStream')
24
25
  AutomationStreamStatus = Shapes::StringShape.new(name: 'AutomationStreamStatus')
25
26
  AutomationStreamUpdate = Shapes::StructureShape.new(name: 'AutomationStreamUpdate')
27
+ BatchCreateMemoryRecordsInput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsInput')
28
+ BatchCreateMemoryRecordsOutput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsOutput')
29
+ BatchDeleteMemoryRecordsInput = Shapes::StructureShape.new(name: 'BatchDeleteMemoryRecordsInput')
30
+ BatchDeleteMemoryRecordsOutput = Shapes::StructureShape.new(name: 'BatchDeleteMemoryRecordsOutput')
31
+ BatchUpdateMemoryRecordsInput = Shapes::StructureShape.new(name: 'BatchUpdateMemoryRecordsInput')
32
+ BatchUpdateMemoryRecordsOutput = Shapes::StructureShape.new(name: 'BatchUpdateMemoryRecordsOutput')
26
33
  Blob = Shapes::BlobShape.new(name: 'Blob')
27
34
  Body = Shapes::BlobShape.new(name: 'Body')
28
35
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -67,7 +74,11 @@ module Aws::BedrockAgentCore
67
74
  Event = Shapes::StructureShape.new(name: 'Event')
68
75
  EventId = Shapes::StringShape.new(name: 'EventId')
69
76
  EventList = Shapes::ListShape.new(name: 'EventList')
77
+ EventMetadataFilterExpression = Shapes::StructureShape.new(name: 'EventMetadataFilterExpression')
78
+ EventMetadataFilterList = Shapes::ListShape.new(name: 'EventMetadataFilterList')
70
79
  FilterInput = Shapes::StructureShape.new(name: 'FilterInput')
80
+ GetAgentCardRequest = Shapes::StructureShape.new(name: 'GetAgentCardRequest')
81
+ GetAgentCardResponse = Shapes::StructureShape.new(name: 'GetAgentCardResponse')
71
82
  GetBrowserSessionRequest = Shapes::StructureShape.new(name: 'GetBrowserSessionRequest')
72
83
  GetBrowserSessionResponse = Shapes::StructureShape.new(name: 'GetBrowserSessionResponse')
73
84
  GetCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'GetCodeInterpreterSessionRequest')
@@ -99,7 +110,10 @@ module Aws::BedrockAgentCore
99
110
  InvokeAgentRuntimeRequestTraceStateString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceStateString')
100
111
  InvokeAgentRuntimeResponse = Shapes::StructureShape.new(name: 'InvokeAgentRuntimeResponse')
101
112
  InvokeCodeInterpreterRequest = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterRequest')
113
+ InvokeCodeInterpreterRequestTraceIdString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceIdString')
114
+ InvokeCodeInterpreterRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceParentString')
102
115
  InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
116
+ LeftExpression = Shapes::UnionShape.new(name: 'LeftExpression')
103
117
  ListActorsInput = Shapes::StructureShape.new(name: 'ListActorsInput')
104
118
  ListActorsOutput = Shapes::StructureShape.new(name: 'ListActorsOutput')
105
119
  ListBrowserSessionsRequest = Shapes::StructureShape.new(name: 'ListBrowserSessionsRequest')
@@ -117,12 +131,26 @@ module Aws::BedrockAgentCore
117
131
  MaxLenString = Shapes::StringShape.new(name: 'MaxLenString')
118
132
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
119
133
  MemoryContent = Shapes::UnionShape.new(name: 'MemoryContent')
134
+ MemoryContentTextString = Shapes::StringShape.new(name: 'MemoryContentTextString')
120
135
  MemoryId = Shapes::StringShape.new(name: 'MemoryId')
121
136
  MemoryRecord = Shapes::StructureShape.new(name: 'MemoryRecord')
137
+ MemoryRecordCreateInput = Shapes::StructureShape.new(name: 'MemoryRecordCreateInput')
138
+ MemoryRecordDeleteInput = Shapes::StructureShape.new(name: 'MemoryRecordDeleteInput')
122
139
  MemoryRecordId = Shapes::StringShape.new(name: 'MemoryRecordId')
140
+ MemoryRecordOutput = Shapes::StructureShape.new(name: 'MemoryRecordOutput')
141
+ MemoryRecordStatus = Shapes::StringShape.new(name: 'MemoryRecordStatus')
123
142
  MemoryRecordSummary = Shapes::StructureShape.new(name: 'MemoryRecordSummary')
124
143
  MemoryRecordSummaryList = Shapes::ListShape.new(name: 'MemoryRecordSummaryList')
144
+ MemoryRecordUpdateInput = Shapes::StructureShape.new(name: 'MemoryRecordUpdateInput')
145
+ MemoryRecordsCreateInputList = Shapes::ListShape.new(name: 'MemoryRecordsCreateInputList')
146
+ MemoryRecordsDeleteInputList = Shapes::ListShape.new(name: 'MemoryRecordsDeleteInputList')
147
+ MemoryRecordsOutputList = Shapes::ListShape.new(name: 'MemoryRecordsOutputList')
148
+ MemoryRecordsUpdateInputList = Shapes::ListShape.new(name: 'MemoryRecordsUpdateInputList')
125
149
  MemoryStrategyId = Shapes::StringShape.new(name: 'MemoryStrategyId')
150
+ MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
151
+ MetadataMap = Shapes::MapShape.new(name: 'MetadataMap')
152
+ MetadataValue = Shapes::UnionShape.new(name: 'MetadataValue')
153
+ MetadataValueStringValueString = Shapes::StringShape.new(name: 'MetadataValueStringValueString')
126
154
  MimeType = Shapes::StringShape.new(name: 'MimeType')
127
155
  Name = Shapes::StringShape.new(name: 'Name')
128
156
  Namespace = Shapes::StringShape.new(name: 'Namespace')
@@ -130,10 +158,12 @@ module Aws::BedrockAgentCore
130
158
  NextToken = Shapes::StringShape.new(name: 'NextToken')
131
159
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
132
160
  Oauth2FlowType = Shapes::StringShape.new(name: 'Oauth2FlowType')
161
+ OperatorType = Shapes::StringShape.new(name: 'OperatorType')
133
162
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
134
163
  PayloadType = Shapes::UnionShape.new(name: 'PayloadType')
135
164
  PayloadTypeList = Shapes::ListShape.new(name: 'PayloadTypeList')
136
165
  ProgrammingLanguage = Shapes::StringShape.new(name: 'ProgrammingLanguage')
166
+ RequestIdentifier = Shapes::StringShape.new(name: 'RequestIdentifier')
137
167
  ResourceContent = Shapes::StructureShape.new(name: 'ResourceContent')
138
168
  ResourceContentType = Shapes::StringShape.new(name: 'ResourceContentType')
139
169
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -141,6 +171,7 @@ module Aws::BedrockAgentCore
141
171
  ResponseStream = Shapes::BlobShape.new(name: 'ResponseStream', streaming: true)
142
172
  RetrieveMemoryRecordsInput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsInput')
143
173
  RetrieveMemoryRecordsOutput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsOutput')
174
+ RightExpression = Shapes::UnionShape.new(name: 'RightExpression')
144
175
  Role = Shapes::StringShape.new(name: 'Role')
145
176
  RuntimeClientError = Shapes::StructureShape.new(name: 'RuntimeClientError')
146
177
  ScopeType = Shapes::StringShape.new(name: 'ScopeType')
@@ -148,7 +179,6 @@ module Aws::BedrockAgentCore
148
179
  SearchCriteria = Shapes::StructureShape.new(name: 'SearchCriteria')
149
180
  SearchCriteriaSearchQueryString = Shapes::StringShape.new(name: 'SearchCriteriaSearchQueryString')
150
181
  SearchCriteriaTopKInteger = Shapes::IntegerShape.new(name: 'SearchCriteriaTopKInteger')
151
- SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
152
182
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
153
183
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
154
184
  SessionId = Shapes::StringShape.new(name: 'SessionId')
@@ -156,13 +186,23 @@ module Aws::BedrockAgentCore
156
186
  SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
157
187
  SessionType = Shapes::StringShape.new(name: 'SessionType')
158
188
  StartBrowserSessionRequest = Shapes::StructureShape.new(name: 'StartBrowserSessionRequest')
189
+ StartBrowserSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StartBrowserSessionRequestTraceIdString')
190
+ StartBrowserSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StartBrowserSessionRequestTraceParentString')
159
191
  StartBrowserSessionResponse = Shapes::StructureShape.new(name: 'StartBrowserSessionResponse')
160
192
  StartCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionRequest')
193
+ StartCodeInterpreterSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceIdString')
194
+ StartCodeInterpreterSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceParentString')
161
195
  StartCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionResponse')
162
196
  StopBrowserSessionRequest = Shapes::StructureShape.new(name: 'StopBrowserSessionRequest')
197
+ StopBrowserSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StopBrowserSessionRequestTraceIdString')
198
+ StopBrowserSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StopBrowserSessionRequestTraceParentString')
163
199
  StopBrowserSessionResponse = Shapes::StructureShape.new(name: 'StopBrowserSessionResponse')
164
200
  StopCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionRequest')
201
+ StopCodeInterpreterSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StopCodeInterpreterSessionRequestTraceIdString')
202
+ StopCodeInterpreterSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StopCodeInterpreterSessionRequestTraceParentString')
165
203
  StopCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionResponse')
204
+ StopRuntimeSessionRequest = Shapes::StructureShape.new(name: 'StopRuntimeSessionRequest')
205
+ StopRuntimeSessionResponse = Shapes::StructureShape.new(name: 'StopRuntimeSessionResponse')
166
206
  StreamUpdate = Shapes::UnionShape.new(name: 'StreamUpdate')
167
207
  String = Shapes::StringShape.new(name: 'String')
168
208
  StringList = Shapes::ListShape.new(name: 'StringList')
@@ -204,6 +244,31 @@ module Aws::BedrockAgentCore
204
244
  AutomationStreamUpdate.add_member(:stream_status, Shapes::ShapeRef.new(shape: AutomationStreamStatus, location_name: "streamStatus"))
205
245
  AutomationStreamUpdate.struct_class = Types::AutomationStreamUpdate
206
246
 
247
+ BatchCreateMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
248
+ BatchCreateMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsCreateInputList, required: true, location_name: "records"))
249
+ BatchCreateMemoryRecordsInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
250
+ BatchCreateMemoryRecordsInput.struct_class = Types::BatchCreateMemoryRecordsInput
251
+
252
+ BatchCreateMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
253
+ BatchCreateMemoryRecordsOutput.add_member(:failed_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "failedRecords"))
254
+ BatchCreateMemoryRecordsOutput.struct_class = Types::BatchCreateMemoryRecordsOutput
255
+
256
+ BatchDeleteMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
257
+ BatchDeleteMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsDeleteInputList, required: true, location_name: "records"))
258
+ BatchDeleteMemoryRecordsInput.struct_class = Types::BatchDeleteMemoryRecordsInput
259
+
260
+ BatchDeleteMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
261
+ BatchDeleteMemoryRecordsOutput.add_member(:failed_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "failedRecords"))
262
+ BatchDeleteMemoryRecordsOutput.struct_class = Types::BatchDeleteMemoryRecordsOutput
263
+
264
+ BatchUpdateMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
265
+ BatchUpdateMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsUpdateInputList, required: true, location_name: "records"))
266
+ BatchUpdateMemoryRecordsInput.struct_class = Types::BatchUpdateMemoryRecordsInput
267
+
268
+ BatchUpdateMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
269
+ BatchUpdateMemoryRecordsOutput.add_member(:failed_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "failedRecords"))
270
+ BatchUpdateMemoryRecordsOutput.struct_class = Types::BatchUpdateMemoryRecordsOutput
271
+
207
272
  Branch.add_member(:root_event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "rootEventId"))
208
273
  Branch.add_member(:name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "name"))
209
274
  Branch.struct_class = Types::Branch
@@ -284,6 +349,7 @@ module Aws::BedrockAgentCore
284
349
  CreateEventInput.add_member(:payload, Shapes::ShapeRef.new(shape: PayloadTypeList, required: true, location_name: "payload"))
285
350
  CreateEventInput.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, location_name: "branch"))
286
351
  CreateEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
352
+ CreateEventInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
287
353
  CreateEventInput.struct_class = Types::CreateEventInput
288
354
 
289
355
  CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
@@ -302,10 +368,10 @@ module Aws::BedrockAgentCore
302
368
  DeleteEventOutput.struct_class = Types::DeleteEventOutput
303
369
 
304
370
  DeleteMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
305
- DeleteMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "memoryRecordId"))
371
+ DeleteMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location: "uri", location_name: "memoryRecordId"))
306
372
  DeleteMemoryRecordInput.struct_class = Types::DeleteMemoryRecordInput
307
373
 
308
- DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "memoryRecordId"))
374
+ DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
309
375
  DeleteMemoryRecordOutput.struct_class = Types::DeleteMemoryRecordOutput
310
376
 
311
377
  Event.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
@@ -315,13 +381,34 @@ module Aws::BedrockAgentCore
315
381
  Event.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTimestamp"))
316
382
  Event.add_member(:payload, Shapes::ShapeRef.new(shape: PayloadTypeList, required: true, location_name: "payload"))
317
383
  Event.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, location_name: "branch"))
384
+ Event.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
318
385
  Event.struct_class = Types::Event
319
386
 
320
387
  EventList.member = Shapes::ShapeRef.new(shape: Event)
321
388
 
389
+ EventMetadataFilterExpression.add_member(:left, Shapes::ShapeRef.new(shape: LeftExpression, required: true, location_name: "left"))
390
+ EventMetadataFilterExpression.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorType, required: true, location_name: "operator"))
391
+ EventMetadataFilterExpression.add_member(:right, Shapes::ShapeRef.new(shape: RightExpression, location_name: "right"))
392
+ EventMetadataFilterExpression.struct_class = Types::EventMetadataFilterExpression
393
+
394
+ EventMetadataFilterList.member = Shapes::ShapeRef.new(shape: EventMetadataFilterExpression)
395
+
322
396
  FilterInput.add_member(:branch, Shapes::ShapeRef.new(shape: BranchFilter, location_name: "branch"))
397
+ FilterInput.add_member(:event_metadata, Shapes::ShapeRef.new(shape: EventMetadataFilterList, location_name: "eventMetadata"))
323
398
  FilterInput.struct_class = Types::FilterInput
324
399
 
400
+ GetAgentCardRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionType, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", metadata: {"idempotencyToken" => true}))
401
+ GetAgentCardRequest.add_member(:agent_runtime_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "agentRuntimeArn"))
402
+ GetAgentCardRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "qualifier"))
403
+ GetAgentCardRequest.struct_class = Types::GetAgentCardRequest
404
+
405
+ GetAgentCardResponse.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionId, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
406
+ GetAgentCardResponse.add_member(:agent_card, Shapes::ShapeRef.new(shape: AgentCard, required: true, location_name: "agentCard"))
407
+ GetAgentCardResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: HttpResponseCode, location: "statusCode", location_name: "statusCode"))
408
+ GetAgentCardResponse.struct_class = Types::GetAgentCardResponse
409
+ GetAgentCardResponse[:payload] = :agent_card
410
+ GetAgentCardResponse[:payload_member] = GetAgentCardResponse.member(:agent_card)
411
+
325
412
  GetBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
326
413
  GetBrowserSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
327
414
  GetBrowserSessionRequest.struct_class = Types::GetBrowserSessionRequest
@@ -360,7 +447,7 @@ module Aws::BedrockAgentCore
360
447
  GetEventOutput.struct_class = Types::GetEventOutput
361
448
 
362
449
  GetMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
363
- GetMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "memoryRecordId"))
450
+ GetMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location: "uri", location_name: "memoryRecordId"))
364
451
  GetMemoryRecordInput.struct_class = Types::GetMemoryRecordInput
365
452
 
366
453
  GetMemoryRecordOutput.add_member(:memory_record, Shapes::ShapeRef.new(shape: MemoryRecord, required: true, location_name: "memoryRecord"))
@@ -452,6 +539,8 @@ module Aws::BedrockAgentCore
452
539
 
453
540
  InvokeCodeInterpreterRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
454
541
  InvokeCodeInterpreterRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, location: "header", location_name: "x-amzn-code-interpreter-session-id"))
542
+ InvokeCodeInterpreterRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: InvokeCodeInterpreterRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
543
+ InvokeCodeInterpreterRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: InvokeCodeInterpreterRequestTraceParentString, location: "header", location_name: "traceparent"))
455
544
  InvokeCodeInterpreterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
456
545
  InvokeCodeInterpreterRequest.add_member(:arguments, Shapes::ShapeRef.new(shape: ToolArguments, location_name: "arguments"))
457
546
  InvokeCodeInterpreterRequest.struct_class = Types::InvokeCodeInterpreterRequest
@@ -462,6 +551,12 @@ module Aws::BedrockAgentCore
462
551
  InvokeCodeInterpreterResponse[:payload] = :stream
463
552
  InvokeCodeInterpreterResponse[:payload_member] = InvokeCodeInterpreterResponse.member(:stream)
464
553
 
554
+ LeftExpression.add_member(:metadata_key, Shapes::ShapeRef.new(shape: MetadataKey, location_name: "metadataKey"))
555
+ LeftExpression.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
556
+ LeftExpression.add_member_subclass(:metadata_key, Types::LeftExpression::MetadataKey)
557
+ LeftExpression.add_member_subclass(:unknown, Types::LeftExpression::Unknown)
558
+ LeftExpression.struct_class = Types::LeftExpression
559
+
465
560
  ListActorsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
466
561
  ListActorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
467
562
  ListActorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -528,7 +623,7 @@ module Aws::BedrockAgentCore
528
623
  LiveViewStream.add_member(:stream_endpoint, Shapes::ShapeRef.new(shape: BrowserStreamEndpoint, location_name: "streamEndpoint"))
529
624
  LiveViewStream.struct_class = Types::LiveViewStream
530
625
 
531
- MemoryContent.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "text"))
626
+ MemoryContent.add_member(:text, Shapes::ShapeRef.new(shape: MemoryContentTextString, location_name: "text"))
532
627
  MemoryContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
533
628
  MemoryContent.add_member_subclass(:text, Types::MemoryContent::Text)
534
629
  MemoryContent.add_member_subclass(:unknown, Types::MemoryContent::Unknown)
@@ -541,6 +636,23 @@ module Aws::BedrockAgentCore
541
636
  MemoryRecord.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
542
637
  MemoryRecord.struct_class = Types::MemoryRecord
543
638
 
639
+ MemoryRecordCreateInput.add_member(:request_identifier, Shapes::ShapeRef.new(shape: RequestIdentifier, required: true, location_name: "requestIdentifier"))
640
+ MemoryRecordCreateInput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
641
+ MemoryRecordCreateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
642
+ MemoryRecordCreateInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
643
+ MemoryRecordCreateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
644
+ MemoryRecordCreateInput.struct_class = Types::MemoryRecordCreateInput
645
+
646
+ MemoryRecordDeleteInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
647
+ MemoryRecordDeleteInput.struct_class = Types::MemoryRecordDeleteInput
648
+
649
+ MemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
650
+ MemoryRecordOutput.add_member(:status, Shapes::ShapeRef.new(shape: MemoryRecordStatus, required: true, location_name: "status"))
651
+ MemoryRecordOutput.add_member(:request_identifier, Shapes::ShapeRef.new(shape: RequestIdentifier, location_name: "requestIdentifier"))
652
+ MemoryRecordOutput.add_member(:error_code, Shapes::ShapeRef.new(shape: Integer, location_name: "errorCode"))
653
+ MemoryRecordOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
654
+ MemoryRecordOutput.struct_class = Types::MemoryRecordOutput
655
+
544
656
  MemoryRecordSummary.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
545
657
  MemoryRecordSummary.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
546
658
  MemoryRecordSummary.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, required: true, location_name: "memoryStrategyId"))
@@ -551,6 +663,30 @@ module Aws::BedrockAgentCore
551
663
 
552
664
  MemoryRecordSummaryList.member = Shapes::ShapeRef.new(shape: MemoryRecordSummary)
553
665
 
666
+ MemoryRecordUpdateInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
667
+ MemoryRecordUpdateInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
668
+ MemoryRecordUpdateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, location_name: "content"))
669
+ MemoryRecordUpdateInput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, location_name: "namespaces"))
670
+ MemoryRecordUpdateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
671
+ MemoryRecordUpdateInput.struct_class = Types::MemoryRecordUpdateInput
672
+
673
+ MemoryRecordsCreateInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordCreateInput)
674
+
675
+ MemoryRecordsDeleteInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordDeleteInput)
676
+
677
+ MemoryRecordsOutputList.member = Shapes::ShapeRef.new(shape: MemoryRecordOutput)
678
+
679
+ MemoryRecordsUpdateInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordUpdateInput)
680
+
681
+ MetadataMap.key = Shapes::ShapeRef.new(shape: MetadataKey)
682
+ MetadataMap.value = Shapes::ShapeRef.new(shape: MetadataValue)
683
+
684
+ MetadataValue.add_member(:string_value, Shapes::ShapeRef.new(shape: MetadataValueStringValueString, location_name: "stringValue"))
685
+ MetadataValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
686
+ MetadataValue.add_member_subclass(:string_value, Types::MetadataValue::StringValue)
687
+ MetadataValue.add_member_subclass(:unknown, Types::MetadataValue::Unknown)
688
+ MetadataValue.struct_class = Types::MetadataValue
689
+
554
690
  NamespacesList.member = Shapes::ShapeRef.new(shape: Namespace)
555
691
 
556
692
  PayloadType.add_member(:conversational, Shapes::ShapeRef.new(shape: Conversational, location_name: "conversational"))
@@ -584,6 +720,12 @@ module Aws::BedrockAgentCore
584
720
  RetrieveMemoryRecordsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
585
721
  RetrieveMemoryRecordsOutput.struct_class = Types::RetrieveMemoryRecordsOutput
586
722
 
723
+ RightExpression.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MetadataValue, location_name: "metadataValue"))
724
+ RightExpression.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
725
+ RightExpression.add_member_subclass(:metadata_value, Types::RightExpression::MetadataValue)
726
+ RightExpression.add_member_subclass(:unknown, Types::RightExpression::Unknown)
727
+ RightExpression.struct_class = Types::RightExpression
728
+
587
729
  RuntimeClientError.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
588
730
  RuntimeClientError.struct_class = Types::RuntimeClientError
589
731
 
@@ -607,6 +749,8 @@ module Aws::BedrockAgentCore
607
749
 
608
750
  SessionSummaryList.member = Shapes::ShapeRef.new(shape: SessionSummary)
609
751
 
752
+ StartBrowserSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StartBrowserSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
753
+ StartBrowserSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StartBrowserSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
610
754
  StartBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
611
755
  StartBrowserSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
612
756
  StartBrowserSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
@@ -620,6 +764,8 @@ module Aws::BedrockAgentCore
620
764
  StartBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
621
765
  StartBrowserSessionResponse.struct_class = Types::StartBrowserSessionResponse
622
766
 
767
+ StartCodeInterpreterSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
768
+ StartCodeInterpreterSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
623
769
  StartCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
624
770
  StartCodeInterpreterSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
625
771
  StartCodeInterpreterSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
@@ -631,6 +777,8 @@ module Aws::BedrockAgentCore
631
777
  StartCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
632
778
  StartCodeInterpreterSessionResponse.struct_class = Types::StartCodeInterpreterSessionResponse
633
779
 
780
+ StopBrowserSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
781
+ StopBrowserSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
634
782
  StopBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
635
783
  StopBrowserSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
636
784
  StopBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
@@ -641,6 +789,8 @@ module Aws::BedrockAgentCore
641
789
  StopBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
642
790
  StopBrowserSessionResponse.struct_class = Types::StopBrowserSessionResponse
643
791
 
792
+ StopCodeInterpreterSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
793
+ StopCodeInterpreterSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
644
794
  StopCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
645
795
  StopCodeInterpreterSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location: "querystring", location_name: "sessionId"))
646
796
  StopCodeInterpreterSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
@@ -651,6 +801,16 @@ module Aws::BedrockAgentCore
651
801
  StopCodeInterpreterSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
652
802
  StopCodeInterpreterSessionResponse.struct_class = Types::StopCodeInterpreterSessionResponse
653
803
 
804
+ StopRuntimeSessionRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionType, required: true, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
805
+ StopRuntimeSessionRequest.add_member(:agent_runtime_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "agentRuntimeArn"))
806
+ StopRuntimeSessionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "qualifier"))
807
+ StopRuntimeSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
808
+ StopRuntimeSessionRequest.struct_class = Types::StopRuntimeSessionRequest
809
+
810
+ StopRuntimeSessionResponse.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionId, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
811
+ StopRuntimeSessionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: HttpResponseCode, location: "statusCode", location_name: "statusCode"))
812
+ StopRuntimeSessionResponse.struct_class = Types::StopRuntimeSessionResponse
813
+
654
814
  StreamUpdate.add_member(:automation_stream_update, Shapes::ShapeRef.new(shape: AutomationStreamUpdate, location_name: "automationStreamUpdate"))
655
815
  StreamUpdate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
656
816
  StreamUpdate.add_member_subclass(:automation_stream_update, Types::StreamUpdate::AutomationStreamUpdate)
@@ -733,6 +893,48 @@ module Aws::BedrockAgentCore
733
893
  "uid" => "bedrock-agentcore-2024-02-28",
734
894
  }
735
895
 
896
+ api.add_operation(:batch_create_memory_records, Seahorse::Model::Operation.new.tap do |o|
897
+ o.name = "BatchCreateMemoryRecords"
898
+ o.http_method = "POST"
899
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords/batchCreate"
900
+ o.input = Shapes::ShapeRef.new(shape: BatchCreateMemoryRecordsInput)
901
+ o.output = Shapes::ShapeRef.new(shape: BatchCreateMemoryRecordsOutput)
902
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
903
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
904
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
905
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
906
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
907
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
908
+ end)
909
+
910
+ api.add_operation(:batch_delete_memory_records, Seahorse::Model::Operation.new.tap do |o|
911
+ o.name = "BatchDeleteMemoryRecords"
912
+ o.http_method = "POST"
913
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords/batchDelete"
914
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteMemoryRecordsInput)
915
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteMemoryRecordsOutput)
916
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
917
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
918
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
919
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
920
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
921
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
922
+ end)
923
+
924
+ api.add_operation(:batch_update_memory_records, Seahorse::Model::Operation.new.tap do |o|
925
+ o.name = "BatchUpdateMemoryRecords"
926
+ o.http_method = "POST"
927
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords/batchUpdate"
928
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdateMemoryRecordsInput)
929
+ o.output = Shapes::ShapeRef.new(shape: BatchUpdateMemoryRecordsOutput)
930
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
931
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
932
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
933
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
934
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
935
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
936
+ end)
937
+
736
938
  api.add_operation(:create_event, Seahorse::Model::Operation.new.tap do |o|
737
939
  o.name = "CreateEvent"
738
940
  o.http_method = "POST"
@@ -778,6 +980,21 @@ module Aws::BedrockAgentCore
778
980
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
779
981
  end)
780
982
 
983
+ api.add_operation(:get_agent_card, Seahorse::Model::Operation.new.tap do |o|
984
+ o.name = "GetAgentCard"
985
+ o.http_method = "GET"
986
+ o.http_request_uri = "/runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json"
987
+ o.input = Shapes::ShapeRef.new(shape: GetAgentCardRequest)
988
+ o.output = Shapes::ShapeRef.new(shape: GetAgentCardResponse)
989
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
990
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
991
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
992
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
993
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
994
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
995
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
996
+ end)
997
+
781
998
  api.add_operation(:get_browser_session, Seahorse::Model::Operation.new.tap do |o|
782
999
  o.name = "GetBrowserSession"
783
1000
  o.http_method = "GET"
@@ -1125,6 +1342,23 @@ module Aws::BedrockAgentCore
1125
1342
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1126
1343
  end)
1127
1344
 
1345
+ api.add_operation(:stop_runtime_session, Seahorse::Model::Operation.new.tap do |o|
1346
+ o.name = "StopRuntimeSession"
1347
+ o.http_method = "POST"
1348
+ o.http_request_uri = "/runtimes/{agentRuntimeArn}/stopruntimesession"
1349
+ o.input = Shapes::ShapeRef.new(shape: StopRuntimeSessionRequest)
1350
+ o.output = Shapes::ShapeRef.new(shape: StopRuntimeSessionResponse)
1351
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1353
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
1357
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1360
+ end)
1361
+
1128
1362
  api.add_operation(:update_browser_stream, Seahorse::Model::Operation.new.tap do |o|
1129
1363
  o.name = "UpdateBrowserStream"
1130
1364
  o.http_method = "PUT"
@@ -13,22 +13,22 @@ module Aws::BedrockAgentCore
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,