aws-sdk-bedrockagentcore 1.4.0 → 1.6.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')
@@ -100,6 +111,7 @@ module Aws::BedrockAgentCore
100
111
  InvokeAgentRuntimeResponse = Shapes::StructureShape.new(name: 'InvokeAgentRuntimeResponse')
101
112
  InvokeCodeInterpreterRequest = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterRequest')
102
113
  InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
114
+ LeftExpression = Shapes::UnionShape.new(name: 'LeftExpression')
103
115
  ListActorsInput = Shapes::StructureShape.new(name: 'ListActorsInput')
104
116
  ListActorsOutput = Shapes::StructureShape.new(name: 'ListActorsOutput')
105
117
  ListBrowserSessionsRequest = Shapes::StructureShape.new(name: 'ListBrowserSessionsRequest')
@@ -117,12 +129,26 @@ module Aws::BedrockAgentCore
117
129
  MaxLenString = Shapes::StringShape.new(name: 'MaxLenString')
118
130
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
119
131
  MemoryContent = Shapes::UnionShape.new(name: 'MemoryContent')
132
+ MemoryContentTextString = Shapes::StringShape.new(name: 'MemoryContentTextString')
120
133
  MemoryId = Shapes::StringShape.new(name: 'MemoryId')
121
134
  MemoryRecord = Shapes::StructureShape.new(name: 'MemoryRecord')
135
+ MemoryRecordCreateInput = Shapes::StructureShape.new(name: 'MemoryRecordCreateInput')
136
+ MemoryRecordDeleteInput = Shapes::StructureShape.new(name: 'MemoryRecordDeleteInput')
122
137
  MemoryRecordId = Shapes::StringShape.new(name: 'MemoryRecordId')
138
+ MemoryRecordOutput = Shapes::StructureShape.new(name: 'MemoryRecordOutput')
139
+ MemoryRecordStatus = Shapes::StringShape.new(name: 'MemoryRecordStatus')
123
140
  MemoryRecordSummary = Shapes::StructureShape.new(name: 'MemoryRecordSummary')
124
141
  MemoryRecordSummaryList = Shapes::ListShape.new(name: 'MemoryRecordSummaryList')
142
+ MemoryRecordUpdateInput = Shapes::StructureShape.new(name: 'MemoryRecordUpdateInput')
143
+ MemoryRecordsCreateInputList = Shapes::ListShape.new(name: 'MemoryRecordsCreateInputList')
144
+ MemoryRecordsDeleteInputList = Shapes::ListShape.new(name: 'MemoryRecordsDeleteInputList')
145
+ MemoryRecordsOutputList = Shapes::ListShape.new(name: 'MemoryRecordsOutputList')
146
+ MemoryRecordsUpdateInputList = Shapes::ListShape.new(name: 'MemoryRecordsUpdateInputList')
125
147
  MemoryStrategyId = Shapes::StringShape.new(name: 'MemoryStrategyId')
148
+ MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
149
+ MetadataMap = Shapes::MapShape.new(name: 'MetadataMap')
150
+ MetadataValue = Shapes::UnionShape.new(name: 'MetadataValue')
151
+ MetadataValueStringValueString = Shapes::StringShape.new(name: 'MetadataValueStringValueString')
126
152
  MimeType = Shapes::StringShape.new(name: 'MimeType')
127
153
  Name = Shapes::StringShape.new(name: 'Name')
128
154
  Namespace = Shapes::StringShape.new(name: 'Namespace')
@@ -130,10 +156,12 @@ module Aws::BedrockAgentCore
130
156
  NextToken = Shapes::StringShape.new(name: 'NextToken')
131
157
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
132
158
  Oauth2FlowType = Shapes::StringShape.new(name: 'Oauth2FlowType')
159
+ OperatorType = Shapes::StringShape.new(name: 'OperatorType')
133
160
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
134
161
  PayloadType = Shapes::UnionShape.new(name: 'PayloadType')
135
162
  PayloadTypeList = Shapes::ListShape.new(name: 'PayloadTypeList')
136
163
  ProgrammingLanguage = Shapes::StringShape.new(name: 'ProgrammingLanguage')
164
+ RequestIdentifier = Shapes::StringShape.new(name: 'RequestIdentifier')
137
165
  ResourceContent = Shapes::StructureShape.new(name: 'ResourceContent')
138
166
  ResourceContentType = Shapes::StringShape.new(name: 'ResourceContentType')
139
167
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -141,6 +169,7 @@ module Aws::BedrockAgentCore
141
169
  ResponseStream = Shapes::BlobShape.new(name: 'ResponseStream', streaming: true)
142
170
  RetrieveMemoryRecordsInput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsInput')
143
171
  RetrieveMemoryRecordsOutput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsOutput')
172
+ RightExpression = Shapes::UnionShape.new(name: 'RightExpression')
144
173
  Role = Shapes::StringShape.new(name: 'Role')
145
174
  RuntimeClientError = Shapes::StructureShape.new(name: 'RuntimeClientError')
146
175
  ScopeType = Shapes::StringShape.new(name: 'ScopeType')
@@ -148,7 +177,6 @@ module Aws::BedrockAgentCore
148
177
  SearchCriteria = Shapes::StructureShape.new(name: 'SearchCriteria')
149
178
  SearchCriteriaSearchQueryString = Shapes::StringShape.new(name: 'SearchCriteriaSearchQueryString')
150
179
  SearchCriteriaTopKInteger = Shapes::IntegerShape.new(name: 'SearchCriteriaTopKInteger')
151
- SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
152
180
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
153
181
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
154
182
  SessionId = Shapes::StringShape.new(name: 'SessionId')
@@ -163,6 +191,8 @@ module Aws::BedrockAgentCore
163
191
  StopBrowserSessionResponse = Shapes::StructureShape.new(name: 'StopBrowserSessionResponse')
164
192
  StopCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionRequest')
165
193
  StopCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionResponse')
194
+ StopRuntimeSessionRequest = Shapes::StructureShape.new(name: 'StopRuntimeSessionRequest')
195
+ StopRuntimeSessionResponse = Shapes::StructureShape.new(name: 'StopRuntimeSessionResponse')
166
196
  StreamUpdate = Shapes::UnionShape.new(name: 'StreamUpdate')
167
197
  String = Shapes::StringShape.new(name: 'String')
168
198
  StringList = Shapes::ListShape.new(name: 'StringList')
@@ -204,6 +234,31 @@ module Aws::BedrockAgentCore
204
234
  AutomationStreamUpdate.add_member(:stream_status, Shapes::ShapeRef.new(shape: AutomationStreamStatus, location_name: "streamStatus"))
205
235
  AutomationStreamUpdate.struct_class = Types::AutomationStreamUpdate
206
236
 
237
+ BatchCreateMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
238
+ BatchCreateMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsCreateInputList, required: true, location_name: "records"))
239
+ BatchCreateMemoryRecordsInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
240
+ BatchCreateMemoryRecordsInput.struct_class = Types::BatchCreateMemoryRecordsInput
241
+
242
+ BatchCreateMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
243
+ BatchCreateMemoryRecordsOutput.add_member(:failed_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "failedRecords"))
244
+ BatchCreateMemoryRecordsOutput.struct_class = Types::BatchCreateMemoryRecordsOutput
245
+
246
+ BatchDeleteMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
247
+ BatchDeleteMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsDeleteInputList, required: true, location_name: "records"))
248
+ BatchDeleteMemoryRecordsInput.struct_class = Types::BatchDeleteMemoryRecordsInput
249
+
250
+ BatchDeleteMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
251
+ BatchDeleteMemoryRecordsOutput.add_member(:failed_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "failedRecords"))
252
+ BatchDeleteMemoryRecordsOutput.struct_class = Types::BatchDeleteMemoryRecordsOutput
253
+
254
+ BatchUpdateMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
255
+ BatchUpdateMemoryRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: MemoryRecordsUpdateInputList, required: true, location_name: "records"))
256
+ BatchUpdateMemoryRecordsInput.struct_class = Types::BatchUpdateMemoryRecordsInput
257
+
258
+ BatchUpdateMemoryRecordsOutput.add_member(:successful_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "successfulRecords"))
259
+ BatchUpdateMemoryRecordsOutput.add_member(:failed_records, Shapes::ShapeRef.new(shape: MemoryRecordsOutputList, required: true, location_name: "failedRecords"))
260
+ BatchUpdateMemoryRecordsOutput.struct_class = Types::BatchUpdateMemoryRecordsOutput
261
+
207
262
  Branch.add_member(:root_event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "rootEventId"))
208
263
  Branch.add_member(:name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "name"))
209
264
  Branch.struct_class = Types::Branch
@@ -284,6 +339,7 @@ module Aws::BedrockAgentCore
284
339
  CreateEventInput.add_member(:payload, Shapes::ShapeRef.new(shape: PayloadTypeList, required: true, location_name: "payload"))
285
340
  CreateEventInput.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, location_name: "branch"))
286
341
  CreateEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
342
+ CreateEventInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
287
343
  CreateEventInput.struct_class = Types::CreateEventInput
288
344
 
289
345
  CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
@@ -302,10 +358,10 @@ module Aws::BedrockAgentCore
302
358
  DeleteEventOutput.struct_class = Types::DeleteEventOutput
303
359
 
304
360
  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"))
361
+ DeleteMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location: "uri", location_name: "memoryRecordId"))
306
362
  DeleteMemoryRecordInput.struct_class = Types::DeleteMemoryRecordInput
307
363
 
308
- DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "memoryRecordId"))
364
+ DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
309
365
  DeleteMemoryRecordOutput.struct_class = Types::DeleteMemoryRecordOutput
310
366
 
311
367
  Event.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
@@ -315,13 +371,34 @@ module Aws::BedrockAgentCore
315
371
  Event.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTimestamp"))
316
372
  Event.add_member(:payload, Shapes::ShapeRef.new(shape: PayloadTypeList, required: true, location_name: "payload"))
317
373
  Event.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, location_name: "branch"))
374
+ Event.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
318
375
  Event.struct_class = Types::Event
319
376
 
320
377
  EventList.member = Shapes::ShapeRef.new(shape: Event)
321
378
 
379
+ EventMetadataFilterExpression.add_member(:left, Shapes::ShapeRef.new(shape: LeftExpression, required: true, location_name: "left"))
380
+ EventMetadataFilterExpression.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorType, required: true, location_name: "operator"))
381
+ EventMetadataFilterExpression.add_member(:right, Shapes::ShapeRef.new(shape: RightExpression, location_name: "right"))
382
+ EventMetadataFilterExpression.struct_class = Types::EventMetadataFilterExpression
383
+
384
+ EventMetadataFilterList.member = Shapes::ShapeRef.new(shape: EventMetadataFilterExpression)
385
+
322
386
  FilterInput.add_member(:branch, Shapes::ShapeRef.new(shape: BranchFilter, location_name: "branch"))
387
+ FilterInput.add_member(:event_metadata, Shapes::ShapeRef.new(shape: EventMetadataFilterList, location_name: "eventMetadata"))
323
388
  FilterInput.struct_class = Types::FilterInput
324
389
 
390
+ 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}))
391
+ GetAgentCardRequest.add_member(:agent_runtime_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "agentRuntimeArn"))
392
+ GetAgentCardRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "qualifier"))
393
+ GetAgentCardRequest.struct_class = Types::GetAgentCardRequest
394
+
395
+ GetAgentCardResponse.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionId, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
396
+ GetAgentCardResponse.add_member(:agent_card, Shapes::ShapeRef.new(shape: AgentCard, required: true, location_name: "agentCard"))
397
+ GetAgentCardResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: HttpResponseCode, location: "statusCode", location_name: "statusCode"))
398
+ GetAgentCardResponse.struct_class = Types::GetAgentCardResponse
399
+ GetAgentCardResponse[:payload] = :agent_card
400
+ GetAgentCardResponse[:payload_member] = GetAgentCardResponse.member(:agent_card)
401
+
325
402
  GetBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
326
403
  GetBrowserSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
327
404
  GetBrowserSessionRequest.struct_class = Types::GetBrowserSessionRequest
@@ -360,7 +437,7 @@ module Aws::BedrockAgentCore
360
437
  GetEventOutput.struct_class = Types::GetEventOutput
361
438
 
362
439
  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"))
440
+ GetMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location: "uri", location_name: "memoryRecordId"))
364
441
  GetMemoryRecordInput.struct_class = Types::GetMemoryRecordInput
365
442
 
366
443
  GetMemoryRecordOutput.add_member(:memory_record, Shapes::ShapeRef.new(shape: MemoryRecord, required: true, location_name: "memoryRecord"))
@@ -462,6 +539,12 @@ module Aws::BedrockAgentCore
462
539
  InvokeCodeInterpreterResponse[:payload] = :stream
463
540
  InvokeCodeInterpreterResponse[:payload_member] = InvokeCodeInterpreterResponse.member(:stream)
464
541
 
542
+ LeftExpression.add_member(:metadata_key, Shapes::ShapeRef.new(shape: MetadataKey, location_name: "metadataKey"))
543
+ LeftExpression.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
544
+ LeftExpression.add_member_subclass(:metadata_key, Types::LeftExpression::MetadataKey)
545
+ LeftExpression.add_member_subclass(:unknown, Types::LeftExpression::Unknown)
546
+ LeftExpression.struct_class = Types::LeftExpression
547
+
465
548
  ListActorsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
466
549
  ListActorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
467
550
  ListActorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -528,7 +611,7 @@ module Aws::BedrockAgentCore
528
611
  LiveViewStream.add_member(:stream_endpoint, Shapes::ShapeRef.new(shape: BrowserStreamEndpoint, location_name: "streamEndpoint"))
529
612
  LiveViewStream.struct_class = Types::LiveViewStream
530
613
 
531
- MemoryContent.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "text"))
614
+ MemoryContent.add_member(:text, Shapes::ShapeRef.new(shape: MemoryContentTextString, location_name: "text"))
532
615
  MemoryContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
533
616
  MemoryContent.add_member_subclass(:text, Types::MemoryContent::Text)
534
617
  MemoryContent.add_member_subclass(:unknown, Types::MemoryContent::Unknown)
@@ -541,6 +624,23 @@ module Aws::BedrockAgentCore
541
624
  MemoryRecord.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
542
625
  MemoryRecord.struct_class = Types::MemoryRecord
543
626
 
627
+ MemoryRecordCreateInput.add_member(:request_identifier, Shapes::ShapeRef.new(shape: RequestIdentifier, required: true, location_name: "requestIdentifier"))
628
+ MemoryRecordCreateInput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
629
+ MemoryRecordCreateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
630
+ MemoryRecordCreateInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
631
+ MemoryRecordCreateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
632
+ MemoryRecordCreateInput.struct_class = Types::MemoryRecordCreateInput
633
+
634
+ MemoryRecordDeleteInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
635
+ MemoryRecordDeleteInput.struct_class = Types::MemoryRecordDeleteInput
636
+
637
+ MemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
638
+ MemoryRecordOutput.add_member(:status, Shapes::ShapeRef.new(shape: MemoryRecordStatus, required: true, location_name: "status"))
639
+ MemoryRecordOutput.add_member(:request_identifier, Shapes::ShapeRef.new(shape: RequestIdentifier, location_name: "requestIdentifier"))
640
+ MemoryRecordOutput.add_member(:error_code, Shapes::ShapeRef.new(shape: Integer, location_name: "errorCode"))
641
+ MemoryRecordOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
642
+ MemoryRecordOutput.struct_class = Types::MemoryRecordOutput
643
+
544
644
  MemoryRecordSummary.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
545
645
  MemoryRecordSummary.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
546
646
  MemoryRecordSummary.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, required: true, location_name: "memoryStrategyId"))
@@ -551,6 +651,30 @@ module Aws::BedrockAgentCore
551
651
 
552
652
  MemoryRecordSummaryList.member = Shapes::ShapeRef.new(shape: MemoryRecordSummary)
553
653
 
654
+ MemoryRecordUpdateInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
655
+ MemoryRecordUpdateInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
656
+ MemoryRecordUpdateInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, location_name: "content"))
657
+ MemoryRecordUpdateInput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, location_name: "namespaces"))
658
+ MemoryRecordUpdateInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
659
+ MemoryRecordUpdateInput.struct_class = Types::MemoryRecordUpdateInput
660
+
661
+ MemoryRecordsCreateInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordCreateInput)
662
+
663
+ MemoryRecordsDeleteInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordDeleteInput)
664
+
665
+ MemoryRecordsOutputList.member = Shapes::ShapeRef.new(shape: MemoryRecordOutput)
666
+
667
+ MemoryRecordsUpdateInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordUpdateInput)
668
+
669
+ MetadataMap.key = Shapes::ShapeRef.new(shape: MetadataKey)
670
+ MetadataMap.value = Shapes::ShapeRef.new(shape: MetadataValue)
671
+
672
+ MetadataValue.add_member(:string_value, Shapes::ShapeRef.new(shape: MetadataValueStringValueString, location_name: "stringValue"))
673
+ MetadataValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
674
+ MetadataValue.add_member_subclass(:string_value, Types::MetadataValue::StringValue)
675
+ MetadataValue.add_member_subclass(:unknown, Types::MetadataValue::Unknown)
676
+ MetadataValue.struct_class = Types::MetadataValue
677
+
554
678
  NamespacesList.member = Shapes::ShapeRef.new(shape: Namespace)
555
679
 
556
680
  PayloadType.add_member(:conversational, Shapes::ShapeRef.new(shape: Conversational, location_name: "conversational"))
@@ -584,6 +708,12 @@ module Aws::BedrockAgentCore
584
708
  RetrieveMemoryRecordsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
585
709
  RetrieveMemoryRecordsOutput.struct_class = Types::RetrieveMemoryRecordsOutput
586
710
 
711
+ RightExpression.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MetadataValue, location_name: "metadataValue"))
712
+ RightExpression.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
713
+ RightExpression.add_member_subclass(:metadata_value, Types::RightExpression::MetadataValue)
714
+ RightExpression.add_member_subclass(:unknown, Types::RightExpression::Unknown)
715
+ RightExpression.struct_class = Types::RightExpression
716
+
587
717
  RuntimeClientError.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
588
718
  RuntimeClientError.struct_class = Types::RuntimeClientError
589
719
 
@@ -651,6 +781,16 @@ module Aws::BedrockAgentCore
651
781
  StopCodeInterpreterSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
652
782
  StopCodeInterpreterSessionResponse.struct_class = Types::StopCodeInterpreterSessionResponse
653
783
 
784
+ StopRuntimeSessionRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionType, required: true, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
785
+ StopRuntimeSessionRequest.add_member(:agent_runtime_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "agentRuntimeArn"))
786
+ StopRuntimeSessionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "qualifier"))
787
+ StopRuntimeSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
788
+ StopRuntimeSessionRequest.struct_class = Types::StopRuntimeSessionRequest
789
+
790
+ StopRuntimeSessionResponse.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionId, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
791
+ StopRuntimeSessionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: HttpResponseCode, location: "statusCode", location_name: "statusCode"))
792
+ StopRuntimeSessionResponse.struct_class = Types::StopRuntimeSessionResponse
793
+
654
794
  StreamUpdate.add_member(:automation_stream_update, Shapes::ShapeRef.new(shape: AutomationStreamUpdate, location_name: "automationStreamUpdate"))
655
795
  StreamUpdate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
656
796
  StreamUpdate.add_member_subclass(:automation_stream_update, Types::StreamUpdate::AutomationStreamUpdate)
@@ -733,6 +873,48 @@ module Aws::BedrockAgentCore
733
873
  "uid" => "bedrock-agentcore-2024-02-28",
734
874
  }
735
875
 
876
+ api.add_operation(:batch_create_memory_records, Seahorse::Model::Operation.new.tap do |o|
877
+ o.name = "BatchCreateMemoryRecords"
878
+ o.http_method = "POST"
879
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords/batchCreate"
880
+ o.input = Shapes::ShapeRef.new(shape: BatchCreateMemoryRecordsInput)
881
+ o.output = Shapes::ShapeRef.new(shape: BatchCreateMemoryRecordsOutput)
882
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
883
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
884
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
886
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
887
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
888
+ end)
889
+
890
+ api.add_operation(:batch_delete_memory_records, Seahorse::Model::Operation.new.tap do |o|
891
+ o.name = "BatchDeleteMemoryRecords"
892
+ o.http_method = "POST"
893
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords/batchDelete"
894
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteMemoryRecordsInput)
895
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteMemoryRecordsOutput)
896
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
897
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
898
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
899
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
900
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
902
+ end)
903
+
904
+ api.add_operation(:batch_update_memory_records, Seahorse::Model::Operation.new.tap do |o|
905
+ o.name = "BatchUpdateMemoryRecords"
906
+ o.http_method = "POST"
907
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords/batchUpdate"
908
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdateMemoryRecordsInput)
909
+ o.output = Shapes::ShapeRef.new(shape: BatchUpdateMemoryRecordsOutput)
910
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
911
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
914
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
915
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
916
+ end)
917
+
736
918
  api.add_operation(:create_event, Seahorse::Model::Operation.new.tap do |o|
737
919
  o.name = "CreateEvent"
738
920
  o.http_method = "POST"
@@ -778,6 +960,21 @@ module Aws::BedrockAgentCore
778
960
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
779
961
  end)
780
962
 
963
+ api.add_operation(:get_agent_card, Seahorse::Model::Operation.new.tap do |o|
964
+ o.name = "GetAgentCard"
965
+ o.http_method = "GET"
966
+ o.http_request_uri = "/runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json"
967
+ o.input = Shapes::ShapeRef.new(shape: GetAgentCardRequest)
968
+ o.output = Shapes::ShapeRef.new(shape: GetAgentCardResponse)
969
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
970
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
971
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
972
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
973
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
974
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
975
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
976
+ end)
977
+
781
978
  api.add_operation(:get_browser_session, Seahorse::Model::Operation.new.tap do |o|
782
979
  o.name = "GetBrowserSession"
783
980
  o.http_method = "GET"
@@ -1125,6 +1322,23 @@ module Aws::BedrockAgentCore
1125
1322
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1126
1323
  end)
1127
1324
 
1325
+ api.add_operation(:stop_runtime_session, Seahorse::Model::Operation.new.tap do |o|
1326
+ o.name = "StopRuntimeSession"
1327
+ o.http_method = "POST"
1328
+ o.http_request_uri = "/runtimes/{agentRuntimeArn}/stopruntimesession"
1329
+ o.input = Shapes::ShapeRef.new(shape: StopRuntimeSessionRequest)
1330
+ o.output = Shapes::ShapeRef.new(shape: StopRuntimeSessionResponse)
1331
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1333
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1334
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1336
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
1337
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1338
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1339
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1340
+ end)
1341
+
1128
1342
  api.add_operation(:update_browser_stream, Seahorse::Model::Operation.new.tap do |o|
1129
1343
  o.name = "UpdateBrowserStream"
1130
1344
  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,