aws-sdk-bedrockagentcorecontrol 1.49.0 → 1.51.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 +366 -49
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +124 -24
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +556 -27
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +26 -8
- data/sig/params.rbs +190 -66
- data/sig/types.rbs +101 -2
- metadata +1 -1
|
@@ -555,11 +555,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
555
555
|
# authenticate your application.
|
|
556
556
|
# @return [String]
|
|
557
557
|
#
|
|
558
|
+
# @!attribute [rw] client_secret_config
|
|
559
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
560
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
561
|
+
# the client secret value from the secret. Required when
|
|
562
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
563
|
+
# @return [Types::SecretReference]
|
|
564
|
+
#
|
|
565
|
+
# @!attribute [rw] client_secret_source
|
|
566
|
+
# The source type of the client secret for the Atlassian OAuth2
|
|
567
|
+
# provider. Use `MANAGED` if the secret is managed by the service, or
|
|
568
|
+
# `EXTERNAL` if you manage the secret yourself in AWS Secrets Manager.
|
|
569
|
+
# @return [String]
|
|
570
|
+
#
|
|
558
571
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/AtlassianOauth2ProviderConfigInput AWS API Documentation
|
|
559
572
|
#
|
|
560
573
|
class AtlassianOauth2ProviderConfigInput < Struct.new(
|
|
561
574
|
:client_id,
|
|
562
|
-
:client_secret
|
|
575
|
+
:client_secret,
|
|
576
|
+
:client_secret_config,
|
|
577
|
+
:client_secret_source)
|
|
563
578
|
SENSITIVE = [:client_secret]
|
|
564
579
|
include Aws::Structure
|
|
565
580
|
end
|
|
@@ -1181,16 +1196,46 @@ module Aws::BedrockAgentCoreControl
|
|
|
1181
1196
|
# The API key secret provided by Coinbase Developer Platform.
|
|
1182
1197
|
# @return [String]
|
|
1183
1198
|
#
|
|
1199
|
+
# @!attribute [rw] api_key_secret_source
|
|
1200
|
+
# The source type of the API key secret for the Coinbase Developer
|
|
1201
|
+
# Platform. Use `MANAGED` if the secret is managed by the service, or
|
|
1202
|
+
# `EXTERNAL` if you manage the secret yourself in AWS Secrets Manager.
|
|
1203
|
+
# @return [String]
|
|
1204
|
+
#
|
|
1205
|
+
# @!attribute [rw] api_key_secret_config
|
|
1206
|
+
# A reference to the AWS Secrets Manager secret that stores the API
|
|
1207
|
+
# key secret. This includes the secret ID and the JSON key used to
|
|
1208
|
+
# extract the API key secret value from the secret. Required when
|
|
1209
|
+
# `apiKeySecretSource` is set to `EXTERNAL`.
|
|
1210
|
+
# @return [Types::SecretReference]
|
|
1211
|
+
#
|
|
1184
1212
|
# @!attribute [rw] wallet_secret
|
|
1185
1213
|
# The wallet secret provided by Coinbase Developer Platform.
|
|
1186
1214
|
# @return [String]
|
|
1187
1215
|
#
|
|
1216
|
+
# @!attribute [rw] wallet_secret_source
|
|
1217
|
+
# The source type of the wallet secret for the Coinbase Developer
|
|
1218
|
+
# Platform. Use `MANAGED` if the secret is managed by the service, or
|
|
1219
|
+
# `EXTERNAL` if you manage the secret yourself in AWS Secrets Manager.
|
|
1220
|
+
# @return [String]
|
|
1221
|
+
#
|
|
1222
|
+
# @!attribute [rw] wallet_secret_config
|
|
1223
|
+
# A reference to the AWS Secrets Manager secret that stores the wallet
|
|
1224
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
1225
|
+
# the wallet secret value from the secret. Required when
|
|
1226
|
+
# `walletSecretSource` is set to `EXTERNAL`.
|
|
1227
|
+
# @return [Types::SecretReference]
|
|
1228
|
+
#
|
|
1188
1229
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CoinbaseCdpConfigurationInput AWS API Documentation
|
|
1189
1230
|
#
|
|
1190
1231
|
class CoinbaseCdpConfigurationInput < Struct.new(
|
|
1191
1232
|
:api_key_id,
|
|
1192
1233
|
:api_key_secret,
|
|
1193
|
-
:
|
|
1234
|
+
:api_key_secret_source,
|
|
1235
|
+
:api_key_secret_config,
|
|
1236
|
+
:wallet_secret,
|
|
1237
|
+
:wallet_secret_source,
|
|
1238
|
+
:wallet_secret_config)
|
|
1194
1239
|
SENSITIVE = [:api_key_secret, :wallet_secret]
|
|
1195
1240
|
include Aws::Structure
|
|
1196
1241
|
end
|
|
@@ -1205,16 +1250,42 @@ module Aws::BedrockAgentCoreControl
|
|
|
1205
1250
|
# Contains information about a secret in AWS Secrets Manager.
|
|
1206
1251
|
# @return [Types::Secret]
|
|
1207
1252
|
#
|
|
1253
|
+
# @!attribute [rw] api_key_secret_json_key
|
|
1254
|
+
# The JSON key used to extract the API key secret value from the AWS
|
|
1255
|
+
# Secrets Manager secret.
|
|
1256
|
+
# @return [String]
|
|
1257
|
+
#
|
|
1258
|
+
# @!attribute [rw] api_key_secret_source
|
|
1259
|
+
# The source type of the API key secret. Either `MANAGED` if the
|
|
1260
|
+
# secret is managed by the service, or `EXTERNAL` if managed by the
|
|
1261
|
+
# user in AWS Secrets Manager.
|
|
1262
|
+
# @return [String]
|
|
1263
|
+
#
|
|
1208
1264
|
# @!attribute [rw] wallet_secret_arn
|
|
1209
1265
|
# Contains information about a secret in AWS Secrets Manager.
|
|
1210
1266
|
# @return [Types::Secret]
|
|
1211
1267
|
#
|
|
1268
|
+
# @!attribute [rw] wallet_secret_json_key
|
|
1269
|
+
# The JSON key used to extract the wallet secret value from the AWS
|
|
1270
|
+
# Secrets Manager secret.
|
|
1271
|
+
# @return [String]
|
|
1272
|
+
#
|
|
1273
|
+
# @!attribute [rw] wallet_secret_source
|
|
1274
|
+
# The source type of the wallet secret. Either `MANAGED` if the secret
|
|
1275
|
+
# is managed by the service, or `EXTERNAL` if managed by the user in
|
|
1276
|
+
# AWS Secrets Manager.
|
|
1277
|
+
# @return [String]
|
|
1278
|
+
#
|
|
1212
1279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CoinbaseCdpConfigurationOutput AWS API Documentation
|
|
1213
1280
|
#
|
|
1214
1281
|
class CoinbaseCdpConfigurationOutput < Struct.new(
|
|
1215
1282
|
:api_key_id,
|
|
1216
1283
|
:api_key_secret_arn,
|
|
1217
|
-
:
|
|
1284
|
+
:api_key_secret_json_key,
|
|
1285
|
+
:api_key_secret_source,
|
|
1286
|
+
:wallet_secret_arn,
|
|
1287
|
+
:wallet_secret_json_key,
|
|
1288
|
+
:wallet_secret_source)
|
|
1218
1289
|
SENSITIVE = []
|
|
1219
1290
|
include Aws::Structure
|
|
1220
1291
|
end
|
|
@@ -1348,13 +1419,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
1348
1419
|
# The description of the configuration bundle.
|
|
1349
1420
|
# @return [String]
|
|
1350
1421
|
#
|
|
1422
|
+
# @!attribute [rw] created_at
|
|
1423
|
+
# The timestamp when the configuration bundle was created.
|
|
1424
|
+
# @return [Time]
|
|
1425
|
+
#
|
|
1351
1426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ConfigurationBundleSummary AWS API Documentation
|
|
1352
1427
|
#
|
|
1353
1428
|
class ConfigurationBundleSummary < Struct.new(
|
|
1354
1429
|
:bundle_arn,
|
|
1355
1430
|
:bundle_id,
|
|
1356
1431
|
:bundle_name,
|
|
1357
|
-
:description
|
|
1432
|
+
:description,
|
|
1433
|
+
:created_at)
|
|
1358
1434
|
SENSITIVE = [:description]
|
|
1359
1435
|
include Aws::Structure
|
|
1360
1436
|
end
|
|
@@ -1706,6 +1782,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
1706
1782
|
# stored securely.
|
|
1707
1783
|
# @return [String]
|
|
1708
1784
|
#
|
|
1785
|
+
# @!attribute [rw] api_key_secret_config
|
|
1786
|
+
# A reference to the AWS Secrets Manager secret that stores the API
|
|
1787
|
+
# key. This includes the secret ID and the JSON key used to extract
|
|
1788
|
+
# the API key value from the secret. Required when
|
|
1789
|
+
# `apiKeySecretSource` is set to `EXTERNAL`.
|
|
1790
|
+
# @return [Types::SecretReference]
|
|
1791
|
+
#
|
|
1792
|
+
# @!attribute [rw] api_key_secret_source
|
|
1793
|
+
# The source type of the API key secret. Use `MANAGED` if the secret
|
|
1794
|
+
# is managed by the service, or `EXTERNAL` if you manage the secret
|
|
1795
|
+
# yourself in AWS Secrets Manager.
|
|
1796
|
+
# @return [String]
|
|
1797
|
+
#
|
|
1709
1798
|
# @!attribute [rw] tags
|
|
1710
1799
|
# A map of tag keys and values to assign to the API key credential
|
|
1711
1800
|
# provider. Tags enable you to categorize your resources in different
|
|
@@ -1717,6 +1806,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1717
1806
|
class CreateApiKeyCredentialProviderRequest < Struct.new(
|
|
1718
1807
|
:name,
|
|
1719
1808
|
:api_key,
|
|
1809
|
+
:api_key_secret_config,
|
|
1810
|
+
:api_key_secret_source,
|
|
1720
1811
|
:tags)
|
|
1721
1812
|
SENSITIVE = [:api_key]
|
|
1722
1813
|
include Aws::Structure
|
|
@@ -1726,6 +1817,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
1726
1817
|
# The Amazon Resource Name (ARN) of the secret containing the API key.
|
|
1727
1818
|
# @return [Types::Secret]
|
|
1728
1819
|
#
|
|
1820
|
+
# @!attribute [rw] api_key_secret_json_key
|
|
1821
|
+
# The JSON key used to extract the API key value from the AWS Secrets
|
|
1822
|
+
# Manager secret.
|
|
1823
|
+
# @return [String]
|
|
1824
|
+
#
|
|
1825
|
+
# @!attribute [rw] api_key_secret_source
|
|
1826
|
+
# The source type of the API key secret. Either `MANAGED` if the
|
|
1827
|
+
# secret is managed by the service, or `EXTERNAL` if managed by the
|
|
1828
|
+
# user in AWS Secrets Manager.
|
|
1829
|
+
# @return [String]
|
|
1830
|
+
#
|
|
1729
1831
|
# @!attribute [rw] name
|
|
1730
1832
|
# The name of the created API key credential provider.
|
|
1731
1833
|
# @return [String]
|
|
@@ -1739,6 +1841,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1739
1841
|
#
|
|
1740
1842
|
class CreateApiKeyCredentialProviderResponse < Struct.new(
|
|
1741
1843
|
:api_key_secret_arn,
|
|
1844
|
+
:api_key_secret_json_key,
|
|
1845
|
+
:api_key_secret_source,
|
|
1742
1846
|
:name,
|
|
1743
1847
|
:credential_provider_arn)
|
|
1744
1848
|
SENSITIVE = []
|
|
@@ -3053,6 +3157,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
3053
3157
|
# Manager.
|
|
3054
3158
|
# @return [Types::Secret]
|
|
3055
3159
|
#
|
|
3160
|
+
# @!attribute [rw] client_secret_json_key
|
|
3161
|
+
# The JSON key used to extract the client secret value from the AWS
|
|
3162
|
+
# Secrets Manager secret.
|
|
3163
|
+
# @return [String]
|
|
3164
|
+
#
|
|
3165
|
+
# @!attribute [rw] client_secret_source
|
|
3166
|
+
# The source type of the client secret. Either `MANAGED` if the secret
|
|
3167
|
+
# is managed by the service, or `EXTERNAL` if managed by the user in
|
|
3168
|
+
# AWS Secrets Manager.
|
|
3169
|
+
# @return [String]
|
|
3170
|
+
#
|
|
3056
3171
|
# @!attribute [rw] name
|
|
3057
3172
|
# The name of the OAuth2 credential provider.
|
|
3058
3173
|
# @return [String]
|
|
@@ -3079,6 +3194,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
3079
3194
|
#
|
|
3080
3195
|
class CreateOauth2CredentialProviderResponse < Struct.new(
|
|
3081
3196
|
:client_secret_arn,
|
|
3197
|
+
:client_secret_json_key,
|
|
3198
|
+
:client_secret_source,
|
|
3082
3199
|
:name,
|
|
3083
3200
|
:credential_provider_arn,
|
|
3084
3201
|
:callback_url,
|
|
@@ -4422,16 +4539,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
4422
4539
|
# The client secret for the custom OAuth2 provider.
|
|
4423
4540
|
# @return [String]
|
|
4424
4541
|
#
|
|
4425
|
-
# @!attribute [rw]
|
|
4426
|
-
#
|
|
4427
|
-
#
|
|
4428
|
-
#
|
|
4429
|
-
#
|
|
4542
|
+
# @!attribute [rw] client_secret_config
|
|
4543
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
4544
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
4545
|
+
# the client secret value from the secret. Required when
|
|
4546
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
4547
|
+
# @return [Types::SecretReference]
|
|
4430
4548
|
#
|
|
4431
|
-
# @!attribute [rw]
|
|
4432
|
-
# The
|
|
4433
|
-
#
|
|
4434
|
-
#
|
|
4549
|
+
# @!attribute [rw] client_secret_source
|
|
4550
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
4551
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
4552
|
+
# yourself in AWS Secrets Manager.
|
|
4553
|
+
# @return [String]
|
|
4435
4554
|
#
|
|
4436
4555
|
# @!attribute [rw] on_behalf_of_token_exchange_config
|
|
4437
4556
|
# The configuration for on-behalf-of token exchange. This enables
|
|
@@ -4444,16 +4563,29 @@ module Aws::BedrockAgentCoreControl
|
|
|
4444
4563
|
# token endpoint.
|
|
4445
4564
|
# @return [String]
|
|
4446
4565
|
#
|
|
4566
|
+
# @!attribute [rw] private_endpoint
|
|
4567
|
+
# The default private endpoint for the custom OAuth2 provider,
|
|
4568
|
+
# enabling secure connectivity through a VPC Lattice resource
|
|
4569
|
+
# configuration.
|
|
4570
|
+
# @return [Types::PrivateEndpoint]
|
|
4571
|
+
#
|
|
4572
|
+
# @!attribute [rw] private_endpoint_overrides
|
|
4573
|
+
# The private endpoint overrides for the custom OAuth2 provider
|
|
4574
|
+
# configuration.
|
|
4575
|
+
# @return [Array<Types::PrivateEndpointOverride>]
|
|
4576
|
+
#
|
|
4447
4577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomOauth2ProviderConfigInput AWS API Documentation
|
|
4448
4578
|
#
|
|
4449
4579
|
class CustomOauth2ProviderConfigInput < Struct.new(
|
|
4450
4580
|
:oauth_discovery,
|
|
4451
4581
|
:client_id,
|
|
4452
4582
|
:client_secret,
|
|
4453
|
-
:
|
|
4454
|
-
:
|
|
4583
|
+
:client_secret_config,
|
|
4584
|
+
:client_secret_source,
|
|
4455
4585
|
:on_behalf_of_token_exchange_config,
|
|
4456
|
-
:client_authentication_method
|
|
4586
|
+
:client_authentication_method,
|
|
4587
|
+
:private_endpoint,
|
|
4588
|
+
:private_endpoint_overrides)
|
|
4457
4589
|
SENSITIVE = [:client_secret]
|
|
4458
4590
|
include Aws::Structure
|
|
4459
4591
|
end
|
|
@@ -6999,6 +7131,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
6999
7131
|
# Manager.
|
|
7000
7132
|
# @return [Types::Secret]
|
|
7001
7133
|
#
|
|
7134
|
+
# @!attribute [rw] api_key_secret_json_key
|
|
7135
|
+
# The JSON key used to extract the API key value from the AWS Secrets
|
|
7136
|
+
# Manager secret.
|
|
7137
|
+
# @return [String]
|
|
7138
|
+
#
|
|
7139
|
+
# @!attribute [rw] api_key_secret_source
|
|
7140
|
+
# The source type of the API key secret. Either `MANAGED` if the
|
|
7141
|
+
# secret is managed by the service, or `EXTERNAL` if managed by the
|
|
7142
|
+
# user in AWS Secrets Manager.
|
|
7143
|
+
# @return [String]
|
|
7144
|
+
#
|
|
7002
7145
|
# @!attribute [rw] name
|
|
7003
7146
|
# The name of the API key credential provider.
|
|
7004
7147
|
# @return [String]
|
|
@@ -7019,6 +7162,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
7019
7162
|
#
|
|
7020
7163
|
class GetApiKeyCredentialProviderResponse < Struct.new(
|
|
7021
7164
|
:api_key_secret_arn,
|
|
7165
|
+
:api_key_secret_json_key,
|
|
7166
|
+
:api_key_secret_source,
|
|
7022
7167
|
:name,
|
|
7023
7168
|
:credential_provider_arn,
|
|
7024
7169
|
:created_time,
|
|
@@ -7997,6 +8142,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
7997
8142
|
# Manager.
|
|
7998
8143
|
# @return [Types::Secret]
|
|
7999
8144
|
#
|
|
8145
|
+
# @!attribute [rw] client_secret_json_key
|
|
8146
|
+
# The JSON key used to extract the client secret value from the AWS
|
|
8147
|
+
# Secrets Manager secret.
|
|
8148
|
+
# @return [String]
|
|
8149
|
+
#
|
|
8150
|
+
# @!attribute [rw] client_secret_source
|
|
8151
|
+
# The source type of the client secret. Either `MANAGED` if the secret
|
|
8152
|
+
# is managed by the service, or `EXTERNAL` if managed by the user in
|
|
8153
|
+
# AWS Secrets Manager.
|
|
8154
|
+
# @return [String]
|
|
8155
|
+
#
|
|
8000
8156
|
# @!attribute [rw] name
|
|
8001
8157
|
# The name of the OAuth2 credential provider.
|
|
8002
8158
|
# @return [String]
|
|
@@ -8040,6 +8196,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
8040
8196
|
#
|
|
8041
8197
|
class GetOauth2CredentialProviderResponse < Struct.new(
|
|
8042
8198
|
:client_secret_arn,
|
|
8199
|
+
:client_secret_json_key,
|
|
8200
|
+
:client_secret_source,
|
|
8043
8201
|
:name,
|
|
8044
8202
|
:credential_provider_arn,
|
|
8045
8203
|
:credential_provider_vendor,
|
|
@@ -9127,11 +9285,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
9127
9285
|
# The client secret for the GitHub OAuth2 provider.
|
|
9128
9286
|
# @return [String]
|
|
9129
9287
|
#
|
|
9288
|
+
# @!attribute [rw] client_secret_config
|
|
9289
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
9290
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
9291
|
+
# the client secret value from the secret. Required when
|
|
9292
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
9293
|
+
# @return [Types::SecretReference]
|
|
9294
|
+
#
|
|
9295
|
+
# @!attribute [rw] client_secret_source
|
|
9296
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
9297
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
9298
|
+
# yourself in AWS Secrets Manager.
|
|
9299
|
+
# @return [String]
|
|
9300
|
+
#
|
|
9130
9301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GithubOauth2ProviderConfigInput AWS API Documentation
|
|
9131
9302
|
#
|
|
9132
9303
|
class GithubOauth2ProviderConfigInput < Struct.new(
|
|
9133
9304
|
:client_id,
|
|
9134
|
-
:client_secret
|
|
9305
|
+
:client_secret,
|
|
9306
|
+
:client_secret_config,
|
|
9307
|
+
:client_secret_source)
|
|
9135
9308
|
SENSITIVE = [:client_secret]
|
|
9136
9309
|
include Aws::Structure
|
|
9137
9310
|
end
|
|
@@ -9165,11 +9338,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
9165
9338
|
# The client secret for the Google OAuth2 provider.
|
|
9166
9339
|
# @return [String]
|
|
9167
9340
|
#
|
|
9341
|
+
# @!attribute [rw] client_secret_config
|
|
9342
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
9343
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
9344
|
+
# the client secret value from the secret. Required when
|
|
9345
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
9346
|
+
# @return [Types::SecretReference]
|
|
9347
|
+
#
|
|
9348
|
+
# @!attribute [rw] client_secret_source
|
|
9349
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
9350
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
9351
|
+
# yourself in AWS Secrets Manager.
|
|
9352
|
+
# @return [String]
|
|
9353
|
+
#
|
|
9168
9354
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GoogleOauth2ProviderConfigInput AWS API Documentation
|
|
9169
9355
|
#
|
|
9170
9356
|
class GoogleOauth2ProviderConfigInput < Struct.new(
|
|
9171
9357
|
:client_id,
|
|
9172
|
-
:client_secret
|
|
9358
|
+
:client_secret,
|
|
9359
|
+
:client_secret_config,
|
|
9360
|
+
:client_secret_source)
|
|
9173
9361
|
SENSITIVE = [:client_secret]
|
|
9174
9362
|
include Aws::Structure
|
|
9175
9363
|
end
|
|
@@ -9510,13 +9698,24 @@ module Aws::BedrockAgentCoreControl
|
|
|
9510
9698
|
# The topP set when calling the model.
|
|
9511
9699
|
# @return [Float]
|
|
9512
9700
|
#
|
|
9701
|
+
# @!attribute [rw] api_format
|
|
9702
|
+
# The API format to use when calling the Bedrock provider.
|
|
9703
|
+
# @return [String]
|
|
9704
|
+
#
|
|
9705
|
+
# @!attribute [rw] additional_params
|
|
9706
|
+
# Provider-specific parameters passed through to the model provider
|
|
9707
|
+
# unchanged.
|
|
9708
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
9709
|
+
#
|
|
9513
9710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessBedrockModelConfig AWS API Documentation
|
|
9514
9711
|
#
|
|
9515
9712
|
class HarnessBedrockModelConfig < Struct.new(
|
|
9516
9713
|
:model_id,
|
|
9517
9714
|
:max_tokens,
|
|
9518
9715
|
:temperature,
|
|
9519
|
-
:top_p
|
|
9716
|
+
:top_p,
|
|
9717
|
+
:api_format,
|
|
9718
|
+
:additional_params)
|
|
9520
9719
|
SENSITIVE = []
|
|
9521
9720
|
include Aws::Structure
|
|
9522
9721
|
end
|
|
@@ -9602,9 +9801,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
9602
9801
|
# @return [Types::Unit]
|
|
9603
9802
|
#
|
|
9604
9803
|
# @!attribute [rw] oauth
|
|
9605
|
-
#
|
|
9606
|
-
# structure contains the configuration for authenticating with the
|
|
9607
|
-
# target endpoint using OAuth.
|
|
9804
|
+
# Use OAuth credentials for outbound authentication to the gateway.
|
|
9608
9805
|
# @return [Types::OAuthCredentialProvider]
|
|
9609
9806
|
#
|
|
9610
9807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessGatewayOutboundAuth AWS API Documentation
|
|
@@ -9685,6 +9882,54 @@ module Aws::BedrockAgentCoreControl
|
|
|
9685
9882
|
include Aws::Structure
|
|
9686
9883
|
end
|
|
9687
9884
|
|
|
9885
|
+
# Configuration for a LiteLLM model provider, enabling connection to
|
|
9886
|
+
# third-party model providers.
|
|
9887
|
+
#
|
|
9888
|
+
# @!attribute [rw] model_id
|
|
9889
|
+
# The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").
|
|
9890
|
+
# @return [String]
|
|
9891
|
+
#
|
|
9892
|
+
# @!attribute [rw] api_key_arn
|
|
9893
|
+
# The ARN of the API key in AgentCore Identity for authenticating with
|
|
9894
|
+
# the model provider.
|
|
9895
|
+
# @return [String]
|
|
9896
|
+
#
|
|
9897
|
+
# @!attribute [rw] api_base
|
|
9898
|
+
# The base URL for the model provider's API endpoint.
|
|
9899
|
+
# @return [String]
|
|
9900
|
+
#
|
|
9901
|
+
# @!attribute [rw] max_tokens
|
|
9902
|
+
# The maximum number of tokens to allow in the generated response per
|
|
9903
|
+
# iteration.
|
|
9904
|
+
# @return [Integer]
|
|
9905
|
+
#
|
|
9906
|
+
# @!attribute [rw] temperature
|
|
9907
|
+
# The temperature to set when calling the model.
|
|
9908
|
+
# @return [Float]
|
|
9909
|
+
#
|
|
9910
|
+
# @!attribute [rw] top_p
|
|
9911
|
+
# The topP set when calling the model.
|
|
9912
|
+
# @return [Float]
|
|
9913
|
+
#
|
|
9914
|
+
# @!attribute [rw] additional_params
|
|
9915
|
+
# Provider-specific parameters passed through to the model provider
|
|
9916
|
+
# unchanged.
|
|
9917
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
9918
|
+
#
|
|
9919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessLiteLlmModelConfig AWS API Documentation
|
|
9920
|
+
#
|
|
9921
|
+
class HarnessLiteLlmModelConfig < Struct.new(
|
|
9922
|
+
:model_id,
|
|
9923
|
+
:api_key_arn,
|
|
9924
|
+
:api_base,
|
|
9925
|
+
:max_tokens,
|
|
9926
|
+
:temperature,
|
|
9927
|
+
:top_p,
|
|
9928
|
+
:additional_params)
|
|
9929
|
+
SENSITIVE = [:api_base]
|
|
9930
|
+
include Aws::Structure
|
|
9931
|
+
end
|
|
9932
|
+
|
|
9688
9933
|
# The memory configuration for a harness.
|
|
9689
9934
|
#
|
|
9690
9935
|
# @note HarnessMemoryConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
@@ -9726,12 +9971,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
9726
9971
|
# Configuration for a Google Gemini model.
|
|
9727
9972
|
# @return [Types::HarnessGeminiModelConfig]
|
|
9728
9973
|
#
|
|
9974
|
+
# @!attribute [rw] lite_llm_model_config
|
|
9975
|
+
# The LiteLLM model configuration for connecting to third-party model
|
|
9976
|
+
# providers.
|
|
9977
|
+
# @return [Types::HarnessLiteLlmModelConfig]
|
|
9978
|
+
#
|
|
9729
9979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessModelConfiguration AWS API Documentation
|
|
9730
9980
|
#
|
|
9731
9981
|
class HarnessModelConfiguration < Struct.new(
|
|
9732
9982
|
:bedrock_model_config,
|
|
9733
9983
|
:open_ai_model_config,
|
|
9734
9984
|
:gemini_model_config,
|
|
9985
|
+
:lite_llm_model_config,
|
|
9735
9986
|
:unknown)
|
|
9736
9987
|
SENSITIVE = []
|
|
9737
9988
|
include Aws::Structure
|
|
@@ -9740,6 +9991,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
9740
9991
|
class BedrockModelConfig < HarnessModelConfiguration; end
|
|
9741
9992
|
class OpenAiModelConfig < HarnessModelConfiguration; end
|
|
9742
9993
|
class GeminiModelConfig < HarnessModelConfiguration; end
|
|
9994
|
+
class LiteLlmModelConfig < HarnessModelConfiguration; end
|
|
9743
9995
|
class Unknown < HarnessModelConfiguration; end
|
|
9744
9996
|
end
|
|
9745
9997
|
|
|
@@ -9767,6 +10019,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
9767
10019
|
# The topP set when calling the model.
|
|
9768
10020
|
# @return [Float]
|
|
9769
10021
|
#
|
|
10022
|
+
# @!attribute [rw] api_format
|
|
10023
|
+
# The API format to use when calling the OpenAI provider.
|
|
10024
|
+
# @return [String]
|
|
10025
|
+
#
|
|
10026
|
+
# @!attribute [rw] additional_params
|
|
10027
|
+
# Provider-specific parameters passed through to the model provider
|
|
10028
|
+
# unchanged.
|
|
10029
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
10030
|
+
#
|
|
9770
10031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessOpenAiModelConfig AWS API Documentation
|
|
9771
10032
|
#
|
|
9772
10033
|
class HarnessOpenAiModelConfig < Struct.new(
|
|
@@ -9774,7 +10035,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
9774
10035
|
:api_key_arn,
|
|
9775
10036
|
:max_tokens,
|
|
9776
10037
|
:temperature,
|
|
9777
|
-
:top_p
|
|
10038
|
+
:top_p,
|
|
10039
|
+
:api_format,
|
|
10040
|
+
:additional_params)
|
|
9778
10041
|
SENSITIVE = []
|
|
9779
10042
|
include Aws::Structure
|
|
9780
10043
|
end
|
|
@@ -9808,19 +10071,91 @@ module Aws::BedrockAgentCoreControl
|
|
|
9808
10071
|
# The filesystem path to the skill definition.
|
|
9809
10072
|
# @return [String]
|
|
9810
10073
|
#
|
|
10074
|
+
# @!attribute [rw] s3
|
|
10075
|
+
# An S3 source containing the skill.
|
|
10076
|
+
# @return [Types::HarnessSkillS3Source]
|
|
10077
|
+
#
|
|
10078
|
+
# @!attribute [rw] git
|
|
10079
|
+
# A git repository containing the skill.
|
|
10080
|
+
# @return [Types::HarnessSkillGitSource]
|
|
10081
|
+
#
|
|
9811
10082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessSkill AWS API Documentation
|
|
9812
10083
|
#
|
|
9813
10084
|
class HarnessSkill < Struct.new(
|
|
9814
10085
|
:path,
|
|
10086
|
+
:s3,
|
|
10087
|
+
:git,
|
|
9815
10088
|
:unknown)
|
|
9816
10089
|
SENSITIVE = []
|
|
9817
10090
|
include Aws::Structure
|
|
9818
10091
|
include Aws::Structure::Union
|
|
9819
10092
|
|
|
9820
10093
|
class Path < HarnessSkill; end
|
|
10094
|
+
class S3 < HarnessSkill; end
|
|
10095
|
+
class Git < HarnessSkill; end
|
|
9821
10096
|
class Unknown < HarnessSkill; end
|
|
9822
10097
|
end
|
|
9823
10098
|
|
|
10099
|
+
# Authentication configuration for accessing a private git repository.
|
|
10100
|
+
#
|
|
10101
|
+
# @!attribute [rw] credential_arn
|
|
10102
|
+
# The ARN of the credential in AgentCore Identity containing the
|
|
10103
|
+
# password or personal access token.
|
|
10104
|
+
# @return [String]
|
|
10105
|
+
#
|
|
10106
|
+
# @!attribute [rw] username
|
|
10107
|
+
# Username for authentication. Defaults to 'oauth2' if not
|
|
10108
|
+
# specified.
|
|
10109
|
+
# @return [String]
|
|
10110
|
+
#
|
|
10111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessSkillGitAuth AWS API Documentation
|
|
10112
|
+
#
|
|
10113
|
+
class HarnessSkillGitAuth < Struct.new(
|
|
10114
|
+
:credential_arn,
|
|
10115
|
+
:username)
|
|
10116
|
+
SENSITIVE = []
|
|
10117
|
+
include Aws::Structure
|
|
10118
|
+
end
|
|
10119
|
+
|
|
10120
|
+
# A git repository source for a skill.
|
|
10121
|
+
#
|
|
10122
|
+
# @!attribute [rw] url
|
|
10123
|
+
# The HTTPS URL of the git repository.
|
|
10124
|
+
# @return [String]
|
|
10125
|
+
#
|
|
10126
|
+
# @!attribute [rw] path
|
|
10127
|
+
# Subdirectory within the repository containing the skill.
|
|
10128
|
+
# @return [String]
|
|
10129
|
+
#
|
|
10130
|
+
# @!attribute [rw] auth
|
|
10131
|
+
# Authentication configuration for private repositories.
|
|
10132
|
+
# @return [Types::HarnessSkillGitAuth]
|
|
10133
|
+
#
|
|
10134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessSkillGitSource AWS API Documentation
|
|
10135
|
+
#
|
|
10136
|
+
class HarnessSkillGitSource < Struct.new(
|
|
10137
|
+
:url,
|
|
10138
|
+
:path,
|
|
10139
|
+
:auth)
|
|
10140
|
+
SENSITIVE = []
|
|
10141
|
+
include Aws::Structure
|
|
10142
|
+
end
|
|
10143
|
+
|
|
10144
|
+
# An S3 source for a skill.
|
|
10145
|
+
#
|
|
10146
|
+
# @!attribute [rw] uri
|
|
10147
|
+
# The S3 URI pointing to the skill directory (e.g.,
|
|
10148
|
+
# s3://bucket/skills/my-skill/).
|
|
10149
|
+
# @return [String]
|
|
10150
|
+
#
|
|
10151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/HarnessSkillS3Source AWS API Documentation
|
|
10152
|
+
#
|
|
10153
|
+
class HarnessSkillS3Source < Struct.new(
|
|
10154
|
+
:uri)
|
|
10155
|
+
SENSITIVE = []
|
|
10156
|
+
include Aws::Structure
|
|
10157
|
+
end
|
|
10158
|
+
|
|
9824
10159
|
# Configuration for sliding window truncation strategy.
|
|
9825
10160
|
#
|
|
9826
10161
|
# @!attribute [rw] messages_count
|
|
@@ -10128,6 +10463,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
10128
10463
|
# authenticate your application.
|
|
10129
10464
|
# @return [String]
|
|
10130
10465
|
#
|
|
10466
|
+
# @!attribute [rw] client_secret_config
|
|
10467
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
10468
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
10469
|
+
# the client secret value from the secret. Required when
|
|
10470
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
10471
|
+
# @return [Types::SecretReference]
|
|
10472
|
+
#
|
|
10473
|
+
# @!attribute [rw] client_secret_source
|
|
10474
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
10475
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
10476
|
+
# yourself in AWS Secrets Manager.
|
|
10477
|
+
# @return [String]
|
|
10478
|
+
#
|
|
10131
10479
|
# @!attribute [rw] issuer
|
|
10132
10480
|
# Token issuer of your isolated OAuth2 application tenant. This URL
|
|
10133
10481
|
# identifies the authorization server that issues tokens for this
|
|
@@ -10150,6 +10498,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
10150
10498
|
class IncludedOauth2ProviderConfigInput < Struct.new(
|
|
10151
10499
|
:client_id,
|
|
10152
10500
|
:client_secret,
|
|
10501
|
+
:client_secret_config,
|
|
10502
|
+
:client_secret_source,
|
|
10153
10503
|
:issuer,
|
|
10154
10504
|
:authorization_endpoint,
|
|
10155
10505
|
:token_endpoint)
|
|
@@ -10452,11 +10802,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
10452
10802
|
# authenticate your application.
|
|
10453
10803
|
# @return [String]
|
|
10454
10804
|
#
|
|
10805
|
+
# @!attribute [rw] client_secret_config
|
|
10806
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
10807
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
10808
|
+
# the client secret value from the secret. Required when
|
|
10809
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
10810
|
+
# @return [Types::SecretReference]
|
|
10811
|
+
#
|
|
10812
|
+
# @!attribute [rw] client_secret_source
|
|
10813
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
10814
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
10815
|
+
# yourself in AWS Secrets Manager.
|
|
10816
|
+
# @return [String]
|
|
10817
|
+
#
|
|
10455
10818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/LinkedinOauth2ProviderConfigInput AWS API Documentation
|
|
10456
10819
|
#
|
|
10457
10820
|
class LinkedinOauth2ProviderConfigInput < Struct.new(
|
|
10458
10821
|
:client_id,
|
|
10459
|
-
:client_secret
|
|
10822
|
+
:client_secret,
|
|
10823
|
+
:client_secret_config,
|
|
10824
|
+
:client_secret_source)
|
|
10460
10825
|
SENSITIVE = [:client_secret]
|
|
10461
10826
|
include Aws::Structure
|
|
10462
10827
|
end
|
|
@@ -12737,6 +13102,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
12737
13102
|
# The client secret for the Microsoft OAuth2 provider.
|
|
12738
13103
|
# @return [String]
|
|
12739
13104
|
#
|
|
13105
|
+
# @!attribute [rw] client_secret_config
|
|
13106
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
13107
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
13108
|
+
# the client secret value from the secret. Required when
|
|
13109
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
13110
|
+
# @return [Types::SecretReference]
|
|
13111
|
+
#
|
|
13112
|
+
# @!attribute [rw] client_secret_source
|
|
13113
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
13114
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
13115
|
+
# yourself in AWS Secrets Manager.
|
|
13116
|
+
# @return [String]
|
|
13117
|
+
#
|
|
12740
13118
|
# @!attribute [rw] tenant_id
|
|
12741
13119
|
# The Microsoft Entra ID (formerly Azure AD) tenant ID for your
|
|
12742
13120
|
# organization. This identifies the specific tenant within
|
|
@@ -12748,6 +13126,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
12748
13126
|
class MicrosoftOauth2ProviderConfigInput < Struct.new(
|
|
12749
13127
|
:client_id,
|
|
12750
13128
|
:client_secret,
|
|
13129
|
+
:client_secret_config,
|
|
13130
|
+
:client_secret_source,
|
|
12751
13131
|
:tenant_id)
|
|
12752
13132
|
SENSITIVE = [:client_secret]
|
|
12753
13133
|
include Aws::Structure
|
|
@@ -14899,11 +15279,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
14899
15279
|
# The client secret for the Salesforce OAuth2 provider.
|
|
14900
15280
|
# @return [String]
|
|
14901
15281
|
#
|
|
15282
|
+
# @!attribute [rw] client_secret_config
|
|
15283
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
15284
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
15285
|
+
# the client secret value from the secret. Required when
|
|
15286
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
15287
|
+
# @return [Types::SecretReference]
|
|
15288
|
+
#
|
|
15289
|
+
# @!attribute [rw] client_secret_source
|
|
15290
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
15291
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
15292
|
+
# yourself in AWS Secrets Manager.
|
|
15293
|
+
# @return [String]
|
|
15294
|
+
#
|
|
14902
15295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SalesforceOauth2ProviderConfigInput AWS API Documentation
|
|
14903
15296
|
#
|
|
14904
15297
|
class SalesforceOauth2ProviderConfigInput < Struct.new(
|
|
14905
15298
|
:client_id,
|
|
14906
|
-
:client_secret
|
|
15299
|
+
:client_secret,
|
|
15300
|
+
:client_secret_config,
|
|
15301
|
+
:client_secret_source)
|
|
14907
15302
|
SENSITIVE = [:client_secret]
|
|
14908
15303
|
include Aws::Structure
|
|
14909
15304
|
end
|
|
@@ -14997,6 +15392,27 @@ module Aws::BedrockAgentCoreControl
|
|
|
14997
15392
|
include Aws::Structure
|
|
14998
15393
|
end
|
|
14999
15394
|
|
|
15395
|
+
# Contains a reference to a secret stored in AWS Secrets Manager.
|
|
15396
|
+
#
|
|
15397
|
+
# @!attribute [rw] secret_id
|
|
15398
|
+
# The ID of the AWS Secrets Manager secret that stores the secret
|
|
15399
|
+
# value.
|
|
15400
|
+
# @return [String]
|
|
15401
|
+
#
|
|
15402
|
+
# @!attribute [rw] json_key
|
|
15403
|
+
# The JSON key used to extract the secret value from the AWS Secrets
|
|
15404
|
+
# Manager secret.
|
|
15405
|
+
# @return [String]
|
|
15406
|
+
#
|
|
15407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SecretReference AWS API Documentation
|
|
15408
|
+
#
|
|
15409
|
+
class SecretReference < Struct.new(
|
|
15410
|
+
:secret_id,
|
|
15411
|
+
:json_key)
|
|
15412
|
+
SENSITIVE = []
|
|
15413
|
+
include Aws::Structure
|
|
15414
|
+
end
|
|
15415
|
+
|
|
15000
15416
|
# The Amazon Web Services Secrets Manager location configuration.
|
|
15001
15417
|
#
|
|
15002
15418
|
# @!attribute [rw] secret_arn
|
|
@@ -15405,11 +15821,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
15405
15821
|
# The client secret for the Slack OAuth2 provider.
|
|
15406
15822
|
# @return [String]
|
|
15407
15823
|
#
|
|
15824
|
+
# @!attribute [rw] client_secret_config
|
|
15825
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
15826
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
15827
|
+
# the client secret value from the secret. Required when
|
|
15828
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
15829
|
+
# @return [Types::SecretReference]
|
|
15830
|
+
#
|
|
15831
|
+
# @!attribute [rw] client_secret_source
|
|
15832
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
15833
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
15834
|
+
# yourself in AWS Secrets Manager.
|
|
15835
|
+
# @return [String]
|
|
15836
|
+
#
|
|
15408
15837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SlackOauth2ProviderConfigInput AWS API Documentation
|
|
15409
15838
|
#
|
|
15410
15839
|
class SlackOauth2ProviderConfigInput < Struct.new(
|
|
15411
15840
|
:client_id,
|
|
15412
|
-
:client_secret
|
|
15841
|
+
:client_secret,
|
|
15842
|
+
:client_secret_config,
|
|
15843
|
+
:client_secret_source)
|
|
15413
15844
|
SENSITIVE = [:client_secret]
|
|
15414
15845
|
include Aws::Structure
|
|
15415
15846
|
end
|
|
@@ -15704,10 +16135,37 @@ module Aws::BedrockAgentCoreControl
|
|
|
15704
16135
|
# The app secret provided by Privy.
|
|
15705
16136
|
# @return [String]
|
|
15706
16137
|
#
|
|
16138
|
+
# @!attribute [rw] app_secret_source
|
|
16139
|
+
# The source type of the app secret. Use `MANAGED` if the secret is
|
|
16140
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
16141
|
+
# yourself in AWS Secrets Manager.
|
|
16142
|
+
# @return [String]
|
|
16143
|
+
#
|
|
16144
|
+
# @!attribute [rw] app_secret_config
|
|
16145
|
+
# A reference to the AWS Secrets Manager secret that stores the app
|
|
16146
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
16147
|
+
# the app secret value from the secret. Required when
|
|
16148
|
+
# `appSecretSource` is set to `EXTERNAL`.
|
|
16149
|
+
# @return [Types::SecretReference]
|
|
16150
|
+
#
|
|
15707
16151
|
# @!attribute [rw] authorization_private_key
|
|
15708
16152
|
# The authorization private key for the Stripe Privy integration.
|
|
15709
16153
|
# @return [String]
|
|
15710
16154
|
#
|
|
16155
|
+
# @!attribute [rw] authorization_private_key_source
|
|
16156
|
+
# The source type of the authorization private key. Use `MANAGED` if
|
|
16157
|
+
# the secret is managed by the service, or `EXTERNAL` if you manage
|
|
16158
|
+
# the secret yourself in AWS Secrets Manager.
|
|
16159
|
+
# @return [String]
|
|
16160
|
+
#
|
|
16161
|
+
# @!attribute [rw] authorization_private_key_config
|
|
16162
|
+
# A reference to the AWS Secrets Manager secret that stores the
|
|
16163
|
+
# authorization private key. This includes the secret ID and the JSON
|
|
16164
|
+
# key used to extract the authorization private key value from the
|
|
16165
|
+
# secret. Required when `authorizationPrivateKeySource` is set to
|
|
16166
|
+
# `EXTERNAL`.
|
|
16167
|
+
# @return [Types::SecretReference]
|
|
16168
|
+
#
|
|
15711
16169
|
# @!attribute [rw] authorization_id
|
|
15712
16170
|
# The authorization ID for the Stripe Privy integration.
|
|
15713
16171
|
# @return [String]
|
|
@@ -15717,7 +16175,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
15717
16175
|
class StripePrivyConfigurationInput < Struct.new(
|
|
15718
16176
|
:app_id,
|
|
15719
16177
|
:app_secret,
|
|
16178
|
+
:app_secret_source,
|
|
16179
|
+
:app_secret_config,
|
|
15720
16180
|
:authorization_private_key,
|
|
16181
|
+
:authorization_private_key_source,
|
|
16182
|
+
:authorization_private_key_config,
|
|
15721
16183
|
:authorization_id)
|
|
15722
16184
|
SENSITIVE = [:app_secret, :authorization_private_key]
|
|
15723
16185
|
include Aws::Structure
|
|
@@ -15733,10 +16195,32 @@ module Aws::BedrockAgentCoreControl
|
|
|
15733
16195
|
# Contains information about a secret in AWS Secrets Manager.
|
|
15734
16196
|
# @return [Types::Secret]
|
|
15735
16197
|
#
|
|
16198
|
+
# @!attribute [rw] app_secret_json_key
|
|
16199
|
+
# The JSON key used to extract the app secret value from the AWS
|
|
16200
|
+
# Secrets Manager secret.
|
|
16201
|
+
# @return [String]
|
|
16202
|
+
#
|
|
16203
|
+
# @!attribute [rw] app_secret_source
|
|
16204
|
+
# The source type of the app secret. Either `MANAGED` if the secret is
|
|
16205
|
+
# managed by the service, or `EXTERNAL` if managed by the user in AWS
|
|
16206
|
+
# Secrets Manager.
|
|
16207
|
+
# @return [String]
|
|
16208
|
+
#
|
|
15736
16209
|
# @!attribute [rw] authorization_private_key_arn
|
|
15737
16210
|
# Contains information about a secret in AWS Secrets Manager.
|
|
15738
16211
|
# @return [Types::Secret]
|
|
15739
16212
|
#
|
|
16213
|
+
# @!attribute [rw] authorization_private_key_json_key
|
|
16214
|
+
# The JSON key used to extract the authorization private key value
|
|
16215
|
+
# from the AWS Secrets Manager secret.
|
|
16216
|
+
# @return [String]
|
|
16217
|
+
#
|
|
16218
|
+
# @!attribute [rw] authorization_private_key_source
|
|
16219
|
+
# The source type of the authorization private key. Either `MANAGED`
|
|
16220
|
+
# if the secret is managed by the service, or `EXTERNAL` if managed by
|
|
16221
|
+
# the user in AWS Secrets Manager.
|
|
16222
|
+
# @return [String]
|
|
16223
|
+
#
|
|
15740
16224
|
# @!attribute [rw] authorization_id
|
|
15741
16225
|
# The authorization ID for the Stripe Privy integration.
|
|
15742
16226
|
# @return [String]
|
|
@@ -15746,7 +16230,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
15746
16230
|
class StripePrivyConfigurationOutput < Struct.new(
|
|
15747
16231
|
:app_id,
|
|
15748
16232
|
:app_secret_arn,
|
|
16233
|
+
:app_secret_json_key,
|
|
16234
|
+
:app_secret_source,
|
|
15749
16235
|
:authorization_private_key_arn,
|
|
16236
|
+
:authorization_private_key_json_key,
|
|
16237
|
+
:authorization_private_key_source,
|
|
15750
16238
|
:authorization_id)
|
|
15751
16239
|
SENSITIVE = []
|
|
15752
16240
|
include Aws::Structure
|
|
@@ -16635,11 +17123,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
16635
17123
|
# existing API key and is encrypted and stored securely.
|
|
16636
17124
|
# @return [String]
|
|
16637
17125
|
#
|
|
17126
|
+
# @!attribute [rw] api_key_secret_config
|
|
17127
|
+
# A reference to the AWS Secrets Manager secret that stores the API
|
|
17128
|
+
# key. This includes the secret ID and the JSON key used to extract
|
|
17129
|
+
# the API key value from the secret. Required when
|
|
17130
|
+
# `apiKeySecretSource` is set to `EXTERNAL`.
|
|
17131
|
+
# @return [Types::SecretReference]
|
|
17132
|
+
#
|
|
17133
|
+
# @!attribute [rw] api_key_secret_source
|
|
17134
|
+
# The source type of the API key secret. Use `MANAGED` if the secret
|
|
17135
|
+
# is managed by the service, or `EXTERNAL` if you manage the secret
|
|
17136
|
+
# yourself in AWS Secrets Manager.
|
|
17137
|
+
# @return [String]
|
|
17138
|
+
#
|
|
16638
17139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateApiKeyCredentialProviderRequest AWS API Documentation
|
|
16639
17140
|
#
|
|
16640
17141
|
class UpdateApiKeyCredentialProviderRequest < Struct.new(
|
|
16641
17142
|
:name,
|
|
16642
|
-
:api_key
|
|
17143
|
+
:api_key,
|
|
17144
|
+
:api_key_secret_config,
|
|
17145
|
+
:api_key_secret_source)
|
|
16643
17146
|
SENSITIVE = [:api_key]
|
|
16644
17147
|
include Aws::Structure
|
|
16645
17148
|
end
|
|
@@ -16649,6 +17152,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
16649
17152
|
# Manager.
|
|
16650
17153
|
# @return [Types::Secret]
|
|
16651
17154
|
#
|
|
17155
|
+
# @!attribute [rw] api_key_secret_json_key
|
|
17156
|
+
# The JSON key used to extract the API key value from the AWS Secrets
|
|
17157
|
+
# Manager secret.
|
|
17158
|
+
# @return [String]
|
|
17159
|
+
#
|
|
17160
|
+
# @!attribute [rw] api_key_secret_source
|
|
17161
|
+
# The source type of the API key secret. Either `MANAGED` if the
|
|
17162
|
+
# secret is managed by the service, or `EXTERNAL` if managed by the
|
|
17163
|
+
# user in AWS Secrets Manager.
|
|
17164
|
+
# @return [String]
|
|
17165
|
+
#
|
|
16652
17166
|
# @!attribute [rw] name
|
|
16653
17167
|
# The name of the API key credential provider.
|
|
16654
17168
|
# @return [String]
|
|
@@ -16669,6 +17183,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
16669
17183
|
#
|
|
16670
17184
|
class UpdateApiKeyCredentialProviderResponse < Struct.new(
|
|
16671
17185
|
:api_key_secret_arn,
|
|
17186
|
+
:api_key_secret_json_key,
|
|
17187
|
+
:api_key_secret_source,
|
|
16672
17188
|
:name,
|
|
16673
17189
|
:credential_provider_arn,
|
|
16674
17190
|
:created_time,
|
|
@@ -17651,6 +18167,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
17651
18167
|
# Manager.
|
|
17652
18168
|
# @return [Types::Secret]
|
|
17653
18169
|
#
|
|
18170
|
+
# @!attribute [rw] client_secret_json_key
|
|
18171
|
+
# The JSON key used to extract the client secret value from the AWS
|
|
18172
|
+
# Secrets Manager secret.
|
|
18173
|
+
# @return [String]
|
|
18174
|
+
#
|
|
18175
|
+
# @!attribute [rw] client_secret_source
|
|
18176
|
+
# The source type of the client secret. Either `MANAGED` if the secret
|
|
18177
|
+
# is managed by the service, or `EXTERNAL` if managed by the user in
|
|
18178
|
+
# AWS Secrets Manager.
|
|
18179
|
+
# @return [String]
|
|
18180
|
+
#
|
|
17654
18181
|
# @!attribute [rw] name
|
|
17655
18182
|
# The name of the OAuth2 credential provider.
|
|
17656
18183
|
# @return [String]
|
|
@@ -17689,6 +18216,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
17689
18216
|
#
|
|
17690
18217
|
class UpdateOauth2CredentialProviderResponse < Struct.new(
|
|
17691
18218
|
:client_secret_arn,
|
|
18219
|
+
:client_secret_json_key,
|
|
18220
|
+
:client_secret_source,
|
|
17692
18221
|
:name,
|
|
17693
18222
|
:credential_provider_vendor,
|
|
17694
18223
|
:credential_provider_arn,
|