aws-sdk-bedrockagentcorecontrol 1.63.0 → 1.65.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 +135 -12
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +33 -2
- data/lib/aws-sdk-bedrockagentcorecontrol/errors.rb +26 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +163 -9
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +21 -10
- data/sig/errors.rbs +5 -0
- data/sig/params.rbs +7 -1
- data/sig/types.rbs +38 -9
- metadata +1 -1
|
@@ -38,6 +38,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
38
38
|
# * {RetryableConflictException}
|
|
39
39
|
# * {ServiceException}
|
|
40
40
|
# * {ServiceQuotaExceededException}
|
|
41
|
+
# * {SubscriptionRequiredException}
|
|
41
42
|
# * {ThrottledException}
|
|
42
43
|
# * {ThrottlingException}
|
|
43
44
|
# * {UnauthorizedException}
|
|
@@ -222,6 +223,31 @@ module Aws::BedrockAgentCoreControl
|
|
|
222
223
|
end
|
|
223
224
|
end
|
|
224
225
|
|
|
226
|
+
class SubscriptionRequiredException < ServiceError
|
|
227
|
+
|
|
228
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
229
|
+
# @param [String] message
|
|
230
|
+
# @param [Aws::BedrockAgentCoreControl::Types::SubscriptionRequiredException] data
|
|
231
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
232
|
+
super(context, message, data)
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
# @return [String]
|
|
236
|
+
def message
|
|
237
|
+
@message || @data[:message]
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# @return [String]
|
|
241
|
+
def subscription_url
|
|
242
|
+
@data[:subscription_url]
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# @return [String]
|
|
246
|
+
def product_name
|
|
247
|
+
@data[:product_name]
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
225
251
|
class ThrottledException < ServiceError
|
|
226
252
|
|
|
227
253
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -4077,6 +4077,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
4077
4077
|
# the payment provider.
|
|
4078
4078
|
# @return [Array<Types::CredentialsProviderConfiguration>]
|
|
4079
4079
|
#
|
|
4080
|
+
# @!attribute [rw] provision_mode
|
|
4081
|
+
# The provision mode for creating the payment connector. If you don't
|
|
4082
|
+
# specify a value, the default is `MANUAL`.
|
|
4083
|
+
#
|
|
4084
|
+
# * `MANUAL` - You provide the credential provider configurations
|
|
4085
|
+
# directly.
|
|
4086
|
+
#
|
|
4087
|
+
# * `QUICK_CREATE` - The service orchestrates OAuth consent and
|
|
4088
|
+
# provisions the credential provider for you.
|
|
4089
|
+
# @return [String]
|
|
4090
|
+
#
|
|
4080
4091
|
# @!attribute [rw] client_token
|
|
4081
4092
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
4082
4093
|
# completes no more than one time. If you don't specify this field, a
|
|
@@ -4101,6 +4112,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4101
4112
|
:description,
|
|
4102
4113
|
:type,
|
|
4103
4114
|
:credential_provider_configurations,
|
|
4115
|
+
:provision_mode,
|
|
4104
4116
|
:client_token)
|
|
4105
4117
|
SENSITIVE = []
|
|
4106
4118
|
include Aws::Structure
|
|
@@ -4137,6 +4149,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
4137
4149
|
# `UPDATE_FAILED`, and `DELETE_FAILED`.
|
|
4138
4150
|
# @return [String]
|
|
4139
4151
|
#
|
|
4152
|
+
# @!attribute [rw] authorization_url
|
|
4153
|
+
# The URL that the user must open to complete OAuth consent. This
|
|
4154
|
+
# field is only present when the payment connector status is
|
|
4155
|
+
# `PENDING_AUTHENTICATION`.
|
|
4156
|
+
# @return [String]
|
|
4157
|
+
#
|
|
4140
4158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePaymentConnectorResponse AWS API Documentation
|
|
4141
4159
|
#
|
|
4142
4160
|
class CreatePaymentConnectorResponse < Struct.new(
|
|
@@ -4146,7 +4164,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4146
4164
|
:type,
|
|
4147
4165
|
:credential_provider_configurations,
|
|
4148
4166
|
:created_at,
|
|
4149
|
-
:status
|
|
4167
|
+
:status,
|
|
4168
|
+
:authorization_url)
|
|
4150
4169
|
SENSITIVE = []
|
|
4151
4170
|
include Aws::Structure
|
|
4152
4171
|
end
|
|
@@ -4254,6 +4273,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
4254
4273
|
# A map of tag keys and values to assign to the payment manager.
|
|
4255
4274
|
# @return [Hash<String,String>]
|
|
4256
4275
|
#
|
|
4276
|
+
# @!attribute [rw] kms_key_arn
|
|
4277
|
+
# The Amazon Resource Name (ARN) of the customer managed KMS key to
|
|
4278
|
+
# use for encrypting sensitive payment manager data at rest. If you
|
|
4279
|
+
# don't specify a key, the data is encrypted with an Amazon Web
|
|
4280
|
+
# Services owned key.
|
|
4281
|
+
# @return [String]
|
|
4282
|
+
#
|
|
4257
4283
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePaymentManagerRequest AWS API Documentation
|
|
4258
4284
|
#
|
|
4259
4285
|
class CreatePaymentManagerRequest < Struct.new(
|
|
@@ -4263,7 +4289,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4263
4289
|
:authorizer_configuration,
|
|
4264
4290
|
:role_arn,
|
|
4265
4291
|
:client_token,
|
|
4266
|
-
:tags
|
|
4292
|
+
:tags,
|
|
4293
|
+
:kms_key_arn)
|
|
4267
4294
|
SENSITIVE = []
|
|
4268
4295
|
include Aws::Structure
|
|
4269
4296
|
end
|
|
@@ -4312,6 +4339,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
4312
4339
|
# The tags associated with the created payment manager.
|
|
4313
4340
|
# @return [Hash<String,String>]
|
|
4314
4341
|
#
|
|
4342
|
+
# @!attribute [rw] kms_key_arn
|
|
4343
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt
|
|
4344
|
+
# sensitive payment manager data at rest, if configured.
|
|
4345
|
+
# @return [String]
|
|
4346
|
+
#
|
|
4315
4347
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePaymentManagerResponse AWS API Documentation
|
|
4316
4348
|
#
|
|
4317
4349
|
class CreatePaymentManagerResponse < Struct.new(
|
|
@@ -4324,7 +4356,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4324
4356
|
:workload_identity_details,
|
|
4325
4357
|
:created_at,
|
|
4326
4358
|
:status,
|
|
4327
|
-
:tags
|
|
4359
|
+
:tags,
|
|
4360
|
+
:kms_key_arn)
|
|
4328
4361
|
SENSITIVE = []
|
|
4329
4362
|
include Aws::Structure
|
|
4330
4363
|
end
|
|
@@ -6802,6 +6835,27 @@ module Aws::BedrockAgentCoreControl
|
|
|
6802
6835
|
#
|
|
6803
6836
|
class DeleteWorkloadIdentityResponse < Aws::EmptyStructure; end
|
|
6804
6837
|
|
|
6838
|
+
# The configuration for a derived evaluator. It reuses an existing
|
|
6839
|
+
# evaluator's logic on your own model.
|
|
6840
|
+
#
|
|
6841
|
+
# @!attribute [rw] base_evaluator_id
|
|
6842
|
+
# The identifier of the base evaluator whose logic to run (a
|
|
6843
|
+
# `Builtin.*` or `ThirdParty.*` evaluator).
|
|
6844
|
+
# @return [String]
|
|
6845
|
+
#
|
|
6846
|
+
# @!attribute [rw] model_config
|
|
6847
|
+
# The configuration of the evaluator model that you supply.
|
|
6848
|
+
# @return [Types::EvaluatorModelConfig]
|
|
6849
|
+
#
|
|
6850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DerivedEvaluatorConfig AWS API Documentation
|
|
6851
|
+
#
|
|
6852
|
+
class DerivedEvaluatorConfig < Struct.new(
|
|
6853
|
+
:base_evaluator_id,
|
|
6854
|
+
:model_config)
|
|
6855
|
+
SENSITIVE = []
|
|
6856
|
+
include Aws::Structure
|
|
6857
|
+
end
|
|
6858
|
+
|
|
6805
6859
|
# Contains descriptor-type-specific configurations for a registry
|
|
6806
6860
|
# record. Only the descriptor matching the record's `descriptorType`
|
|
6807
6861
|
# should be populated.
|
|
@@ -7417,11 +7471,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
7417
7471
|
# performance.
|
|
7418
7472
|
# @return [Types::CodeBasedEvaluatorConfig]
|
|
7419
7473
|
#
|
|
7474
|
+
# @!attribute [rw] derived
|
|
7475
|
+
# The configuration for an evaluator derived from an existing base
|
|
7476
|
+
# evaluator (a built-in or third-party evaluator), run on your own
|
|
7477
|
+
# model. The base evaluator supplies the prompt and scoring.
|
|
7478
|
+
# @return [Types::DerivedEvaluatorConfig]
|
|
7479
|
+
#
|
|
7420
7480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorConfig AWS API Documentation
|
|
7421
7481
|
#
|
|
7422
7482
|
class EvaluatorConfig < Struct.new(
|
|
7423
7483
|
:llm_as_a_judge,
|
|
7424
7484
|
:code_based,
|
|
7485
|
+
:derived,
|
|
7425
7486
|
:unknown)
|
|
7426
7487
|
SENSITIVE = []
|
|
7427
7488
|
include Aws::Structure
|
|
@@ -7429,6 +7490,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
7429
7490
|
|
|
7430
7491
|
class LlmAsAJudge < EvaluatorConfig; end
|
|
7431
7492
|
class CodeBased < EvaluatorConfig; end
|
|
7493
|
+
class Derived < EvaluatorConfig; end
|
|
7432
7494
|
class Unknown < EvaluatorConfig; end
|
|
7433
7495
|
end
|
|
7434
7496
|
|
|
@@ -7511,6 +7573,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
7511
7573
|
# provided by the service or a custom evaluator created by the user.
|
|
7512
7574
|
# @return [String]
|
|
7513
7575
|
#
|
|
7576
|
+
# @!attribute [rw] provider
|
|
7577
|
+
# The source of the evaluator's logic: Amazon Web Services, a
|
|
7578
|
+
# third-party library, or you.
|
|
7579
|
+
# @return [String]
|
|
7580
|
+
#
|
|
7514
7581
|
# @!attribute [rw] level
|
|
7515
7582
|
# The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that
|
|
7516
7583
|
# determines the scope of evaluation.
|
|
@@ -7547,6 +7614,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
7547
7614
|
:evaluator_name,
|
|
7548
7615
|
:description,
|
|
7549
7616
|
:evaluator_type,
|
|
7617
|
+
:provider,
|
|
7550
7618
|
:level,
|
|
7551
7619
|
:status,
|
|
7552
7620
|
:created_at,
|
|
@@ -9030,6 +9098,27 @@ module Aws::BedrockAgentCoreControl
|
|
|
9030
9098
|
# code-based settings.
|
|
9031
9099
|
# @return [Types::EvaluatorConfig]
|
|
9032
9100
|
#
|
|
9101
|
+
# @!attribute [rw] evaluator_type
|
|
9102
|
+
# The kind of evaluator resource. Valid values:
|
|
9103
|
+
#
|
|
9104
|
+
# * `Builtin` – An Amazon Web Services-managed global evaluator.
|
|
9105
|
+
#
|
|
9106
|
+
# * `ThirdParty` – An Amazon Web Services-managed global evaluator
|
|
9107
|
+
# from a third-party provider.
|
|
9108
|
+
#
|
|
9109
|
+
# * `Custom` – A customer-created evaluator.
|
|
9110
|
+
#
|
|
9111
|
+
# * `CustomCode` – A customer-created code-based evaluator.
|
|
9112
|
+
#
|
|
9113
|
+
# * `CustomDerived` – A customer-created evaluator derived from an
|
|
9114
|
+
# existing base evaluator.
|
|
9115
|
+
# @return [String]
|
|
9116
|
+
#
|
|
9117
|
+
# @!attribute [rw] provider
|
|
9118
|
+
# The source of the evaluator's logic: Amazon Web Services, a
|
|
9119
|
+
# third-party library, or you.
|
|
9120
|
+
# @return [String]
|
|
9121
|
+
#
|
|
9033
9122
|
# @!attribute [rw] level
|
|
9034
9123
|
# The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that
|
|
9035
9124
|
# determines the scope of evaluation.
|
|
@@ -9066,6 +9155,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
9066
9155
|
:evaluator_name,
|
|
9067
9156
|
:description,
|
|
9068
9157
|
:evaluator_config,
|
|
9158
|
+
:evaluator_type,
|
|
9159
|
+
:provider,
|
|
9069
9160
|
:level,
|
|
9070
9161
|
:status,
|
|
9071
9162
|
:created_at,
|
|
@@ -9806,6 +9897,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
9806
9897
|
# `UPDATE_FAILED`, and `DELETE_FAILED`.
|
|
9807
9898
|
# @return [String]
|
|
9808
9899
|
#
|
|
9900
|
+
# @!attribute [rw] authorization_url
|
|
9901
|
+
# The URL that the user must open to complete OAuth consent. This
|
|
9902
|
+
# field is only present when the payment connector status is
|
|
9903
|
+
# `PENDING_AUTHENTICATION`.
|
|
9904
|
+
# @return [String]
|
|
9905
|
+
#
|
|
9809
9906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPaymentConnectorResponse AWS API Documentation
|
|
9810
9907
|
#
|
|
9811
9908
|
class GetPaymentConnectorResponse < Struct.new(
|
|
@@ -9816,7 +9913,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
9816
9913
|
:credential_provider_configurations,
|
|
9817
9914
|
:created_at,
|
|
9818
9915
|
:last_updated_at,
|
|
9819
|
-
:status
|
|
9916
|
+
:status,
|
|
9917
|
+
:authorization_url)
|
|
9820
9918
|
SENSITIVE = []
|
|
9821
9919
|
include Aws::Structure
|
|
9822
9920
|
end
|
|
@@ -9945,6 +10043,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
9945
10043
|
# The tags associated with the payment manager.
|
|
9946
10044
|
# @return [Hash<String,String>]
|
|
9947
10045
|
#
|
|
10046
|
+
# @!attribute [rw] kms_key_arn
|
|
10047
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt
|
|
10048
|
+
# sensitive payment manager data at rest, if configured.
|
|
10049
|
+
# @return [String]
|
|
10050
|
+
#
|
|
9948
10051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPaymentManagerResponse AWS API Documentation
|
|
9949
10052
|
#
|
|
9950
10053
|
class GetPaymentManagerResponse < Struct.new(
|
|
@@ -9959,7 +10062,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
9959
10062
|
:created_at,
|
|
9960
10063
|
:last_updated_at,
|
|
9961
10064
|
:status,
|
|
9962
|
-
:tags
|
|
10065
|
+
:tags,
|
|
10066
|
+
:kms_key_arn)
|
|
9963
10067
|
SENSITIVE = []
|
|
9964
10068
|
include Aws::Structure
|
|
9965
10069
|
end
|
|
@@ -16472,6 +16576,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
16472
16576
|
# The timestamp when the payment manager was last updated.
|
|
16473
16577
|
# @return [Time]
|
|
16474
16578
|
#
|
|
16579
|
+
# @!attribute [rw] kms_key_arn
|
|
16580
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt
|
|
16581
|
+
# sensitive payment manager data at rest, if configured.
|
|
16582
|
+
# @return [String]
|
|
16583
|
+
#
|
|
16475
16584
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PaymentManagerSummary AWS API Documentation
|
|
16476
16585
|
#
|
|
16477
16586
|
class PaymentManagerSummary < Struct.new(
|
|
@@ -16483,7 +16592,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
16483
16592
|
:role_arn,
|
|
16484
16593
|
:status,
|
|
16485
16594
|
:created_at,
|
|
16486
|
-
:last_updated_at
|
|
16595
|
+
:last_updated_at,
|
|
16596
|
+
:kms_key_arn)
|
|
16487
16597
|
SENSITIVE = []
|
|
16488
16598
|
include Aws::Structure
|
|
16489
16599
|
end
|
|
@@ -19113,6 +19223,31 @@ module Aws::BedrockAgentCoreControl
|
|
|
19113
19223
|
include Aws::Structure
|
|
19114
19224
|
end
|
|
19115
19225
|
|
|
19226
|
+
# The request failed because it requires an active Amazon Web Services
|
|
19227
|
+
# Marketplace subscription that is not present. Subscribe to the
|
|
19228
|
+
# required product in Amazon Web Services Marketplace and try again.
|
|
19229
|
+
#
|
|
19230
|
+
# @!attribute [rw] message
|
|
19231
|
+
# @return [String]
|
|
19232
|
+
#
|
|
19233
|
+
# @!attribute [rw] subscription_url
|
|
19234
|
+
# URL to the Marketplace listing for subscription
|
|
19235
|
+
# @return [String]
|
|
19236
|
+
#
|
|
19237
|
+
# @!attribute [rw] product_name
|
|
19238
|
+
# The product requiring subscription
|
|
19239
|
+
# @return [String]
|
|
19240
|
+
#
|
|
19241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SubscriptionRequiredException AWS API Documentation
|
|
19242
|
+
#
|
|
19243
|
+
class SubscriptionRequiredException < Struct.new(
|
|
19244
|
+
:message,
|
|
19245
|
+
:subscription_url,
|
|
19246
|
+
:product_name)
|
|
19247
|
+
SENSITIVE = []
|
|
19248
|
+
include Aws::Structure
|
|
19249
|
+
end
|
|
19250
|
+
|
|
19116
19251
|
# Contains summary consolidation override configuration.
|
|
19117
19252
|
#
|
|
19118
19253
|
# @!attribute [rw] append_to_prompt
|
|
@@ -21555,6 +21690,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
21555
21690
|
# `CREATE_FAILED`, `UPDATE_FAILED`, and `DELETE_FAILED`.
|
|
21556
21691
|
# @return [String]
|
|
21557
21692
|
#
|
|
21693
|
+
# @!attribute [rw] authorization_url
|
|
21694
|
+
# The URL that the user must open to complete OAuth consent. This
|
|
21695
|
+
# field is only present when the payment connector status is
|
|
21696
|
+
# `PENDING_AUTHENTICATION`.
|
|
21697
|
+
# @return [String]
|
|
21698
|
+
#
|
|
21558
21699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePaymentConnectorResponse AWS API Documentation
|
|
21559
21700
|
#
|
|
21560
21701
|
class UpdatePaymentConnectorResponse < Struct.new(
|
|
@@ -21564,7 +21705,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
21564
21705
|
:type,
|
|
21565
21706
|
:credential_provider_configurations,
|
|
21566
21707
|
:last_updated_at,
|
|
21567
|
-
:status
|
|
21708
|
+
:status,
|
|
21709
|
+
:authorization_url)
|
|
21568
21710
|
SENSITIVE = []
|
|
21569
21711
|
include Aws::Structure
|
|
21570
21712
|
end
|
|
@@ -21668,6 +21810,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
21668
21810
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
21669
21811
|
# @return [String]
|
|
21670
21812
|
#
|
|
21813
|
+
# @!attribute [rw] kms_key_arn
|
|
21814
|
+
# The updated Amazon Resource Name (ARN) of the customer managed KMS
|
|
21815
|
+
# key used to encrypt sensitive payment manager data at rest.
|
|
21816
|
+
# @return [String]
|
|
21817
|
+
#
|
|
21671
21818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePaymentManagerRequest AWS API Documentation
|
|
21672
21819
|
#
|
|
21673
21820
|
class UpdatePaymentManagerRequest < Struct.new(
|
|
@@ -21676,7 +21823,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
21676
21823
|
:authorizer_type,
|
|
21677
21824
|
:authorizer_configuration,
|
|
21678
21825
|
:role_arn,
|
|
21679
|
-
:client_token
|
|
21826
|
+
:client_token,
|
|
21827
|
+
:kms_key_arn)
|
|
21680
21828
|
SENSITIVE = []
|
|
21681
21829
|
include Aws::Structure
|
|
21682
21830
|
end
|
|
@@ -21716,6 +21864,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
21716
21864
|
# `CREATE_FAILED`, `UPDATE_FAILED`, and `DELETE_FAILED`.
|
|
21717
21865
|
# @return [String]
|
|
21718
21866
|
#
|
|
21867
|
+
# @!attribute [rw] kms_key_arn
|
|
21868
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt
|
|
21869
|
+
# sensitive payment manager data at rest, if configured.
|
|
21870
|
+
# @return [String]
|
|
21871
|
+
#
|
|
21719
21872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePaymentManagerResponse AWS API Documentation
|
|
21720
21873
|
#
|
|
21721
21874
|
class UpdatePaymentManagerResponse < Struct.new(
|
|
@@ -21726,7 +21879,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
21726
21879
|
:role_arn,
|
|
21727
21880
|
:workload_identity_details,
|
|
21728
21881
|
:last_updated_at,
|
|
21729
|
-
:status
|
|
21882
|
+
:status,
|
|
21883
|
+
:kms_key_arn)
|
|
21730
21884
|
SENSITIVE = []
|
|
21731
21885
|
include Aws::Structure
|
|
21732
21886
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -149,7 +149,7 @@ module Aws
|
|
|
149
149
|
Params::filesystem_configuration
|
|
150
150
|
],
|
|
151
151
|
?capacity_provider_configuration: {
|
|
152
|
-
capacity_provider_arn: ::String
|
|
152
|
+
capacity_provider_arn: ::String
|
|
153
153
|
},
|
|
154
154
|
?tags: Hash[::String, ::String]
|
|
155
155
|
) -> _CreateAgentRuntimeResponseSuccess
|
|
@@ -444,7 +444,7 @@ module Aws
|
|
|
444
444
|
dataset_name: ::String,
|
|
445
445
|
?description: ::String,
|
|
446
446
|
source: Params::data_source_type,
|
|
447
|
-
schema_type: ("AGENTCORE_EVALUATION_PREDEFINED_V1" | "AGENTCORE_EVALUATION_SIMULATED_V1"),
|
|
447
|
+
schema_type: ("AGENTCORE_EVALUATION_PREDEFINED_V1" | "AGENTCORE_EVALUATION_SIMULATED_V1" | "GENERIC_EVALUATION_PREDEFINED_V1"),
|
|
448
448
|
?kms_key_arn: ::String,
|
|
449
449
|
?tags: Hash[::String, ::String]
|
|
450
450
|
) -> _CreateDatasetResponseSuccess
|
|
@@ -770,7 +770,8 @@ module Aws
|
|
|
770
770
|
def type: () -> ("CoinbaseCDP" | "StripePrivy")
|
|
771
771
|
def credential_provider_configurations: () -> ::Array[Types::CredentialsProviderConfiguration]
|
|
772
772
|
def created_at: () -> ::Time
|
|
773
|
-
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
773
|
+
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
|
|
774
|
+
def authorization_url: () -> ::String
|
|
774
775
|
end
|
|
775
776
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_payment_connector-instance_method
|
|
776
777
|
def create_payment_connector: (
|
|
@@ -781,6 +782,7 @@ module Aws
|
|
|
781
782
|
credential_provider_configurations: Array[
|
|
782
783
|
Params::credentials_provider_configuration
|
|
783
784
|
],
|
|
785
|
+
?provision_mode: ("MANUAL" | "QUICK_CREATE"),
|
|
784
786
|
?client_token: ::String
|
|
785
787
|
) -> _CreatePaymentConnectorResponseSuccess
|
|
786
788
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePaymentConnectorResponseSuccess
|
|
@@ -813,6 +815,7 @@ module Aws
|
|
|
813
815
|
def created_at: () -> ::Time
|
|
814
816
|
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
815
817
|
def tags: () -> ::Hash[::String, ::String]
|
|
818
|
+
def kms_key_arn: () -> ::String
|
|
816
819
|
end
|
|
817
820
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_payment_manager-instance_method
|
|
818
821
|
def create_payment_manager: (
|
|
@@ -822,7 +825,8 @@ module Aws
|
|
|
822
825
|
?authorizer_configuration: Params::authorizer_configuration,
|
|
823
826
|
role_arn: ::String,
|
|
824
827
|
?client_token: ::String,
|
|
825
|
-
?tags: Hash[::String, ::String]
|
|
828
|
+
?tags: Hash[::String, ::String],
|
|
829
|
+
?kms_key_arn: ::String
|
|
826
830
|
) -> _CreatePaymentManagerResponseSuccess
|
|
827
831
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePaymentManagerResponseSuccess
|
|
828
832
|
|
|
@@ -1206,7 +1210,7 @@ module Aws
|
|
|
1206
1210
|
|
|
1207
1211
|
interface _DeletePaymentConnectorResponseSuccess
|
|
1208
1212
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePaymentConnectorResponse]
|
|
1209
|
-
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
1213
|
+
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
|
|
1210
1214
|
def payment_connector_id: () -> ::String
|
|
1211
1215
|
end
|
|
1212
1216
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_payment_connector-instance_method
|
|
@@ -1517,7 +1521,7 @@ module Aws
|
|
|
1517
1521
|
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
1518
1522
|
def draft_status: () -> ("MODIFIED" | "UNMODIFIED")
|
|
1519
1523
|
def failure_reason: () -> ::String
|
|
1520
|
-
def schema_type: () -> ("AGENTCORE_EVALUATION_PREDEFINED_V1" | "AGENTCORE_EVALUATION_SIMULATED_V1")
|
|
1524
|
+
def schema_type: () -> ("AGENTCORE_EVALUATION_PREDEFINED_V1" | "AGENTCORE_EVALUATION_SIMULATED_V1" | "GENERIC_EVALUATION_PREDEFINED_V1")
|
|
1521
1525
|
def kms_key_arn: () -> ::String
|
|
1522
1526
|
def example_count: () -> ::Integer
|
|
1523
1527
|
def download_url: () -> ::String
|
|
@@ -1540,6 +1544,8 @@ module Aws
|
|
|
1540
1544
|
def evaluator_name: () -> ::String
|
|
1541
1545
|
def description: () -> ::String
|
|
1542
1546
|
def evaluator_config: () -> Types::EvaluatorConfig
|
|
1547
|
+
def evaluator_type: () -> ("Builtin" | "ThirdParty" | "Custom" | "CustomCode" | "CustomDerived")
|
|
1548
|
+
def provider: () -> ("AWS" | "DeepEval" | "AutoEval" | "Custom")
|
|
1543
1549
|
def level: () -> ("TOOL_CALL" | "TRACE" | "SESSION")
|
|
1544
1550
|
def status: () -> ("ACTIVE" | "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING")
|
|
1545
1551
|
def created_at: () -> ::Time
|
|
@@ -1737,7 +1743,8 @@ module Aws
|
|
|
1737
1743
|
def credential_provider_configurations: () -> ::Array[Types::CredentialsProviderConfiguration]
|
|
1738
1744
|
def created_at: () -> ::Time
|
|
1739
1745
|
def last_updated_at: () -> ::Time
|
|
1740
|
-
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
1746
|
+
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
|
|
1747
|
+
def authorization_url: () -> ::String
|
|
1741
1748
|
end
|
|
1742
1749
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_payment_connector-instance_method
|
|
1743
1750
|
def get_payment_connector: (
|
|
@@ -1776,6 +1783,7 @@ module Aws
|
|
|
1776
1783
|
def last_updated_at: () -> ::Time
|
|
1777
1784
|
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
1778
1785
|
def tags: () -> ::Hash[::String, ::String]
|
|
1786
|
+
def kms_key_arn: () -> ::String
|
|
1779
1787
|
end
|
|
1780
1788
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_payment_manager-instance_method
|
|
1781
1789
|
def get_payment_manager: (
|
|
@@ -2615,7 +2623,7 @@ module Aws
|
|
|
2615
2623
|
Params::filesystem_configuration
|
|
2616
2624
|
],
|
|
2617
2625
|
?capacity_provider_configuration: {
|
|
2618
|
-
capacity_provider_arn: ::String
|
|
2626
|
+
capacity_provider_arn: ::String
|
|
2619
2627
|
},
|
|
2620
2628
|
?client_token: ::String
|
|
2621
2629
|
) -> _UpdateAgentRuntimeResponseSuccess
|
|
@@ -3123,7 +3131,8 @@ module Aws
|
|
|
3123
3131
|
def type: () -> ("CoinbaseCDP" | "StripePrivy")
|
|
3124
3132
|
def credential_provider_configurations: () -> ::Array[Types::CredentialsProviderConfiguration]
|
|
3125
3133
|
def last_updated_at: () -> ::Time
|
|
3126
|
-
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
3134
|
+
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
|
|
3135
|
+
def authorization_url: () -> ::String
|
|
3127
3136
|
end
|
|
3128
3137
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_payment_connector-instance_method
|
|
3129
3138
|
def update_payment_connector: (
|
|
@@ -3165,6 +3174,7 @@ module Aws
|
|
|
3165
3174
|
def workload_identity_details: () -> Types::WorkloadIdentityDetails
|
|
3166
3175
|
def last_updated_at: () -> ::Time
|
|
3167
3176
|
def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
|
|
3177
|
+
def kms_key_arn: () -> ::String
|
|
3168
3178
|
end
|
|
3169
3179
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_payment_manager-instance_method
|
|
3170
3180
|
def update_payment_manager: (
|
|
@@ -3173,7 +3183,8 @@ module Aws
|
|
|
3173
3183
|
?authorizer_type: ("CUSTOM_JWT" | "AWS_IAM"),
|
|
3174
3184
|
?authorizer_configuration: Params::authorizer_configuration,
|
|
3175
3185
|
?role_arn: ::String,
|
|
3176
|
-
?client_token: ::String
|
|
3186
|
+
?client_token: ::String,
|
|
3187
|
+
?kms_key_arn: ::String
|
|
3177
3188
|
) -> _UpdatePaymentManagerResponseSuccess
|
|
3178
3189
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePaymentManagerResponseSuccess
|
|
3179
3190
|
|
data/sig/errors.rbs
CHANGED
|
@@ -44,6 +44,11 @@ module Aws
|
|
|
44
44
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
45
45
|
def message: () -> ::String
|
|
46
46
|
end
|
|
47
|
+
class SubscriptionRequiredException < ::Aws::Errors::ServiceError
|
|
48
|
+
def message: () -> ::String
|
|
49
|
+
def subscription_url: () -> ::String
|
|
50
|
+
def product_name: () -> ::String
|
|
51
|
+
end
|
|
47
52
|
class ThrottledException < ::Aws::Errors::ServiceError
|
|
48
53
|
def message: () -> ::String
|
|
49
54
|
end
|
data/sig/params.rbs
CHANGED
|
@@ -210,6 +210,11 @@ module Aws
|
|
|
210
210
|
model_config: Params::evaluator_model_config
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
type derived_evaluator_config = {
|
|
214
|
+
base_evaluator_id: ::String,
|
|
215
|
+
model_config: Params::evaluator_model_config
|
|
216
|
+
}
|
|
217
|
+
|
|
213
218
|
type evaluator_config = {
|
|
214
219
|
llm_as_a_judge: Params::llm_as_a_judge_evaluator_config?,
|
|
215
220
|
code_based: {
|
|
@@ -217,7 +222,8 @@ module Aws
|
|
|
217
222
|
lambda_arn: ::String,
|
|
218
223
|
lambda_timeout_in_seconds: ::Integer?
|
|
219
224
|
}?
|
|
220
|
-
}
|
|
225
|
+
}?,
|
|
226
|
+
derived: Params::derived_evaluator_config?
|
|
221
227
|
}
|
|
222
228
|
|
|
223
229
|
type mcp_gateway_configuration = {
|