aws-sdk-bedrockagentcore 1.45.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1303073d1beff6d105db695eae9eb469c83c5733de521ac0066132da9d19797a
4
- data.tar.gz: 4bb05ad2f741d7e94a3203f817527e62067b41aaf2bc8109140facf4ed53fdf7
3
+ metadata.gz: 1bcb5023a4082c676fb42e7bf3bd65ce29c96e484c492f4d4ab840c4e432c7e3
4
+ data.tar.gz: 2f514fee3a2249278a2d42f6ee5e1afdc56f469f7e3c1e7c6a2958a9c18a8a7e
5
5
  SHA512:
6
- metadata.gz: b0e230bfc49c5dca70d23cf5f2cdc3d42ead410d0e0a1efaed9062f4d2d629f348752b64891044a42c0a10365842ca58310e34e0275519c5200c27e437410b4c
7
- data.tar.gz: 532e7cfb2dbc4db4c5cb3fe4be503672e119f1fdeafb3f64ac38af2d3ac4e405bc543383f339cf5d6a38106d2c3531dfebb586d48d7d6e29918903d7dead2a27
6
+ metadata.gz: f1f81ab49dc2e07763839b74e2cdf76ee2e8aa3f0f5ad6da6c2b92275ad6b8966c9585760a9ade9c8bdc0c7787279c755ef632e088b8aef02667629e07fd31c1
7
+ data.tar.gz: 9dcae51c2d1adb10f618685e6197f837707991db1fd208e4185421070724c1e377d1d6857040b38c882c1c3a8c0f2da5c1b4e9257572f06b88e40cc930ff4f20
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2026-08-11)
5
+ ------------------
6
+
7
+ * Feature - Adding online eval arn as input for recommendation API
8
+
9
+ 1.46.0 (2026-08-06)
10
+ ------------------
11
+
12
+ * Feature - Add support for capacity provider sessions in Amazon Bedrock AgentCore. Customers can now delete an active session running on a runtime instance launched through their capacity provider.
13
+
4
14
  1.45.0 (2026-07-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.0
@@ -1208,6 +1208,47 @@ module Aws::BedrockAgentCore
1208
1208
  req.send_request(options)
1209
1209
  end
1210
1210
 
1211
+ # Deletes a session associated with a capacity provider in Amazon
1212
+ # Bedrock AgentCore and makes the session unavailable for further use.
1213
+ # To delete a capacity provider session, specify both the capacity
1214
+ # provider identifier and the session ID. After you delete a session,
1215
+ # you cannot restart it.
1216
+ #
1217
+ # @option params [required, String] :capacity_provider_id
1218
+ # The unique identifier of the capacity provider associated with the
1219
+ # session.
1220
+ #
1221
+ # @option params [required, String] :session_id
1222
+ # The unique identifier of the capacity provider session to delete.
1223
+ #
1224
+ # @return [Types::DeleteCapacityProviderSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1225
+ #
1226
+ # * {Types::DeleteCapacityProviderSessionResponse#capacity_provider_arn #capacity_provider_arn} => String
1227
+ # * {Types::DeleteCapacityProviderSessionResponse#session_id #session_id} => String
1228
+ # * {Types::DeleteCapacityProviderSessionResponse#status #status} => String
1229
+ #
1230
+ # @example Request syntax with placeholder values
1231
+ #
1232
+ # resp = client.delete_capacity_provider_session({
1233
+ # capacity_provider_id: "CapacityProviderId", # required
1234
+ # session_id: "SessionId", # required
1235
+ # })
1236
+ #
1237
+ # @example Response structure
1238
+ #
1239
+ # resp.capacity_provider_arn #=> String
1240
+ # resp.session_id #=> String
1241
+ # resp.status #=> String, one of "Provisioning", "Deprovisioning", "Active", "Deleting", "Deleted", "Stopped"
1242
+ #
1243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteCapacityProviderSession AWS API Documentation
1244
+ #
1245
+ # @overload delete_capacity_provider_session(params = {})
1246
+ # @param [Hash] params ({})
1247
+ def delete_capacity_provider_session(params = {}, options = {})
1248
+ req = build_request(:delete_capacity_provider_session, params)
1249
+ req.send_request(options)
1250
+ end
1251
+
1211
1252
  # Deletes an event from an AgentCore Memory resource. When you delete an
1212
1253
  # event, it is permanently removed.
1213
1254
  #
@@ -2288,6 +2329,9 @@ module Aws::BedrockAgentCore
2288
2329
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
2289
2330
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
2290
2331
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
2332
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
2333
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
2334
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
2291
2335
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
2292
2336
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
2293
2337
  # resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
@@ -2312,6 +2356,9 @@ module Aws::BedrockAgentCore
2312
2356
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
2313
2357
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
2314
2358
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
2359
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
2360
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
2361
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
2315
2362
  # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
2316
2363
  # resp.created_at #=> Time
2317
2364
  # resp.updated_at #=> Time
@@ -5808,6 +5855,11 @@ module Aws::BedrockAgentCore
5808
5855
  # batch_evaluation: {
5809
5856
  # batch_evaluation_arn: "BatchEvaluationArn", # required
5810
5857
  # },
5858
+ # online_evaluation: {
5859
+ # online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
5860
+ # start_time: Time.now, # required
5861
+ # end_time: Time.now, # required
5862
+ # },
5811
5863
  # },
5812
5864
  # evaluation_config: {
5813
5865
  # evaluators: [ # required
@@ -5867,6 +5919,11 @@ module Aws::BedrockAgentCore
5867
5919
  # batch_evaluation: {
5868
5920
  # batch_evaluation_arn: "BatchEvaluationArn", # required
5869
5921
  # },
5922
+ # online_evaluation: {
5923
+ # online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
5924
+ # start_time: Time.now, # required
5925
+ # end_time: Time.now, # required
5926
+ # },
5870
5927
  # },
5871
5928
  # },
5872
5929
  # },
@@ -5902,6 +5959,9 @@ module Aws::BedrockAgentCore
5902
5959
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
5903
5960
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
5904
5961
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
5962
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
5963
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
5964
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
5905
5965
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
5906
5966
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
5907
5967
  # resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
@@ -5926,6 +5986,9 @@ module Aws::BedrockAgentCore
5926
5986
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
5927
5987
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
5928
5988
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
5989
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
5990
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
5991
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
5929
5992
  # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
5930
5993
  # resp.created_at #=> Time
5931
5994
  # resp.updated_at #=> Time
@@ -6343,7 +6406,7 @@ module Aws::BedrockAgentCore
6343
6406
  tracer: tracer
6344
6407
  )
6345
6408
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
6346
- context[:gem_version] = '1.45.0'
6409
+ context[:gem_version] = '1.47.0'
6347
6410
  Seahorse::Client::Request.new(handlers, context)
6348
6411
  end
6349
6412
 
@@ -85,6 +85,9 @@ module Aws::BedrockAgentCore
85
85
  BrowserSessionSummary = Shapes::StructureShape.new(name: 'BrowserSessionSummary')
86
86
  BrowserSessionTimeout = Shapes::IntegerShape.new(name: 'BrowserSessionTimeout')
87
87
  BrowserStreamEndpoint = Shapes::StringShape.new(name: 'BrowserStreamEndpoint')
88
+ CapacityProviderArn = Shapes::StringShape.new(name: 'CapacityProviderArn')
89
+ CapacityProviderId = Shapes::StringShape.new(name: 'CapacityProviderId')
90
+ CapacityProviderSessionStatus = Shapes::StringShape.new(name: 'CapacityProviderSessionStatus')
88
91
  Certificate = Shapes::StructureShape.new(name: 'Certificate')
89
92
  CertificateLocation = Shapes::UnionShape.new(name: 'CertificateLocation')
90
93
  Certificates = Shapes::ListShape.new(name: 'Certificates')
@@ -159,6 +162,8 @@ module Aws::BedrockAgentCore
159
162
  DeleteABTestResponse = Shapes::StructureShape.new(name: 'DeleteABTestResponse')
160
163
  DeleteBatchEvaluationRequest = Shapes::StructureShape.new(name: 'DeleteBatchEvaluationRequest')
161
164
  DeleteBatchEvaluationResponse = Shapes::StructureShape.new(name: 'DeleteBatchEvaluationResponse')
165
+ DeleteCapacityProviderSessionRequest = Shapes::StructureShape.new(name: 'DeleteCapacityProviderSessionRequest')
166
+ DeleteCapacityProviderSessionResponse = Shapes::StructureShape.new(name: 'DeleteCapacityProviderSessionResponse')
162
167
  DeleteEventInput = Shapes::StructureShape.new(name: 'DeleteEventInput')
163
168
  DeleteEventOutput = Shapes::StructureShape.new(name: 'DeleteEventOutput')
164
169
  DeleteMemoryRecordInput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordInput')
@@ -536,6 +541,7 @@ module Aws::BedrockAgentCore
536
541
  Oauth2FlowType = Shapes::StringShape.new(name: 'Oauth2FlowType')
537
542
  OnlineEvaluationConfigArn = Shapes::StringShape.new(name: 'OnlineEvaluationConfigArn')
538
543
  OnlineEvaluationConfigSource = Shapes::StructureShape.new(name: 'OnlineEvaluationConfigSource')
544
+ OnlineEvaluationTraceConfig = Shapes::StructureShape.new(name: 'OnlineEvaluationTraceConfig')
539
545
  OperatorType = Shapes::StringShape.new(name: 'OperatorType')
540
546
  OutputConfig = Shapes::UnionShape.new(name: 'OutputConfig')
541
547
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
@@ -851,10 +857,12 @@ module Aws::BedrockAgentCore
851
857
  AgentTracesConfig.add_member(:session_spans, Shapes::ShapeRef.new(shape: Spans, location_name: "sessionSpans"))
852
858
  AgentTracesConfig.add_member(:cloudwatch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsTraceConfig, location_name: "cloudwatchLogs"))
853
859
  AgentTracesConfig.add_member(:batch_evaluation, Shapes::ShapeRef.new(shape: BatchEvaluationTraceConfig, location_name: "batchEvaluation"))
860
+ AgentTracesConfig.add_member(:online_evaluation, Shapes::ShapeRef.new(shape: OnlineEvaluationTraceConfig, location_name: "onlineEvaluation"))
854
861
  AgentTracesConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
855
862
  AgentTracesConfig.add_member_subclass(:session_spans, Types::AgentTracesConfig::SessionSpans)
856
863
  AgentTracesConfig.add_member_subclass(:cloudwatch_logs, Types::AgentTracesConfig::CloudwatchLogs)
857
864
  AgentTracesConfig.add_member_subclass(:batch_evaluation, Types::AgentTracesConfig::BatchEvaluation)
865
+ AgentTracesConfig.add_member_subclass(:online_evaluation, Types::AgentTracesConfig::OnlineEvaluation)
858
866
  AgentTracesConfig.add_member_subclass(:unknown, Types::AgentTracesConfig::Unknown)
859
867
  AgentTracesConfig.struct_class = Types::AgentTracesConfig
860
868
 
@@ -1245,6 +1253,15 @@ module Aws::BedrockAgentCore
1245
1253
  DeleteBatchEvaluationResponse.add_member(:status, Shapes::ShapeRef.new(shape: BatchEvaluationStatus, required: true, location_name: "status"))
1246
1254
  DeleteBatchEvaluationResponse.struct_class = Types::DeleteBatchEvaluationResponse
1247
1255
 
1256
+ DeleteCapacityProviderSessionRequest.add_member(:capacity_provider_id, Shapes::ShapeRef.new(shape: CapacityProviderId, required: true, location: "uri", location_name: "capacityProviderId"))
1257
+ DeleteCapacityProviderSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
1258
+ DeleteCapacityProviderSessionRequest.struct_class = Types::DeleteCapacityProviderSessionRequest
1259
+
1260
+ DeleteCapacityProviderSessionResponse.add_member(:capacity_provider_arn, Shapes::ShapeRef.new(shape: CapacityProviderArn, required: true, location_name: "capacityProviderArn"))
1261
+ DeleteCapacityProviderSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
1262
+ DeleteCapacityProviderSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CapacityProviderSessionStatus, required: true, location_name: "status"))
1263
+ DeleteCapacityProviderSessionResponse.struct_class = Types::DeleteCapacityProviderSessionResponse
1264
+
1248
1265
  DeleteEventInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
1249
1266
  DeleteEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
1250
1267
  DeleteEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location: "uri", location_name: "eventId"))
@@ -2570,6 +2587,11 @@ module Aws::BedrockAgentCore
2570
2587
  OnlineEvaluationConfigSource.add_member(:time_range, Shapes::ShapeRef.new(shape: SessionFilterConfig, location_name: "timeRange"))
2571
2588
  OnlineEvaluationConfigSource.struct_class = Types::OnlineEvaluationConfigSource
2572
2589
 
2590
+ OnlineEvaluationTraceConfig.add_member(:online_evaluation_config_arn, Shapes::ShapeRef.new(shape: OnlineEvaluationConfigArn, required: true, location_name: "onlineEvaluationConfigArn"))
2591
+ OnlineEvaluationTraceConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
2592
+ OnlineEvaluationTraceConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "endTime"))
2593
+ OnlineEvaluationTraceConfig.struct_class = Types::OnlineEvaluationTraceConfig
2594
+
2573
2595
  OutputConfig.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "cloudWatchConfig"))
2574
2596
  OutputConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2575
2597
  OutputConfig.add_member_subclass(:cloud_watch_config, Types::OutputConfig::CloudWatchConfig)
@@ -3487,6 +3509,19 @@ module Aws::BedrockAgentCore
3487
3509
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3488
3510
  end)
3489
3511
 
3512
+ api.add_operation(:delete_capacity_provider_session, Seahorse::Model::Operation.new.tap do |o|
3513
+ o.name = "DeleteCapacityProviderSession"
3514
+ o.http_method = "DELETE"
3515
+ o.http_request_uri = "/capacity-providers/{capacityProviderId}/sessions/{sessionId}"
3516
+ o.input = Shapes::ShapeRef.new(shape: DeleteCapacityProviderSessionRequest)
3517
+ o.output = Shapes::ShapeRef.new(shape: DeleteCapacityProviderSessionResponse)
3518
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3519
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3520
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3521
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3522
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3523
+ end)
3524
+
3490
3525
  api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
3491
3526
  o.name = "DeleteEvent"
3492
3527
  o.http_method = "DELETE"
@@ -257,12 +257,18 @@ module Aws::BedrockAgentCore
257
257
  # Use a completed batch evaluation as the source of agent traces.
258
258
  # @return [Types::BatchEvaluationTraceConfig]
259
259
  #
260
+ # @!attribute [rw] online_evaluation
261
+ # Agent traces from an online evaluation configuration over a
262
+ # specified time range.
263
+ # @return [Types::OnlineEvaluationTraceConfig]
264
+ #
260
265
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AgentTracesConfig AWS API Documentation
261
266
  #
262
267
  class AgentTracesConfig < Struct.new(
263
268
  :session_spans,
264
269
  :cloudwatch_logs,
265
270
  :batch_evaluation,
271
+ :online_evaluation,
266
272
  :unknown)
267
273
  SENSITIVE = [:session_spans]
268
274
  include Aws::Structure
@@ -271,6 +277,7 @@ module Aws::BedrockAgentCore
271
277
  class SessionSpans < AgentTracesConfig; end
272
278
  class CloudwatchLogs < AgentTracesConfig; end
273
279
  class BatchEvaluation < AgentTracesConfig; end
280
+ class OnlineEvaluation < AgentTracesConfig; end
274
281
  class Unknown < AgentTracesConfig; end
275
282
  end
276
283
 
@@ -1969,6 +1976,49 @@ module Aws::BedrockAgentCore
1969
1976
  include Aws::Structure
1970
1977
  end
1971
1978
 
1979
+ # @!attribute [rw] capacity_provider_id
1980
+ # The unique identifier of the capacity provider associated with the
1981
+ # session.
1982
+ # @return [String]
1983
+ #
1984
+ # @!attribute [rw] session_id
1985
+ # The unique identifier of the capacity provider session to delete.
1986
+ # @return [String]
1987
+ #
1988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteCapacityProviderSessionRequest AWS API Documentation
1989
+ #
1990
+ class DeleteCapacityProviderSessionRequest < Struct.new(
1991
+ :capacity_provider_id,
1992
+ :session_id)
1993
+ SENSITIVE = []
1994
+ include Aws::Structure
1995
+ end
1996
+
1997
+ # @!attribute [rw] capacity_provider_arn
1998
+ # The Amazon Resource Name (ARN) of the capacity provider associated
1999
+ # with the deleted session.
2000
+ # @return [String]
2001
+ #
2002
+ # @!attribute [rw] session_id
2003
+ # The unique identifier of the deleted capacity provider session.
2004
+ # @return [String]
2005
+ #
2006
+ # @!attribute [rw] status
2007
+ # The current status of the capacity provider session. When the status
2008
+ # is `Deleting`, the session is being deleted and is not available.
2009
+ # When the status is `Deleted`, the session is no longer available.
2010
+ # @return [String]
2011
+ #
2012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteCapacityProviderSessionResponse AWS API Documentation
2013
+ #
2014
+ class DeleteCapacityProviderSessionResponse < Struct.new(
2015
+ :capacity_provider_arn,
2016
+ :session_id,
2017
+ :status)
2018
+ SENSITIVE = []
2019
+ include Aws::Structure
2020
+ end
2021
+
1972
2022
  # @!attribute [rw] memory_id
1973
2023
  # The identifier of the AgentCore Memory resource from which to delete
1974
2024
  # the event.
@@ -7694,6 +7744,36 @@ module Aws::BedrockAgentCore
7694
7744
  include Aws::Structure
7695
7745
  end
7696
7746
 
7747
+ # Contains the configuration for reusing agent traces from an online
7748
+ # evaluation configuration for recommendation analysis. Because online
7749
+ # evaluation is a continuous stream, a time range specifies which
7750
+ # evaluated sessions the recommendation includes.
7751
+ #
7752
+ # @!attribute [rw] online_evaluation_config_arn
7753
+ # The ARN of the online evaluation configuration to reuse sessions
7754
+ # from.
7755
+ # @return [String]
7756
+ #
7757
+ # @!attribute [rw] start_time
7758
+ # The start time of the time range. Only sessions evaluated at or
7759
+ # after this timestamp are included.
7760
+ # @return [Time]
7761
+ #
7762
+ # @!attribute [rw] end_time
7763
+ # The end time of the time range. Only sessions evaluated before this
7764
+ # timestamp are included.
7765
+ # @return [Time]
7766
+ #
7767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/OnlineEvaluationTraceConfig AWS API Documentation
7768
+ #
7769
+ class OnlineEvaluationTraceConfig < Struct.new(
7770
+ :online_evaluation_config_arn,
7771
+ :start_time,
7772
+ :end_time)
7773
+ SENSITIVE = []
7774
+ include Aws::Structure
7775
+ end
7776
+
7697
7777
  # Output destination configuration.
7698
7778
  #
7699
7779
  # @note OutputConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OutputConfig corresponding to the set member.
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.45.0'
59
+ GEM_VERSION = '1.47.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -349,6 +349,19 @@ module Aws
349
349
  ) -> _DeleteBatchEvaluationResponseSuccess
350
350
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBatchEvaluationResponseSuccess
351
351
 
352
+ interface _DeleteCapacityProviderSessionResponseSuccess
353
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCapacityProviderSessionResponse]
354
+ def capacity_provider_arn: () -> ::String
355
+ def session_id: () -> ::String
356
+ def status: () -> ("Provisioning" | "Deprovisioning" | "Active" | "Deleting" | "Deleted" | "Stopped")
357
+ end
358
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_capacity_provider_session-instance_method
359
+ def delete_capacity_provider_session: (
360
+ capacity_provider_id: ::String,
361
+ session_id: ::String
362
+ ) -> _DeleteCapacityProviderSessionResponseSuccess
363
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityProviderSessionResponseSuccess
364
+
352
365
  interface _DeleteEventResponseSuccess
353
366
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventOutput]
354
367
  def event_id: () -> ::String
data/sig/params.rbs CHANGED
@@ -76,6 +76,11 @@ module Aws
76
76
  cloudwatch_logs: Params::cloud_watch_logs_trace_config?,
77
77
  batch_evaluation: {
78
78
  batch_evaluation_arn: ::String
79
+ }?,
80
+ online_evaluation: {
81
+ online_evaluation_config_arn: ::String,
82
+ start_time: ::Time,
83
+ end_time: ::Time
79
84
  }?
80
85
  }
81
86
 
data/sig/types.rbs CHANGED
@@ -82,6 +82,7 @@ module Aws::BedrockAgentCore
82
82
  attr_accessor session_spans: ::Array[untyped]
83
83
  attr_accessor cloudwatch_logs: Types::CloudWatchLogsTraceConfig
84
84
  attr_accessor batch_evaluation: Types::BatchEvaluationTraceConfig
85
+ attr_accessor online_evaluation: Types::OnlineEvaluationTraceConfig
85
86
  attr_accessor unknown: untyped
86
87
  SENSITIVE: [:session_spans]
87
88
 
@@ -91,6 +92,8 @@ module Aws::BedrockAgentCore
91
92
  end
92
93
  class BatchEvaluation < AgentTracesConfig
93
94
  end
95
+ class OnlineEvaluation < AgentTracesConfig
96
+ end
94
97
  class Unknown < AgentTracesConfig
95
98
  end
96
99
  end
@@ -602,6 +605,19 @@ module Aws::BedrockAgentCore
602
605
  SENSITIVE: []
603
606
  end
604
607
 
608
+ class DeleteCapacityProviderSessionRequest
609
+ attr_accessor capacity_provider_id: ::String
610
+ attr_accessor session_id: ::String
611
+ SENSITIVE: []
612
+ end
613
+
614
+ class DeleteCapacityProviderSessionResponse
615
+ attr_accessor capacity_provider_arn: ::String
616
+ attr_accessor session_id: ::String
617
+ attr_accessor status: ("Provisioning" | "Deprovisioning" | "Active" | "Deleting" | "Deleted" | "Stopped")
618
+ SENSITIVE: []
619
+ end
620
+
605
621
  class DeleteEventInput
606
622
  attr_accessor memory_id: ::String
607
623
  attr_accessor session_id: ::String
@@ -2331,6 +2347,13 @@ module Aws::BedrockAgentCore
2331
2347
  SENSITIVE: []
2332
2348
  end
2333
2349
 
2350
+ class OnlineEvaluationTraceConfig
2351
+ attr_accessor online_evaluation_config_arn: ::String
2352
+ attr_accessor start_time: ::Time
2353
+ attr_accessor end_time: ::Time
2354
+ SENSITIVE: []
2355
+ end
2356
+
2334
2357
  class OutputConfig
2335
2358
  attr_accessor cloud_watch_config: Types::CloudWatchOutputConfig
2336
2359
  attr_accessor unknown: untyped
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.45.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services