aws-sdk-bedrockagentcore 1.10.0 → 1.11.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +129 -19
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +97 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +234 -19
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +33 -0
- data/sig/types.rbs +68 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 246461035be256db86f3d7b4a2429ca1cf9efdf89443c73fd02d45d8f65443a2
|
|
4
|
+
data.tar.gz: 34b7630fc8189fe46b545a38f62c694b5d519dbcbc3e76cb3d53bb470c57712f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 866096299c42f57540de931543070c770b62d9a3654339bc65a3c5d731ea3e8f076d6453cbeed5357273bd1c35525ff65f7c7b078e2758e190af7645ea19f13e
|
|
7
|
+
data.tar.gz: 1cd464cfa76556945f207bb6217a1296d3d8d155080a6785627dc9c123a701c916c9f47750ff9c39c23175128f976ca08410b060d522ec07be226527a863c4a0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.11.0 (2025-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Bedrock AgentCore Memory release for redriving memory extraction jobs (StartMemoryExtractionJob and ListMemoryExtractionJob)
|
|
8
|
+
|
|
4
9
|
1.10.0 (2025-10-23)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.11.0
|
|
@@ -1837,8 +1837,8 @@ module Aws::BedrockAgentCore
|
|
|
1837
1837
|
# actors.
|
|
1838
1838
|
#
|
|
1839
1839
|
# @option params [Integer] :max_results
|
|
1840
|
-
# The maximum number of results to return in a single call.
|
|
1841
|
-
# value
|
|
1840
|
+
# The maximum number of results to return in a single call. The default
|
|
1841
|
+
# value is 20.
|
|
1842
1842
|
#
|
|
1843
1843
|
# @option params [String] :next_token
|
|
1844
1844
|
# The token for the next set of results. Use the value returned in the
|
|
@@ -2044,12 +2044,10 @@ module Aws::BedrockAgentCore
|
|
|
2044
2044
|
# events.
|
|
2045
2045
|
#
|
|
2046
2046
|
# @option params [required, String] :session_id
|
|
2047
|
-
# The identifier of the session for which to list events.
|
|
2048
|
-
# only events from this session are returned.
|
|
2047
|
+
# The identifier of the session for which to list events.
|
|
2049
2048
|
#
|
|
2050
2049
|
# @option params [required, String] :actor_id
|
|
2051
|
-
# The identifier of the actor for which to list events.
|
|
2052
|
-
# only events from this actor are returned.
|
|
2050
|
+
# The identifier of the actor for which to list events.
|
|
2053
2051
|
#
|
|
2054
2052
|
# @option params [Boolean] :include_payloads
|
|
2055
2053
|
# Specifies whether to include event payloads in the response. Set to
|
|
@@ -2059,8 +2057,8 @@ module Aws::BedrockAgentCore
|
|
|
2059
2057
|
# Filter criteria to apply when listing events.
|
|
2060
2058
|
#
|
|
2061
2059
|
# @option params [Integer] :max_results
|
|
2062
|
-
# The maximum number of results to return in a single call.
|
|
2063
|
-
# value
|
|
2060
|
+
# The maximum number of results to return in a single call. The default
|
|
2061
|
+
# value is 20.
|
|
2064
2062
|
#
|
|
2065
2063
|
# @option params [String] :next_token
|
|
2066
2064
|
# The token for the next set of results. Use the value returned in the
|
|
@@ -2130,6 +2128,71 @@ module Aws::BedrockAgentCore
|
|
|
2130
2128
|
req.send_request(options)
|
|
2131
2129
|
end
|
|
2132
2130
|
|
|
2131
|
+
# Lists all long-term memory extraction jobs that are eligible to be
|
|
2132
|
+
# started with optional filtering.
|
|
2133
|
+
#
|
|
2134
|
+
# To use this operation, you must have the
|
|
2135
|
+
# `bedrock-agentcore:ListMemoryExtractionJobs` permission.
|
|
2136
|
+
#
|
|
2137
|
+
# @option params [required, String] :memory_id
|
|
2138
|
+
# The unique identifier of the memory to list extraction jobs for.
|
|
2139
|
+
#
|
|
2140
|
+
# @option params [Integer] :max_results
|
|
2141
|
+
# The maximum number of results to return in a single call. The default
|
|
2142
|
+
# value is 20.
|
|
2143
|
+
#
|
|
2144
|
+
# @option params [Types::ExtractionJobFilterInput] :filter
|
|
2145
|
+
# Filter criteria to apply when listing extraction jobs.
|
|
2146
|
+
#
|
|
2147
|
+
# @option params [String] :next_token
|
|
2148
|
+
# The token for the next set of results. Use the value returned in the
|
|
2149
|
+
# previous response in the next request to retrieve the next set of
|
|
2150
|
+
# results.
|
|
2151
|
+
#
|
|
2152
|
+
# @return [Types::ListMemoryExtractionJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2153
|
+
#
|
|
2154
|
+
# * {Types::ListMemoryExtractionJobsOutput#jobs #jobs} => Array<Types::ExtractionJobMetadata>
|
|
2155
|
+
# * {Types::ListMemoryExtractionJobsOutput#next_token #next_token} => String
|
|
2156
|
+
#
|
|
2157
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2158
|
+
#
|
|
2159
|
+
# @example Request syntax with placeholder values
|
|
2160
|
+
#
|
|
2161
|
+
# resp = client.list_memory_extraction_jobs({
|
|
2162
|
+
# memory_id: "MemoryId", # required
|
|
2163
|
+
# max_results: 1,
|
|
2164
|
+
# filter: {
|
|
2165
|
+
# strategy_id: "String",
|
|
2166
|
+
# session_id: "String",
|
|
2167
|
+
# actor_id: "String",
|
|
2168
|
+
# status: "FAILED", # accepts FAILED
|
|
2169
|
+
# },
|
|
2170
|
+
# next_token: "PaginationToken",
|
|
2171
|
+
# })
|
|
2172
|
+
#
|
|
2173
|
+
# @example Response structure
|
|
2174
|
+
#
|
|
2175
|
+
# resp.jobs #=> Array
|
|
2176
|
+
# resp.jobs[0].job_id #=> String
|
|
2177
|
+
# resp.jobs[0].messages.messages_list #=> Array
|
|
2178
|
+
# resp.jobs[0].messages.messages_list[0].event_id #=> String
|
|
2179
|
+
# resp.jobs[0].messages.messages_list[0].message_index #=> Integer
|
|
2180
|
+
# resp.jobs[0].status #=> String, one of "FAILED"
|
|
2181
|
+
# resp.jobs[0].failure_reason #=> String
|
|
2182
|
+
# resp.jobs[0].strategy_id #=> String
|
|
2183
|
+
# resp.jobs[0].session_id #=> String
|
|
2184
|
+
# resp.jobs[0].actor_id #=> String
|
|
2185
|
+
# resp.next_token #=> String
|
|
2186
|
+
#
|
|
2187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ListMemoryExtractionJobs AWS API Documentation
|
|
2188
|
+
#
|
|
2189
|
+
# @overload list_memory_extraction_jobs(params = {})
|
|
2190
|
+
# @param [Hash] params ({})
|
|
2191
|
+
def list_memory_extraction_jobs(params = {}, options = {})
|
|
2192
|
+
req = build_request(:list_memory_extraction_jobs, params)
|
|
2193
|
+
req.send_request(options)
|
|
2194
|
+
end
|
|
2195
|
+
|
|
2133
2196
|
# Lists memory records in an AgentCore Memory resource based on
|
|
2134
2197
|
# specified criteria. We recommend using pagination to ensure that the
|
|
2135
2198
|
# operation returns quickly and successfully.
|
|
@@ -2150,8 +2213,8 @@ module Aws::BedrockAgentCore
|
|
|
2150
2213
|
# specified, only memory records with this strategy ID are returned.
|
|
2151
2214
|
#
|
|
2152
2215
|
# @option params [Integer] :max_results
|
|
2153
|
-
# The maximum number of results to return in a single call.
|
|
2154
|
-
# value
|
|
2216
|
+
# The maximum number of results to return in a single call. The default
|
|
2217
|
+
# value is 20.
|
|
2155
2218
|
#
|
|
2156
2219
|
# @option params [String] :next_token
|
|
2157
2220
|
# The token for the next set of results. Use the value returned in the
|
|
@@ -2208,12 +2271,11 @@ module Aws::BedrockAgentCore
|
|
|
2208
2271
|
# sessions.
|
|
2209
2272
|
#
|
|
2210
2273
|
# @option params [required, String] :actor_id
|
|
2211
|
-
# The identifier of the actor for which to list sessions.
|
|
2212
|
-
# only sessions involving this actor are returned.
|
|
2274
|
+
# The identifier of the actor for which to list sessions.
|
|
2213
2275
|
#
|
|
2214
2276
|
# @option params [Integer] :max_results
|
|
2215
|
-
# The maximum number of results to return in a single call.
|
|
2216
|
-
# value
|
|
2277
|
+
# The maximum number of results to return in a single call. The default
|
|
2278
|
+
# value is 20.
|
|
2217
2279
|
#
|
|
2218
2280
|
# @option params [String] :next_token
|
|
2219
2281
|
# The token for the next set of results. Use the value returned in the
|
|
@@ -2266,8 +2328,7 @@ module Aws::BedrockAgentCore
|
|
|
2266
2328
|
# memory records.
|
|
2267
2329
|
#
|
|
2268
2330
|
# @option params [required, String] :namespace
|
|
2269
|
-
# The namespace to filter memory records by.
|
|
2270
|
-
# records in this namespace are searched.
|
|
2331
|
+
# The namespace to filter memory records by.
|
|
2271
2332
|
#
|
|
2272
2333
|
# @option params [required, Types::SearchCriteria] :search_criteria
|
|
2273
2334
|
# The search criteria to use for finding relevant memory records. This
|
|
@@ -2280,8 +2341,8 @@ module Aws::BedrockAgentCore
|
|
|
2280
2341
|
# results.
|
|
2281
2342
|
#
|
|
2282
2343
|
# @option params [Integer] :max_results
|
|
2283
|
-
# The maximum number of results to return in a single call.
|
|
2284
|
-
# value
|
|
2344
|
+
# The maximum number of results to return in a single call. The default
|
|
2345
|
+
# value is 20.
|
|
2285
2346
|
#
|
|
2286
2347
|
# @return [Types::RetrieveMemoryRecordsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2287
2348
|
#
|
|
@@ -2512,6 +2573,55 @@ module Aws::BedrockAgentCore
|
|
|
2512
2573
|
req.send_request(options)
|
|
2513
2574
|
end
|
|
2514
2575
|
|
|
2576
|
+
# Starts a memory extraction job that processes events that failed
|
|
2577
|
+
# extraction previously in an AgentCore Memory resource and produces
|
|
2578
|
+
# structured memory records. When earlier extraction attempts have left
|
|
2579
|
+
# events unprocessed, this job will pick up and extract those as well.
|
|
2580
|
+
#
|
|
2581
|
+
# To use this operation, you must have the
|
|
2582
|
+
# `bedrock-agentcore:StartMemoryExtractionJob` permission.
|
|
2583
|
+
#
|
|
2584
|
+
# @option params [required, String] :memory_id
|
|
2585
|
+
# The unique identifier of the memory for which to start extraction
|
|
2586
|
+
# jobs.
|
|
2587
|
+
#
|
|
2588
|
+
# @option params [required, Types::ExtractionJob] :extraction_job
|
|
2589
|
+
# Extraction job to start in this operation.
|
|
2590
|
+
#
|
|
2591
|
+
# @option params [String] :client_token
|
|
2592
|
+
# A unique, case-sensitive identifier to ensure idempotent processing of
|
|
2593
|
+
# the request.
|
|
2594
|
+
#
|
|
2595
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2596
|
+
# not need to pass this option.**
|
|
2597
|
+
#
|
|
2598
|
+
# @return [Types::StartMemoryExtractionJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2599
|
+
#
|
|
2600
|
+
# * {Types::StartMemoryExtractionJobOutput#job_id #job_id} => String
|
|
2601
|
+
#
|
|
2602
|
+
# @example Request syntax with placeholder values
|
|
2603
|
+
#
|
|
2604
|
+
# resp = client.start_memory_extraction_job({
|
|
2605
|
+
# memory_id: "MemoryId", # required
|
|
2606
|
+
# extraction_job: { # required
|
|
2607
|
+
# job_id: "String", # required
|
|
2608
|
+
# },
|
|
2609
|
+
# client_token: "String",
|
|
2610
|
+
# })
|
|
2611
|
+
#
|
|
2612
|
+
# @example Response structure
|
|
2613
|
+
#
|
|
2614
|
+
# resp.job_id #=> String
|
|
2615
|
+
#
|
|
2616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartMemoryExtractionJob AWS API Documentation
|
|
2617
|
+
#
|
|
2618
|
+
# @overload start_memory_extraction_job(params = {})
|
|
2619
|
+
# @param [Hash] params ({})
|
|
2620
|
+
def start_memory_extraction_job(params = {}, options = {})
|
|
2621
|
+
req = build_request(:start_memory_extraction_job, params)
|
|
2622
|
+
req.send_request(options)
|
|
2623
|
+
end
|
|
2624
|
+
|
|
2515
2625
|
# Terminates an active browser session in Amazon Bedrock. This operation
|
|
2516
2626
|
# stops the session, releases associated resources, and makes the
|
|
2517
2627
|
# session unavailable for further use.
|
|
@@ -2782,7 +2892,7 @@ module Aws::BedrockAgentCore
|
|
|
2782
2892
|
tracer: tracer
|
|
2783
2893
|
)
|
|
2784
2894
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
2785
|
-
context[:gem_version] = '1.
|
|
2895
|
+
context[:gem_version] = '1.11.0'
|
|
2786
2896
|
Seahorse::Client::Request.new(handlers, context)
|
|
2787
2897
|
end
|
|
2788
2898
|
|
|
@@ -79,6 +79,12 @@ module Aws::BedrockAgentCore
|
|
|
79
79
|
EventList = Shapes::ListShape.new(name: 'EventList')
|
|
80
80
|
EventMetadataFilterExpression = Shapes::StructureShape.new(name: 'EventMetadataFilterExpression')
|
|
81
81
|
EventMetadataFilterList = Shapes::ListShape.new(name: 'EventMetadataFilterList')
|
|
82
|
+
ExtractionJob = Shapes::StructureShape.new(name: 'ExtractionJob')
|
|
83
|
+
ExtractionJobFilterInput = Shapes::StructureShape.new(name: 'ExtractionJobFilterInput')
|
|
84
|
+
ExtractionJobMessages = Shapes::UnionShape.new(name: 'ExtractionJobMessages')
|
|
85
|
+
ExtractionJobMetadata = Shapes::StructureShape.new(name: 'ExtractionJobMetadata')
|
|
86
|
+
ExtractionJobMetadataList = Shapes::ListShape.new(name: 'ExtractionJobMetadataList')
|
|
87
|
+
ExtractionJobStatus = Shapes::StringShape.new(name: 'ExtractionJobStatus')
|
|
82
88
|
FilterInput = Shapes::StructureShape.new(name: 'FilterInput')
|
|
83
89
|
GetAgentCardRequest = Shapes::StructureShape.new(name: 'GetAgentCardRequest')
|
|
84
90
|
GetAgentCardResponse = Shapes::StructureShape.new(name: 'GetAgentCardResponse')
|
|
@@ -126,6 +132,9 @@ module Aws::BedrockAgentCore
|
|
|
126
132
|
ListCodeInterpreterSessionsResponse = Shapes::StructureShape.new(name: 'ListCodeInterpreterSessionsResponse')
|
|
127
133
|
ListEventsInput = Shapes::StructureShape.new(name: 'ListEventsInput')
|
|
128
134
|
ListEventsOutput = Shapes::StructureShape.new(name: 'ListEventsOutput')
|
|
135
|
+
ListMemoryExtractionJobsInput = Shapes::StructureShape.new(name: 'ListMemoryExtractionJobsInput')
|
|
136
|
+
ListMemoryExtractionJobsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListMemoryExtractionJobsInputMaxResultsInteger')
|
|
137
|
+
ListMemoryExtractionJobsOutput = Shapes::StructureShape.new(name: 'ListMemoryExtractionJobsOutput')
|
|
129
138
|
ListMemoryRecordsInput = Shapes::StructureShape.new(name: 'ListMemoryRecordsInput')
|
|
130
139
|
ListMemoryRecordsOutput = Shapes::StructureShape.new(name: 'ListMemoryRecordsOutput')
|
|
131
140
|
ListSessionsInput = Shapes::StructureShape.new(name: 'ListSessionsInput')
|
|
@@ -151,6 +160,8 @@ module Aws::BedrockAgentCore
|
|
|
151
160
|
MemoryRecordsOutputList = Shapes::ListShape.new(name: 'MemoryRecordsOutputList')
|
|
152
161
|
MemoryRecordsUpdateInputList = Shapes::ListShape.new(name: 'MemoryRecordsUpdateInputList')
|
|
153
162
|
MemoryStrategyId = Shapes::StringShape.new(name: 'MemoryStrategyId')
|
|
163
|
+
MessageMetadata = Shapes::StructureShape.new(name: 'MessageMetadata')
|
|
164
|
+
MessagesList = Shapes::ListShape.new(name: 'MessagesList')
|
|
154
165
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
|
155
166
|
MetadataMap = Shapes::MapShape.new(name: 'MetadataMap')
|
|
156
167
|
MetadataValue = Shapes::UnionShape.new(name: 'MetadataValue')
|
|
@@ -199,6 +210,8 @@ module Aws::BedrockAgentCore
|
|
|
199
210
|
StartCodeInterpreterSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceIdString')
|
|
200
211
|
StartCodeInterpreterSessionRequestTraceParentString = Shapes::StringShape.new(name: 'StartCodeInterpreterSessionRequestTraceParentString')
|
|
201
212
|
StartCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionResponse')
|
|
213
|
+
StartMemoryExtractionJobInput = Shapes::StructureShape.new(name: 'StartMemoryExtractionJobInput')
|
|
214
|
+
StartMemoryExtractionJobOutput = Shapes::StructureShape.new(name: 'StartMemoryExtractionJobOutput')
|
|
202
215
|
State = Shapes::StringShape.new(name: 'State')
|
|
203
216
|
StopBrowserSessionRequest = Shapes::StructureShape.new(name: 'StopBrowserSessionRequest')
|
|
204
217
|
StopBrowserSessionRequestTraceIdString = Shapes::StringShape.new(name: 'StopBrowserSessionRequestTraceIdString')
|
|
@@ -407,6 +420,32 @@ module Aws::BedrockAgentCore
|
|
|
407
420
|
|
|
408
421
|
EventMetadataFilterList.member = Shapes::ShapeRef.new(shape: EventMetadataFilterExpression)
|
|
409
422
|
|
|
423
|
+
ExtractionJob.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
|
424
|
+
ExtractionJob.struct_class = Types::ExtractionJob
|
|
425
|
+
|
|
426
|
+
ExtractionJobFilterInput.add_member(:strategy_id, Shapes::ShapeRef.new(shape: String, location_name: "strategyId"))
|
|
427
|
+
ExtractionJobFilterInput.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location_name: "sessionId"))
|
|
428
|
+
ExtractionJobFilterInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: String, location_name: "actorId"))
|
|
429
|
+
ExtractionJobFilterInput.add_member(:status, Shapes::ShapeRef.new(shape: ExtractionJobStatus, location_name: "status"))
|
|
430
|
+
ExtractionJobFilterInput.struct_class = Types::ExtractionJobFilterInput
|
|
431
|
+
|
|
432
|
+
ExtractionJobMessages.add_member(:messages_list, Shapes::ShapeRef.new(shape: MessagesList, location_name: "messagesList"))
|
|
433
|
+
ExtractionJobMessages.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
434
|
+
ExtractionJobMessages.add_member_subclass(:messages_list, Types::ExtractionJobMessages::MessagesList)
|
|
435
|
+
ExtractionJobMessages.add_member_subclass(:unknown, Types::ExtractionJobMessages::Unknown)
|
|
436
|
+
ExtractionJobMessages.struct_class = Types::ExtractionJobMessages
|
|
437
|
+
|
|
438
|
+
ExtractionJobMetadata.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobID"))
|
|
439
|
+
ExtractionJobMetadata.add_member(:messages, Shapes::ShapeRef.new(shape: ExtractionJobMessages, required: true, location_name: "messages"))
|
|
440
|
+
ExtractionJobMetadata.add_member(:status, Shapes::ShapeRef.new(shape: ExtractionJobStatus, location_name: "status"))
|
|
441
|
+
ExtractionJobMetadata.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "failureReason"))
|
|
442
|
+
ExtractionJobMetadata.add_member(:strategy_id, Shapes::ShapeRef.new(shape: String, location_name: "strategyId"))
|
|
443
|
+
ExtractionJobMetadata.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location_name: "sessionId"))
|
|
444
|
+
ExtractionJobMetadata.add_member(:actor_id, Shapes::ShapeRef.new(shape: String, location_name: "actorId"))
|
|
445
|
+
ExtractionJobMetadata.struct_class = Types::ExtractionJobMetadata
|
|
446
|
+
|
|
447
|
+
ExtractionJobMetadataList.member = Shapes::ShapeRef.new(shape: ExtractionJobMetadata)
|
|
448
|
+
|
|
410
449
|
FilterInput.add_member(:branch, Shapes::ShapeRef.new(shape: BranchFilter, location_name: "branch"))
|
|
411
450
|
FilterInput.add_member(:event_metadata, Shapes::ShapeRef.new(shape: EventMetadataFilterList, location_name: "eventMetadata"))
|
|
412
451
|
FilterInput.struct_class = Types::FilterInput
|
|
@@ -618,6 +657,16 @@ module Aws::BedrockAgentCore
|
|
|
618
657
|
ListEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
|
619
658
|
ListEventsOutput.struct_class = Types::ListEventsOutput
|
|
620
659
|
|
|
660
|
+
ListMemoryExtractionJobsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
661
|
+
ListMemoryExtractionJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMemoryExtractionJobsInputMaxResultsInteger, location_name: "maxResults"))
|
|
662
|
+
ListMemoryExtractionJobsInput.add_member(:filter, Shapes::ShapeRef.new(shape: ExtractionJobFilterInput, location_name: "filter"))
|
|
663
|
+
ListMemoryExtractionJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
|
664
|
+
ListMemoryExtractionJobsInput.struct_class = Types::ListMemoryExtractionJobsInput
|
|
665
|
+
|
|
666
|
+
ListMemoryExtractionJobsOutput.add_member(:jobs, Shapes::ShapeRef.new(shape: ExtractionJobMetadataList, required: true, location_name: "jobs"))
|
|
667
|
+
ListMemoryExtractionJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
|
668
|
+
ListMemoryExtractionJobsOutput.struct_class = Types::ListMemoryExtractionJobsOutput
|
|
669
|
+
|
|
621
670
|
ListMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
622
671
|
ListMemoryRecordsInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "namespace"))
|
|
623
672
|
ListMemoryRecordsInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
|
|
@@ -697,6 +746,12 @@ module Aws::BedrockAgentCore
|
|
|
697
746
|
|
|
698
747
|
MemoryRecordsUpdateInputList.member = Shapes::ShapeRef.new(shape: MemoryRecordUpdateInput)
|
|
699
748
|
|
|
749
|
+
MessageMetadata.add_member(:event_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eventId"))
|
|
750
|
+
MessageMetadata.add_member(:message_index, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "messageIndex"))
|
|
751
|
+
MessageMetadata.struct_class = Types::MessageMetadata
|
|
752
|
+
|
|
753
|
+
MessagesList.member = Shapes::ShapeRef.new(shape: MessageMetadata)
|
|
754
|
+
|
|
700
755
|
MetadataMap.key = Shapes::ShapeRef.new(shape: MetadataKey)
|
|
701
756
|
MetadataMap.value = Shapes::ShapeRef.new(shape: MetadataValue)
|
|
702
757
|
|
|
@@ -796,6 +851,14 @@ module Aws::BedrockAgentCore
|
|
|
796
851
|
StartCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
797
852
|
StartCodeInterpreterSessionResponse.struct_class = Types::StartCodeInterpreterSessionResponse
|
|
798
853
|
|
|
854
|
+
StartMemoryExtractionJobInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
855
|
+
StartMemoryExtractionJobInput.add_member(:extraction_job, Shapes::ShapeRef.new(shape: ExtractionJob, required: true, location_name: "extractionJob"))
|
|
856
|
+
StartMemoryExtractionJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
857
|
+
StartMemoryExtractionJobInput.struct_class = Types::StartMemoryExtractionJobInput
|
|
858
|
+
|
|
859
|
+
StartMemoryExtractionJobOutput.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
|
860
|
+
StartMemoryExtractionJobOutput.struct_class = Types::StartMemoryExtractionJobOutput
|
|
861
|
+
|
|
799
862
|
StopBrowserSessionRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
800
863
|
StopBrowserSessionRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: StopBrowserSessionRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
801
864
|
StopBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
|
|
@@ -1260,6 +1323,26 @@ module Aws::BedrockAgentCore
|
|
|
1260
1323
|
)
|
|
1261
1324
|
end)
|
|
1262
1325
|
|
|
1326
|
+
api.add_operation(:list_memory_extraction_jobs, Seahorse::Model::Operation.new.tap do |o|
|
|
1327
|
+
o.name = "ListMemoryExtractionJobs"
|
|
1328
|
+
o.http_method = "POST"
|
|
1329
|
+
o.http_request_uri = "/memories/{memoryId}/extractionJobs"
|
|
1330
|
+
o.input = Shapes::ShapeRef.new(shape: ListMemoryExtractionJobsInput)
|
|
1331
|
+
o.output = Shapes::ShapeRef.new(shape: ListMemoryExtractionJobsOutput)
|
|
1332
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1333
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1334
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1335
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1336
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1337
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1338
|
+
o[:pager] = Aws::Pager.new(
|
|
1339
|
+
limit_key: "max_results",
|
|
1340
|
+
tokens: {
|
|
1341
|
+
"next_token" => "next_token"
|
|
1342
|
+
}
|
|
1343
|
+
)
|
|
1344
|
+
end)
|
|
1345
|
+
|
|
1263
1346
|
api.add_operation(:list_memory_records, Seahorse::Model::Operation.new.tap do |o|
|
|
1264
1347
|
o.name = "ListMemoryRecords"
|
|
1265
1348
|
o.http_method = "POST"
|
|
@@ -1353,6 +1436,20 @@ module Aws::BedrockAgentCore
|
|
|
1353
1436
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1354
1437
|
end)
|
|
1355
1438
|
|
|
1439
|
+
api.add_operation(:start_memory_extraction_job, Seahorse::Model::Operation.new.tap do |o|
|
|
1440
|
+
o.name = "StartMemoryExtractionJob"
|
|
1441
|
+
o.http_method = "POST"
|
|
1442
|
+
o.http_request_uri = "/memories/{memoryId}/extractionJobs/start"
|
|
1443
|
+
o.input = Shapes::ShapeRef.new(shape: StartMemoryExtractionJobInput)
|
|
1444
|
+
o.output = Shapes::ShapeRef.new(shape: StartMemoryExtractionJobOutput)
|
|
1445
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1446
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1447
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1448
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1449
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1450
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1451
|
+
end)
|
|
1452
|
+
|
|
1356
1453
|
api.add_operation(:stop_browser_session, Seahorse::Model::Operation.new.tap do |o|
|
|
1357
1454
|
o.name = "StopBrowserSession"
|
|
1358
1455
|
o.http_method = "PUT"
|
|
@@ -761,6 +761,119 @@ module Aws::BedrockAgentCore
|
|
|
761
761
|
include Aws::Structure
|
|
762
762
|
end
|
|
763
763
|
|
|
764
|
+
# Represents the metadata of a memory extraction job such as the message
|
|
765
|
+
# identifiers that compose this job.
|
|
766
|
+
#
|
|
767
|
+
# @!attribute [rw] job_id
|
|
768
|
+
# The unique identifier of the extraction job.
|
|
769
|
+
# @return [String]
|
|
770
|
+
#
|
|
771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExtractionJob AWS API Documentation
|
|
772
|
+
#
|
|
773
|
+
class ExtractionJob < Struct.new(
|
|
774
|
+
:job_id)
|
|
775
|
+
SENSITIVE = []
|
|
776
|
+
include Aws::Structure
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
# Filters for querying memory extraction jobs based on various criteria.
|
|
780
|
+
#
|
|
781
|
+
# @!attribute [rw] strategy_id
|
|
782
|
+
# The memory strategy identifier to filter extraction jobs by. If
|
|
783
|
+
# specified, only extraction jobs with this strategy ID are returned.
|
|
784
|
+
# @return [String]
|
|
785
|
+
#
|
|
786
|
+
# @!attribute [rw] session_id
|
|
787
|
+
# The unique identifier of the session. If specified, only extraction
|
|
788
|
+
# jobs with this session ID are returned.
|
|
789
|
+
# @return [String]
|
|
790
|
+
#
|
|
791
|
+
# @!attribute [rw] actor_id
|
|
792
|
+
# The identifier of the actor. If specified, only extraction jobs with
|
|
793
|
+
# this actor ID are returned.
|
|
794
|
+
# @return [String]
|
|
795
|
+
#
|
|
796
|
+
# @!attribute [rw] status
|
|
797
|
+
# The status of the extraction job. If specified, only extraction jobs
|
|
798
|
+
# with this status are returned.
|
|
799
|
+
# @return [String]
|
|
800
|
+
#
|
|
801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExtractionJobFilterInput AWS API Documentation
|
|
802
|
+
#
|
|
803
|
+
class ExtractionJobFilterInput < Struct.new(
|
|
804
|
+
:strategy_id,
|
|
805
|
+
:session_id,
|
|
806
|
+
:actor_id,
|
|
807
|
+
:status)
|
|
808
|
+
SENSITIVE = []
|
|
809
|
+
include Aws::Structure
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
# The list of messages that compose this extraction job.
|
|
813
|
+
#
|
|
814
|
+
# @note ExtractionJobMessages is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExtractionJobMessages corresponding to the set member.
|
|
815
|
+
#
|
|
816
|
+
# @!attribute [rw] messages_list
|
|
817
|
+
# The list of messages that compose this extraction job.
|
|
818
|
+
# @return [Array<Types::MessageMetadata>]
|
|
819
|
+
#
|
|
820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExtractionJobMessages AWS API Documentation
|
|
821
|
+
#
|
|
822
|
+
class ExtractionJobMessages < Struct.new(
|
|
823
|
+
:messages_list,
|
|
824
|
+
:unknown)
|
|
825
|
+
SENSITIVE = []
|
|
826
|
+
include Aws::Structure
|
|
827
|
+
include Aws::Structure::Union
|
|
828
|
+
|
|
829
|
+
class MessagesList < ExtractionJobMessages; end
|
|
830
|
+
class Unknown < ExtractionJobMessages; end
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# Metadata information associated with this extraction job.
|
|
834
|
+
#
|
|
835
|
+
# @!attribute [rw] job_id
|
|
836
|
+
# The unique identifier for the extraction job.
|
|
837
|
+
# @return [String]
|
|
838
|
+
#
|
|
839
|
+
# @!attribute [rw] messages
|
|
840
|
+
# The messages associated with the extraction job.
|
|
841
|
+
# @return [Types::ExtractionJobMessages]
|
|
842
|
+
#
|
|
843
|
+
# @!attribute [rw] status
|
|
844
|
+
# The current status of the extraction job.
|
|
845
|
+
# @return [String]
|
|
846
|
+
#
|
|
847
|
+
# @!attribute [rw] failure_reason
|
|
848
|
+
# The cause of failure, if the job did not complete successfully.
|
|
849
|
+
# @return [String]
|
|
850
|
+
#
|
|
851
|
+
# @!attribute [rw] strategy_id
|
|
852
|
+
# The identifier of the memory strategy for this extraction job.
|
|
853
|
+
# @return [String]
|
|
854
|
+
#
|
|
855
|
+
# @!attribute [rw] session_id
|
|
856
|
+
# The identifier of the session for this extraction job.
|
|
857
|
+
# @return [String]
|
|
858
|
+
#
|
|
859
|
+
# @!attribute [rw] actor_id
|
|
860
|
+
# The identifier of the actor for this extraction job.
|
|
861
|
+
# @return [String]
|
|
862
|
+
#
|
|
863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExtractionJobMetadata AWS API Documentation
|
|
864
|
+
#
|
|
865
|
+
class ExtractionJobMetadata < Struct.new(
|
|
866
|
+
:job_id,
|
|
867
|
+
:messages,
|
|
868
|
+
:status,
|
|
869
|
+
:failure_reason,
|
|
870
|
+
:strategy_id,
|
|
871
|
+
:session_id,
|
|
872
|
+
:actor_id)
|
|
873
|
+
SENSITIVE = []
|
|
874
|
+
include Aws::Structure
|
|
875
|
+
end
|
|
876
|
+
|
|
764
877
|
# Contains filter criteria for listing events.
|
|
765
878
|
#
|
|
766
879
|
# @!attribute [rw] branch
|
|
@@ -1552,8 +1665,8 @@ module Aws::BedrockAgentCore
|
|
|
1552
1665
|
# @return [String]
|
|
1553
1666
|
#
|
|
1554
1667
|
# @!attribute [rw] max_results
|
|
1555
|
-
# The maximum number of results to return in a single call.
|
|
1556
|
-
#
|
|
1668
|
+
# The maximum number of results to return in a single call. The
|
|
1669
|
+
# default value is 20.
|
|
1557
1670
|
# @return [Integer]
|
|
1558
1671
|
#
|
|
1559
1672
|
# @!attribute [rw] next_token
|
|
@@ -1708,13 +1821,11 @@ module Aws::BedrockAgentCore
|
|
|
1708
1821
|
# @return [String]
|
|
1709
1822
|
#
|
|
1710
1823
|
# @!attribute [rw] session_id
|
|
1711
|
-
# The identifier of the session for which to list events.
|
|
1712
|
-
# specified, only events from this session are returned.
|
|
1824
|
+
# The identifier of the session for which to list events.
|
|
1713
1825
|
# @return [String]
|
|
1714
1826
|
#
|
|
1715
1827
|
# @!attribute [rw] actor_id
|
|
1716
|
-
# The identifier of the actor for which to list events.
|
|
1717
|
-
# only events from this actor are returned.
|
|
1828
|
+
# The identifier of the actor for which to list events.
|
|
1718
1829
|
# @return [String]
|
|
1719
1830
|
#
|
|
1720
1831
|
# @!attribute [rw] include_payloads
|
|
@@ -1727,8 +1838,8 @@ module Aws::BedrockAgentCore
|
|
|
1727
1838
|
# @return [Types::FilterInput]
|
|
1728
1839
|
#
|
|
1729
1840
|
# @!attribute [rw] max_results
|
|
1730
|
-
# The maximum number of results to return in a single call.
|
|
1731
|
-
#
|
|
1841
|
+
# The maximum number of results to return in a single call. The
|
|
1842
|
+
# default value is 20.
|
|
1732
1843
|
# @return [Integer]
|
|
1733
1844
|
#
|
|
1734
1845
|
# @!attribute [rw] next_token
|
|
@@ -1770,6 +1881,53 @@ module Aws::BedrockAgentCore
|
|
|
1770
1881
|
include Aws::Structure
|
|
1771
1882
|
end
|
|
1772
1883
|
|
|
1884
|
+
# @!attribute [rw] memory_id
|
|
1885
|
+
# The unique identifier of the memory to list extraction jobs for.
|
|
1886
|
+
# @return [String]
|
|
1887
|
+
#
|
|
1888
|
+
# @!attribute [rw] max_results
|
|
1889
|
+
# The maximum number of results to return in a single call. The
|
|
1890
|
+
# default value is 20.
|
|
1891
|
+
# @return [Integer]
|
|
1892
|
+
#
|
|
1893
|
+
# @!attribute [rw] filter
|
|
1894
|
+
# Filter criteria to apply when listing extraction jobs.
|
|
1895
|
+
# @return [Types::ExtractionJobFilterInput]
|
|
1896
|
+
#
|
|
1897
|
+
# @!attribute [rw] next_token
|
|
1898
|
+
# The token for the next set of results. Use the value returned in the
|
|
1899
|
+
# previous response in the next request to retrieve the next set of
|
|
1900
|
+
# results.
|
|
1901
|
+
# @return [String]
|
|
1902
|
+
#
|
|
1903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ListMemoryExtractionJobsInput AWS API Documentation
|
|
1904
|
+
#
|
|
1905
|
+
class ListMemoryExtractionJobsInput < Struct.new(
|
|
1906
|
+
:memory_id,
|
|
1907
|
+
:max_results,
|
|
1908
|
+
:filter,
|
|
1909
|
+
:next_token)
|
|
1910
|
+
SENSITIVE = []
|
|
1911
|
+
include Aws::Structure
|
|
1912
|
+
end
|
|
1913
|
+
|
|
1914
|
+
# @!attribute [rw] jobs
|
|
1915
|
+
# List of extraction job metadata matching the specified criteria.
|
|
1916
|
+
# @return [Array<Types::ExtractionJobMetadata>]
|
|
1917
|
+
#
|
|
1918
|
+
# @!attribute [rw] next_token
|
|
1919
|
+
# Token to retrieve the next page of results, if available.
|
|
1920
|
+
# @return [String]
|
|
1921
|
+
#
|
|
1922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ListMemoryExtractionJobsOutput AWS API Documentation
|
|
1923
|
+
#
|
|
1924
|
+
class ListMemoryExtractionJobsOutput < Struct.new(
|
|
1925
|
+
:jobs,
|
|
1926
|
+
:next_token)
|
|
1927
|
+
SENSITIVE = []
|
|
1928
|
+
include Aws::Structure
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1773
1931
|
# @!attribute [rw] memory_id
|
|
1774
1932
|
# The identifier of the AgentCore Memory resource for which to list
|
|
1775
1933
|
# memory records.
|
|
@@ -1786,8 +1944,8 @@ module Aws::BedrockAgentCore
|
|
|
1786
1944
|
# @return [String]
|
|
1787
1945
|
#
|
|
1788
1946
|
# @!attribute [rw] max_results
|
|
1789
|
-
# The maximum number of results to return in a single call.
|
|
1790
|
-
#
|
|
1947
|
+
# The maximum number of results to return in a single call. The
|
|
1948
|
+
# default value is 20.
|
|
1791
1949
|
# @return [Integer]
|
|
1792
1950
|
#
|
|
1793
1951
|
# @!attribute [rw] next_token
|
|
@@ -1834,13 +1992,12 @@ module Aws::BedrockAgentCore
|
|
|
1834
1992
|
# @return [String]
|
|
1835
1993
|
#
|
|
1836
1994
|
# @!attribute [rw] actor_id
|
|
1837
|
-
# The identifier of the actor for which to list sessions.
|
|
1838
|
-
# specified, only sessions involving this actor are returned.
|
|
1995
|
+
# The identifier of the actor for which to list sessions.
|
|
1839
1996
|
# @return [String]
|
|
1840
1997
|
#
|
|
1841
1998
|
# @!attribute [rw] max_results
|
|
1842
|
-
# The maximum number of results to return in a single call.
|
|
1843
|
-
#
|
|
1999
|
+
# The maximum number of results to return in a single call. The
|
|
2000
|
+
# default value is 20.
|
|
1844
2001
|
# @return [Integer]
|
|
1845
2002
|
#
|
|
1846
2003
|
# @!attribute [rw] next_token
|
|
@@ -2122,6 +2279,26 @@ module Aws::BedrockAgentCore
|
|
|
2122
2279
|
include Aws::Structure
|
|
2123
2280
|
end
|
|
2124
2281
|
|
|
2282
|
+
# Metadata information associated with this message.
|
|
2283
|
+
#
|
|
2284
|
+
# @!attribute [rw] event_id
|
|
2285
|
+
# The identifier of the event associated with this message.
|
|
2286
|
+
# @return [String]
|
|
2287
|
+
#
|
|
2288
|
+
# @!attribute [rw] message_index
|
|
2289
|
+
# The position of this message within that event’s ordered list of
|
|
2290
|
+
# messages.
|
|
2291
|
+
# @return [Integer]
|
|
2292
|
+
#
|
|
2293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MessageMetadata AWS API Documentation
|
|
2294
|
+
#
|
|
2295
|
+
class MessageMetadata < Struct.new(
|
|
2296
|
+
:event_id,
|
|
2297
|
+
:message_index)
|
|
2298
|
+
SENSITIVE = []
|
|
2299
|
+
include Aws::Structure
|
|
2300
|
+
end
|
|
2301
|
+
|
|
2125
2302
|
# Value associated with the `eventMetadata` key.
|
|
2126
2303
|
#
|
|
2127
2304
|
# @note MetadataValue is a union - when making an API calls you must set exactly one of the members.
|
|
@@ -2165,7 +2342,7 @@ module Aws::BedrockAgentCore
|
|
|
2165
2342
|
:conversational,
|
|
2166
2343
|
:blob,
|
|
2167
2344
|
:unknown)
|
|
2168
|
-
SENSITIVE = []
|
|
2345
|
+
SENSITIVE = [:blob]
|
|
2169
2346
|
include Aws::Structure
|
|
2170
2347
|
include Aws::Structure::Union
|
|
2171
2348
|
|
|
@@ -2230,8 +2407,7 @@ module Aws::BedrockAgentCore
|
|
|
2230
2407
|
# @return [String]
|
|
2231
2408
|
#
|
|
2232
2409
|
# @!attribute [rw] namespace
|
|
2233
|
-
# The namespace to filter memory records by.
|
|
2234
|
-
# records in this namespace are searched.
|
|
2410
|
+
# The namespace to filter memory records by.
|
|
2235
2411
|
# @return [String]
|
|
2236
2412
|
#
|
|
2237
2413
|
# @!attribute [rw] search_criteria
|
|
@@ -2247,8 +2423,8 @@ module Aws::BedrockAgentCore
|
|
|
2247
2423
|
# @return [String]
|
|
2248
2424
|
#
|
|
2249
2425
|
# @!attribute [rw] max_results
|
|
2250
|
-
# The maximum number of results to return in a single call.
|
|
2251
|
-
#
|
|
2426
|
+
# The maximum number of results to return in a single call. The
|
|
2427
|
+
# default value is 20.
|
|
2252
2428
|
# @return [Integer]
|
|
2253
2429
|
#
|
|
2254
2430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RetrieveMemoryRecordsInput AWS API Documentation
|
|
@@ -2559,6 +2735,45 @@ module Aws::BedrockAgentCore
|
|
|
2559
2735
|
include Aws::Structure
|
|
2560
2736
|
end
|
|
2561
2737
|
|
|
2738
|
+
# @!attribute [rw] memory_id
|
|
2739
|
+
# The unique identifier of the memory for which to start extraction
|
|
2740
|
+
# jobs.
|
|
2741
|
+
# @return [String]
|
|
2742
|
+
#
|
|
2743
|
+
# @!attribute [rw] extraction_job
|
|
2744
|
+
# Extraction job to start in this operation.
|
|
2745
|
+
# @return [Types::ExtractionJob]
|
|
2746
|
+
#
|
|
2747
|
+
# @!attribute [rw] client_token
|
|
2748
|
+
# A unique, case-sensitive identifier to ensure idempotent processing
|
|
2749
|
+
# of the request.
|
|
2750
|
+
#
|
|
2751
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2752
|
+
# not need to pass this option.
|
|
2753
|
+
# @return [String]
|
|
2754
|
+
#
|
|
2755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartMemoryExtractionJobInput AWS API Documentation
|
|
2756
|
+
#
|
|
2757
|
+
class StartMemoryExtractionJobInput < Struct.new(
|
|
2758
|
+
:memory_id,
|
|
2759
|
+
:extraction_job,
|
|
2760
|
+
:client_token)
|
|
2761
|
+
SENSITIVE = []
|
|
2762
|
+
include Aws::Structure
|
|
2763
|
+
end
|
|
2764
|
+
|
|
2765
|
+
# @!attribute [rw] job_id
|
|
2766
|
+
# Extraction Job ID that was attempted to start.
|
|
2767
|
+
# @return [String]
|
|
2768
|
+
#
|
|
2769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartMemoryExtractionJobOutput AWS API Documentation
|
|
2770
|
+
#
|
|
2771
|
+
class StartMemoryExtractionJobOutput < Struct.new(
|
|
2772
|
+
:job_id)
|
|
2773
|
+
SENSITIVE = []
|
|
2774
|
+
include Aws::Structure
|
|
2775
|
+
end
|
|
2776
|
+
|
|
2562
2777
|
# @!attribute [rw] trace_id
|
|
2563
2778
|
# The trace identifier for request tracking.
|
|
2564
2779
|
# @return [String]
|
data/sig/client.rbs
CHANGED
|
@@ -490,6 +490,25 @@ module Aws
|
|
|
490
490
|
) -> _ListEventsResponseSuccess
|
|
491
491
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventsResponseSuccess
|
|
492
492
|
|
|
493
|
+
interface _ListMemoryExtractionJobsResponseSuccess
|
|
494
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMemoryExtractionJobsOutput]
|
|
495
|
+
def jobs: () -> ::Array[Types::ExtractionJobMetadata]
|
|
496
|
+
def next_token: () -> ::String
|
|
497
|
+
end
|
|
498
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#list_memory_extraction_jobs-instance_method
|
|
499
|
+
def list_memory_extraction_jobs: (
|
|
500
|
+
memory_id: ::String,
|
|
501
|
+
?max_results: ::Integer,
|
|
502
|
+
?filter: {
|
|
503
|
+
strategy_id: ::String?,
|
|
504
|
+
session_id: ::String?,
|
|
505
|
+
actor_id: ::String?,
|
|
506
|
+
status: ("FAILED")?
|
|
507
|
+
},
|
|
508
|
+
?next_token: ::String
|
|
509
|
+
) -> _ListMemoryExtractionJobsResponseSuccess
|
|
510
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMemoryExtractionJobsResponseSuccess
|
|
511
|
+
|
|
493
512
|
interface _ListMemoryRecordsResponseSuccess
|
|
494
513
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListMemoryRecordsOutput]
|
|
495
514
|
def memory_record_summaries: () -> ::Array[Types::MemoryRecordSummary]
|
|
@@ -577,6 +596,20 @@ module Aws
|
|
|
577
596
|
) -> _StartCodeInterpreterSessionResponseSuccess
|
|
578
597
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodeInterpreterSessionResponseSuccess
|
|
579
598
|
|
|
599
|
+
interface _StartMemoryExtractionJobResponseSuccess
|
|
600
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartMemoryExtractionJobOutput]
|
|
601
|
+
def job_id: () -> ::String
|
|
602
|
+
end
|
|
603
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#start_memory_extraction_job-instance_method
|
|
604
|
+
def start_memory_extraction_job: (
|
|
605
|
+
memory_id: ::String,
|
|
606
|
+
extraction_job: {
|
|
607
|
+
job_id: ::String
|
|
608
|
+
},
|
|
609
|
+
?client_token: ::String
|
|
610
|
+
) -> _StartMemoryExtractionJobResponseSuccess
|
|
611
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMemoryExtractionJobResponseSuccess
|
|
612
|
+
|
|
580
613
|
interface _StopBrowserSessionResponseSuccess
|
|
581
614
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopBrowserSessionResponse]
|
|
582
615
|
def browser_identifier: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -218,6 +218,41 @@ module Aws::BedrockAgentCore
|
|
|
218
218
|
SENSITIVE: []
|
|
219
219
|
end
|
|
220
220
|
|
|
221
|
+
class ExtractionJob
|
|
222
|
+
attr_accessor job_id: ::String
|
|
223
|
+
SENSITIVE: []
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
class ExtractionJobFilterInput
|
|
227
|
+
attr_accessor strategy_id: ::String
|
|
228
|
+
attr_accessor session_id: ::String
|
|
229
|
+
attr_accessor actor_id: ::String
|
|
230
|
+
attr_accessor status: ("FAILED")
|
|
231
|
+
SENSITIVE: []
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class ExtractionJobMessages
|
|
235
|
+
attr_accessor messages_list: ::Array[Types::MessageMetadata]
|
|
236
|
+
attr_accessor unknown: untyped
|
|
237
|
+
SENSITIVE: []
|
|
238
|
+
|
|
239
|
+
class MessagesList < ExtractionJobMessages
|
|
240
|
+
end
|
|
241
|
+
class Unknown < ExtractionJobMessages
|
|
242
|
+
end
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
class ExtractionJobMetadata
|
|
246
|
+
attr_accessor job_id: ::String
|
|
247
|
+
attr_accessor messages: Types::ExtractionJobMessages
|
|
248
|
+
attr_accessor status: ("FAILED")
|
|
249
|
+
attr_accessor failure_reason: ::String
|
|
250
|
+
attr_accessor strategy_id: ::String
|
|
251
|
+
attr_accessor session_id: ::String
|
|
252
|
+
attr_accessor actor_id: ::String
|
|
253
|
+
SENSITIVE: []
|
|
254
|
+
end
|
|
255
|
+
|
|
221
256
|
class FilterInput
|
|
222
257
|
attr_accessor branch: Types::BranchFilter
|
|
223
258
|
attr_accessor event_metadata: ::Array[Types::EventMetadataFilterExpression]
|
|
@@ -497,6 +532,20 @@ module Aws::BedrockAgentCore
|
|
|
497
532
|
SENSITIVE: []
|
|
498
533
|
end
|
|
499
534
|
|
|
535
|
+
class ListMemoryExtractionJobsInput
|
|
536
|
+
attr_accessor memory_id: ::String
|
|
537
|
+
attr_accessor max_results: ::Integer
|
|
538
|
+
attr_accessor filter: Types::ExtractionJobFilterInput
|
|
539
|
+
attr_accessor next_token: ::String
|
|
540
|
+
SENSITIVE: []
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
class ListMemoryExtractionJobsOutput
|
|
544
|
+
attr_accessor jobs: ::Array[Types::ExtractionJobMetadata]
|
|
545
|
+
attr_accessor next_token: ::String
|
|
546
|
+
SENSITIVE: []
|
|
547
|
+
end
|
|
548
|
+
|
|
500
549
|
class ListMemoryRecordsInput
|
|
501
550
|
attr_accessor memory_id: ::String
|
|
502
551
|
attr_accessor namespace: ::String
|
|
@@ -593,6 +642,12 @@ module Aws::BedrockAgentCore
|
|
|
593
642
|
SENSITIVE: []
|
|
594
643
|
end
|
|
595
644
|
|
|
645
|
+
class MessageMetadata
|
|
646
|
+
attr_accessor event_id: ::String
|
|
647
|
+
attr_accessor message_index: ::Integer
|
|
648
|
+
SENSITIVE: []
|
|
649
|
+
end
|
|
650
|
+
|
|
596
651
|
class MetadataValue
|
|
597
652
|
attr_accessor string_value: ::String
|
|
598
653
|
attr_accessor unknown: untyped
|
|
@@ -608,7 +663,7 @@ module Aws::BedrockAgentCore
|
|
|
608
663
|
attr_accessor conversational: Types::Conversational
|
|
609
664
|
attr_accessor blob: untyped
|
|
610
665
|
attr_accessor unknown: untyped
|
|
611
|
-
SENSITIVE: []
|
|
666
|
+
SENSITIVE: [:blob]
|
|
612
667
|
|
|
613
668
|
class Conversational < PayloadType
|
|
614
669
|
end
|
|
@@ -725,6 +780,18 @@ module Aws::BedrockAgentCore
|
|
|
725
780
|
SENSITIVE: []
|
|
726
781
|
end
|
|
727
782
|
|
|
783
|
+
class StartMemoryExtractionJobInput
|
|
784
|
+
attr_accessor memory_id: ::String
|
|
785
|
+
attr_accessor extraction_job: Types::ExtractionJob
|
|
786
|
+
attr_accessor client_token: ::String
|
|
787
|
+
SENSITIVE: []
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
class StartMemoryExtractionJobOutput
|
|
791
|
+
attr_accessor job_id: ::String
|
|
792
|
+
SENSITIVE: []
|
|
793
|
+
end
|
|
794
|
+
|
|
728
795
|
class StopBrowserSessionRequest
|
|
729
796
|
attr_accessor trace_id: ::String
|
|
730
797
|
attr_accessor trace_parent: ::String
|