aws-sdk-bedrockagentcorecontrol 1.83.0 → 1.84.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +61 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +34 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +65 -1
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/params.rbs +12 -7
- data/sig/types.rbs +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bd1e0f40e43d0a5b16c5de8de54c353bbc3f35903c566cfbf66b755e4c10b44
|
|
4
|
+
data.tar.gz: 9fd30f73ae02258dda7e0d1ca0dc457849609075f712cf43c6a7121b0f53c1ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92dc9a5677074f84c8133c0065e2a61ac1ac168d139d8fbff7200ca4f78749e7c4c3f7d3633847fd9b713b4c0fd27b3849b28b047d39f2fa5f33beb64c5a8d26
|
|
7
|
+
data.tar.gz: 49cecb3235f85274a8d7f1a65eaf41413a00635e0660648b5afac3ec643cf2857684a0ed8bc7966f329ced2421cabd98bad89b4197294a16ae4bab3b5d9c3c82
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.84.0 (2026-10-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds the ResetTokenVaultKeyMaterial API, which restores a token vault whose customer managed key was deleted by moving it to an AWS owned key. The reset permanently deletes the stored OAuth 2.0 tokens, users must consent again. Adds on-behalf-of token exchange client authentication override option.
|
|
8
|
+
|
|
4
9
|
1.83.0 (2026-10-22)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.84.0
|
|
@@ -4418,6 +4418,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
4418
4418
|
# actor_token_content: "NONE", # required, accepts NONE, M2M, AWS_IAM_ID_TOKEN_JWT
|
|
4419
4419
|
# actor_token_scopes: ["ScopeType"],
|
|
4420
4420
|
# },
|
|
4421
|
+
# on_behalf_of_authentication_config: {
|
|
4422
|
+
# client_authentication_method: "NO_CLIENT", # required, accepts NO_CLIENT
|
|
4423
|
+
# },
|
|
4421
4424
|
# },
|
|
4422
4425
|
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, AWS_IAM_ID_TOKEN_JWT, PRIVATE_KEY_JWT
|
|
4423
4426
|
# private_key_jwt_config: {
|
|
@@ -4573,6 +4576,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
4573
4576
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_content #=> String, one of "NONE", "M2M", "AWS_IAM_ID_TOKEN_JWT"
|
|
4574
4577
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_scopes #=> Array
|
|
4575
4578
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_scopes[0] #=> String
|
|
4579
|
+
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.on_behalf_of_authentication_config.client_authentication_method #=> String, one of "NO_CLIENT"
|
|
4576
4580
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "AWS_IAM_ID_TOKEN_JWT", "PRIVATE_KEY_JWT"
|
|
4577
4581
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
4578
4582
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
@@ -8914,6 +8918,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
8914
8918
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_content #=> String, one of "NONE", "M2M", "AWS_IAM_ID_TOKEN_JWT"
|
|
8915
8919
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_scopes #=> Array
|
|
8916
8920
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_scopes[0] #=> String
|
|
8921
|
+
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.on_behalf_of_authentication_config.client_authentication_method #=> String, one of "NO_CLIENT"
|
|
8917
8922
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "AWS_IAM_ID_TOKEN_JWT", "PRIVATE_KEY_JWT"
|
|
8918
8923
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
8919
8924
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
@@ -12134,6 +12139,57 @@ module Aws::BedrockAgentCoreControl
|
|
|
12134
12139
|
req.send_request(options)
|
|
12135
12140
|
end
|
|
12136
12141
|
|
|
12142
|
+
# Resets the key material for a token vault whose customer managed KMS
|
|
12143
|
+
# key has been deleted, and re-encrypts the token vault with an Amazon
|
|
12144
|
+
# Web Services managed key so that you can use the token vault again.
|
|
12145
|
+
#
|
|
12146
|
+
# This operation can't be undone. The reset permanently deletes the
|
|
12147
|
+
# OAuth2 access tokens and refresh tokens stored in the token vault,
|
|
12148
|
+
# including tokens obtained through all supported flows. After the
|
|
12149
|
+
# reset, your agents must complete these flows again to get new tokens,
|
|
12150
|
+
# and for user-delegated flows your users must authorize access again.
|
|
12151
|
+
# The reset doesn't delete your credential providers or their
|
|
12152
|
+
# configuration.
|
|
12153
|
+
#
|
|
12154
|
+
# You can reset a token vault only if its customer managed key has been
|
|
12155
|
+
# deleted. If the key still exists, including when it's disabled or
|
|
12156
|
+
# scheduled for deletion, this operation returns a
|
|
12157
|
+
# `ValidationException`. To use the token vault again, enable the key or
|
|
12158
|
+
# cancel its scheduled deletion in KMS. To switch to a different key,
|
|
12159
|
+
# use `SetTokenVaultCMK`.
|
|
12160
|
+
#
|
|
12161
|
+
# @option params [required, String] :token_vault_id
|
|
12162
|
+
# The unique identifier of the token vault to reset. To reset your
|
|
12163
|
+
# account's default token vault, specify `default`.
|
|
12164
|
+
#
|
|
12165
|
+
# @return [Types::ResetTokenVaultKeyMaterialResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12166
|
+
#
|
|
12167
|
+
# * {Types::ResetTokenVaultKeyMaterialResponse#token_vault_id #token_vault_id} => String
|
|
12168
|
+
# * {Types::ResetTokenVaultKeyMaterialResponse#kms_configuration #kms_configuration} => Types::KmsConfiguration
|
|
12169
|
+
# * {Types::ResetTokenVaultKeyMaterialResponse#last_modified_date #last_modified_date} => Time
|
|
12170
|
+
#
|
|
12171
|
+
# @example Request syntax with placeholder values
|
|
12172
|
+
#
|
|
12173
|
+
# resp = client.reset_token_vault_key_material({
|
|
12174
|
+
# token_vault_id: "TokenVaultIdType", # required
|
|
12175
|
+
# })
|
|
12176
|
+
#
|
|
12177
|
+
# @example Response structure
|
|
12178
|
+
#
|
|
12179
|
+
# resp.token_vault_id #=> String
|
|
12180
|
+
# resp.kms_configuration.key_type #=> String, one of "CustomerManagedKey", "ServiceManagedKey"
|
|
12181
|
+
# resp.kms_configuration.kms_key_arn #=> String
|
|
12182
|
+
# resp.last_modified_date #=> Time
|
|
12183
|
+
#
|
|
12184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ResetTokenVaultKeyMaterial AWS API Documentation
|
|
12185
|
+
#
|
|
12186
|
+
# @overload reset_token_vault_key_material(params = {})
|
|
12187
|
+
# @param [Hash] params ({})
|
|
12188
|
+
def reset_token_vault_key_material(params = {}, options = {})
|
|
12189
|
+
req = build_request(:reset_token_vault_key_material, params)
|
|
12190
|
+
req.send_request(options)
|
|
12191
|
+
end
|
|
12192
|
+
|
|
12137
12193
|
# Replaces the service-managed credentials of a payment connector with
|
|
12138
12194
|
# newly issued credentials.
|
|
12139
12195
|
#
|
|
@@ -16037,6 +16093,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
16037
16093
|
# actor_token_content: "NONE", # required, accepts NONE, M2M, AWS_IAM_ID_TOKEN_JWT
|
|
16038
16094
|
# actor_token_scopes: ["ScopeType"],
|
|
16039
16095
|
# },
|
|
16096
|
+
# on_behalf_of_authentication_config: {
|
|
16097
|
+
# client_authentication_method: "NO_CLIENT", # required, accepts NO_CLIENT
|
|
16098
|
+
# },
|
|
16040
16099
|
# },
|
|
16041
16100
|
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, AWS_IAM_ID_TOKEN_JWT, PRIVATE_KEY_JWT
|
|
16042
16101
|
# private_key_jwt_config: {
|
|
@@ -16190,6 +16249,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
16190
16249
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_content #=> String, one of "NONE", "M2M", "AWS_IAM_ID_TOKEN_JWT"
|
|
16191
16250
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_scopes #=> Array
|
|
16192
16251
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.token_exchange_grant_type_config.actor_token_scopes[0] #=> String
|
|
16252
|
+
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.on_behalf_of_token_exchange_config.on_behalf_of_authentication_config.client_authentication_method #=> String, one of "NO_CLIENT"
|
|
16193
16253
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "AWS_IAM_ID_TOKEN_JWT", "PRIVATE_KEY_JWT"
|
|
16194
16254
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
16195
16255
|
# resp.oauth2_provider_config_output.custom_oauth_2_provider_config.private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
@@ -17448,7 +17508,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
17448
17508
|
tracer: tracer
|
|
17449
17509
|
)
|
|
17450
17510
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
17451
|
-
context[:gem_version] = '1.
|
|
17511
|
+
context[:gem_version] = '1.84.0'
|
|
17452
17512
|
Seahorse::Client::Request.new(handlers, context)
|
|
17453
17513
|
end
|
|
17454
17514
|
|
|
@@ -1013,6 +1013,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1013
1013
|
Oauth2Discovery = Shapes::UnionShape.new(name: 'Oauth2Discovery')
|
|
1014
1014
|
Oauth2ProviderConfigInput = Shapes::UnionShape.new(name: 'Oauth2ProviderConfigInput')
|
|
1015
1015
|
Oauth2ProviderConfigOutput = Shapes::UnionShape.new(name: 'Oauth2ProviderConfigOutput')
|
|
1016
|
+
OnBehalfOfAuthenticationConfig = Shapes::StructureShape.new(name: 'OnBehalfOfAuthenticationConfig')
|
|
1017
|
+
OnBehalfOfClientAuthenticationMethod = Shapes::StringShape.new(name: 'OnBehalfOfClientAuthenticationMethod')
|
|
1016
1018
|
OnBehalfOfTokenExchangeConfigType = Shapes::StructureShape.new(name: 'OnBehalfOfTokenExchangeConfigType')
|
|
1017
1019
|
OnBehalfOfTokenExchangeGrantTypeType = Shapes::StringShape.new(name: 'OnBehalfOfTokenExchangeGrantTypeType')
|
|
1018
1020
|
OnlineEvaluationConfigArn = Shapes::StringShape.new(name: 'OnlineEvaluationConfigArn')
|
|
@@ -1140,6 +1142,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
1140
1142
|
RequestHeaderAllowlist = Shapes::ListShape.new(name: 'RequestHeaderAllowlist')
|
|
1141
1143
|
RequestHeaderConfiguration = Shapes::UnionShape.new(name: 'RequestHeaderConfiguration')
|
|
1142
1144
|
RequiredProperties = Shapes::ListShape.new(name: 'RequiredProperties')
|
|
1145
|
+
ResetTokenVaultKeyMaterialRequest = Shapes::StructureShape.new(name: 'ResetTokenVaultKeyMaterialRequest')
|
|
1146
|
+
ResetTokenVaultKeyMaterialResponse = Shapes::StructureShape.new(name: 'ResetTokenVaultKeyMaterialResponse')
|
|
1143
1147
|
Resource = Shapes::UnionShape.new(name: 'Resource')
|
|
1144
1148
|
ResourceAssociationArn = Shapes::StringShape.new(name: 'ResourceAssociationArn')
|
|
1145
1149
|
ResourceConfigurationIdentifier = Shapes::StringShape.new(name: 'ResourceConfigurationIdentifier')
|
|
@@ -5130,8 +5134,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
5130
5134
|
Oauth2ProviderConfigOutput.add_member_subclass(:unknown, Types::Oauth2ProviderConfigOutput::Unknown)
|
|
5131
5135
|
Oauth2ProviderConfigOutput.struct_class = Types::Oauth2ProviderConfigOutput
|
|
5132
5136
|
|
|
5137
|
+
OnBehalfOfAuthenticationConfig.add_member(:client_authentication_method, Shapes::ShapeRef.new(shape: OnBehalfOfClientAuthenticationMethod, required: true, location_name: "clientAuthenticationMethod"))
|
|
5138
|
+
OnBehalfOfAuthenticationConfig.struct_class = Types::OnBehalfOfAuthenticationConfig
|
|
5139
|
+
|
|
5133
5140
|
OnBehalfOfTokenExchangeConfigType.add_member(:grant_type, Shapes::ShapeRef.new(shape: OnBehalfOfTokenExchangeGrantTypeType, required: true, location_name: "grantType"))
|
|
5134
5141
|
OnBehalfOfTokenExchangeConfigType.add_member(:token_exchange_grant_type_config, Shapes::ShapeRef.new(shape: TokenExchangeGrantTypeConfigType, location_name: "tokenExchangeGrantTypeConfig"))
|
|
5142
|
+
OnBehalfOfTokenExchangeConfigType.add_member(:on_behalf_of_authentication_config, Shapes::ShapeRef.new(shape: OnBehalfOfAuthenticationConfig, location_name: "onBehalfOfAuthenticationConfig"))
|
|
5135
5143
|
OnBehalfOfTokenExchangeConfigType.struct_class = Types::OnBehalfOfTokenExchangeConfigType
|
|
5136
5144
|
|
|
5137
5145
|
OnlineEvaluationConfigSummary.add_member(:online_evaluation_config_arn, Shapes::ShapeRef.new(shape: OnlineEvaluationConfigArn, required: true, location_name: "onlineEvaluationConfigArn"))
|
|
@@ -5470,6 +5478,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
5470
5478
|
|
|
5471
5479
|
RequiredProperties.member = Shapes::ShapeRef.new(shape: String)
|
|
5472
5480
|
|
|
5481
|
+
ResetTokenVaultKeyMaterialRequest.add_member(:token_vault_id, Shapes::ShapeRef.new(shape: TokenVaultIdType, required: true, location_name: "tokenVaultId"))
|
|
5482
|
+
ResetTokenVaultKeyMaterialRequest.struct_class = Types::ResetTokenVaultKeyMaterialRequest
|
|
5483
|
+
|
|
5484
|
+
ResetTokenVaultKeyMaterialResponse.add_member(:token_vault_id, Shapes::ShapeRef.new(shape: TokenVaultIdType, required: true, location_name: "tokenVaultId"))
|
|
5485
|
+
ResetTokenVaultKeyMaterialResponse.add_member(:kms_configuration, Shapes::ShapeRef.new(shape: KmsConfiguration, required: true, location_name: "kmsConfiguration"))
|
|
5486
|
+
ResetTokenVaultKeyMaterialResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedDate"))
|
|
5487
|
+
ResetTokenVaultKeyMaterialResponse.struct_class = Types::ResetTokenVaultKeyMaterialResponse
|
|
5488
|
+
|
|
5473
5489
|
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: BedrockAgentcoreResourceArn, location_name: "arn"))
|
|
5474
5490
|
Resource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
5475
5491
|
Resource.add_member_subclass(:arn, Types::Resource::Arn)
|
|
@@ -7129,6 +7145,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
7129
7145
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
7130
7146
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
7131
7147
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
7148
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
7132
7149
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
7133
7150
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
7134
7151
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -8775,6 +8792,21 @@ module Aws::BedrockAgentCoreControl
|
|
|
8775
8792
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
8776
8793
|
end)
|
|
8777
8794
|
|
|
8795
|
+
api.add_operation(:reset_token_vault_key_material, Seahorse::Model::Operation.new.tap do |o|
|
|
8796
|
+
o.name = "ResetTokenVaultKeyMaterial"
|
|
8797
|
+
o.http_method = "POST"
|
|
8798
|
+
o.http_request_uri = "/identities/reset-token-vault-key-material"
|
|
8799
|
+
o.input = Shapes::ShapeRef.new(shape: ResetTokenVaultKeyMaterialRequest)
|
|
8800
|
+
o.output = Shapes::ShapeRef.new(shape: ResetTokenVaultKeyMaterialResponse)
|
|
8801
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
8802
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8803
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8804
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8805
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8806
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8807
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
8808
|
+
end)
|
|
8809
|
+
|
|
8778
8810
|
api.add_operation(:rotate_payment_connector_credentials, Seahorse::Model::Operation.new.tap do |o|
|
|
8779
8811
|
o.name = "RotatePaymentConnectorCredentials"
|
|
8780
8812
|
o.http_method = "POST"
|
|
@@ -8799,6 +8831,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
8799
8831
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
8800
8832
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8801
8833
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8834
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8802
8835
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8803
8836
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8804
8837
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -9276,6 +9309,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
9276
9309
|
o.output = Shapes::ShapeRef.new(shape: UpdateWorkloadIdentityResponse)
|
|
9277
9310
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
9278
9311
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
9312
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
9279
9313
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
9280
9314
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
9281
9315
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
@@ -17406,6 +17406,24 @@ module Aws::BedrockAgentCoreControl
|
|
|
17406
17406
|
class Unknown < Oauth2ProviderConfigOutput; end
|
|
17407
17407
|
end
|
|
17408
17408
|
|
|
17409
|
+
# Specifies the client authentication method to use for the on-behalf-of
|
|
17410
|
+
# token exchange.
|
|
17411
|
+
#
|
|
17412
|
+
# @!attribute [rw] client_authentication_method
|
|
17413
|
+
# The client authentication method to use during the on-behalf-of
|
|
17414
|
+
# token exchange. The `NO_CLIENT` option omits the `clientId` and
|
|
17415
|
+
# `clientSecret` during the on-behalf-of token exchange with the
|
|
17416
|
+
# identity provider.
|
|
17417
|
+
# @return [String]
|
|
17418
|
+
#
|
|
17419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OnBehalfOfAuthenticationConfig AWS API Documentation
|
|
17420
|
+
#
|
|
17421
|
+
class OnBehalfOfAuthenticationConfig < Struct.new(
|
|
17422
|
+
:client_authentication_method)
|
|
17423
|
+
SENSITIVE = []
|
|
17424
|
+
include Aws::Structure
|
|
17425
|
+
end
|
|
17426
|
+
|
|
17409
17427
|
# Configuration for on-behalf-of token exchange.
|
|
17410
17428
|
#
|
|
17411
17429
|
# @!attribute [rw] grant_type
|
|
@@ -17416,11 +17434,21 @@ module Aws::BedrockAgentCoreControl
|
|
|
17416
17434
|
# Configuration specific to the TOKEN\_EXCHANGE grant type (RFC 8693).
|
|
17417
17435
|
# @return [Types::TokenExchangeGrantTypeConfigType]
|
|
17418
17436
|
#
|
|
17437
|
+
# @!attribute [rw] on_behalf_of_authentication_config
|
|
17438
|
+
# Specify the client authentication configuration to use for the
|
|
17439
|
+
# on-behalf-of token exchange. With this configuration, you override
|
|
17440
|
+
# the provider level client authentication method for the on-behalf-of
|
|
17441
|
+
# exchange with the identity provider. If you don't specify this
|
|
17442
|
+
# configuration, we use the provider level client authentication
|
|
17443
|
+
# method.
|
|
17444
|
+
# @return [Types::OnBehalfOfAuthenticationConfig]
|
|
17445
|
+
#
|
|
17419
17446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OnBehalfOfTokenExchangeConfigType AWS API Documentation
|
|
17420
17447
|
#
|
|
17421
17448
|
class OnBehalfOfTokenExchangeConfigType < Struct.new(
|
|
17422
17449
|
:grant_type,
|
|
17423
|
-
:token_exchange_grant_type_config
|
|
17450
|
+
:token_exchange_grant_type_config,
|
|
17451
|
+
:on_behalf_of_authentication_config)
|
|
17424
17452
|
SENSITIVE = []
|
|
17425
17453
|
include Aws::Structure
|
|
17426
17454
|
end
|
|
@@ -19037,6 +19065,42 @@ module Aws::BedrockAgentCoreControl
|
|
|
19037
19065
|
class Unknown < RequestHeaderConfiguration; end
|
|
19038
19066
|
end
|
|
19039
19067
|
|
|
19068
|
+
# @!attribute [rw] token_vault_id
|
|
19069
|
+
# The unique identifier of the token vault to reset. To reset your
|
|
19070
|
+
# account's default token vault, specify `default`.
|
|
19071
|
+
# @return [String]
|
|
19072
|
+
#
|
|
19073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ResetTokenVaultKeyMaterialRequest AWS API Documentation
|
|
19074
|
+
#
|
|
19075
|
+
class ResetTokenVaultKeyMaterialRequest < Struct.new(
|
|
19076
|
+
:token_vault_id)
|
|
19077
|
+
SENSITIVE = []
|
|
19078
|
+
include Aws::Structure
|
|
19079
|
+
end
|
|
19080
|
+
|
|
19081
|
+
# @!attribute [rw] token_vault_id
|
|
19082
|
+
# The ID of the token vault.
|
|
19083
|
+
# @return [String]
|
|
19084
|
+
#
|
|
19085
|
+
# @!attribute [rw] kms_configuration
|
|
19086
|
+
# The KMS configuration for the token vault after the reset. The token
|
|
19087
|
+
# vault uses an Amazon Web Services managed key.
|
|
19088
|
+
# @return [Types::KmsConfiguration]
|
|
19089
|
+
#
|
|
19090
|
+
# @!attribute [rw] last_modified_date
|
|
19091
|
+
# The timestamp when the token vault was last modified.
|
|
19092
|
+
# @return [Time]
|
|
19093
|
+
#
|
|
19094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ResetTokenVaultKeyMaterialResponse AWS API Documentation
|
|
19095
|
+
#
|
|
19096
|
+
class ResetTokenVaultKeyMaterialResponse < Struct.new(
|
|
19097
|
+
:token_vault_id,
|
|
19098
|
+
:kms_configuration,
|
|
19099
|
+
:last_modified_date)
|
|
19100
|
+
SENSITIVE = []
|
|
19101
|
+
include Aws::Structure
|
|
19102
|
+
end
|
|
19103
|
+
|
|
19040
19104
|
# Represents a resource within the AgentCore Policy system. Resources
|
|
19041
19105
|
# are the targets of policy evaluation. Currently, only AgentCore
|
|
19042
19106
|
# Gateways are supported as resources for policy enforcement.
|
data/sig/client.rbs
CHANGED
|
@@ -2606,6 +2606,18 @@ module Aws
|
|
|
2606
2606
|
) -> _PutResourcePolicyResponseSuccess
|
|
2607
2607
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
2608
2608
|
|
|
2609
|
+
interface _ResetTokenVaultKeyMaterialResponseSuccess
|
|
2610
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ResetTokenVaultKeyMaterialResponse]
|
|
2611
|
+
def token_vault_id: () -> ::String
|
|
2612
|
+
def kms_configuration: () -> Types::KmsConfiguration
|
|
2613
|
+
def last_modified_date: () -> ::Time
|
|
2614
|
+
end
|
|
2615
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#reset_token_vault_key_material-instance_method
|
|
2616
|
+
def reset_token_vault_key_material: (
|
|
2617
|
+
token_vault_id: ::String
|
|
2618
|
+
) -> _ResetTokenVaultKeyMaterialResponseSuccess
|
|
2619
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetTokenVaultKeyMaterialResponseSuccess
|
|
2620
|
+
|
|
2609
2621
|
interface _RotatePaymentConnectorCredentialsResponseSuccess
|
|
2610
2622
|
include ::Seahorse::Client::_ResponseSuccess[Types::RotatePaymentConnectorCredentialsResponse]
|
|
2611
2623
|
def payment_connector_id: () -> ::String
|
data/sig/params.rbs
CHANGED
|
@@ -1061,6 +1061,17 @@ module Aws
|
|
|
1061
1061
|
}?
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
|
+
type on_behalf_of_token_exchange_config_type = {
|
|
1065
|
+
grant_type: ("TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT"),
|
|
1066
|
+
token_exchange_grant_type_config: {
|
|
1067
|
+
actor_token_content: ("NONE" | "M2M" | "AWS_IAM_ID_TOKEN_JWT"),
|
|
1068
|
+
actor_token_scopes: Array[::String]?
|
|
1069
|
+
}?,
|
|
1070
|
+
on_behalf_of_authentication_config: {
|
|
1071
|
+
client_authentication_method: ("NO_CLIENT")
|
|
1072
|
+
}?
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1064
1075
|
type private_key_jwt_config = {
|
|
1065
1076
|
private_key_source: {
|
|
1066
1077
|
kms_key_source: {
|
|
@@ -1081,13 +1092,7 @@ module Aws
|
|
|
1081
1092
|
json_key: ::String
|
|
1082
1093
|
}?,
|
|
1083
1094
|
client_secret_source: ("MANAGED" | "EXTERNAL")?,
|
|
1084
|
-
on_behalf_of_token_exchange_config:
|
|
1085
|
-
grant_type: ("TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT"),
|
|
1086
|
-
token_exchange_grant_type_config: {
|
|
1087
|
-
actor_token_content: ("NONE" | "M2M" | "AWS_IAM_ID_TOKEN_JWT"),
|
|
1088
|
-
actor_token_scopes: Array[::String]?
|
|
1089
|
-
}?
|
|
1090
|
-
}?,
|
|
1095
|
+
on_behalf_of_token_exchange_config: Params::on_behalf_of_token_exchange_config_type?,
|
|
1091
1096
|
client_authentication_method: ("CLIENT_SECRET_BASIC" | "CLIENT_SECRET_POST" | "AWS_IAM_ID_TOKEN_JWT" | "PRIVATE_KEY_JWT")?,
|
|
1092
1097
|
private_key_jwt_config: Params::private_key_jwt_config?,
|
|
1093
1098
|
private_endpoint: Params::private_endpoint?,
|
data/sig/types.rbs
CHANGED
|
@@ -4796,9 +4796,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
4796
4796
|
end
|
|
4797
4797
|
end
|
|
4798
4798
|
|
|
4799
|
+
class OnBehalfOfAuthenticationConfig
|
|
4800
|
+
attr_accessor client_authentication_method: ("NO_CLIENT")
|
|
4801
|
+
SENSITIVE: []
|
|
4802
|
+
end
|
|
4803
|
+
|
|
4799
4804
|
class OnBehalfOfTokenExchangeConfigType
|
|
4800
4805
|
attr_accessor grant_type: ("TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT")
|
|
4801
4806
|
attr_accessor token_exchange_grant_type_config: Types::TokenExchangeGrantTypeConfigType
|
|
4807
|
+
attr_accessor on_behalf_of_authentication_config: Types::OnBehalfOfAuthenticationConfig
|
|
4802
4808
|
SENSITIVE: []
|
|
4803
4809
|
end
|
|
4804
4810
|
|
|
@@ -5222,6 +5228,18 @@ module Aws::BedrockAgentCoreControl
|
|
|
5222
5228
|
end
|
|
5223
5229
|
end
|
|
5224
5230
|
|
|
5231
|
+
class ResetTokenVaultKeyMaterialRequest
|
|
5232
|
+
attr_accessor token_vault_id: ::String
|
|
5233
|
+
SENSITIVE: []
|
|
5234
|
+
end
|
|
5235
|
+
|
|
5236
|
+
class ResetTokenVaultKeyMaterialResponse
|
|
5237
|
+
attr_accessor token_vault_id: ::String
|
|
5238
|
+
attr_accessor kms_configuration: Types::KmsConfiguration
|
|
5239
|
+
attr_accessor last_modified_date: ::Time
|
|
5240
|
+
SENSITIVE: []
|
|
5241
|
+
end
|
|
5242
|
+
|
|
5225
5243
|
class Resource
|
|
5226
5244
|
attr_accessor arn: ::String
|
|
5227
5245
|
attr_accessor unknown: untyped
|