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
|
@@ -1602,6 +1602,30 @@ module Aws::BedrockAgentCoreControl
|
|
|
1602
1602
|
include Aws::Structure
|
|
1603
1603
|
end
|
|
1604
1604
|
|
|
1605
|
+
# Specifies the service-managed Coinbase CDP secrets to rotate.
|
|
1606
|
+
#
|
|
1607
|
+
# @!attribute [rw] secrets
|
|
1608
|
+
# The secrets to rotate. Specify at least one value. Each secret that
|
|
1609
|
+
# you specify is rotated independently.
|
|
1610
|
+
#
|
|
1611
|
+
# * `API_KEY` - The API key that the payment connector uses to call
|
|
1612
|
+
# Coinbase CDP. Rotate it as routine maintenance, or if you suspect
|
|
1613
|
+
# that it is compromised.
|
|
1614
|
+
#
|
|
1615
|
+
# * `WALLET_SECRET` - The wallet secret that signs transactions.
|
|
1616
|
+
# Rotate it only if it is lost or compromised. Coinbase CDP allows
|
|
1617
|
+
# one wallet secret per project, so it is replaced in place and
|
|
1618
|
+
# signing can be briefly interrupted.
|
|
1619
|
+
# @return [Array<String>]
|
|
1620
|
+
#
|
|
1621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CoinbaseCdpRotationTargets AWS API Documentation
|
|
1622
|
+
#
|
|
1623
|
+
class CoinbaseCdpRotationTargets < Struct.new(
|
|
1624
|
+
:secrets)
|
|
1625
|
+
SENSITIVE = []
|
|
1626
|
+
include Aws::Structure
|
|
1627
|
+
end
|
|
1628
|
+
|
|
1605
1629
|
# The configuration for a component within a configuration bundle. The
|
|
1606
1630
|
# component type is inferred from the component identifier ARN.
|
|
1607
1631
|
#
|
|
@@ -3949,6 +3973,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
3949
3973
|
# it exceeds model limits.
|
|
3950
3974
|
# @return [Types::HarnessTruncationConfiguration]
|
|
3951
3975
|
#
|
|
3976
|
+
# @!attribute [rw] hooks
|
|
3977
|
+
# The lifecycle hooks to run at defined points in the agent loop.
|
|
3978
|
+
# @return [Array<Types::HarnessHook>]
|
|
3979
|
+
#
|
|
3952
3980
|
# @!attribute [rw] max_iterations
|
|
3953
3981
|
# The maximum number of iterations the agent loop can execute per
|
|
3954
3982
|
# invocation.
|
|
@@ -3985,6 +4013,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
3985
4013
|
:allowed_tools,
|
|
3986
4014
|
:memory,
|
|
3987
4015
|
:truncation,
|
|
4016
|
+
:hooks,
|
|
3988
4017
|
:max_iterations,
|
|
3989
4018
|
:max_tokens,
|
|
3990
4019
|
:timeout_seconds,
|
|
@@ -5196,6 +5225,28 @@ module Aws::BedrockAgentCoreControl
|
|
|
5196
5225
|
include Aws::Structure
|
|
5197
5226
|
end
|
|
5198
5227
|
|
|
5228
|
+
# Specifies the service-managed credentials to rotate. Provide the
|
|
5229
|
+
# member that matches the payment connector's `type`.
|
|
5230
|
+
#
|
|
5231
|
+
# @note CredentialRotationConfig is a union - when making an API calls you must set exactly one of the members.
|
|
5232
|
+
#
|
|
5233
|
+
# @!attribute [rw] coinbase_cdp
|
|
5234
|
+
# The credentials to rotate for a Coinbase CDP payment connector.
|
|
5235
|
+
# @return [Types::CoinbaseCdpRotationTargets]
|
|
5236
|
+
#
|
|
5237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CredentialRotationConfig AWS API Documentation
|
|
5238
|
+
#
|
|
5239
|
+
class CredentialRotationConfig < Struct.new(
|
|
5240
|
+
:coinbase_cdp,
|
|
5241
|
+
:unknown)
|
|
5242
|
+
SENSITIVE = []
|
|
5243
|
+
include Aws::Structure
|
|
5244
|
+
include Aws::Structure::Union
|
|
5245
|
+
|
|
5246
|
+
class CoinbaseCdp < CredentialRotationConfig; end
|
|
5247
|
+
class Unknown < CredentialRotationConfig; end
|
|
5248
|
+
end
|
|
5249
|
+
|
|
5199
5250
|
# The credential provider configuration for a payment connector.
|
|
5200
5251
|
# Specifies the payment provider type and its associated credential
|
|
5201
5252
|
# provider.
|
|
@@ -10259,6 +10310,20 @@ module Aws::BedrockAgentCoreControl
|
|
|
10259
10310
|
# provider integration.
|
|
10260
10311
|
# @return [String]
|
|
10261
10312
|
#
|
|
10313
|
+
# @!attribute [rw] provision_mode
|
|
10314
|
+
# Specifies how the payment connector was provisioned. Payment
|
|
10315
|
+
# connectors that were created before this field was available return
|
|
10316
|
+
# `MANUAL`.
|
|
10317
|
+
#
|
|
10318
|
+
# * `MANUAL` - You provided the credential provider configurations, so
|
|
10319
|
+
# you own the credentials. Rotate them with the payment provider,
|
|
10320
|
+
# then call `UpdatePaymentCredentialProvider`.
|
|
10321
|
+
#
|
|
10322
|
+
# * `QUICK_CREATE` - AgentCore provisioned the credential provider for
|
|
10323
|
+
# you, so the credentials are service-managed. You can rotate them
|
|
10324
|
+
# with `RotatePaymentConnectorCredentials`.
|
|
10325
|
+
# @return [String]
|
|
10326
|
+
#
|
|
10262
10327
|
# @!attribute [rw] credential_provider_configurations
|
|
10263
10328
|
# The credential provider configurations for the payment connector.
|
|
10264
10329
|
# @return [Array<Types::CredentialsProviderConfiguration>]
|
|
@@ -10283,6 +10348,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
10283
10348
|
# `PENDING_AUTHENTICATION`.
|
|
10284
10349
|
# @return [String]
|
|
10285
10350
|
#
|
|
10351
|
+
# @!attribute [rw] credentials_updated_at
|
|
10352
|
+
# The timestamp when the payment connector's current service-managed
|
|
10353
|
+
# credentials took effect. It is first set when the credentials are
|
|
10354
|
+
# provisioned and is updated by each rotation. This field is present
|
|
10355
|
+
# only for payment connectors with a `provisionMode` of
|
|
10356
|
+
# `QUICK_CREATE`.
|
|
10357
|
+
# @return [Time]
|
|
10358
|
+
#
|
|
10286
10359
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPaymentConnectorResponse AWS API Documentation
|
|
10287
10360
|
#
|
|
10288
10361
|
class GetPaymentConnectorResponse < Struct.new(
|
|
@@ -10290,11 +10363,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
10290
10363
|
:name,
|
|
10291
10364
|
:description,
|
|
10292
10365
|
:type,
|
|
10366
|
+
:provision_mode,
|
|
10293
10367
|
:credential_provider_configurations,
|
|
10294
10368
|
:created_at,
|
|
10295
10369
|
:last_updated_at,
|
|
10296
10370
|
:status,
|
|
10297
|
-
:authorization_url
|
|
10371
|
+
:authorization_url,
|
|
10372
|
+
:credentials_updated_at)
|
|
10298
10373
|
SENSITIVE = []
|
|
10299
10374
|
include Aws::Structure
|
|
10300
10375
|
end
|
|
@@ -11403,6 +11478,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
11403
11478
|
# memory.
|
|
11404
11479
|
# @return [Types::HarnessMemoryConfiguration]
|
|
11405
11480
|
#
|
|
11481
|
+
# @!attribute [rw] hooks
|
|
11482
|
+
# The lifecycle hooks configured for the harness.
|
|
11483
|
+
# @return [Array<Types::HarnessHook>]
|
|
11484
|
+
#
|
|
11406
11485
|
# @!attribute [rw] max_iterations
|
|
11407
11486
|
# The maximum number of iterations in the agent loop allowed before
|
|
11408
11487
|
# exiting per invocation.
|
|
@@ -11443,6 +11522,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
11443
11522
|
:environment_variables,
|
|
11444
11523
|
:authorizer_configuration,
|
|
11445
11524
|
:memory,
|
|
11525
|
+
:hooks,
|
|
11446
11526
|
:max_iterations,
|
|
11447
11527
|
:max_tokens,
|
|
11448
11528
|
:timeout_seconds,
|
|
@@ -11451,6 +11531,44 @@ module Aws::BedrockAgentCoreControl
|
|
|
11451
11531
|
include Aws::Structure
|
|
11452
11532
|
end
|
|
11453
11533
|
|
|
11534
|
+
# The configuration for a hook that runs after an invocation completes.
|
|
11535
|
+
#
|
|
11536
|
+
# @!attribute [rw] name
|
|
11537
|
+
# The name of the hook.
|
|
11538
|
+
# @return [String]
|
|
11539
|
+
#
|
|
11540
|
+
# @!attribute [rw] target
|
|
11541
|
+
# The target that receives the hook event.
|
|
11542
|
+
# @return [Types::HarnessHookTarget]
|
|
11543
|
+
#
|
|
11544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessAfterInvocationHook AWS API Documentation
|
|
11545
|
+
#
|
|
11546
|
+
class HarnessAfterInvocationHook < Struct.new(
|
|
11547
|
+
:name,
|
|
11548
|
+
:target)
|
|
11549
|
+
SENSITIVE = []
|
|
11550
|
+
include Aws::Structure
|
|
11551
|
+
end
|
|
11552
|
+
|
|
11553
|
+
# The configuration for a hook that runs after a tool call completes.
|
|
11554
|
+
#
|
|
11555
|
+
# @!attribute [rw] name
|
|
11556
|
+
# The name of the hook.
|
|
11557
|
+
# @return [String]
|
|
11558
|
+
#
|
|
11559
|
+
# @!attribute [rw] target
|
|
11560
|
+
# The target that receives the hook event.
|
|
11561
|
+
# @return [Types::HarnessHookTarget]
|
|
11562
|
+
#
|
|
11563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessAfterToolCallHook AWS API Documentation
|
|
11564
|
+
#
|
|
11565
|
+
class HarnessAfterToolCallHook < Struct.new(
|
|
11566
|
+
:name,
|
|
11567
|
+
:target)
|
|
11568
|
+
SENSITIVE = []
|
|
11569
|
+
include Aws::Structure
|
|
11570
|
+
end
|
|
11571
|
+
|
|
11454
11572
|
# Configuration for AgentCore Browser.
|
|
11455
11573
|
#
|
|
11456
11574
|
# @!attribute [rw] browser_arn
|
|
@@ -11665,6 +11783,44 @@ module Aws::BedrockAgentCoreControl
|
|
|
11665
11783
|
include Aws::Structure
|
|
11666
11784
|
end
|
|
11667
11785
|
|
|
11786
|
+
# The configuration for a hook that runs before an invocation begins.
|
|
11787
|
+
#
|
|
11788
|
+
# @!attribute [rw] name
|
|
11789
|
+
# The name of the hook.
|
|
11790
|
+
# @return [String]
|
|
11791
|
+
#
|
|
11792
|
+
# @!attribute [rw] target
|
|
11793
|
+
# The target that receives the hook event.
|
|
11794
|
+
# @return [Types::HarnessHookTarget]
|
|
11795
|
+
#
|
|
11796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessBeforeInvocationHook AWS API Documentation
|
|
11797
|
+
#
|
|
11798
|
+
class HarnessBeforeInvocationHook < Struct.new(
|
|
11799
|
+
:name,
|
|
11800
|
+
:target)
|
|
11801
|
+
SENSITIVE = []
|
|
11802
|
+
include Aws::Structure
|
|
11803
|
+
end
|
|
11804
|
+
|
|
11805
|
+
# The configuration for a hook that runs before the agent calls a tool.
|
|
11806
|
+
#
|
|
11807
|
+
# @!attribute [rw] name
|
|
11808
|
+
# The name of the hook.
|
|
11809
|
+
# @return [String]
|
|
11810
|
+
#
|
|
11811
|
+
# @!attribute [rw] target
|
|
11812
|
+
# The target that receives the hook event.
|
|
11813
|
+
# @return [Types::HarnessHookTarget]
|
|
11814
|
+
#
|
|
11815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessBeforeToolCallHook AWS API Documentation
|
|
11816
|
+
#
|
|
11817
|
+
class HarnessBeforeToolCallHook < Struct.new(
|
|
11818
|
+
:name,
|
|
11819
|
+
:target)
|
|
11820
|
+
SENSITIVE = []
|
|
11821
|
+
include Aws::Structure
|
|
11822
|
+
end
|
|
11823
|
+
|
|
11668
11824
|
# Explicitly opt out of memory.
|
|
11669
11825
|
#
|
|
11670
11826
|
# @api private
|
|
@@ -11890,6 +12046,140 @@ module Aws::BedrockAgentCoreControl
|
|
|
11890
12046
|
include Aws::Structure
|
|
11891
12047
|
end
|
|
11892
12048
|
|
|
12049
|
+
# A lifecycle hook configuration. Specify one hook type.
|
|
12050
|
+
#
|
|
12051
|
+
# @note HarnessHook is a union - when making an API calls you must set exactly one of the members.
|
|
12052
|
+
#
|
|
12053
|
+
# @note HarnessHook is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HarnessHook corresponding to the set member.
|
|
12054
|
+
#
|
|
12055
|
+
# @!attribute [rw] before_invocation
|
|
12056
|
+
# A hook that runs before an invocation begins.
|
|
12057
|
+
# @return [Types::HarnessBeforeInvocationHook]
|
|
12058
|
+
#
|
|
12059
|
+
# @!attribute [rw] after_invocation
|
|
12060
|
+
# A hook that runs after an invocation completes.
|
|
12061
|
+
# @return [Types::HarnessAfterInvocationHook]
|
|
12062
|
+
#
|
|
12063
|
+
# @!attribute [rw] before_tool_call
|
|
12064
|
+
# A hook that runs before the agent calls a tool.
|
|
12065
|
+
# @return [Types::HarnessBeforeToolCallHook]
|
|
12066
|
+
#
|
|
12067
|
+
# @!attribute [rw] after_tool_call
|
|
12068
|
+
# A hook that runs after a tool call completes.
|
|
12069
|
+
# @return [Types::HarnessAfterToolCallHook]
|
|
12070
|
+
#
|
|
12071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessHook AWS API Documentation
|
|
12072
|
+
#
|
|
12073
|
+
class HarnessHook < Struct.new(
|
|
12074
|
+
:before_invocation,
|
|
12075
|
+
:after_invocation,
|
|
12076
|
+
:before_tool_call,
|
|
12077
|
+
:after_tool_call,
|
|
12078
|
+
:unknown)
|
|
12079
|
+
SENSITIVE = []
|
|
12080
|
+
include Aws::Structure
|
|
12081
|
+
include Aws::Structure::Union
|
|
12082
|
+
|
|
12083
|
+
class BeforeInvocation < HarnessHook; end
|
|
12084
|
+
class AfterInvocation < HarnessHook; end
|
|
12085
|
+
class BeforeToolCall < HarnessHook; end
|
|
12086
|
+
class AfterToolCall < HarnessHook; end
|
|
12087
|
+
class Unknown < HarnessHook; end
|
|
12088
|
+
end
|
|
12089
|
+
|
|
12090
|
+
# The configuration for an Amazon EventBridge hook target.
|
|
12091
|
+
#
|
|
12092
|
+
# @!attribute [rw] arn
|
|
12093
|
+
# The ARN of the Amazon EventBridge event bus to send hook events to.
|
|
12094
|
+
# @return [String]
|
|
12095
|
+
#
|
|
12096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessHookEventBridgeTarget AWS API Documentation
|
|
12097
|
+
#
|
|
12098
|
+
class HarnessHookEventBridgeTarget < Struct.new(
|
|
12099
|
+
:arn)
|
|
12100
|
+
SENSITIVE = []
|
|
12101
|
+
include Aws::Structure
|
|
12102
|
+
end
|
|
12103
|
+
|
|
12104
|
+
# The configuration for an AWS Lambda hook target.
|
|
12105
|
+
#
|
|
12106
|
+
# @!attribute [rw] arn
|
|
12107
|
+
# The ARN of the Lambda function to invoke.
|
|
12108
|
+
# @return [String]
|
|
12109
|
+
#
|
|
12110
|
+
# @!attribute [rw] timeout_seconds
|
|
12111
|
+
# The maximum number of seconds to wait for the Lambda function
|
|
12112
|
+
# response. The default is 60 seconds.
|
|
12113
|
+
# @return [Integer]
|
|
12114
|
+
#
|
|
12115
|
+
# @!attribute [rw] failure_mode
|
|
12116
|
+
# The behavior when the Lambda function times out, returns an error,
|
|
12117
|
+
# or returns an invalid response. The default is `DENY`.
|
|
12118
|
+
# @return [String]
|
|
12119
|
+
#
|
|
12120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessHookLambdaTarget AWS API Documentation
|
|
12121
|
+
#
|
|
12122
|
+
class HarnessHookLambdaTarget < Struct.new(
|
|
12123
|
+
:arn,
|
|
12124
|
+
:timeout_seconds,
|
|
12125
|
+
:failure_mode)
|
|
12126
|
+
SENSITIVE = []
|
|
12127
|
+
include Aws::Structure
|
|
12128
|
+
end
|
|
12129
|
+
|
|
12130
|
+
# The configuration for an Amazon SNS hook target.
|
|
12131
|
+
#
|
|
12132
|
+
# @!attribute [rw] arn
|
|
12133
|
+
# The ARN of the Amazon SNS topic to publish hook events to.
|
|
12134
|
+
# @return [String]
|
|
12135
|
+
#
|
|
12136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessHookSnsTarget AWS API Documentation
|
|
12137
|
+
#
|
|
12138
|
+
class HarnessHookSnsTarget < Struct.new(
|
|
12139
|
+
:arn)
|
|
12140
|
+
SENSITIVE = []
|
|
12141
|
+
include Aws::Structure
|
|
12142
|
+
end
|
|
12143
|
+
|
|
12144
|
+
# The target that receives lifecycle hook events. Specify one target
|
|
12145
|
+
# type.
|
|
12146
|
+
#
|
|
12147
|
+
# @note HarnessHookTarget is a union - when making an API calls you must set exactly one of the members.
|
|
12148
|
+
#
|
|
12149
|
+
# @note HarnessHookTarget is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HarnessHookTarget corresponding to the set member.
|
|
12150
|
+
#
|
|
12151
|
+
# @!attribute [rw] lambda
|
|
12152
|
+
# A Lambda hook target that invokes an AWS Lambda function
|
|
12153
|
+
# synchronously and waits for its response.
|
|
12154
|
+
# @return [Types::HarnessHookLambdaTarget]
|
|
12155
|
+
#
|
|
12156
|
+
# @!attribute [rw] sns
|
|
12157
|
+
# An Amazon SNS hook target that publishes the hook event without
|
|
12158
|
+
# waiting for a response.
|
|
12159
|
+
# @return [Types::HarnessHookSnsTarget]
|
|
12160
|
+
#
|
|
12161
|
+
# @!attribute [rw] event_bridge
|
|
12162
|
+
# An Amazon EventBridge hook target that sends the hook event without
|
|
12163
|
+
# waiting for a response.
|
|
12164
|
+
# @return [Types::HarnessHookEventBridgeTarget]
|
|
12165
|
+
#
|
|
12166
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessHookTarget AWS API Documentation
|
|
12167
|
+
#
|
|
12168
|
+
class HarnessHookTarget < Struct.new(
|
|
12169
|
+
:lambda,
|
|
12170
|
+
:sns,
|
|
12171
|
+
:event_bridge,
|
|
12172
|
+
:unknown)
|
|
12173
|
+
SENSITIVE = []
|
|
12174
|
+
include Aws::Structure
|
|
12175
|
+
include Aws::Structure::Union
|
|
12176
|
+
|
|
12177
|
+
class Lambda < HarnessHookTarget; end
|
|
12178
|
+
class Sns < HarnessHookTarget; end
|
|
12179
|
+
class EventBridge < HarnessHookTarget; end
|
|
12180
|
+
class Unknown < HarnessHookTarget; end
|
|
12181
|
+
end
|
|
12182
|
+
|
|
11893
12183
|
# Configuration for an inline function tool. When the agent calls this
|
|
11894
12184
|
# tool, the tool call is returned to the caller for external execution.
|
|
11895
12185
|
#
|
|
@@ -12078,6 +12368,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
12078
12368
|
# The ARN of your OpenAI API key on AgentCore Identity.
|
|
12079
12369
|
# @return [String]
|
|
12080
12370
|
#
|
|
12371
|
+
# @!attribute [rw] api_base
|
|
12372
|
+
# Optional custom endpoint URL for an OpenAI-compatible endpoint.
|
|
12373
|
+
# @return [String]
|
|
12374
|
+
#
|
|
12081
12375
|
# @!attribute [rw] max_tokens
|
|
12082
12376
|
# The maximum number of tokens to allow in the generated response per
|
|
12083
12377
|
# model call.
|
|
@@ -12105,12 +12399,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
12105
12399
|
class HarnessOpenAiModelConfig < Struct.new(
|
|
12106
12400
|
:model_id,
|
|
12107
12401
|
:api_key_arn,
|
|
12402
|
+
:api_base,
|
|
12108
12403
|
:max_tokens,
|
|
12109
12404
|
:temperature,
|
|
12110
12405
|
:top_p,
|
|
12111
12406
|
:api_format,
|
|
12112
12407
|
:additional_params)
|
|
12113
|
-
SENSITIVE = []
|
|
12408
|
+
SENSITIVE = [:api_base]
|
|
12114
12409
|
include Aws::Structure
|
|
12115
12410
|
end
|
|
12116
12411
|
|
|
@@ -15535,11 +15830,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
15535
15830
|
# @return [String]
|
|
15536
15831
|
#
|
|
15537
15832
|
# @!attribute [rw] mcp_tool_schema
|
|
15538
|
-
#
|
|
15539
|
-
#
|
|
15540
|
-
#
|
|
15541
|
-
# discovery/synchronization will be disabled when target is configured
|
|
15542
|
-
# with mcpToolSchema.
|
|
15833
|
+
# A static tool list for the MCP server target. It is supported for
|
|
15834
|
+
# all credential providers. Dynamic tool discovery/synchronization
|
|
15835
|
+
# will be disabled when a target is configured with mcpToolSchema.
|
|
15543
15836
|
# @return [Types::McpToolSchemaConfiguration]
|
|
15544
15837
|
#
|
|
15545
15838
|
# @!attribute [rw] listing_mode
|
|
@@ -16948,6 +17241,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
16948
17241
|
# provider integration.
|
|
16949
17242
|
# @return [String]
|
|
16950
17243
|
#
|
|
17244
|
+
# @!attribute [rw] provision_mode
|
|
17245
|
+
# Specifies how the payment connector was provisioned. Payment
|
|
17246
|
+
# connectors that were created before this field was available return
|
|
17247
|
+
# `MANUAL`.
|
|
17248
|
+
#
|
|
17249
|
+
# * `MANUAL` - You provided the credential provider configurations, so
|
|
17250
|
+
# you own the credentials.
|
|
17251
|
+
#
|
|
17252
|
+
# * `QUICK_CREATE` - AgentCore provisioned the credential provider for
|
|
17253
|
+
# you, so the credentials are service-managed and you can rotate
|
|
17254
|
+
# them with `RotatePaymentConnectorCredentials`.
|
|
17255
|
+
# @return [String]
|
|
17256
|
+
#
|
|
16951
17257
|
# @!attribute [rw] status
|
|
16952
17258
|
# The current status of the payment connector. Possible values include
|
|
16953
17259
|
# `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`,
|
|
@@ -16964,6 +17270,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
16964
17270
|
:payment_connector_id,
|
|
16965
17271
|
:name,
|
|
16966
17272
|
:type,
|
|
17273
|
+
:provision_mode,
|
|
16967
17274
|
:status,
|
|
16968
17275
|
:last_updated_at)
|
|
16969
17276
|
SENSITIVE = []
|
|
@@ -18443,6 +18750,77 @@ module Aws::BedrockAgentCoreControl
|
|
|
18443
18750
|
include Aws::Structure
|
|
18444
18751
|
end
|
|
18445
18752
|
|
|
18753
|
+
# @!attribute [rw] payment_manager_id
|
|
18754
|
+
# The unique identifier of the parent payment manager.
|
|
18755
|
+
# @return [String]
|
|
18756
|
+
#
|
|
18757
|
+
# @!attribute [rw] payment_connector_id
|
|
18758
|
+
# The unique identifier of the payment connector whose credentials you
|
|
18759
|
+
# want to rotate.
|
|
18760
|
+
# @return [String]
|
|
18761
|
+
#
|
|
18762
|
+
# @!attribute [rw] credentials_to_rotate
|
|
18763
|
+
# The credentials to rotate. Specify the member that matches the
|
|
18764
|
+
# payment connector's `type`. Each credential that you select is
|
|
18765
|
+
# rotated independently.
|
|
18766
|
+
# @return [Types::CredentialRotationConfig]
|
|
18767
|
+
#
|
|
18768
|
+
# @!attribute [rw] client_token
|
|
18769
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
18770
|
+
# completes no more than one time. If you don't specify this field, a
|
|
18771
|
+
# value is randomly generated for you. If this token matches a
|
|
18772
|
+
# previous request, the service ignores the request, but doesn't
|
|
18773
|
+
# return an error. For more information, see [Ensuring
|
|
18774
|
+
# idempotency][1].
|
|
18775
|
+
#
|
|
18776
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
18777
|
+
# not need to pass this option.
|
|
18778
|
+
#
|
|
18779
|
+
#
|
|
18780
|
+
#
|
|
18781
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
18782
|
+
# @return [String]
|
|
18783
|
+
#
|
|
18784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RotatePaymentConnectorCredentialsRequest AWS API Documentation
|
|
18785
|
+
#
|
|
18786
|
+
class RotatePaymentConnectorCredentialsRequest < Struct.new(
|
|
18787
|
+
:payment_manager_id,
|
|
18788
|
+
:payment_connector_id,
|
|
18789
|
+
:credentials_to_rotate,
|
|
18790
|
+
:client_token)
|
|
18791
|
+
SENSITIVE = []
|
|
18792
|
+
include Aws::Structure
|
|
18793
|
+
end
|
|
18794
|
+
|
|
18795
|
+
# @!attribute [rw] payment_connector_id
|
|
18796
|
+
# The unique identifier of the payment connector.
|
|
18797
|
+
# @return [String]
|
|
18798
|
+
#
|
|
18799
|
+
# @!attribute [rw] payment_manager_id
|
|
18800
|
+
# The unique identifier of the parent payment manager.
|
|
18801
|
+
# @return [String]
|
|
18802
|
+
#
|
|
18803
|
+
# @!attribute [rw] last_updated_at
|
|
18804
|
+
# The timestamp when the payment connector was last updated, which is
|
|
18805
|
+
# when the rotation completed.
|
|
18806
|
+
# @return [Time]
|
|
18807
|
+
#
|
|
18808
|
+
# @!attribute [rw] status
|
|
18809
|
+
# The current status of the payment connector, which is `READY` after
|
|
18810
|
+
# a successful rotation.
|
|
18811
|
+
# @return [String]
|
|
18812
|
+
#
|
|
18813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RotatePaymentConnectorCredentialsResponse AWS API Documentation
|
|
18814
|
+
#
|
|
18815
|
+
class RotatePaymentConnectorCredentialsResponse < Struct.new(
|
|
18816
|
+
:payment_connector_id,
|
|
18817
|
+
:payment_manager_id,
|
|
18818
|
+
:last_updated_at,
|
|
18819
|
+
:status)
|
|
18820
|
+
SENSITIVE = []
|
|
18821
|
+
include Aws::Structure
|
|
18822
|
+
end
|
|
18823
|
+
|
|
18446
18824
|
# An action that routes requests to a gateway target, either statically
|
|
18447
18825
|
# or with weighted traffic splitting.
|
|
18448
18826
|
#
|
|
@@ -21892,6 +22270,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
21892
22270
|
# not specified, the existing value is retained.
|
|
21893
22271
|
# @return [Types::HarnessTruncationConfiguration]
|
|
21894
22272
|
#
|
|
22273
|
+
# @!attribute [rw] hooks
|
|
22274
|
+
# The lifecycle hooks to run at defined points in the agent loop. If
|
|
22275
|
+
# specified, this replaces all existing hooks. If not specified, the
|
|
22276
|
+
# existing hooks are retained.
|
|
22277
|
+
# @return [Array<Types::HarnessHook>]
|
|
22278
|
+
#
|
|
21895
22279
|
# @!attribute [rw] max_iterations
|
|
21896
22280
|
# The maximum number of iterations the agent loop can execute per
|
|
21897
22281
|
# invocation. If not specified, the existing value is retained.
|
|
@@ -21925,6 +22309,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
21925
22309
|
:allowed_tools,
|
|
21926
22310
|
:memory,
|
|
21927
22311
|
:truncation,
|
|
22312
|
+
:hooks,
|
|
21928
22313
|
:max_iterations,
|
|
21929
22314
|
:max_tokens,
|
|
21930
22315
|
:timeout_seconds)
|
data/sig/client.rbs
CHANGED
|
@@ -689,6 +689,9 @@ module Aws
|
|
|
689
689
|
?allowed_tools: Array[::String],
|
|
690
690
|
?memory: Params::harness_memory_configuration,
|
|
691
691
|
?truncation: Params::harness_truncation_configuration,
|
|
692
|
+
?hooks: Array[
|
|
693
|
+
Params::harness_hook
|
|
694
|
+
],
|
|
692
695
|
?max_iterations: ::Integer,
|
|
693
696
|
?max_tokens: ::Integer,
|
|
694
697
|
?timeout_seconds: ::Integer,
|
|
@@ -1824,11 +1827,13 @@ module Aws
|
|
|
1824
1827
|
def name: () -> ::String
|
|
1825
1828
|
def description: () -> ::String
|
|
1826
1829
|
def type: () -> ("CoinbaseCDP" | "StripePrivy")
|
|
1830
|
+
def provision_mode: () -> ("MANUAL" | "QUICK_CREATE")
|
|
1827
1831
|
def credential_provider_configurations: () -> ::Array[Types::CredentialsProviderConfiguration]
|
|
1828
1832
|
def created_at: () -> ::Time
|
|
1829
1833
|
def last_updated_at: () -> ::Time
|
|
1830
1834
|
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
|
|
1831
1835
|
def authorization_url: () -> ::String
|
|
1836
|
+
def credentials_updated_at: () -> ::Time
|
|
1832
1837
|
end
|
|
1833
1838
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_payment_connector-instance_method
|
|
1834
1839
|
def get_payment_connector: (
|
|
@@ -2594,6 +2599,26 @@ module Aws
|
|
|
2594
2599
|
) -> _PutResourcePolicyResponseSuccess
|
|
2595
2600
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
2596
2601
|
|
|
2602
|
+
interface _RotatePaymentConnectorCredentialsResponseSuccess
|
|
2603
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RotatePaymentConnectorCredentialsResponse]
|
|
2604
|
+
def payment_connector_id: () -> ::String
|
|
2605
|
+
def payment_manager_id: () -> ::String
|
|
2606
|
+
def last_updated_at: () -> ::Time
|
|
2607
|
+
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
|
|
2608
|
+
end
|
|
2609
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#rotate_payment_connector_credentials-instance_method
|
|
2610
|
+
def rotate_payment_connector_credentials: (
|
|
2611
|
+
payment_manager_id: ::String,
|
|
2612
|
+
payment_connector_id: ::String,
|
|
2613
|
+
credentials_to_rotate: {
|
|
2614
|
+
coinbase_cdp: {
|
|
2615
|
+
secrets: Array[("API_KEY" | "WALLET_SECRET")]
|
|
2616
|
+
}?
|
|
2617
|
+
},
|
|
2618
|
+
?client_token: ::String
|
|
2619
|
+
) -> _RotatePaymentConnectorCredentialsResponseSuccess
|
|
2620
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RotatePaymentConnectorCredentialsResponseSuccess
|
|
2621
|
+
|
|
2597
2622
|
interface _SetTokenVaultCMKResponseSuccess
|
|
2598
2623
|
include ::Seahorse::Client::_ResponseSuccess[Types::SetTokenVaultCMKResponse]
|
|
2599
2624
|
def token_vault_id: () -> ::String
|
|
@@ -3073,6 +3098,9 @@ module Aws
|
|
|
3073
3098
|
optional_value: Params::harness_memory_configuration?
|
|
3074
3099
|
},
|
|
3075
3100
|
?truncation: Params::harness_truncation_configuration,
|
|
3101
|
+
?hooks: Array[
|
|
3102
|
+
Params::harness_hook
|
|
3103
|
+
],
|
|
3076
3104
|
?max_iterations: ::Integer,
|
|
3077
3105
|
?max_tokens: ::Integer,
|
|
3078
3106
|
?timeout_seconds: ::Integer
|
data/sig/params.rbs
CHANGED
|
@@ -583,6 +583,7 @@ module Aws
|
|
|
583
583
|
type harness_open_ai_model_config = {
|
|
584
584
|
model_id: ::String,
|
|
585
585
|
api_key_arn: ::String,
|
|
586
|
+
api_base: ::String?,
|
|
586
587
|
max_tokens: ::Integer?,
|
|
587
588
|
temperature: ::Float?,
|
|
588
589
|
top_p: ::Float?,
|
|
@@ -723,6 +724,47 @@ module Aws
|
|
|
723
724
|
config: Params::harness_truncation_strategy_configuration?
|
|
724
725
|
}
|
|
725
726
|
|
|
727
|
+
type harness_hook_target = {
|
|
728
|
+
lambda: {
|
|
729
|
+
arn: ::String,
|
|
730
|
+
timeout_seconds: ::Integer?,
|
|
731
|
+
failure_mode: ("allow" | "deny")?
|
|
732
|
+
}?,
|
|
733
|
+
sns: {
|
|
734
|
+
arn: ::String
|
|
735
|
+
}?,
|
|
736
|
+
event_bridge: {
|
|
737
|
+
arn: ::String
|
|
738
|
+
}?
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
type harness_before_invocation_hook = {
|
|
742
|
+
name: ::String,
|
|
743
|
+
target: Params::harness_hook_target
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
type harness_after_invocation_hook = {
|
|
747
|
+
name: ::String,
|
|
748
|
+
target: Params::harness_hook_target
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
type harness_before_tool_call_hook = {
|
|
752
|
+
name: ::String,
|
|
753
|
+
target: Params::harness_hook_target
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
type harness_after_tool_call_hook = {
|
|
757
|
+
name: ::String,
|
|
758
|
+
target: Params::harness_hook_target
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
type harness_hook = {
|
|
762
|
+
before_invocation: Params::harness_before_invocation_hook?,
|
|
763
|
+
after_invocation: Params::harness_after_invocation_hook?,
|
|
764
|
+
before_tool_call: Params::harness_before_tool_call_hook?,
|
|
765
|
+
after_tool_call: Params::harness_after_tool_call_hook?
|
|
766
|
+
}
|
|
767
|
+
|
|
726
768
|
type memory_record_schema = {
|
|
727
769
|
metadata_schema: Array[
|
|
728
770
|
Params::metadata_schema_entry
|