aws-sdk-bedrockagentcorecontrol 1.50.0 → 1.52.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 +341 -212
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +81 -22
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +452 -86
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +25 -3
- data/sig/params.rbs +138 -52
- data/sig/types.rbs +62 -5
- 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
|
|
@@ -1711,6 +1782,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
1711
1782
|
# stored securely.
|
|
1712
1783
|
# @return [String]
|
|
1713
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
|
+
#
|
|
1714
1798
|
# @!attribute [rw] tags
|
|
1715
1799
|
# A map of tag keys and values to assign to the API key credential
|
|
1716
1800
|
# provider. Tags enable you to categorize your resources in different
|
|
@@ -1722,6 +1806,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1722
1806
|
class CreateApiKeyCredentialProviderRequest < Struct.new(
|
|
1723
1807
|
:name,
|
|
1724
1808
|
:api_key,
|
|
1809
|
+
:api_key_secret_config,
|
|
1810
|
+
:api_key_secret_source,
|
|
1725
1811
|
:tags)
|
|
1726
1812
|
SENSITIVE = [:api_key]
|
|
1727
1813
|
include Aws::Structure
|
|
@@ -1731,6 +1817,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
1731
1817
|
# The Amazon Resource Name (ARN) of the secret containing the API key.
|
|
1732
1818
|
# @return [Types::Secret]
|
|
1733
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
|
+
#
|
|
1734
1831
|
# @!attribute [rw] name
|
|
1735
1832
|
# The name of the created API key credential provider.
|
|
1736
1833
|
# @return [String]
|
|
@@ -1744,6 +1841,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1744
1841
|
#
|
|
1745
1842
|
class CreateApiKeyCredentialProviderResponse < Struct.new(
|
|
1746
1843
|
:api_key_secret_arn,
|
|
1844
|
+
:api_key_secret_json_key,
|
|
1845
|
+
:api_key_secret_source,
|
|
1747
1846
|
:name,
|
|
1748
1847
|
:credential_provider_arn)
|
|
1749
1848
|
SENSITIVE = []
|
|
@@ -2088,15 +2187,24 @@ module Aws::BedrockAgentCoreControl
|
|
|
2088
2187
|
end
|
|
2089
2188
|
|
|
2090
2189
|
# @!attribute [rw] client_token
|
|
2091
|
-
#
|
|
2190
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
2191
|
+
# completes no more than one time. If you don't specify this field, a
|
|
2192
|
+
# value is randomly generated for you. If this token matches a
|
|
2193
|
+
# previous request, the service ignores the request, but doesn't
|
|
2194
|
+
# return an error. For more information, see [Ensuring
|
|
2195
|
+
# idempotency][1].
|
|
2092
2196
|
#
|
|
2093
2197
|
# **A suitable default value is auto-generated.** You should normally
|
|
2094
2198
|
# not need to pass this option.
|
|
2199
|
+
#
|
|
2200
|
+
#
|
|
2201
|
+
#
|
|
2202
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
2095
2203
|
# @return [String]
|
|
2096
2204
|
#
|
|
2097
2205
|
# @!attribute [rw] dataset_name
|
|
2098
|
-
# Human-readable name for the dataset.
|
|
2099
|
-
#
|
|
2206
|
+
# Human-readable name for the dataset. Must be unique within the
|
|
2207
|
+
# account. Immutable after creation.
|
|
2100
2208
|
# @return [String]
|
|
2101
2209
|
#
|
|
2102
2210
|
# @!attribute [rw] description
|
|
@@ -2114,7 +2222,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
2114
2222
|
# @return [String]
|
|
2115
2223
|
#
|
|
2116
2224
|
# @!attribute [rw] kms_key_arn
|
|
2117
|
-
# Optional
|
|
2225
|
+
# Optional KMS key ARN for server-side encryption on service Amazon S3
|
|
2226
|
+
# writes.
|
|
2118
2227
|
# @return [String]
|
|
2119
2228
|
#
|
|
2120
2229
|
# @!attribute [rw] tags
|
|
@@ -2144,8 +2253,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
2144
2253
|
# @return [String]
|
|
2145
2254
|
#
|
|
2146
2255
|
# @!attribute [rw] status
|
|
2147
|
-
# Always CREATING immediately after this call. Poll GetDataset until
|
|
2148
|
-
# status
|
|
2256
|
+
# Always CREATING immediately after this call. Poll `GetDataset` until
|
|
2257
|
+
# status transitions to ACTIVE or CREATE\_FAILED.
|
|
2149
2258
|
# @return [String]
|
|
2150
2259
|
#
|
|
2151
2260
|
# @!attribute [rw] created_at
|
|
@@ -2201,12 +2310,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
2201
2310
|
# @return [String]
|
|
2202
2311
|
#
|
|
2203
2312
|
# @!attribute [rw] status
|
|
2204
|
-
# Always UPDATING immediately after this call. Poll GetDataset until
|
|
2205
|
-
# status
|
|
2313
|
+
# Always UPDATING immediately after this call. Poll `GetDataset` until
|
|
2314
|
+
# status transitions to ACTIVE or UPDATE\_FAILED.
|
|
2206
2315
|
# @return [String]
|
|
2207
2316
|
#
|
|
2208
2317
|
# @!attribute [rw] dataset_version
|
|
2209
|
-
# The version being created.
|
|
2318
|
+
# The version number being created.
|
|
2210
2319
|
# @return [String]
|
|
2211
2320
|
#
|
|
2212
2321
|
# @!attribute [rw] created_at
|
|
@@ -3058,6 +3167,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
3058
3167
|
# Manager.
|
|
3059
3168
|
# @return [Types::Secret]
|
|
3060
3169
|
#
|
|
3170
|
+
# @!attribute [rw] client_secret_json_key
|
|
3171
|
+
# The JSON key used to extract the client secret value from the AWS
|
|
3172
|
+
# Secrets Manager secret.
|
|
3173
|
+
# @return [String]
|
|
3174
|
+
#
|
|
3175
|
+
# @!attribute [rw] client_secret_source
|
|
3176
|
+
# The source type of the client secret. Either `MANAGED` if the secret
|
|
3177
|
+
# is managed by the service, or `EXTERNAL` if managed by the user in
|
|
3178
|
+
# AWS Secrets Manager.
|
|
3179
|
+
# @return [String]
|
|
3180
|
+
#
|
|
3061
3181
|
# @!attribute [rw] name
|
|
3062
3182
|
# The name of the OAuth2 credential provider.
|
|
3063
3183
|
# @return [String]
|
|
@@ -3084,6 +3204,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
3084
3204
|
#
|
|
3085
3205
|
class CreateOauth2CredentialProviderResponse < Struct.new(
|
|
3086
3206
|
:client_secret_arn,
|
|
3207
|
+
:client_secret_json_key,
|
|
3208
|
+
:client_secret_source,
|
|
3087
3209
|
:name,
|
|
3088
3210
|
:credential_provider_arn,
|
|
3089
3211
|
:callback_url,
|
|
@@ -4427,16 +4549,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
4427
4549
|
# The client secret for the custom OAuth2 provider.
|
|
4428
4550
|
# @return [String]
|
|
4429
4551
|
#
|
|
4430
|
-
# @!attribute [rw]
|
|
4431
|
-
#
|
|
4432
|
-
#
|
|
4433
|
-
#
|
|
4434
|
-
#
|
|
4552
|
+
# @!attribute [rw] client_secret_config
|
|
4553
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
4554
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
4555
|
+
# the client secret value from the secret. Required when
|
|
4556
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
4557
|
+
# @return [Types::SecretReference]
|
|
4435
4558
|
#
|
|
4436
|
-
# @!attribute [rw]
|
|
4437
|
-
# The
|
|
4438
|
-
#
|
|
4439
|
-
#
|
|
4559
|
+
# @!attribute [rw] client_secret_source
|
|
4560
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
4561
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
4562
|
+
# yourself in AWS Secrets Manager.
|
|
4563
|
+
# @return [String]
|
|
4440
4564
|
#
|
|
4441
4565
|
# @!attribute [rw] on_behalf_of_token_exchange_config
|
|
4442
4566
|
# The configuration for on-behalf-of token exchange. This enables
|
|
@@ -4449,16 +4573,29 @@ module Aws::BedrockAgentCoreControl
|
|
|
4449
4573
|
# token endpoint.
|
|
4450
4574
|
# @return [String]
|
|
4451
4575
|
#
|
|
4576
|
+
# @!attribute [rw] private_endpoint
|
|
4577
|
+
# The default private endpoint for the custom OAuth2 provider,
|
|
4578
|
+
# enabling secure connectivity through a VPC Lattice resource
|
|
4579
|
+
# configuration.
|
|
4580
|
+
# @return [Types::PrivateEndpoint]
|
|
4581
|
+
#
|
|
4582
|
+
# @!attribute [rw] private_endpoint_overrides
|
|
4583
|
+
# The private endpoint overrides for the custom OAuth2 provider
|
|
4584
|
+
# configuration.
|
|
4585
|
+
# @return [Array<Types::PrivateEndpointOverride>]
|
|
4586
|
+
#
|
|
4452
4587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CustomOauth2ProviderConfigInput AWS API Documentation
|
|
4453
4588
|
#
|
|
4454
4589
|
class CustomOauth2ProviderConfigInput < Struct.new(
|
|
4455
4590
|
:oauth_discovery,
|
|
4456
4591
|
:client_id,
|
|
4457
4592
|
:client_secret,
|
|
4458
|
-
:
|
|
4459
|
-
:
|
|
4593
|
+
:client_secret_config,
|
|
4594
|
+
:client_secret_source,
|
|
4460
4595
|
:on_behalf_of_token_exchange_config,
|
|
4461
|
-
:client_authentication_method
|
|
4596
|
+
:client_authentication_method,
|
|
4597
|
+
:private_endpoint,
|
|
4598
|
+
:private_endpoint_overrides)
|
|
4462
4599
|
SENSITIVE = [:client_secret]
|
|
4463
4600
|
include Aws::Structure
|
|
4464
4601
|
end
|
|
@@ -4583,8 +4720,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4583
4720
|
# @return [Types::InlineExamplesSource]
|
|
4584
4721
|
#
|
|
4585
4722
|
# @!attribute [rw] s3_source
|
|
4586
|
-
# S3 URI pointing to a JSONL file in the customer's bucket.
|
|
4587
|
-
# service reads this file using the caller's FAS credentials.
|
|
4723
|
+
# Amazon S3 URI pointing to a JSONL file in the customer's bucket.
|
|
4588
4724
|
# @return [Types::S3Source]
|
|
4589
4725
|
#
|
|
4590
4726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DataSourceType AWS API Documentation
|
|
@@ -4625,7 +4761,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4625
4761
|
# @return [String]
|
|
4626
4762
|
#
|
|
4627
4763
|
# @!attribute [rw] draft_status
|
|
4628
|
-
# Publish synchronization state. Only authoritative when status
|
|
4764
|
+
# Publish synchronization state. Only authoritative when status is
|
|
4629
4765
|
# ACTIVE.
|
|
4630
4766
|
# @return [String]
|
|
4631
4767
|
#
|
|
@@ -4665,23 +4801,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4665
4801
|
# Summary information about a published dataset version.
|
|
4666
4802
|
#
|
|
4667
4803
|
# @!attribute [rw] dataset_version
|
|
4668
|
-
#
|
|
4669
|
-
# integer string.
|
|
4670
|
-
#
|
|
4671
|
-
# "DRAFT" refers to the single mutable working copy of the dataset.
|
|
4672
|
-
#
|
|
4673
|
-
# * Always present after CreateDataset ingestion completes.
|
|
4674
|
-
# * Content changes in-place when examples are added, updated, or
|
|
4675
|
-
# deleted.
|
|
4676
|
-
# * NOT tracked as a DDB DatasetVersionItem — state lives in S3
|
|
4677
|
-
# (draft/manifest.json, draft/dataset.jsonl) and the
|
|
4678
|
-
# DatasetItem.exampleCount field.
|
|
4679
|
-
# * Default for read operations when ?datasetVersion is absent.
|
|
4680
|
-
#
|
|
4681
|
-
# An integer string (e.g. "1", "2", "3") refers to a published,
|
|
4682
|
-
# immutable snapshot created by CreateDatasetVersion. Once created, a
|
|
4683
|
-
# published version's content never changes. Stored as a DDB
|
|
4684
|
-
# DatasetVersionItem (SK=VERSION#\{zero-padded-N}).
|
|
4804
|
+
# The version number of this published snapshot.
|
|
4685
4805
|
# @return [String]
|
|
4686
4806
|
#
|
|
4687
4807
|
# @!attribute [rw] example_count
|
|
@@ -5060,9 +5180,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5060
5180
|
# @return [String]
|
|
5061
5181
|
#
|
|
5062
5182
|
# @!attribute [rw] dataset_version
|
|
5063
|
-
# Optional version to delete.
|
|
5064
|
-
#
|
|
5065
|
-
# exist.
|
|
5183
|
+
# Optional version to delete. If absent, deletes the entire dataset.
|
|
5184
|
+
# If provided, deletes only that specific version.
|
|
5066
5185
|
# @return [String]
|
|
5067
5186
|
#
|
|
5068
5187
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteDatasetRequest AWS API Documentation
|
|
@@ -5087,7 +5206,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5087
5206
|
# @return [String]
|
|
5088
5207
|
#
|
|
5089
5208
|
# @!attribute [rw] dataset_version
|
|
5090
|
-
# The version deleted.
|
|
5209
|
+
# The version that was deleted.
|
|
5091
5210
|
# @return [String]
|
|
5092
5211
|
#
|
|
5093
5212
|
# @!attribute [rw] updated_at
|
|
@@ -7004,6 +7123,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
7004
7123
|
# Manager.
|
|
7005
7124
|
# @return [Types::Secret]
|
|
7006
7125
|
#
|
|
7126
|
+
# @!attribute [rw] api_key_secret_json_key
|
|
7127
|
+
# The JSON key used to extract the API key value from the AWS Secrets
|
|
7128
|
+
# Manager secret.
|
|
7129
|
+
# @return [String]
|
|
7130
|
+
#
|
|
7131
|
+
# @!attribute [rw] api_key_secret_source
|
|
7132
|
+
# The source type of the API key secret. Either `MANAGED` if the
|
|
7133
|
+
# secret is managed by the service, or `EXTERNAL` if managed by the
|
|
7134
|
+
# user in AWS Secrets Manager.
|
|
7135
|
+
# @return [String]
|
|
7136
|
+
#
|
|
7007
7137
|
# @!attribute [rw] name
|
|
7008
7138
|
# The name of the API key credential provider.
|
|
7009
7139
|
# @return [String]
|
|
@@ -7024,6 +7154,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
7024
7154
|
#
|
|
7025
7155
|
class GetApiKeyCredentialProviderResponse < Struct.new(
|
|
7026
7156
|
:api_key_secret_arn,
|
|
7157
|
+
:api_key_secret_json_key,
|
|
7158
|
+
:api_key_secret_source,
|
|
7027
7159
|
:name,
|
|
7028
7160
|
:credential_provider_arn,
|
|
7029
7161
|
:created_time,
|
|
@@ -7420,8 +7552,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
7420
7552
|
# @return [String]
|
|
7421
7553
|
#
|
|
7422
7554
|
# @!attribute [rw] dataset_version
|
|
7423
|
-
# Version to retrieve: "DRAFT" or a version number. Defaults to
|
|
7424
|
-
# if absent.
|
|
7555
|
+
# Version to retrieve: "DRAFT" or a version number. Defaults to
|
|
7556
|
+
# DRAFT if absent.
|
|
7425
7557
|
# @return [String]
|
|
7426
7558
|
#
|
|
7427
7559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetDatasetRequest AWS API Documentation
|
|
@@ -7459,15 +7591,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
7459
7591
|
# @return [String]
|
|
7460
7592
|
#
|
|
7461
7593
|
# @!attribute [rw] draft_status
|
|
7462
|
-
# Publish synchronization state. Only authoritative when status
|
|
7463
|
-
# ACTIVE. MODIFIED
|
|
7464
|
-
#
|
|
7465
|
-
# version exactly.
|
|
7594
|
+
# Publish synchronization state. Only authoritative when status is
|
|
7595
|
+
# ACTIVE. MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED
|
|
7596
|
+
# indicates DRAFT matches the latest published version.
|
|
7466
7597
|
# @return [String]
|
|
7467
7598
|
#
|
|
7468
7599
|
# @!attribute [rw] failure_reason
|
|
7469
7600
|
# Populated when status is CREATE\_FAILED, UPDATE\_FAILED, or
|
|
7470
|
-
# DELETE\_FAILED.
|
|
7601
|
+
# DELETE\_FAILED. Describes the reason for the failure.
|
|
7471
7602
|
# @return [String]
|
|
7472
7603
|
#
|
|
7473
7604
|
# @!attribute [rw] schema_type
|
|
@@ -7475,23 +7606,22 @@ module Aws::BedrockAgentCoreControl
|
|
|
7475
7606
|
# @return [String]
|
|
7476
7607
|
#
|
|
7477
7608
|
# @!attribute [rw] kms_key_arn
|
|
7478
|
-
#
|
|
7479
|
-
# configured.
|
|
7609
|
+
# KMS key ARN used for server-side encryption on service Amazon S3
|
|
7610
|
+
# writes, if configured.
|
|
7480
7611
|
# @return [String]
|
|
7481
7612
|
#
|
|
7482
7613
|
# @!attribute [rw] example_count
|
|
7483
|
-
#
|
|
7614
|
+
# The number of examples in the DRAFT.
|
|
7484
7615
|
# @return [Integer]
|
|
7485
7616
|
#
|
|
7486
7617
|
# @!attribute [rw] download_url
|
|
7487
|
-
# Presigned S3 URL to download the consolidated dataset
|
|
7488
|
-
# the resolved version
|
|
7489
|
-
#
|
|
7490
|
-
# failure.
|
|
7618
|
+
# Presigned Amazon S3 URL to download the consolidated dataset file
|
|
7619
|
+
# for the resolved version. Expires after 5 minutes. Omitted if the
|
|
7620
|
+
# file does not yet exist.
|
|
7491
7621
|
# @return [String]
|
|
7492
7622
|
#
|
|
7493
7623
|
# @!attribute [rw] download_url_expires_at
|
|
7494
|
-
# Expiry timestamp for
|
|
7624
|
+
# Expiry timestamp for the download URL.
|
|
7495
7625
|
# @return [Time]
|
|
7496
7626
|
#
|
|
7497
7627
|
# @!attribute [rw] created_at
|
|
@@ -8002,6 +8132,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
8002
8132
|
# Manager.
|
|
8003
8133
|
# @return [Types::Secret]
|
|
8004
8134
|
#
|
|
8135
|
+
# @!attribute [rw] client_secret_json_key
|
|
8136
|
+
# The JSON key used to extract the client secret value from the AWS
|
|
8137
|
+
# Secrets Manager secret.
|
|
8138
|
+
# @return [String]
|
|
8139
|
+
#
|
|
8140
|
+
# @!attribute [rw] client_secret_source
|
|
8141
|
+
# The source type of the client secret. Either `MANAGED` if the secret
|
|
8142
|
+
# is managed by the service, or `EXTERNAL` if managed by the user in
|
|
8143
|
+
# AWS Secrets Manager.
|
|
8144
|
+
# @return [String]
|
|
8145
|
+
#
|
|
8005
8146
|
# @!attribute [rw] name
|
|
8006
8147
|
# The name of the OAuth2 credential provider.
|
|
8007
8148
|
# @return [String]
|
|
@@ -8045,6 +8186,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
8045
8186
|
#
|
|
8046
8187
|
class GetOauth2CredentialProviderResponse < Struct.new(
|
|
8047
8188
|
:client_secret_arn,
|
|
8189
|
+
:client_secret_json_key,
|
|
8190
|
+
:client_secret_source,
|
|
8048
8191
|
:name,
|
|
8049
8192
|
:credential_provider_arn,
|
|
8050
8193
|
:credential_provider_vendor,
|
|
@@ -9132,11 +9275,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
9132
9275
|
# The client secret for the GitHub OAuth2 provider.
|
|
9133
9276
|
# @return [String]
|
|
9134
9277
|
#
|
|
9278
|
+
# @!attribute [rw] client_secret_config
|
|
9279
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
9280
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
9281
|
+
# the client secret value from the secret. Required when
|
|
9282
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
9283
|
+
# @return [Types::SecretReference]
|
|
9284
|
+
#
|
|
9285
|
+
# @!attribute [rw] client_secret_source
|
|
9286
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
9287
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
9288
|
+
# yourself in AWS Secrets Manager.
|
|
9289
|
+
# @return [String]
|
|
9290
|
+
#
|
|
9135
9291
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GithubOauth2ProviderConfigInput AWS API Documentation
|
|
9136
9292
|
#
|
|
9137
9293
|
class GithubOauth2ProviderConfigInput < Struct.new(
|
|
9138
9294
|
:client_id,
|
|
9139
|
-
:client_secret
|
|
9295
|
+
:client_secret,
|
|
9296
|
+
:client_secret_config,
|
|
9297
|
+
:client_secret_source)
|
|
9140
9298
|
SENSITIVE = [:client_secret]
|
|
9141
9299
|
include Aws::Structure
|
|
9142
9300
|
end
|
|
@@ -9170,11 +9328,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
9170
9328
|
# The client secret for the Google OAuth2 provider.
|
|
9171
9329
|
# @return [String]
|
|
9172
9330
|
#
|
|
9331
|
+
# @!attribute [rw] client_secret_config
|
|
9332
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
9333
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
9334
|
+
# the client secret value from the secret. Required when
|
|
9335
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
9336
|
+
# @return [Types::SecretReference]
|
|
9337
|
+
#
|
|
9338
|
+
# @!attribute [rw] client_secret_source
|
|
9339
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
9340
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
9341
|
+
# yourself in AWS Secrets Manager.
|
|
9342
|
+
# @return [String]
|
|
9343
|
+
#
|
|
9173
9344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GoogleOauth2ProviderConfigInput AWS API Documentation
|
|
9174
9345
|
#
|
|
9175
9346
|
class GoogleOauth2ProviderConfigInput < Struct.new(
|
|
9176
9347
|
:client_id,
|
|
9177
|
-
:client_secret
|
|
9348
|
+
:client_secret,
|
|
9349
|
+
:client_secret_config,
|
|
9350
|
+
:client_secret_source)
|
|
9178
9351
|
SENSITIVE = [:client_secret]
|
|
9179
9352
|
include Aws::Structure
|
|
9180
9353
|
end
|
|
@@ -10280,6 +10453,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
10280
10453
|
# authenticate your application.
|
|
10281
10454
|
# @return [String]
|
|
10282
10455
|
#
|
|
10456
|
+
# @!attribute [rw] client_secret_config
|
|
10457
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
10458
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
10459
|
+
# the client secret value from the secret. Required when
|
|
10460
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
10461
|
+
# @return [Types::SecretReference]
|
|
10462
|
+
#
|
|
10463
|
+
# @!attribute [rw] client_secret_source
|
|
10464
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
10465
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
10466
|
+
# yourself in AWS Secrets Manager.
|
|
10467
|
+
# @return [String]
|
|
10468
|
+
#
|
|
10283
10469
|
# @!attribute [rw] issuer
|
|
10284
10470
|
# Token issuer of your isolated OAuth2 application tenant. This URL
|
|
10285
10471
|
# identifies the authorization server that issues tokens for this
|
|
@@ -10302,6 +10488,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
10302
10488
|
class IncludedOauth2ProviderConfigInput < Struct.new(
|
|
10303
10489
|
:client_id,
|
|
10304
10490
|
:client_secret,
|
|
10491
|
+
:client_secret_config,
|
|
10492
|
+
:client_secret_source,
|
|
10305
10493
|
:issuer,
|
|
10306
10494
|
:authorization_endpoint,
|
|
10307
10495
|
:token_endpoint)
|
|
@@ -10604,11 +10792,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
10604
10792
|
# authenticate your application.
|
|
10605
10793
|
# @return [String]
|
|
10606
10794
|
#
|
|
10795
|
+
# @!attribute [rw] client_secret_config
|
|
10796
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
10797
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
10798
|
+
# the client secret value from the secret. Required when
|
|
10799
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
10800
|
+
# @return [Types::SecretReference]
|
|
10801
|
+
#
|
|
10802
|
+
# @!attribute [rw] client_secret_source
|
|
10803
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
10804
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
10805
|
+
# yourself in AWS Secrets Manager.
|
|
10806
|
+
# @return [String]
|
|
10807
|
+
#
|
|
10607
10808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/LinkedinOauth2ProviderConfigInput AWS API Documentation
|
|
10608
10809
|
#
|
|
10609
10810
|
class LinkedinOauth2ProviderConfigInput < Struct.new(
|
|
10610
10811
|
:client_id,
|
|
10611
|
-
:client_secret
|
|
10812
|
+
:client_secret,
|
|
10813
|
+
:client_secret_config,
|
|
10814
|
+
:client_secret_source)
|
|
10612
10815
|
SENSITIVE = [:client_secret]
|
|
10613
10816
|
include Aws::Structure
|
|
10614
10817
|
end
|
|
@@ -11005,17 +11208,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
11005
11208
|
# @return [String]
|
|
11006
11209
|
#
|
|
11007
11210
|
# @!attribute [rw] dataset_version
|
|
11008
|
-
# Version to paginate: "DRAFT" or a version number. Defaults to
|
|
11009
|
-
# if absent. Only used on the first request
|
|
11010
|
-
#
|
|
11011
|
-
# nextToken and this parameter is ignored.
|
|
11211
|
+
# Version to paginate: "DRAFT" or a version number. Defaults to
|
|
11212
|
+
# DRAFT if absent. Only used on the first request; for subsequent
|
|
11213
|
+
# pages, the version is extracted from the pagination token.
|
|
11012
11214
|
# @return [String]
|
|
11013
11215
|
#
|
|
11014
11216
|
# @!attribute [rw] max_results
|
|
11015
|
-
# Maximum number of examples to return per page.
|
|
11016
|
-
# 1, max: 1000. Response size is validated against 5 MB limit after
|
|
11017
|
-
# reading. For bulk access to all examples, use the `downloadUrl`
|
|
11018
|
-
# field from GetDataset.
|
|
11217
|
+
# Maximum number of examples to return per page.
|
|
11019
11218
|
# @return [Integer]
|
|
11020
11219
|
#
|
|
11021
11220
|
# @!attribute [rw] next_token
|
|
@@ -12864,9 +13063,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
12864
13063
|
# The MetadataValueType.
|
|
12865
13064
|
# @return [String]
|
|
12866
13065
|
#
|
|
13066
|
+
# @!attribute [rw] extraction_type
|
|
13067
|
+
# Specifies whether the metadata value is extracted by the LLM or
|
|
13068
|
+
# passed through deterministically from the event.
|
|
13069
|
+
# @return [String]
|
|
13070
|
+
#
|
|
12867
13071
|
# @!attribute [rw] extraction_config
|
|
12868
13072
|
# Configuration for extracting this metadata value from conversational
|
|
12869
|
-
# content.
|
|
13073
|
+
# content. Applicable only if extractionType is LLM inferred.
|
|
12870
13074
|
# @return [Types::ExtractionConfig]
|
|
12871
13075
|
#
|
|
12872
13076
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/MetadataSchemaEntry AWS API Documentation
|
|
@@ -12874,6 +13078,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
12874
13078
|
class MetadataSchemaEntry < Struct.new(
|
|
12875
13079
|
:key,
|
|
12876
13080
|
:type,
|
|
13081
|
+
:extraction_type,
|
|
12877
13082
|
:extraction_config)
|
|
12878
13083
|
SENSITIVE = []
|
|
12879
13084
|
include Aws::Structure
|
|
@@ -12889,6 +13094,19 @@ module Aws::BedrockAgentCoreControl
|
|
|
12889
13094
|
# The client secret for the Microsoft OAuth2 provider.
|
|
12890
13095
|
# @return [String]
|
|
12891
13096
|
#
|
|
13097
|
+
# @!attribute [rw] client_secret_config
|
|
13098
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
13099
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
13100
|
+
# the client secret value from the secret. Required when
|
|
13101
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
13102
|
+
# @return [Types::SecretReference]
|
|
13103
|
+
#
|
|
13104
|
+
# @!attribute [rw] client_secret_source
|
|
13105
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
13106
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
13107
|
+
# yourself in AWS Secrets Manager.
|
|
13108
|
+
# @return [String]
|
|
13109
|
+
#
|
|
12892
13110
|
# @!attribute [rw] tenant_id
|
|
12893
13111
|
# The Microsoft Entra ID (formerly Azure AD) tenant ID for your
|
|
12894
13112
|
# organization. This identifies the specific tenant within
|
|
@@ -12900,6 +13118,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
12900
13118
|
class MicrosoftOauth2ProviderConfigInput < Struct.new(
|
|
12901
13119
|
:client_id,
|
|
12902
13120
|
:client_secret,
|
|
13121
|
+
:client_secret_config,
|
|
13122
|
+
:client_secret_source,
|
|
12903
13123
|
:tenant_id)
|
|
12904
13124
|
SENSITIVE = [:client_secret]
|
|
12905
13125
|
include Aws::Structure
|
|
@@ -15026,11 +15246,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
15026
15246
|
include Aws::Structure
|
|
15027
15247
|
end
|
|
15028
15248
|
|
|
15029
|
-
# S3 location of a JSONL file containing dataset examples.
|
|
15249
|
+
# Amazon S3 location of a JSONL file containing dataset examples.
|
|
15030
15250
|
#
|
|
15031
15251
|
# @!attribute [rw] s3_uri
|
|
15032
|
-
# S3 URI of the JSONL file (
|
|
15033
|
-
# s3://my-bucket/path/to/examples.jsonl).
|
|
15252
|
+
# Amazon S3 URI of the JSONL file (for example,
|
|
15253
|
+
# `s3://my-bucket/path/to/examples.jsonl`).
|
|
15034
15254
|
# @return [String]
|
|
15035
15255
|
#
|
|
15036
15256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/S3Source AWS API Documentation
|
|
@@ -15051,11 +15271,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
15051
15271
|
# The client secret for the Salesforce OAuth2 provider.
|
|
15052
15272
|
# @return [String]
|
|
15053
15273
|
#
|
|
15274
|
+
# @!attribute [rw] client_secret_config
|
|
15275
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
15276
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
15277
|
+
# the client secret value from the secret. Required when
|
|
15278
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
15279
|
+
# @return [Types::SecretReference]
|
|
15280
|
+
#
|
|
15281
|
+
# @!attribute [rw] client_secret_source
|
|
15282
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
15283
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
15284
|
+
# yourself in AWS Secrets Manager.
|
|
15285
|
+
# @return [String]
|
|
15286
|
+
#
|
|
15054
15287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SalesforceOauth2ProviderConfigInput AWS API Documentation
|
|
15055
15288
|
#
|
|
15056
15289
|
class SalesforceOauth2ProviderConfigInput < Struct.new(
|
|
15057
15290
|
:client_id,
|
|
15058
|
-
:client_secret
|
|
15291
|
+
:client_secret,
|
|
15292
|
+
:client_secret_config,
|
|
15293
|
+
:client_secret_source)
|
|
15059
15294
|
SENSITIVE = [:client_secret]
|
|
15060
15295
|
include Aws::Structure
|
|
15061
15296
|
end
|
|
@@ -15149,6 +15384,27 @@ module Aws::BedrockAgentCoreControl
|
|
|
15149
15384
|
include Aws::Structure
|
|
15150
15385
|
end
|
|
15151
15386
|
|
|
15387
|
+
# Contains a reference to a secret stored in AWS Secrets Manager.
|
|
15388
|
+
#
|
|
15389
|
+
# @!attribute [rw] secret_id
|
|
15390
|
+
# The ID of the AWS Secrets Manager secret that stores the secret
|
|
15391
|
+
# value.
|
|
15392
|
+
# @return [String]
|
|
15393
|
+
#
|
|
15394
|
+
# @!attribute [rw] json_key
|
|
15395
|
+
# The JSON key used to extract the secret value from the AWS Secrets
|
|
15396
|
+
# Manager secret.
|
|
15397
|
+
# @return [String]
|
|
15398
|
+
#
|
|
15399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SecretReference AWS API Documentation
|
|
15400
|
+
#
|
|
15401
|
+
class SecretReference < Struct.new(
|
|
15402
|
+
:secret_id,
|
|
15403
|
+
:json_key)
|
|
15404
|
+
SENSITIVE = []
|
|
15405
|
+
include Aws::Structure
|
|
15406
|
+
end
|
|
15407
|
+
|
|
15152
15408
|
# The Amazon Web Services Secrets Manager location configuration.
|
|
15153
15409
|
#
|
|
15154
15410
|
# @!attribute [rw] secret_arn
|
|
@@ -15557,11 +15813,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
15557
15813
|
# The client secret for the Slack OAuth2 provider.
|
|
15558
15814
|
# @return [String]
|
|
15559
15815
|
#
|
|
15816
|
+
# @!attribute [rw] client_secret_config
|
|
15817
|
+
# A reference to the AWS Secrets Manager secret that stores the client
|
|
15818
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
15819
|
+
# the client secret value from the secret. Required when
|
|
15820
|
+
# `clientSecretSource` is set to `EXTERNAL`.
|
|
15821
|
+
# @return [Types::SecretReference]
|
|
15822
|
+
#
|
|
15823
|
+
# @!attribute [rw] client_secret_source
|
|
15824
|
+
# The source type of the client secret. Use `MANAGED` if the secret is
|
|
15825
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
15826
|
+
# yourself in AWS Secrets Manager.
|
|
15827
|
+
# @return [String]
|
|
15828
|
+
#
|
|
15560
15829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/SlackOauth2ProviderConfigInput AWS API Documentation
|
|
15561
15830
|
#
|
|
15562
15831
|
class SlackOauth2ProviderConfigInput < Struct.new(
|
|
15563
15832
|
:client_id,
|
|
15564
|
-
:client_secret
|
|
15833
|
+
:client_secret,
|
|
15834
|
+
:client_secret_config,
|
|
15835
|
+
:client_secret_source)
|
|
15565
15836
|
SENSITIVE = [:client_secret]
|
|
15566
15837
|
include Aws::Structure
|
|
15567
15838
|
end
|
|
@@ -15856,10 +16127,37 @@ module Aws::BedrockAgentCoreControl
|
|
|
15856
16127
|
# The app secret provided by Privy.
|
|
15857
16128
|
# @return [String]
|
|
15858
16129
|
#
|
|
16130
|
+
# @!attribute [rw] app_secret_source
|
|
16131
|
+
# The source type of the app secret. Use `MANAGED` if the secret is
|
|
16132
|
+
# managed by the service, or `EXTERNAL` if you manage the secret
|
|
16133
|
+
# yourself in AWS Secrets Manager.
|
|
16134
|
+
# @return [String]
|
|
16135
|
+
#
|
|
16136
|
+
# @!attribute [rw] app_secret_config
|
|
16137
|
+
# A reference to the AWS Secrets Manager secret that stores the app
|
|
16138
|
+
# secret. This includes the secret ID and the JSON key used to extract
|
|
16139
|
+
# the app secret value from the secret. Required when
|
|
16140
|
+
# `appSecretSource` is set to `EXTERNAL`.
|
|
16141
|
+
# @return [Types::SecretReference]
|
|
16142
|
+
#
|
|
15859
16143
|
# @!attribute [rw] authorization_private_key
|
|
15860
16144
|
# The authorization private key for the Stripe Privy integration.
|
|
15861
16145
|
# @return [String]
|
|
15862
16146
|
#
|
|
16147
|
+
# @!attribute [rw] authorization_private_key_source
|
|
16148
|
+
# The source type of the authorization private key. Use `MANAGED` if
|
|
16149
|
+
# the secret is managed by the service, or `EXTERNAL` if you manage
|
|
16150
|
+
# the secret yourself in AWS Secrets Manager.
|
|
16151
|
+
# @return [String]
|
|
16152
|
+
#
|
|
16153
|
+
# @!attribute [rw] authorization_private_key_config
|
|
16154
|
+
# A reference to the AWS Secrets Manager secret that stores the
|
|
16155
|
+
# authorization private key. This includes the secret ID and the JSON
|
|
16156
|
+
# key used to extract the authorization private key value from the
|
|
16157
|
+
# secret. Required when `authorizationPrivateKeySource` is set to
|
|
16158
|
+
# `EXTERNAL`.
|
|
16159
|
+
# @return [Types::SecretReference]
|
|
16160
|
+
#
|
|
15863
16161
|
# @!attribute [rw] authorization_id
|
|
15864
16162
|
# The authorization ID for the Stripe Privy integration.
|
|
15865
16163
|
# @return [String]
|
|
@@ -15869,7 +16167,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
15869
16167
|
class StripePrivyConfigurationInput < Struct.new(
|
|
15870
16168
|
:app_id,
|
|
15871
16169
|
:app_secret,
|
|
16170
|
+
:app_secret_source,
|
|
16171
|
+
:app_secret_config,
|
|
15872
16172
|
:authorization_private_key,
|
|
16173
|
+
:authorization_private_key_source,
|
|
16174
|
+
:authorization_private_key_config,
|
|
15873
16175
|
:authorization_id)
|
|
15874
16176
|
SENSITIVE = [:app_secret, :authorization_private_key]
|
|
15875
16177
|
include Aws::Structure
|
|
@@ -15885,10 +16187,32 @@ module Aws::BedrockAgentCoreControl
|
|
|
15885
16187
|
# Contains information about a secret in AWS Secrets Manager.
|
|
15886
16188
|
# @return [Types::Secret]
|
|
15887
16189
|
#
|
|
16190
|
+
# @!attribute [rw] app_secret_json_key
|
|
16191
|
+
# The JSON key used to extract the app secret value from the AWS
|
|
16192
|
+
# Secrets Manager secret.
|
|
16193
|
+
# @return [String]
|
|
16194
|
+
#
|
|
16195
|
+
# @!attribute [rw] app_secret_source
|
|
16196
|
+
# The source type of the app secret. Either `MANAGED` if the secret is
|
|
16197
|
+
# managed by the service, or `EXTERNAL` if managed by the user in AWS
|
|
16198
|
+
# Secrets Manager.
|
|
16199
|
+
# @return [String]
|
|
16200
|
+
#
|
|
15888
16201
|
# @!attribute [rw] authorization_private_key_arn
|
|
15889
16202
|
# Contains information about a secret in AWS Secrets Manager.
|
|
15890
16203
|
# @return [Types::Secret]
|
|
15891
16204
|
#
|
|
16205
|
+
# @!attribute [rw] authorization_private_key_json_key
|
|
16206
|
+
# The JSON key used to extract the authorization private key value
|
|
16207
|
+
# from the AWS Secrets Manager secret.
|
|
16208
|
+
# @return [String]
|
|
16209
|
+
#
|
|
16210
|
+
# @!attribute [rw] authorization_private_key_source
|
|
16211
|
+
# The source type of the authorization private key. Either `MANAGED`
|
|
16212
|
+
# if the secret is managed by the service, or `EXTERNAL` if managed by
|
|
16213
|
+
# the user in AWS Secrets Manager.
|
|
16214
|
+
# @return [String]
|
|
16215
|
+
#
|
|
15892
16216
|
# @!attribute [rw] authorization_id
|
|
15893
16217
|
# The authorization ID for the Stripe Privy integration.
|
|
15894
16218
|
# @return [String]
|
|
@@ -15898,7 +16222,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
15898
16222
|
class StripePrivyConfigurationOutput < Struct.new(
|
|
15899
16223
|
:app_id,
|
|
15900
16224
|
:app_secret_arn,
|
|
16225
|
+
:app_secret_json_key,
|
|
16226
|
+
:app_secret_source,
|
|
15901
16227
|
:authorization_private_key_arn,
|
|
16228
|
+
:authorization_private_key_json_key,
|
|
16229
|
+
:authorization_private_key_source,
|
|
15902
16230
|
:authorization_id)
|
|
15903
16231
|
SENSITIVE = []
|
|
15904
16232
|
include Aws::Structure
|
|
@@ -16787,11 +17115,26 @@ module Aws::BedrockAgentCoreControl
|
|
|
16787
17115
|
# existing API key and is encrypted and stored securely.
|
|
16788
17116
|
# @return [String]
|
|
16789
17117
|
#
|
|
17118
|
+
# @!attribute [rw] api_key_secret_config
|
|
17119
|
+
# A reference to the AWS Secrets Manager secret that stores the API
|
|
17120
|
+
# key. This includes the secret ID and the JSON key used to extract
|
|
17121
|
+
# the API key value from the secret. Required when
|
|
17122
|
+
# `apiKeySecretSource` is set to `EXTERNAL`.
|
|
17123
|
+
# @return [Types::SecretReference]
|
|
17124
|
+
#
|
|
17125
|
+
# @!attribute [rw] api_key_secret_source
|
|
17126
|
+
# The source type of the API key secret. Use `MANAGED` if the secret
|
|
17127
|
+
# is managed by the service, or `EXTERNAL` if you manage the secret
|
|
17128
|
+
# yourself in AWS Secrets Manager.
|
|
17129
|
+
# @return [String]
|
|
17130
|
+
#
|
|
16790
17131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateApiKeyCredentialProviderRequest AWS API Documentation
|
|
16791
17132
|
#
|
|
16792
17133
|
class UpdateApiKeyCredentialProviderRequest < Struct.new(
|
|
16793
17134
|
:name,
|
|
16794
|
-
:api_key
|
|
17135
|
+
:api_key,
|
|
17136
|
+
:api_key_secret_config,
|
|
17137
|
+
:api_key_secret_source)
|
|
16795
17138
|
SENSITIVE = [:api_key]
|
|
16796
17139
|
include Aws::Structure
|
|
16797
17140
|
end
|
|
@@ -16801,6 +17144,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
16801
17144
|
# Manager.
|
|
16802
17145
|
# @return [Types::Secret]
|
|
16803
17146
|
#
|
|
17147
|
+
# @!attribute [rw] api_key_secret_json_key
|
|
17148
|
+
# The JSON key used to extract the API key value from the AWS Secrets
|
|
17149
|
+
# Manager secret.
|
|
17150
|
+
# @return [String]
|
|
17151
|
+
#
|
|
17152
|
+
# @!attribute [rw] api_key_secret_source
|
|
17153
|
+
# The source type of the API key secret. Either `MANAGED` if the
|
|
17154
|
+
# secret is managed by the service, or `EXTERNAL` if managed by the
|
|
17155
|
+
# user in AWS Secrets Manager.
|
|
17156
|
+
# @return [String]
|
|
17157
|
+
#
|
|
16804
17158
|
# @!attribute [rw] name
|
|
16805
17159
|
# The name of the API key credential provider.
|
|
16806
17160
|
# @return [String]
|
|
@@ -16821,6 +17175,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
16821
17175
|
#
|
|
16822
17176
|
class UpdateApiKeyCredentialProviderResponse < Struct.new(
|
|
16823
17177
|
:api_key_secret_arn,
|
|
17178
|
+
:api_key_secret_json_key,
|
|
17179
|
+
:api_key_secret_source,
|
|
16824
17180
|
:name,
|
|
16825
17181
|
:credential_provider_arn,
|
|
16826
17182
|
:created_time,
|
|
@@ -16949,11 +17305,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
16949
17305
|
#
|
|
16950
17306
|
# @!attribute [rw] examples
|
|
16951
17307
|
# Examples to update. Each element is a JSON object containing a
|
|
16952
|
-
# required `exampleId`
|
|
16953
|
-
#
|
|
16954
|
-
# removed before persistence; the remaining document is validated
|
|
16955
|
-
# against the dataset's schemaType. Max 1000 examples per call. Total
|
|
16956
|
-
# request body must not exceed 5 MB.
|
|
17308
|
+
# required `exampleId` field identifying the existing example, plus
|
|
17309
|
+
# the replacement fields. Maximum 1000 examples per call.
|
|
16957
17310
|
# @return [Array<Hash,Array,String,Numeric,Boolean>]
|
|
16958
17311
|
#
|
|
16959
17312
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateDatasetExamplesRequest AWS API Documentation
|
|
@@ -17803,6 +18156,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
17803
18156
|
# Manager.
|
|
17804
18157
|
# @return [Types::Secret]
|
|
17805
18158
|
#
|
|
18159
|
+
# @!attribute [rw] client_secret_json_key
|
|
18160
|
+
# The JSON key used to extract the client secret value from the AWS
|
|
18161
|
+
# Secrets Manager secret.
|
|
18162
|
+
# @return [String]
|
|
18163
|
+
#
|
|
18164
|
+
# @!attribute [rw] client_secret_source
|
|
18165
|
+
# The source type of the client secret. Either `MANAGED` if the secret
|
|
18166
|
+
# is managed by the service, or `EXTERNAL` if managed by the user in
|
|
18167
|
+
# AWS Secrets Manager.
|
|
18168
|
+
# @return [String]
|
|
18169
|
+
#
|
|
17806
18170
|
# @!attribute [rw] name
|
|
17807
18171
|
# The name of the OAuth2 credential provider.
|
|
17808
18172
|
# @return [String]
|
|
@@ -17841,6 +18205,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
17841
18205
|
#
|
|
17842
18206
|
class UpdateOauth2CredentialProviderResponse < Struct.new(
|
|
17843
18207
|
:client_secret_arn,
|
|
18208
|
+
:client_secret_json_key,
|
|
18209
|
+
:client_secret_source,
|
|
17844
18210
|
:name,
|
|
17845
18211
|
:credential_provider_vendor,
|
|
17846
18212
|
:credential_provider_arn,
|