aws-sdk-bedrockagentcorecontrol 1.72.0 → 1.74.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: c1dc48ce603cbd13318af4f90700936f7bc01a4631041fa3b69da21e8504dbe4
4
- data.tar.gz: bc8cabcfc4d6f7c045db47a3b11fdb60699a0a26b94f8751208a86175bd5ae4d
3
+ metadata.gz: 336ecc063d468e75eec7ce771e859a029a9d8b9f0d3ebaf48f5ba3285c0f6ff9
4
+ data.tar.gz: 4411862594f36960c7a9b1272d706ed7467a91778a5d4fe01bc8676e1e15157b
5
5
  SHA512:
6
- metadata.gz: d2a8e0d03c7fe46f82a5f7aca0623ae775da3d5d968f72921c94dd25f240288ca95cff2bea6ff8ed4f2e6047559ae6728d369ffdf3cdd4bc90c2c7f8a3162497
7
- data.tar.gz: c482cda2d6a77559358591d2dc20b50572b44f9ca3ae5a8ee9c546fd963fcd9370436a03bfe7a1053ada5bdedcf1cb6b87d0f677eca177a7627b71ff6e40b6f5
6
+ metadata.gz: 06b56331b1822f2623bbde72938261bbc7682bb1c666f10a952bc28cb619f836270fffdc3bd27730a9dece2f5a1dc1c0acbb44d0bb005f9d730590cae57e0129
7
+ data.tar.gz: 2c0a5bd2aeb47665494f395be8357469565dce09ace136f8031fe8b7c3ba814506053ab2b7cce11dc6d62736147404ac90095d3df38d97e8df13e6adf078faf2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.74.0 (2026-09-21)
5
+ ------------------
6
+
7
+ * Feature - Amazon Bedrock AgentCore Harness now supports lifecycle hooks for invocations and tool calls, with Lambda, SNS, and EventBridge targets. This release also adds apiBase for custom OpenAI-compatible endpoints
8
+
9
+ 1.73.0 (2026-09-16)
10
+ ------------------
11
+
12
+ * Feature - Adds support for a new DELETE FAILED status for Bedrock AgentCore Runtimes and Bedrock AgentCore Runtime Endpoints.
13
+
4
14
  1.72.0 (2026-09-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.72.0
1
+ 1.74.0
@@ -864,7 +864,7 @@ module Aws::BedrockAgentCoreControl
864
864
  # resp.agent_runtime_id #=> String
865
865
  # resp.agent_runtime_version #=> String
866
866
  # resp.created_at #=> Time
867
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
867
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
868
868
  #
869
869
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateAgentRuntime AWS API Documentation
870
870
  #
@@ -932,7 +932,7 @@ module Aws::BedrockAgentCoreControl
932
932
  # resp.agent_runtime_arn #=> String
933
933
  # resp.agent_runtime_id #=> String
934
934
  # resp.endpoint_name #=> String
935
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
935
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
936
936
  # resp.created_at #=> Time
937
937
  #
938
938
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateAgentRuntimeEndpoint AWS API Documentation
@@ -3073,6 +3073,9 @@ module Aws::BedrockAgentCoreControl
3073
3073
  # The truncation configuration for managing conversation context when it
3074
3074
  # exceeds model limits.
3075
3075
  #
3076
+ # @option params [Array<Types::HarnessHook>] :hooks
3077
+ # The lifecycle hooks to run at defined points in the agent loop.
3078
+ #
3076
3079
  # @option params [Integer] :max_iterations
3077
3080
  # The maximum number of iterations the agent loop can execute per
3078
3081
  # invocation.
@@ -3221,6 +3224,7 @@ module Aws::BedrockAgentCoreControl
3221
3224
  # open_ai_model_config: {
3222
3225
  # model_id: "ModelId", # required
3223
3226
  # api_key_arn: "ApiKeyArn", # required
3227
+ # api_base: "HarnessOpenAiApiBase",
3224
3228
  # max_tokens: 1,
3225
3229
  # temperature: 1.0,
3226
3230
  # top_p: 1.0,
@@ -3352,6 +3356,74 @@ module Aws::BedrockAgentCoreControl
3352
3356
  # },
3353
3357
  # },
3354
3358
  # },
3359
+ # hooks: [
3360
+ # {
3361
+ # before_invocation: {
3362
+ # name: "HarnessHookName", # required
3363
+ # target: { # required
3364
+ # lambda: {
3365
+ # arn: "HarnessLambdaFunctionArn", # required
3366
+ # timeout_seconds: 1,
3367
+ # failure_mode: "allow", # accepts allow, deny
3368
+ # },
3369
+ # sns: {
3370
+ # arn: "HarnessSnsTopicArn", # required
3371
+ # },
3372
+ # event_bridge: {
3373
+ # arn: "HarnessEventBridgeBusArn", # required
3374
+ # },
3375
+ # },
3376
+ # },
3377
+ # after_invocation: {
3378
+ # name: "HarnessHookName", # required
3379
+ # target: { # required
3380
+ # lambda: {
3381
+ # arn: "HarnessLambdaFunctionArn", # required
3382
+ # timeout_seconds: 1,
3383
+ # failure_mode: "allow", # accepts allow, deny
3384
+ # },
3385
+ # sns: {
3386
+ # arn: "HarnessSnsTopicArn", # required
3387
+ # },
3388
+ # event_bridge: {
3389
+ # arn: "HarnessEventBridgeBusArn", # required
3390
+ # },
3391
+ # },
3392
+ # },
3393
+ # before_tool_call: {
3394
+ # name: "HarnessHookName", # required
3395
+ # target: { # required
3396
+ # lambda: {
3397
+ # arn: "HarnessLambdaFunctionArn", # required
3398
+ # timeout_seconds: 1,
3399
+ # failure_mode: "allow", # accepts allow, deny
3400
+ # },
3401
+ # sns: {
3402
+ # arn: "HarnessSnsTopicArn", # required
3403
+ # },
3404
+ # event_bridge: {
3405
+ # arn: "HarnessEventBridgeBusArn", # required
3406
+ # },
3407
+ # },
3408
+ # },
3409
+ # after_tool_call: {
3410
+ # name: "HarnessHookName", # required
3411
+ # target: { # required
3412
+ # lambda: {
3413
+ # arn: "HarnessLambdaFunctionArn", # required
3414
+ # timeout_seconds: 1,
3415
+ # failure_mode: "allow", # accepts allow, deny
3416
+ # },
3417
+ # sns: {
3418
+ # arn: "HarnessSnsTopicArn", # required
3419
+ # },
3420
+ # event_bridge: {
3421
+ # arn: "HarnessEventBridgeBusArn", # required
3422
+ # },
3423
+ # },
3424
+ # },
3425
+ # },
3426
+ # ],
3355
3427
  # max_iterations: 1,
3356
3428
  # max_tokens: 1,
3357
3429
  # timeout_seconds: 1,
@@ -3377,6 +3449,7 @@ module Aws::BedrockAgentCoreControl
3377
3449
  # resp.harness.model.bedrock_model_config.api_format #=> String, one of "converse_stream", "responses", "chat_completions"
3378
3450
  # resp.harness.model.open_ai_model_config.model_id #=> String
3379
3451
  # resp.harness.model.open_ai_model_config.api_key_arn #=> String
3452
+ # resp.harness.model.open_ai_model_config.api_base #=> String
3380
3453
  # resp.harness.model.open_ai_model_config.max_tokens #=> Integer
3381
3454
  # resp.harness.model.open_ai_model_config.temperature #=> Float
3382
3455
  # resp.harness.model.open_ai_model_config.top_p #=> Float
@@ -3504,6 +3577,31 @@ module Aws::BedrockAgentCoreControl
3504
3577
  # resp.harness.memory.managed_memory_configuration.strategies[0] #=> String, one of "SEMANTIC", "SUMMARIZATION", "USER_PREFERENCE", "EPISODIC"
3505
3578
  # resp.harness.memory.managed_memory_configuration.event_expiry_duration #=> Integer
3506
3579
  # resp.harness.memory.managed_memory_configuration.encryption_key_arn #=> String
3580
+ # resp.harness.hooks #=> Array
3581
+ # resp.harness.hooks[0].before_invocation.name #=> String
3582
+ # resp.harness.hooks[0].before_invocation.target.lambda.arn #=> String
3583
+ # resp.harness.hooks[0].before_invocation.target.lambda.timeout_seconds #=> Integer
3584
+ # resp.harness.hooks[0].before_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
3585
+ # resp.harness.hooks[0].before_invocation.target.sns.arn #=> String
3586
+ # resp.harness.hooks[0].before_invocation.target.event_bridge.arn #=> String
3587
+ # resp.harness.hooks[0].after_invocation.name #=> String
3588
+ # resp.harness.hooks[0].after_invocation.target.lambda.arn #=> String
3589
+ # resp.harness.hooks[0].after_invocation.target.lambda.timeout_seconds #=> Integer
3590
+ # resp.harness.hooks[0].after_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
3591
+ # resp.harness.hooks[0].after_invocation.target.sns.arn #=> String
3592
+ # resp.harness.hooks[0].after_invocation.target.event_bridge.arn #=> String
3593
+ # resp.harness.hooks[0].before_tool_call.name #=> String
3594
+ # resp.harness.hooks[0].before_tool_call.target.lambda.arn #=> String
3595
+ # resp.harness.hooks[0].before_tool_call.target.lambda.timeout_seconds #=> Integer
3596
+ # resp.harness.hooks[0].before_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
3597
+ # resp.harness.hooks[0].before_tool_call.target.sns.arn #=> String
3598
+ # resp.harness.hooks[0].before_tool_call.target.event_bridge.arn #=> String
3599
+ # resp.harness.hooks[0].after_tool_call.name #=> String
3600
+ # resp.harness.hooks[0].after_tool_call.target.lambda.arn #=> String
3601
+ # resp.harness.hooks[0].after_tool_call.target.lambda.timeout_seconds #=> Integer
3602
+ # resp.harness.hooks[0].after_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
3603
+ # resp.harness.hooks[0].after_tool_call.target.sns.arn #=> String
3604
+ # resp.harness.hooks[0].after_tool_call.target.event_bridge.arn #=> String
3507
3605
  # resp.harness.max_iterations #=> Integer
3508
3606
  # resp.harness.max_tokens #=> Integer
3509
3607
  # resp.harness.timeout_seconds #=> Integer
@@ -5609,7 +5707,7 @@ module Aws::BedrockAgentCoreControl
5609
5707
  #
5610
5708
  # @example Response structure
5611
5709
  #
5612
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
5710
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
5613
5711
  # resp.agent_runtime_id #=> String
5614
5712
  # resp.agent_runtime_version #=> String
5615
5713
  #
@@ -5654,7 +5752,7 @@ module Aws::BedrockAgentCoreControl
5654
5752
  #
5655
5753
  # @example Response structure
5656
5754
  #
5657
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
5755
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
5658
5756
  # resp.agent_runtime_id #=> String
5659
5757
  # resp.endpoint_name #=> String
5660
5758
  #
@@ -6238,6 +6336,7 @@ module Aws::BedrockAgentCoreControl
6238
6336
  # resp.harness.model.bedrock_model_config.api_format #=> String, one of "converse_stream", "responses", "chat_completions"
6239
6337
  # resp.harness.model.open_ai_model_config.model_id #=> String
6240
6338
  # resp.harness.model.open_ai_model_config.api_key_arn #=> String
6339
+ # resp.harness.model.open_ai_model_config.api_base #=> String
6241
6340
  # resp.harness.model.open_ai_model_config.max_tokens #=> Integer
6242
6341
  # resp.harness.model.open_ai_model_config.temperature #=> Float
6243
6342
  # resp.harness.model.open_ai_model_config.top_p #=> Float
@@ -6365,6 +6464,31 @@ module Aws::BedrockAgentCoreControl
6365
6464
  # resp.harness.memory.managed_memory_configuration.strategies[0] #=> String, one of "SEMANTIC", "SUMMARIZATION", "USER_PREFERENCE", "EPISODIC"
6366
6465
  # resp.harness.memory.managed_memory_configuration.event_expiry_duration #=> Integer
6367
6466
  # resp.harness.memory.managed_memory_configuration.encryption_key_arn #=> String
6467
+ # resp.harness.hooks #=> Array
6468
+ # resp.harness.hooks[0].before_invocation.name #=> String
6469
+ # resp.harness.hooks[0].before_invocation.target.lambda.arn #=> String
6470
+ # resp.harness.hooks[0].before_invocation.target.lambda.timeout_seconds #=> Integer
6471
+ # resp.harness.hooks[0].before_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
6472
+ # resp.harness.hooks[0].before_invocation.target.sns.arn #=> String
6473
+ # resp.harness.hooks[0].before_invocation.target.event_bridge.arn #=> String
6474
+ # resp.harness.hooks[0].after_invocation.name #=> String
6475
+ # resp.harness.hooks[0].after_invocation.target.lambda.arn #=> String
6476
+ # resp.harness.hooks[0].after_invocation.target.lambda.timeout_seconds #=> Integer
6477
+ # resp.harness.hooks[0].after_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
6478
+ # resp.harness.hooks[0].after_invocation.target.sns.arn #=> String
6479
+ # resp.harness.hooks[0].after_invocation.target.event_bridge.arn #=> String
6480
+ # resp.harness.hooks[0].before_tool_call.name #=> String
6481
+ # resp.harness.hooks[0].before_tool_call.target.lambda.arn #=> String
6482
+ # resp.harness.hooks[0].before_tool_call.target.lambda.timeout_seconds #=> Integer
6483
+ # resp.harness.hooks[0].before_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
6484
+ # resp.harness.hooks[0].before_tool_call.target.sns.arn #=> String
6485
+ # resp.harness.hooks[0].before_tool_call.target.event_bridge.arn #=> String
6486
+ # resp.harness.hooks[0].after_tool_call.name #=> String
6487
+ # resp.harness.hooks[0].after_tool_call.target.lambda.arn #=> String
6488
+ # resp.harness.hooks[0].after_tool_call.target.lambda.timeout_seconds #=> Integer
6489
+ # resp.harness.hooks[0].after_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
6490
+ # resp.harness.hooks[0].after_tool_call.target.sns.arn #=> String
6491
+ # resp.harness.hooks[0].after_tool_call.target.event_bridge.arn #=> String
6368
6492
  # resp.harness.max_iterations #=> Integer
6369
6493
  # resp.harness.max_tokens #=> Integer
6370
6494
  # resp.harness.timeout_seconds #=> Integer
@@ -6923,7 +7047,7 @@ module Aws::BedrockAgentCoreControl
6923
7047
  # resp.network_configuration.network_mode_config.subnets #=> Array
6924
7048
  # resp.network_configuration.network_mode_config.subnets[0] #=> String
6925
7049
  # resp.network_configuration.network_mode_config.require_service_s3_endpoint #=> Boolean
6926
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
7050
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
6927
7051
  # resp.lifecycle_configuration.idle_runtime_session_timeout #=> Integer
6928
7052
  # resp.lifecycle_configuration.max_lifetime #=> Integer
6929
7053
  # resp.failure_reason #=> String
@@ -7041,7 +7165,7 @@ module Aws::BedrockAgentCoreControl
7041
7165
  # resp.agent_runtime_endpoint_arn #=> String
7042
7166
  # resp.agent_runtime_arn #=> String
7043
7167
  # resp.description #=> String
7044
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
7168
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
7045
7169
  # resp.created_at #=> Time
7046
7170
  # resp.last_updated_at #=> Time
7047
7171
  # resp.failure_reason #=> String
@@ -8177,6 +8301,7 @@ module Aws::BedrockAgentCoreControl
8177
8301
  # resp.harness.model.bedrock_model_config.api_format #=> String, one of "converse_stream", "responses", "chat_completions"
8178
8302
  # resp.harness.model.open_ai_model_config.model_id #=> String
8179
8303
  # resp.harness.model.open_ai_model_config.api_key_arn #=> String
8304
+ # resp.harness.model.open_ai_model_config.api_base #=> String
8180
8305
  # resp.harness.model.open_ai_model_config.max_tokens #=> Integer
8181
8306
  # resp.harness.model.open_ai_model_config.temperature #=> Float
8182
8307
  # resp.harness.model.open_ai_model_config.top_p #=> Float
@@ -8304,6 +8429,31 @@ module Aws::BedrockAgentCoreControl
8304
8429
  # resp.harness.memory.managed_memory_configuration.strategies[0] #=> String, one of "SEMANTIC", "SUMMARIZATION", "USER_PREFERENCE", "EPISODIC"
8305
8430
  # resp.harness.memory.managed_memory_configuration.event_expiry_duration #=> Integer
8306
8431
  # resp.harness.memory.managed_memory_configuration.encryption_key_arn #=> String
8432
+ # resp.harness.hooks #=> Array
8433
+ # resp.harness.hooks[0].before_invocation.name #=> String
8434
+ # resp.harness.hooks[0].before_invocation.target.lambda.arn #=> String
8435
+ # resp.harness.hooks[0].before_invocation.target.lambda.timeout_seconds #=> Integer
8436
+ # resp.harness.hooks[0].before_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
8437
+ # resp.harness.hooks[0].before_invocation.target.sns.arn #=> String
8438
+ # resp.harness.hooks[0].before_invocation.target.event_bridge.arn #=> String
8439
+ # resp.harness.hooks[0].after_invocation.name #=> String
8440
+ # resp.harness.hooks[0].after_invocation.target.lambda.arn #=> String
8441
+ # resp.harness.hooks[0].after_invocation.target.lambda.timeout_seconds #=> Integer
8442
+ # resp.harness.hooks[0].after_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
8443
+ # resp.harness.hooks[0].after_invocation.target.sns.arn #=> String
8444
+ # resp.harness.hooks[0].after_invocation.target.event_bridge.arn #=> String
8445
+ # resp.harness.hooks[0].before_tool_call.name #=> String
8446
+ # resp.harness.hooks[0].before_tool_call.target.lambda.arn #=> String
8447
+ # resp.harness.hooks[0].before_tool_call.target.lambda.timeout_seconds #=> Integer
8448
+ # resp.harness.hooks[0].before_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
8449
+ # resp.harness.hooks[0].before_tool_call.target.sns.arn #=> String
8450
+ # resp.harness.hooks[0].before_tool_call.target.event_bridge.arn #=> String
8451
+ # resp.harness.hooks[0].after_tool_call.name #=> String
8452
+ # resp.harness.hooks[0].after_tool_call.target.lambda.arn #=> String
8453
+ # resp.harness.hooks[0].after_tool_call.target.lambda.timeout_seconds #=> Integer
8454
+ # resp.harness.hooks[0].after_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
8455
+ # resp.harness.hooks[0].after_tool_call.target.sns.arn #=> String
8456
+ # resp.harness.hooks[0].after_tool_call.target.event_bridge.arn #=> String
8307
8457
  # resp.harness.max_iterations #=> Integer
8308
8458
  # resp.harness.max_tokens #=> Integer
8309
8459
  # resp.harness.timeout_seconds #=> Integer
@@ -9600,7 +9750,7 @@ module Aws::BedrockAgentCoreControl
9600
9750
  # resp.runtime_endpoints[0].target_version #=> String
9601
9751
  # resp.runtime_endpoints[0].agent_runtime_endpoint_arn #=> String
9602
9752
  # resp.runtime_endpoints[0].agent_runtime_arn #=> String
9603
- # resp.runtime_endpoints[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
9753
+ # resp.runtime_endpoints[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
9604
9754
  # resp.runtime_endpoints[0].id #=> String
9605
9755
  # resp.runtime_endpoints[0].description #=> String
9606
9756
  # resp.runtime_endpoints[0].created_at #=> Time
@@ -9651,7 +9801,7 @@ module Aws::BedrockAgentCoreControl
9651
9801
  # resp.agent_runtimes[0].agent_runtime_name #=> String
9652
9802
  # resp.agent_runtimes[0].description #=> String
9653
9803
  # resp.agent_runtimes[0].last_updated_at #=> Time
9654
- # resp.agent_runtimes[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
9804
+ # resp.agent_runtimes[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
9655
9805
  # resp.next_token #=> String
9656
9806
  #
9657
9807
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListAgentRuntimeVersions AWS API Documentation
@@ -9704,7 +9854,7 @@ module Aws::BedrockAgentCoreControl
9704
9854
  # resp.agent_runtimes #=> Array
9705
9855
  # resp.agent_runtimes[0].agent_runtime_arn #=> String
9706
9856
  # resp.agent_runtimes[0].agent_runtime_version #=> String
9707
- # resp.agent_runtimes[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
9857
+ # resp.agent_runtimes[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
9708
9858
  # resp.next_token #=> String
9709
9859
  #
9710
9860
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListAgentRuntimeVersionsByCapacityProvider AWS API Documentation
@@ -9747,7 +9897,7 @@ module Aws::BedrockAgentCoreControl
9747
9897
  # resp.agent_runtimes[0].agent_runtime_name #=> String
9748
9898
  # resp.agent_runtimes[0].description #=> String
9749
9899
  # resp.agent_runtimes[0].last_updated_at #=> Time
9750
- # resp.agent_runtimes[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
9900
+ # resp.agent_runtimes[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
9751
9901
  # resp.next_token #=> String
9752
9902
  #
9753
9903
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListAgentRuntimes AWS API Documentation
@@ -12370,7 +12520,7 @@ module Aws::BedrockAgentCoreControl
12370
12520
  # resp.agent_runtime_version #=> String
12371
12521
  # resp.created_at #=> Time
12372
12522
  # resp.last_updated_at #=> Time
12373
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
12523
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
12374
12524
  #
12375
12525
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateAgentRuntime AWS API Documentation
12376
12526
  #
@@ -12429,7 +12579,7 @@ module Aws::BedrockAgentCoreControl
12429
12579
  # resp.target_version #=> String
12430
12580
  # resp.agent_runtime_endpoint_arn #=> String
12431
12581
  # resp.agent_runtime_arn #=> String
12432
- # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
12582
+ # resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
12433
12583
  # resp.created_at #=> Time
12434
12584
  # resp.last_updated_at #=> Time
12435
12585
  #
@@ -14050,6 +14200,11 @@ module Aws::BedrockAgentCoreControl
14050
14200
  # The truncation configuration for managing conversation context. If not
14051
14201
  # specified, the existing value is retained.
14052
14202
  #
14203
+ # @option params [Array<Types::HarnessHook>] :hooks
14204
+ # The lifecycle hooks to run at defined points in the agent loop. If
14205
+ # specified, this replaces all existing hooks. If not specified, the
14206
+ # existing hooks are retained.
14207
+ #
14053
14208
  # @option params [Integer] :max_iterations
14054
14209
  # The maximum number of iterations the agent loop can execute per
14055
14210
  # invocation. If not specified, the existing value is retained.
@@ -14200,6 +14355,7 @@ module Aws::BedrockAgentCoreControl
14200
14355
  # open_ai_model_config: {
14201
14356
  # model_id: "ModelId", # required
14202
14357
  # api_key_arn: "ApiKeyArn", # required
14358
+ # api_base: "HarnessOpenAiApiBase",
14203
14359
  # max_tokens: 1,
14204
14360
  # temperature: 1.0,
14205
14361
  # top_p: 1.0,
@@ -14333,6 +14489,74 @@ module Aws::BedrockAgentCoreControl
14333
14489
  # },
14334
14490
  # },
14335
14491
  # },
14492
+ # hooks: [
14493
+ # {
14494
+ # before_invocation: {
14495
+ # name: "HarnessHookName", # required
14496
+ # target: { # required
14497
+ # lambda: {
14498
+ # arn: "HarnessLambdaFunctionArn", # required
14499
+ # timeout_seconds: 1,
14500
+ # failure_mode: "allow", # accepts allow, deny
14501
+ # },
14502
+ # sns: {
14503
+ # arn: "HarnessSnsTopicArn", # required
14504
+ # },
14505
+ # event_bridge: {
14506
+ # arn: "HarnessEventBridgeBusArn", # required
14507
+ # },
14508
+ # },
14509
+ # },
14510
+ # after_invocation: {
14511
+ # name: "HarnessHookName", # required
14512
+ # target: { # required
14513
+ # lambda: {
14514
+ # arn: "HarnessLambdaFunctionArn", # required
14515
+ # timeout_seconds: 1,
14516
+ # failure_mode: "allow", # accepts allow, deny
14517
+ # },
14518
+ # sns: {
14519
+ # arn: "HarnessSnsTopicArn", # required
14520
+ # },
14521
+ # event_bridge: {
14522
+ # arn: "HarnessEventBridgeBusArn", # required
14523
+ # },
14524
+ # },
14525
+ # },
14526
+ # before_tool_call: {
14527
+ # name: "HarnessHookName", # required
14528
+ # target: { # required
14529
+ # lambda: {
14530
+ # arn: "HarnessLambdaFunctionArn", # required
14531
+ # timeout_seconds: 1,
14532
+ # failure_mode: "allow", # accepts allow, deny
14533
+ # },
14534
+ # sns: {
14535
+ # arn: "HarnessSnsTopicArn", # required
14536
+ # },
14537
+ # event_bridge: {
14538
+ # arn: "HarnessEventBridgeBusArn", # required
14539
+ # },
14540
+ # },
14541
+ # },
14542
+ # after_tool_call: {
14543
+ # name: "HarnessHookName", # required
14544
+ # target: { # required
14545
+ # lambda: {
14546
+ # arn: "HarnessLambdaFunctionArn", # required
14547
+ # timeout_seconds: 1,
14548
+ # failure_mode: "allow", # accepts allow, deny
14549
+ # },
14550
+ # sns: {
14551
+ # arn: "HarnessSnsTopicArn", # required
14552
+ # },
14553
+ # event_bridge: {
14554
+ # arn: "HarnessEventBridgeBusArn", # required
14555
+ # },
14556
+ # },
14557
+ # },
14558
+ # },
14559
+ # ],
14336
14560
  # max_iterations: 1,
14337
14561
  # max_tokens: 1,
14338
14562
  # timeout_seconds: 1,
@@ -14355,6 +14579,7 @@ module Aws::BedrockAgentCoreControl
14355
14579
  # resp.harness.model.bedrock_model_config.api_format #=> String, one of "converse_stream", "responses", "chat_completions"
14356
14580
  # resp.harness.model.open_ai_model_config.model_id #=> String
14357
14581
  # resp.harness.model.open_ai_model_config.api_key_arn #=> String
14582
+ # resp.harness.model.open_ai_model_config.api_base #=> String
14358
14583
  # resp.harness.model.open_ai_model_config.max_tokens #=> Integer
14359
14584
  # resp.harness.model.open_ai_model_config.temperature #=> Float
14360
14585
  # resp.harness.model.open_ai_model_config.top_p #=> Float
@@ -14482,6 +14707,31 @@ module Aws::BedrockAgentCoreControl
14482
14707
  # resp.harness.memory.managed_memory_configuration.strategies[0] #=> String, one of "SEMANTIC", "SUMMARIZATION", "USER_PREFERENCE", "EPISODIC"
14483
14708
  # resp.harness.memory.managed_memory_configuration.event_expiry_duration #=> Integer
14484
14709
  # resp.harness.memory.managed_memory_configuration.encryption_key_arn #=> String
14710
+ # resp.harness.hooks #=> Array
14711
+ # resp.harness.hooks[0].before_invocation.name #=> String
14712
+ # resp.harness.hooks[0].before_invocation.target.lambda.arn #=> String
14713
+ # resp.harness.hooks[0].before_invocation.target.lambda.timeout_seconds #=> Integer
14714
+ # resp.harness.hooks[0].before_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
14715
+ # resp.harness.hooks[0].before_invocation.target.sns.arn #=> String
14716
+ # resp.harness.hooks[0].before_invocation.target.event_bridge.arn #=> String
14717
+ # resp.harness.hooks[0].after_invocation.name #=> String
14718
+ # resp.harness.hooks[0].after_invocation.target.lambda.arn #=> String
14719
+ # resp.harness.hooks[0].after_invocation.target.lambda.timeout_seconds #=> Integer
14720
+ # resp.harness.hooks[0].after_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
14721
+ # resp.harness.hooks[0].after_invocation.target.sns.arn #=> String
14722
+ # resp.harness.hooks[0].after_invocation.target.event_bridge.arn #=> String
14723
+ # resp.harness.hooks[0].before_tool_call.name #=> String
14724
+ # resp.harness.hooks[0].before_tool_call.target.lambda.arn #=> String
14725
+ # resp.harness.hooks[0].before_tool_call.target.lambda.timeout_seconds #=> Integer
14726
+ # resp.harness.hooks[0].before_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
14727
+ # resp.harness.hooks[0].before_tool_call.target.sns.arn #=> String
14728
+ # resp.harness.hooks[0].before_tool_call.target.event_bridge.arn #=> String
14729
+ # resp.harness.hooks[0].after_tool_call.name #=> String
14730
+ # resp.harness.hooks[0].after_tool_call.target.lambda.arn #=> String
14731
+ # resp.harness.hooks[0].after_tool_call.target.lambda.timeout_seconds #=> Integer
14732
+ # resp.harness.hooks[0].after_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
14733
+ # resp.harness.hooks[0].after_tool_call.target.sns.arn #=> String
14734
+ # resp.harness.hooks[0].after_tool_call.target.event_bridge.arn #=> String
14485
14735
  # resp.harness.max_iterations #=> Integer
14486
14736
  # resp.harness.max_tokens #=> Integer
14487
14737
  # resp.harness.timeout_seconds #=> Integer
@@ -16695,7 +16945,7 @@ module Aws::BedrockAgentCoreControl
16695
16945
  tracer: tracer
16696
16946
  )
16697
16947
  context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
16698
- context[:gem_version] = '1.72.0'
16948
+ context[:gem_version] = '1.74.0'
16699
16949
  Seahorse::Client::Request.new(handlers, context)
16700
16950
  end
16701
16951