aws-sdk-bedrockagentcorecontrol 1.73.0 → 1.75.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +338 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +119 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +392 -7
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +28 -0
- data/sig/params.rbs +42 -0
- data/sig/types.rbs +118 -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: f8dba3b2e6111d67d92156cd27fc345595dc7dfdf095e8f58ac6355cfa63784b
|
|
4
|
+
data.tar.gz: 45f607411ca02a6662456bb1212474a6ba0fd6dba4f0d4683fd02b59f9622111
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e14a358c0d224b38ca5f3b2a8b4df875ee2898851d8d3539a5aa9142db1d53e8ab4f0f5f5faef0746a1fbab888a43e432b55818f0e2d163dec9997e472a06dfe
|
|
7
|
+
data.tar.gz: b940dca38ea4deed2764b8426bc2b34caff57a0826121ea3ebad7eacfabf0cec5db5815d6e879da0c19edb58bf93321c677e959473db73450d6f949c8d7080fe
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.75.0 (2026-09-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Bedrock AgentCore Payments now supports credential rotation for payment connectors, letting you rotate API and wallet secrets for Quick Create payment auths from the console. This release also adds Type and Creation type columns to the payment managers views.
|
|
8
|
+
|
|
9
|
+
1.74.0 (2026-09-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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
|
|
13
|
+
|
|
4
14
|
1.73.0 (2026-09-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.75.0
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -8759,11 +8909,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
8759
8909
|
# * {Types::GetPaymentConnectorResponse#name #name} => String
|
|
8760
8910
|
# * {Types::GetPaymentConnectorResponse#description #description} => String
|
|
8761
8911
|
# * {Types::GetPaymentConnectorResponse#type #type} => String
|
|
8912
|
+
# * {Types::GetPaymentConnectorResponse#provision_mode #provision_mode} => String
|
|
8762
8913
|
# * {Types::GetPaymentConnectorResponse#credential_provider_configurations #credential_provider_configurations} => Array<Types::CredentialsProviderConfiguration>
|
|
8763
8914
|
# * {Types::GetPaymentConnectorResponse#created_at #created_at} => Time
|
|
8764
8915
|
# * {Types::GetPaymentConnectorResponse#last_updated_at #last_updated_at} => Time
|
|
8765
8916
|
# * {Types::GetPaymentConnectorResponse#status #status} => String
|
|
8766
8917
|
# * {Types::GetPaymentConnectorResponse#authorization_url #authorization_url} => String
|
|
8918
|
+
# * {Types::GetPaymentConnectorResponse#credentials_updated_at #credentials_updated_at} => Time
|
|
8767
8919
|
#
|
|
8768
8920
|
# @example Request syntax with placeholder values
|
|
8769
8921
|
#
|
|
@@ -8778,6 +8930,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
8778
8930
|
# resp.name #=> String
|
|
8779
8931
|
# resp.description #=> String
|
|
8780
8932
|
# resp.type #=> String, one of "CoinbaseCDP", "StripePrivy"
|
|
8933
|
+
# resp.provision_mode #=> String, one of "MANUAL", "QUICK_CREATE"
|
|
8781
8934
|
# resp.credential_provider_configurations #=> Array
|
|
8782
8935
|
# resp.credential_provider_configurations[0].coinbase_cdp.credential_provider_arn #=> String
|
|
8783
8936
|
# resp.credential_provider_configurations[0].stripe_privy.credential_provider_arn #=> String
|
|
@@ -8785,6 +8938,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
8785
8938
|
# resp.last_updated_at #=> Time
|
|
8786
8939
|
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED", "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED", "PENDING_AUTHENTICATION", "PROVISIONING", "AUTHENTICATION_EXPIRED", "AUTHENTICATION_FAILED"
|
|
8787
8940
|
# resp.authorization_url #=> String
|
|
8941
|
+
# resp.credentials_updated_at #=> Time
|
|
8788
8942
|
#
|
|
8789
8943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPaymentConnector AWS API Documentation
|
|
8790
8944
|
#
|
|
@@ -10924,6 +11078,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
10924
11078
|
# resp.payment_connectors[0].payment_connector_id #=> String
|
|
10925
11079
|
# resp.payment_connectors[0].name #=> String
|
|
10926
11080
|
# resp.payment_connectors[0].type #=> String, one of "CoinbaseCDP", "StripePrivy"
|
|
11081
|
+
# resp.payment_connectors[0].provision_mode #=> String, one of "MANUAL", "QUICK_CREATE"
|
|
10927
11082
|
# resp.payment_connectors[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED", "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED", "PENDING_AUTHENTICATION", "PROVISIONING", "AUTHENTICATION_EXPIRED", "AUTHENTICATION_FAILED"
|
|
10928
11083
|
# resp.payment_connectors[0].last_updated_at #=> Time
|
|
10929
11084
|
# resp.next_token #=> String
|
|
@@ -11734,6 +11889,88 @@ module Aws::BedrockAgentCoreControl
|
|
|
11734
11889
|
req.send_request(options)
|
|
11735
11890
|
end
|
|
11736
11891
|
|
|
11892
|
+
# Replaces the service-managed credentials of a payment connector with
|
|
11893
|
+
# newly issued credentials.
|
|
11894
|
+
#
|
|
11895
|
+
# Use this operation only for payment connectors with a `provisionMode`
|
|
11896
|
+
# of `QUICK_CREATE`. For payment connectors with a `provisionMode` of
|
|
11897
|
+
# `MANUAL`, call `UpdatePaymentCredentialProvider` instead after
|
|
11898
|
+
# rotating credentials with the payment provider directly.
|
|
11899
|
+
#
|
|
11900
|
+
# The rotation finishes before the response is returned, and only one
|
|
11901
|
+
# rotation runs at a time for a given payment connector. When it
|
|
11902
|
+
# succeeds, the new credential is in effect and the payment connector
|
|
11903
|
+
# stays in the `READY` state. When it fails, an error is returned, the
|
|
11904
|
+
# payment connector and its existing credential are left unchanged, and
|
|
11905
|
+
# you can retry the request.
|
|
11906
|
+
#
|
|
11907
|
+
# Rotation replaces the credential on the connector's credential
|
|
11908
|
+
# provider, so every payment connector that uses that provider is
|
|
11909
|
+
# affected. Replace any copy of the previous credential that you use
|
|
11910
|
+
# outside AgentCore.
|
|
11911
|
+
#
|
|
11912
|
+
# @option params [required, String] :payment_manager_id
|
|
11913
|
+
# The unique identifier of the parent payment manager.
|
|
11914
|
+
#
|
|
11915
|
+
# @option params [required, String] :payment_connector_id
|
|
11916
|
+
# The unique identifier of the payment connector whose credentials you
|
|
11917
|
+
# want to rotate.
|
|
11918
|
+
#
|
|
11919
|
+
# @option params [required, Types::CredentialRotationConfig] :credentials_to_rotate
|
|
11920
|
+
# The credentials to rotate. Specify the member that matches the payment
|
|
11921
|
+
# connector's `type`. Each credential that you select is rotated
|
|
11922
|
+
# independently.
|
|
11923
|
+
#
|
|
11924
|
+
# @option params [String] :client_token
|
|
11925
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
11926
|
+
# completes no more than one time. If you don't specify this field, a
|
|
11927
|
+
# value is randomly generated for you. If this token matches a previous
|
|
11928
|
+
# request, the service ignores the request, but doesn't return an
|
|
11929
|
+
# error. For more information, see [Ensuring idempotency][1].
|
|
11930
|
+
#
|
|
11931
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
11932
|
+
# not need to pass this option.**
|
|
11933
|
+
#
|
|
11934
|
+
#
|
|
11935
|
+
#
|
|
11936
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
11937
|
+
#
|
|
11938
|
+
# @return [Types::RotatePaymentConnectorCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11939
|
+
#
|
|
11940
|
+
# * {Types::RotatePaymentConnectorCredentialsResponse#payment_connector_id #payment_connector_id} => String
|
|
11941
|
+
# * {Types::RotatePaymentConnectorCredentialsResponse#payment_manager_id #payment_manager_id} => String
|
|
11942
|
+
# * {Types::RotatePaymentConnectorCredentialsResponse#last_updated_at #last_updated_at} => Time
|
|
11943
|
+
# * {Types::RotatePaymentConnectorCredentialsResponse#status #status} => String
|
|
11944
|
+
#
|
|
11945
|
+
# @example Request syntax with placeholder values
|
|
11946
|
+
#
|
|
11947
|
+
# resp = client.rotate_payment_connector_credentials({
|
|
11948
|
+
# payment_manager_id: "PaymentManagerId", # required
|
|
11949
|
+
# payment_connector_id: "PaymentConnectorId", # required
|
|
11950
|
+
# credentials_to_rotate: { # required
|
|
11951
|
+
# coinbase_cdp: {
|
|
11952
|
+
# secrets: ["API_KEY"], # required, accepts API_KEY, WALLET_SECRET
|
|
11953
|
+
# },
|
|
11954
|
+
# },
|
|
11955
|
+
# client_token: "ClientToken",
|
|
11956
|
+
# })
|
|
11957
|
+
#
|
|
11958
|
+
# @example Response structure
|
|
11959
|
+
#
|
|
11960
|
+
# resp.payment_connector_id #=> String
|
|
11961
|
+
# resp.payment_manager_id #=> String
|
|
11962
|
+
# resp.last_updated_at #=> Time
|
|
11963
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED", "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED", "PENDING_AUTHENTICATION", "PROVISIONING", "AUTHENTICATION_EXPIRED", "AUTHENTICATION_FAILED"
|
|
11964
|
+
#
|
|
11965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RotatePaymentConnectorCredentials AWS API Documentation
|
|
11966
|
+
#
|
|
11967
|
+
# @overload rotate_payment_connector_credentials(params = {})
|
|
11968
|
+
# @param [Hash] params ({})
|
|
11969
|
+
def rotate_payment_connector_credentials(params = {}, options = {})
|
|
11970
|
+
req = build_request(:rotate_payment_connector_credentials, params)
|
|
11971
|
+
req.send_request(options)
|
|
11972
|
+
end
|
|
11973
|
+
|
|
11737
11974
|
# Sets the customer master key (CMK) for a token vault.
|
|
11738
11975
|
#
|
|
11739
11976
|
# @option params [String] :token_vault_id
|
|
@@ -14050,6 +14287,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
14050
14287
|
# The truncation configuration for managing conversation context. If not
|
|
14051
14288
|
# specified, the existing value is retained.
|
|
14052
14289
|
#
|
|
14290
|
+
# @option params [Array<Types::HarnessHook>] :hooks
|
|
14291
|
+
# The lifecycle hooks to run at defined points in the agent loop. If
|
|
14292
|
+
# specified, this replaces all existing hooks. If not specified, the
|
|
14293
|
+
# existing hooks are retained.
|
|
14294
|
+
#
|
|
14053
14295
|
# @option params [Integer] :max_iterations
|
|
14054
14296
|
# The maximum number of iterations the agent loop can execute per
|
|
14055
14297
|
# invocation. If not specified, the existing value is retained.
|
|
@@ -14200,6 +14442,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
14200
14442
|
# open_ai_model_config: {
|
|
14201
14443
|
# model_id: "ModelId", # required
|
|
14202
14444
|
# api_key_arn: "ApiKeyArn", # required
|
|
14445
|
+
# api_base: "HarnessOpenAiApiBase",
|
|
14203
14446
|
# max_tokens: 1,
|
|
14204
14447
|
# temperature: 1.0,
|
|
14205
14448
|
# top_p: 1.0,
|
|
@@ -14333,6 +14576,74 @@ module Aws::BedrockAgentCoreControl
|
|
|
14333
14576
|
# },
|
|
14334
14577
|
# },
|
|
14335
14578
|
# },
|
|
14579
|
+
# hooks: [
|
|
14580
|
+
# {
|
|
14581
|
+
# before_invocation: {
|
|
14582
|
+
# name: "HarnessHookName", # required
|
|
14583
|
+
# target: { # required
|
|
14584
|
+
# lambda: {
|
|
14585
|
+
# arn: "HarnessLambdaFunctionArn", # required
|
|
14586
|
+
# timeout_seconds: 1,
|
|
14587
|
+
# failure_mode: "allow", # accepts allow, deny
|
|
14588
|
+
# },
|
|
14589
|
+
# sns: {
|
|
14590
|
+
# arn: "HarnessSnsTopicArn", # required
|
|
14591
|
+
# },
|
|
14592
|
+
# event_bridge: {
|
|
14593
|
+
# arn: "HarnessEventBridgeBusArn", # required
|
|
14594
|
+
# },
|
|
14595
|
+
# },
|
|
14596
|
+
# },
|
|
14597
|
+
# after_invocation: {
|
|
14598
|
+
# name: "HarnessHookName", # required
|
|
14599
|
+
# target: { # required
|
|
14600
|
+
# lambda: {
|
|
14601
|
+
# arn: "HarnessLambdaFunctionArn", # required
|
|
14602
|
+
# timeout_seconds: 1,
|
|
14603
|
+
# failure_mode: "allow", # accepts allow, deny
|
|
14604
|
+
# },
|
|
14605
|
+
# sns: {
|
|
14606
|
+
# arn: "HarnessSnsTopicArn", # required
|
|
14607
|
+
# },
|
|
14608
|
+
# event_bridge: {
|
|
14609
|
+
# arn: "HarnessEventBridgeBusArn", # required
|
|
14610
|
+
# },
|
|
14611
|
+
# },
|
|
14612
|
+
# },
|
|
14613
|
+
# before_tool_call: {
|
|
14614
|
+
# name: "HarnessHookName", # required
|
|
14615
|
+
# target: { # required
|
|
14616
|
+
# lambda: {
|
|
14617
|
+
# arn: "HarnessLambdaFunctionArn", # required
|
|
14618
|
+
# timeout_seconds: 1,
|
|
14619
|
+
# failure_mode: "allow", # accepts allow, deny
|
|
14620
|
+
# },
|
|
14621
|
+
# sns: {
|
|
14622
|
+
# arn: "HarnessSnsTopicArn", # required
|
|
14623
|
+
# },
|
|
14624
|
+
# event_bridge: {
|
|
14625
|
+
# arn: "HarnessEventBridgeBusArn", # required
|
|
14626
|
+
# },
|
|
14627
|
+
# },
|
|
14628
|
+
# },
|
|
14629
|
+
# after_tool_call: {
|
|
14630
|
+
# name: "HarnessHookName", # required
|
|
14631
|
+
# target: { # required
|
|
14632
|
+
# lambda: {
|
|
14633
|
+
# arn: "HarnessLambdaFunctionArn", # required
|
|
14634
|
+
# timeout_seconds: 1,
|
|
14635
|
+
# failure_mode: "allow", # accepts allow, deny
|
|
14636
|
+
# },
|
|
14637
|
+
# sns: {
|
|
14638
|
+
# arn: "HarnessSnsTopicArn", # required
|
|
14639
|
+
# },
|
|
14640
|
+
# event_bridge: {
|
|
14641
|
+
# arn: "HarnessEventBridgeBusArn", # required
|
|
14642
|
+
# },
|
|
14643
|
+
# },
|
|
14644
|
+
# },
|
|
14645
|
+
# },
|
|
14646
|
+
# ],
|
|
14336
14647
|
# max_iterations: 1,
|
|
14337
14648
|
# max_tokens: 1,
|
|
14338
14649
|
# timeout_seconds: 1,
|
|
@@ -14355,6 +14666,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
14355
14666
|
# resp.harness.model.bedrock_model_config.api_format #=> String, one of "converse_stream", "responses", "chat_completions"
|
|
14356
14667
|
# resp.harness.model.open_ai_model_config.model_id #=> String
|
|
14357
14668
|
# resp.harness.model.open_ai_model_config.api_key_arn #=> String
|
|
14669
|
+
# resp.harness.model.open_ai_model_config.api_base #=> String
|
|
14358
14670
|
# resp.harness.model.open_ai_model_config.max_tokens #=> Integer
|
|
14359
14671
|
# resp.harness.model.open_ai_model_config.temperature #=> Float
|
|
14360
14672
|
# resp.harness.model.open_ai_model_config.top_p #=> Float
|
|
@@ -14482,6 +14794,31 @@ module Aws::BedrockAgentCoreControl
|
|
|
14482
14794
|
# resp.harness.memory.managed_memory_configuration.strategies[0] #=> String, one of "SEMANTIC", "SUMMARIZATION", "USER_PREFERENCE", "EPISODIC"
|
|
14483
14795
|
# resp.harness.memory.managed_memory_configuration.event_expiry_duration #=> Integer
|
|
14484
14796
|
# resp.harness.memory.managed_memory_configuration.encryption_key_arn #=> String
|
|
14797
|
+
# resp.harness.hooks #=> Array
|
|
14798
|
+
# resp.harness.hooks[0].before_invocation.name #=> String
|
|
14799
|
+
# resp.harness.hooks[0].before_invocation.target.lambda.arn #=> String
|
|
14800
|
+
# resp.harness.hooks[0].before_invocation.target.lambda.timeout_seconds #=> Integer
|
|
14801
|
+
# resp.harness.hooks[0].before_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
|
|
14802
|
+
# resp.harness.hooks[0].before_invocation.target.sns.arn #=> String
|
|
14803
|
+
# resp.harness.hooks[0].before_invocation.target.event_bridge.arn #=> String
|
|
14804
|
+
# resp.harness.hooks[0].after_invocation.name #=> String
|
|
14805
|
+
# resp.harness.hooks[0].after_invocation.target.lambda.arn #=> String
|
|
14806
|
+
# resp.harness.hooks[0].after_invocation.target.lambda.timeout_seconds #=> Integer
|
|
14807
|
+
# resp.harness.hooks[0].after_invocation.target.lambda.failure_mode #=> String, one of "allow", "deny"
|
|
14808
|
+
# resp.harness.hooks[0].after_invocation.target.sns.arn #=> String
|
|
14809
|
+
# resp.harness.hooks[0].after_invocation.target.event_bridge.arn #=> String
|
|
14810
|
+
# resp.harness.hooks[0].before_tool_call.name #=> String
|
|
14811
|
+
# resp.harness.hooks[0].before_tool_call.target.lambda.arn #=> String
|
|
14812
|
+
# resp.harness.hooks[0].before_tool_call.target.lambda.timeout_seconds #=> Integer
|
|
14813
|
+
# resp.harness.hooks[0].before_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
|
|
14814
|
+
# resp.harness.hooks[0].before_tool_call.target.sns.arn #=> String
|
|
14815
|
+
# resp.harness.hooks[0].before_tool_call.target.event_bridge.arn #=> String
|
|
14816
|
+
# resp.harness.hooks[0].after_tool_call.name #=> String
|
|
14817
|
+
# resp.harness.hooks[0].after_tool_call.target.lambda.arn #=> String
|
|
14818
|
+
# resp.harness.hooks[0].after_tool_call.target.lambda.timeout_seconds #=> Integer
|
|
14819
|
+
# resp.harness.hooks[0].after_tool_call.target.lambda.failure_mode #=> String, one of "allow", "deny"
|
|
14820
|
+
# resp.harness.hooks[0].after_tool_call.target.sns.arn #=> String
|
|
14821
|
+
# resp.harness.hooks[0].after_tool_call.target.event_bridge.arn #=> String
|
|
14485
14822
|
# resp.harness.max_iterations #=> Integer
|
|
14486
14823
|
# resp.harness.max_tokens #=> Integer
|
|
14487
14824
|
# resp.harness.timeout_seconds #=> Integer
|
|
@@ -16695,7 +17032,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
16695
17032
|
tracer: tracer
|
|
16696
17033
|
)
|
|
16697
17034
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
16698
|
-
context[:gem_version] = '1.
|
|
17035
|
+
context[:gem_version] = '1.75.0'
|
|
16699
17036
|
Seahorse::Client::Request.new(handlers, context)
|
|
16700
17037
|
end
|
|
16701
17038
|
|