@aws-sdk/client-bedrock-agentcore-control 3.1018.0 → 3.1019.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.
Files changed (33) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
  2. package/dist-cjs/index.js +1 -0
  3. package/dist-cjs/runtimeConfig.js +4 -3
  4. package/dist-cjs/runtimeConfig.shared.js +2 -2
  5. package/dist-cjs/schemas/schemas_0.js +24 -9
  6. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  7. package/dist-es/models/enums.js +1 -0
  8. package/dist-es/runtimeConfig.js +2 -1
  9. package/dist-es/runtimeConfig.shared.js +1 -1
  10. package/dist-es/schemas/schemas_0.js +17 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  12. package/dist-types/commands/CreateEvaluatorCommand.d.ts +7 -1
  13. package/dist-types/commands/GetEvaluatorCommand.d.ts +6 -0
  14. package/dist-types/commands/ListEvaluatorsCommand.d.ts +1 -1
  15. package/dist-types/commands/UpdateEvaluatorCommand.d.ts +6 -0
  16. package/dist-types/commands/UpdatePolicyEngineCommand.d.ts +1 -2
  17. package/dist-types/models/enums.d.ts +1 -0
  18. package/dist-types/models/models_0.d.ts +65 -33
  19. package/dist-types/models/models_1.d.ts +30 -1
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  21. package/dist-types/runtimeConfig.d.ts +1 -1
  22. package/dist-types/runtimeConfig.native.d.ts +1 -1
  23. package/dist-types/schemas/schemas_0.d.ts +2 -0
  24. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/UpdatePolicyEngineCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +30 -7
  28. package/dist-types/ts3.4/models/models_1.d.ts +7 -1
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  33. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveHttpAuthSchemeConfig = exports.defaultBedrockAgentCoreControlHttpAuthSchemeProvider = exports.defaultBedrockAgentCoreControlHttpAuthSchemeParametersProvider = void 0;
4
- const core_1 = require("@aws-sdk/core");
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultBedrockAgentCoreControlHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
@@ -38,7 +38,7 @@ const defaultBedrockAgentCoreControlHttpAuthSchemeProvider = (authParameters) =>
38
38
  };
39
39
  exports.defaultBedrockAgentCoreControlHttpAuthSchemeProvider = defaultBedrockAgentCoreControlHttpAuthSchemeProvider;
40
40
  const resolveHttpAuthSchemeConfig = (config) => {
41
- const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
41
+ const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
42
42
  return Object.assign(config_0, {
43
43
  authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
44
44
  });
package/dist-cjs/index.js CHANGED
@@ -1708,6 +1708,7 @@ const EvaluatorStatus = {
1708
1708
  };
1709
1709
  const EvaluatorType = {
1710
1710
  BUILTIN: "Builtin",
1711
+ CODE: "CustomCode",
1711
1712
  CUSTOM: "Custom",
1712
1713
  };
1713
1714
  const AuthorizerType = {
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const core_1 = require("@aws-sdk/core");
6
+ const client_1 = require("@aws-sdk/core/client");
7
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
9
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
10
  const config_resolver_1 = require("@smithy/config-resolver");
@@ -21,7 +22,7 @@ const getRuntimeConfig = (config) => {
21
22
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
22
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
24
- (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
25
+ (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
25
26
  const loaderConfig = {
26
27
  profile: config?.profile,
27
28
  logger: clientSharedValues.logger,
@@ -31,7 +32,7 @@ const getRuntimeConfig = (config) => {
31
32
  ...config,
32
33
  runtime: "node",
33
34
  defaultsMode,
34
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
36
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
37
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
38
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const core_1 = require("@aws-sdk/core");
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const protocols_1 = require("@aws-sdk/core/protocols");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const url_parser_1 = require("@smithy/url-parser");
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  {
24
24
  schemeId: "aws.auth#sigv4",
25
25
  identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
26
- signer: new core_1.AwsSdkSigV4Signer(),
26
+ signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateBrowserProfileRequest$ = exports.CreateApiKeyCredentialProviderResponse$ = exports.CreateApiKeyCredentialProviderRequest$ = exports.CreateAgentRuntimeResponse$ = exports.CreateAgentRuntimeRequest$ = exports.CreateAgentRuntimeEndpointResponse$ = exports.CreateAgentRuntimeEndpointRequest$ = exports.ContentConfiguration$ = exports.ContainerConfiguration$ = exports.CodeInterpreterSummary$ = exports.CodeInterpreterNetworkConfiguration$ = exports.CodeConfiguration$ = exports.CloudWatchOutputConfig$ = exports.CloudWatchLogsInputConfig$ = exports.Certificate$ = exports.CedarPolicy$ = exports.CategoricalScaleDefinition$ = exports.BrowserSummary$ = exports.BrowserSigningConfigOutput$ = exports.BrowserSigningConfigInput$ = exports.BrowserProfileSummary$ = exports.BrowserNetworkConfiguration$ = exports.BrowserEnterprisePolicy$ = exports.BedrockEvaluatorModelConfig$ = exports.AuthorizingClaimMatchValueType$ = exports.AtlassianOauth2ProviderConfigOutput$ = exports.AtlassianOauth2ProviderConfigInput$ = exports.ApiKeyCredentialProviderItem$ = exports.ApiGatewayToolOverride$ = exports.ApiGatewayToolFilter$ = exports.ApiGatewayToolConfiguration$ = exports.ApiGatewayTargetConfiguration$ = exports.AgentRuntimeEndpoint$ = exports.AgentRuntime$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UnauthorizedException$ = exports.ThrottlingException$ = exports.ThrottledException$ = exports.ServiceQuotaExceededException$ = exports.ServiceException$ = exports.ResourceNotFoundException$ = exports.ResourceLimitExceededException$ = exports.InternalServerException$ = exports.EncryptionFailure$ = exports.DecryptionFailure$ = exports.ConflictException$ = exports.ConcurrentModificationException$ = exports.AccessDeniedException$ = exports.BedrockAgentCoreControlServiceException$ = void 0;
4
4
  exports.DeleteMemoryStrategyInput$ = exports.DeleteMemoryOutput$ = exports.DeleteMemoryInput$ = exports.DeleteGatewayTargetResponse$ = exports.DeleteGatewayTargetRequest$ = exports.DeleteGatewayResponse$ = exports.DeleteGatewayRequest$ = exports.DeleteEvaluatorResponse$ = exports.DeleteEvaluatorRequest$ = exports.DeleteCodeInterpreterResponse$ = exports.DeleteCodeInterpreterRequest$ = exports.DeleteBrowserResponse$ = exports.DeleteBrowserRequest$ = exports.DeleteBrowserProfileResponse$ = exports.DeleteBrowserProfileRequest$ = exports.DeleteApiKeyCredentialProviderResponse$ = exports.DeleteApiKeyCredentialProviderRequest$ = exports.DeleteAgentRuntimeResponse$ = exports.DeleteAgentRuntimeRequest$ = exports.DeleteAgentRuntimeEndpointResponse$ = exports.DeleteAgentRuntimeEndpointRequest$ = exports.CustomOauth2ProviderConfigOutput$ = exports.CustomOauth2ProviderConfigInput$ = exports.CustomMemoryStrategyInput$ = exports.CustomJWTAuthorizerConfiguration$ = exports.CustomClaimValidationType$ = exports.CredentialProviderConfiguration$ = exports.CreateWorkloadIdentityResponse$ = exports.CreateWorkloadIdentityRequest$ = exports.CreatePolicyResponse$ = exports.CreatePolicyRequest$ = exports.CreatePolicyEngineResponse$ = exports.CreatePolicyEngineRequest$ = exports.CreateOnlineEvaluationConfigResponse$ = exports.CreateOnlineEvaluationConfigRequest$ = exports.CreateOauth2CredentialProviderResponse$ = exports.CreateOauth2CredentialProviderRequest$ = exports.CreateMemoryOutput$ = exports.CreateMemoryInput$ = exports.CreateGatewayTargetResponse$ = exports.CreateGatewayTargetRequest$ = exports.CreateGatewayResponse$ = exports.CreateGatewayRequest$ = exports.CreateEvaluatorResponse$ = exports.CreateEvaluatorRequest$ = exports.CreateCodeInterpreterResponse$ = exports.CreateCodeInterpreterRequest$ = exports.CreateBrowserResponse$ = exports.CreateBrowserRequest$ = exports.CreateBrowserProfileResponse$ = void 0;
5
5
  exports.GetMemoryOutput$ = exports.GetMemoryInput$ = exports.GetGatewayTargetResponse$ = exports.GetGatewayTargetRequest$ = exports.GetGatewayResponse$ = exports.GetGatewayRequest$ = exports.GetEvaluatorResponse$ = exports.GetEvaluatorRequest$ = exports.GetCodeInterpreterResponse$ = exports.GetCodeInterpreterRequest$ = exports.GetBrowserResponse$ = exports.GetBrowserRequest$ = exports.GetBrowserProfileResponse$ = exports.GetBrowserProfileRequest$ = exports.GetApiKeyCredentialProviderResponse$ = exports.GetApiKeyCredentialProviderRequest$ = exports.GetAgentRuntimeResponse$ = exports.GetAgentRuntimeRequest$ = exports.GetAgentRuntimeEndpointResponse$ = exports.GetAgentRuntimeEndpointRequest$ = exports.GatewayTarget$ = exports.GatewaySummary$ = exports.GatewayPolicyEngineConfiguration$ = exports.GatewayInterceptorConfiguration$ = exports.GatewayApiKeyCredentialProvider$ = exports.Finding$ = exports.Filter$ = exports.EvaluatorSummary$ = exports.EpisodicReflectionOverride$ = exports.EpisodicReflectionConfigurationInput$ = exports.EpisodicReflectionConfiguration$ = exports.EpisodicOverrideReflectionConfigurationInput$ = exports.EpisodicOverrideExtractionConfigurationInput$ = exports.EpisodicOverrideConsolidationConfigurationInput$ = exports.EpisodicOverrideConfigurationInput$ = exports.EpisodicMemoryStrategyInput$ = exports.EpisodicExtractionOverride$ = exports.EpisodicConsolidationOverride$ = exports.DeleteWorkloadIdentityResponse$ = exports.DeleteWorkloadIdentityRequest$ = exports.DeleteResourcePolicyResponse$ = exports.DeleteResourcePolicyRequest$ = exports.DeletePolicyResponse$ = exports.DeletePolicyRequest$ = exports.DeletePolicyEngineResponse$ = exports.DeletePolicyEngineRequest$ = exports.DeleteOnlineEvaluationConfigResponse$ = exports.DeleteOnlineEvaluationConfigRequest$ = exports.DeleteOauth2CredentialProviderResponse$ = exports.DeleteOauth2CredentialProviderRequest$ = void 0;
6
- exports.ListGatewaysResponse$ = exports.ListGatewaysRequest$ = exports.ListEvaluatorsResponse$ = exports.ListEvaluatorsRequest$ = exports.ListCodeInterpretersResponse$ = exports.ListCodeInterpretersRequest$ = exports.ListBrowsersResponse$ = exports.ListBrowsersRequest$ = exports.ListBrowserProfilesResponse$ = exports.ListBrowserProfilesRequest$ = exports.ListApiKeyCredentialProvidersResponse$ = exports.ListApiKeyCredentialProvidersRequest$ = exports.ListAgentRuntimeVersionsResponse$ = exports.ListAgentRuntimeVersionsRequest$ = exports.ListAgentRuntimesResponse$ = exports.ListAgentRuntimesRequest$ = exports.ListAgentRuntimeEndpointsResponse$ = exports.ListAgentRuntimeEndpointsRequest$ = exports.LinkedinOauth2ProviderConfigOutput$ = exports.LinkedinOauth2ProviderConfigInput$ = exports.LifecycleConfiguration$ = exports.LambdaInterceptorConfiguration$ = exports.KmsConfiguration$ = exports.KinesisResource$ = exports.InvocationConfigurationInput$ = exports.InvocationConfiguration$ = exports.InterceptorInputConfiguration$ = exports.InferenceConfiguration$ = exports.IncludedOauth2ProviderConfigOutput$ = exports.IncludedOauth2ProviderConfigInput$ = exports.GoogleOauth2ProviderConfigOutput$ = exports.GoogleOauth2ProviderConfigInput$ = exports.GithubOauth2ProviderConfigOutput$ = exports.GithubOauth2ProviderConfigInput$ = exports.GetWorkloadIdentityResponse$ = exports.GetWorkloadIdentityRequest$ = exports.GetTokenVaultResponse$ = exports.GetTokenVaultRequest$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = exports.GetPolicyResponse$ = exports.GetPolicyRequest$ = exports.GetPolicyGenerationResponse$ = exports.GetPolicyGenerationRequest$ = exports.GetPolicyEngineResponse$ = exports.GetPolicyEngineRequest$ = exports.GetOnlineEvaluationConfigResponse$ = exports.GetOnlineEvaluationConfigRequest$ = exports.GetOauth2CredentialProviderResponse$ = exports.GetOauth2CredentialProviderRequest$ = void 0;
7
- exports.ProtocolConfiguration$ = exports.PolicyGenerationDetails$ = exports.PolicyGenerationAsset$ = exports.PolicyGeneration$ = exports.PolicyEngine$ = exports.Policy$ = exports.OutputConfig$ = exports.OnlineEvaluationConfigSummary$ = exports.OAuthCredentialProvider$ = exports.Oauth2CredentialProviderItem$ = exports.Oauth2AuthorizationServerMetadata$ = exports.NumericalScaleDefinition$ = exports.NetworkConfiguration$ = exports.ModifyStrategyConfiguration$ = exports.ModifySelfManagedConfiguration$ = exports.ModifyMemoryStrategyInput$ = exports.ModifyMemoryStrategies$ = exports.ModifyInvocationConfigurationInput$ = exports.MicrosoftOauth2ProviderConfigOutput$ = exports.MicrosoftOauth2ProviderConfigInput$ = exports.MetadataConfiguration$ = exports.MessageBasedTriggerInput$ = exports.MessageBasedTrigger$ = exports.MemorySummary$ = exports.MemoryStrategy$ = exports.Memory$ = exports.McpServerTargetConfiguration$ = exports.McpLambdaTargetConfiguration$ = exports.MCPGatewayConfiguration$ = exports.LlmAsAJudgeEvaluatorConfig$ = exports.ListWorkloadIdentitiesResponse$ = exports.ListWorkloadIdentitiesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPolicyGenerationsResponse$ = exports.ListPolicyGenerationsRequest$ = exports.ListPolicyGenerationAssetsResponse$ = exports.ListPolicyGenerationAssetsRequest$ = exports.ListPolicyEnginesResponse$ = exports.ListPolicyEnginesRequest$ = exports.ListPoliciesResponse$ = exports.ListPoliciesRequest$ = exports.ListOnlineEvaluationConfigsResponse$ = exports.ListOnlineEvaluationConfigsRequest$ = exports.ListOauth2CredentialProvidersResponse$ = exports.ListOauth2CredentialProvidersRequest$ = exports.ListMemoriesOutput$ = exports.ListMemoriesInput$ = exports.ListGatewayTargetsResponse$ = exports.ListGatewayTargetsRequest$ = void 0;
8
- exports.UpdateAgentRuntimeRequest$ = exports.UpdateAgentRuntimeEndpointResponse$ = exports.UpdateAgentRuntimeEndpointRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.ToolDefinition$ = exports.TokenBasedTriggerInput$ = exports.TokenBasedTrigger$ = exports.TimeBasedTriggerInput$ = exports.TimeBasedTrigger$ = exports.TargetSummary$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SynchronizeGatewayTargetsResponse$ = exports.SynchronizeGatewayTargetsRequest$ = exports.SummaryOverrideConsolidationConfigurationInput$ = exports.SummaryOverrideConfigurationInput$ = exports.SummaryMemoryStrategyInput$ = exports.SummaryConsolidationOverride$ = exports.StreamDeliveryResources$ = exports.StrategyConfiguration$ = exports.StartPolicyGenerationResponse$ = exports.StartPolicyGenerationRequest$ = exports.SlackOauth2ProviderConfigOutput$ = exports.SlackOauth2ProviderConfigInput$ = exports.SetTokenVaultCMKResponse$ = exports.SetTokenVaultCMKRequest$ = exports.SessionStorageConfiguration$ = exports.SessionConfig$ = exports.SemanticOverrideExtractionConfigurationInput$ = exports.SemanticOverrideConsolidationConfigurationInput$ = exports.SemanticOverrideConfigurationInput$ = exports.SemanticMemoryStrategyInput$ = exports.SemanticExtractionOverride$ = exports.SemanticConsolidationOverride$ = exports.SelfManagedConfigurationInput$ = exports.SelfManagedConfiguration$ = exports.SecretsManagerLocation$ = exports.Secret$ = exports.SchemaDefinition$ = exports.SamplingConfig$ = exports.SalesforceOauth2ProviderConfigOutput$ = exports.SalesforceOauth2ProviderConfigInput$ = exports.S3Location$ = exports.S3Configuration$ = exports.RuntimeMetadataConfiguration$ = exports.Rule$ = exports.RecordingConfig$ = exports.PutResourcePolicyResponse$ = exports.PutResourcePolicyRequest$ = void 0;
9
- exports.EvaluatorConfig$ = exports.DataSourceConfig$ = exports.CustomReflectionConfigurationInput$ = exports.CustomReflectionConfiguration$ = exports.CustomExtractionConfigurationInput$ = exports.CustomExtractionConfiguration$ = exports.CustomConsolidationConfigurationInput$ = exports.CustomConsolidationConfiguration$ = exports.CustomConfigurationInput$ = exports.CredentialProvider$ = exports.Content$ = exports.ConsolidationConfiguration$ = exports.Code$ = exports.ClaimMatchValueType$ = exports.CertificateLocation$ = exports.AuthorizerConfiguration$ = exports.ApiSchemaConfiguration$ = exports.AgentRuntimeArtifact$ = exports.WorkloadIdentityType$ = exports.WorkloadIdentityDetails$ = exports.VpcConfig$ = exports.ValidationExceptionField$ = exports.UserPreferenceOverrideExtractionConfigurationInput$ = exports.UserPreferenceOverrideConsolidationConfigurationInput$ = exports.UserPreferenceOverrideConfigurationInput$ = exports.UserPreferenceMemoryStrategyInput$ = exports.UserPreferenceExtractionOverride$ = exports.UserPreferenceConsolidationOverride$ = exports.UpdateWorkloadIdentityResponse$ = exports.UpdateWorkloadIdentityRequest$ = exports.UpdatePolicyResponse$ = exports.UpdatePolicyRequest$ = exports.UpdatePolicyEngineResponse$ = exports.UpdatePolicyEngineRequest$ = exports.UpdateOnlineEvaluationConfigResponse$ = exports.UpdateOnlineEvaluationConfigRequest$ = exports.UpdateOauth2CredentialProviderResponse$ = exports.UpdateOauth2CredentialProviderRequest$ = exports.UpdateMemoryOutput$ = exports.UpdateMemoryInput$ = exports.UpdateGatewayTargetResponse$ = exports.UpdateGatewayTargetRequest$ = exports.UpdateGatewayResponse$ = exports.UpdateGatewayRequest$ = exports.UpdateEvaluatorResponse$ = exports.UpdateEvaluatorRequest$ = exports.UpdatedDescription$ = exports.UpdateApiKeyCredentialProviderResponse$ = exports.UpdateApiKeyCredentialProviderRequest$ = exports.UpdateAgentRuntimeResponse$ = void 0;
10
- exports.DeleteGatewayTarget$ = exports.DeleteGateway$ = exports.DeleteEvaluator$ = exports.DeleteCodeInterpreter$ = exports.DeleteBrowserProfile$ = exports.DeleteBrowser$ = exports.DeleteApiKeyCredentialProvider$ = exports.DeleteAgentRuntimeEndpoint$ = exports.DeleteAgentRuntime$ = exports.CreateWorkloadIdentity$ = exports.CreatePolicyEngine$ = exports.CreatePolicy$ = exports.CreateOnlineEvaluationConfig$ = exports.CreateOauth2CredentialProvider$ = exports.CreateMemory$ = exports.CreateGatewayTarget$ = exports.CreateGateway$ = exports.CreateEvaluator$ = exports.CreateCodeInterpreter$ = exports.CreateBrowserProfile$ = exports.CreateBrowser$ = exports.CreateApiKeyCredentialProvider$ = exports.CreateAgentRuntimeEndpoint$ = exports.CreateAgentRuntime$ = exports.TriggerConditionInput$ = exports.TriggerCondition$ = exports.ToolSchema$ = exports.TargetConfiguration$ = exports.StreamDeliveryResource$ = exports.ResourceLocation$ = exports.Resource$ = exports.RequestHeaderConfiguration$ = exports.ReflectionConfiguration$ = exports.RatingScale$ = exports.PolicyDefinition$ = exports.Oauth2ProviderConfigOutput$ = exports.Oauth2ProviderConfigInput$ = exports.Oauth2Discovery$ = exports.ModifyReflectionConfiguration$ = exports.ModifyExtractionConfiguration$ = exports.ModifyConsolidationConfiguration$ = exports.MemoryStrategyInput$ = exports.McpTargetConfiguration$ = exports.InterceptorConfiguration$ = exports.GatewayProtocolConfiguration$ = exports.FilterValue$ = exports.FilesystemConfiguration$ = exports.ExtractionConfiguration$ = exports.EvaluatorReference$ = exports.EvaluatorModelConfig$ = void 0;
11
- exports.UntagResource$ = exports.TagResource$ = exports.SynchronizeGatewayTargets$ = exports.StartPolicyGeneration$ = exports.SetTokenVaultCMK$ = exports.PutResourcePolicy$ = exports.ListWorkloadIdentities$ = exports.ListTagsForResource$ = exports.ListPolicyGenerations$ = exports.ListPolicyGenerationAssets$ = exports.ListPolicyEngines$ = exports.ListPolicies$ = exports.ListOnlineEvaluationConfigs$ = exports.ListOauth2CredentialProviders$ = exports.ListMemories$ = exports.ListGatewayTargets$ = exports.ListGateways$ = exports.ListEvaluators$ = exports.ListCodeInterpreters$ = exports.ListBrowsers$ = exports.ListBrowserProfiles$ = exports.ListApiKeyCredentialProviders$ = exports.ListAgentRuntimeVersions$ = exports.ListAgentRuntimes$ = exports.ListAgentRuntimeEndpoints$ = exports.GetWorkloadIdentity$ = exports.GetTokenVault$ = exports.GetResourcePolicy$ = exports.GetPolicyGeneration$ = exports.GetPolicyEngine$ = exports.GetPolicy$ = exports.GetOnlineEvaluationConfig$ = exports.GetOauth2CredentialProvider$ = exports.GetMemory$ = exports.GetGatewayTarget$ = exports.GetGateway$ = exports.GetEvaluator$ = exports.GetCodeInterpreter$ = exports.GetBrowserProfile$ = exports.GetBrowser$ = exports.GetApiKeyCredentialProvider$ = exports.GetAgentRuntimeEndpoint$ = exports.GetAgentRuntime$ = exports.DeleteWorkloadIdentity$ = exports.DeleteResourcePolicy$ = exports.DeletePolicyEngine$ = exports.DeletePolicy$ = exports.DeleteOnlineEvaluationConfig$ = exports.DeleteOauth2CredentialProvider$ = exports.DeleteMemory$ = void 0;
12
- exports.UpdateWorkloadIdentity$ = exports.UpdatePolicyEngine$ = exports.UpdatePolicy$ = exports.UpdateOnlineEvaluationConfig$ = exports.UpdateOauth2CredentialProvider$ = exports.UpdateMemory$ = exports.UpdateGatewayTarget$ = exports.UpdateGateway$ = exports.UpdateEvaluator$ = exports.UpdateApiKeyCredentialProvider$ = exports.UpdateAgentRuntimeEndpoint$ = exports.UpdateAgentRuntime$ = void 0;
6
+ exports.ListGatewaysRequest$ = exports.ListEvaluatorsResponse$ = exports.ListEvaluatorsRequest$ = exports.ListCodeInterpretersResponse$ = exports.ListCodeInterpretersRequest$ = exports.ListBrowsersResponse$ = exports.ListBrowsersRequest$ = exports.ListBrowserProfilesResponse$ = exports.ListBrowserProfilesRequest$ = exports.ListApiKeyCredentialProvidersResponse$ = exports.ListApiKeyCredentialProvidersRequest$ = exports.ListAgentRuntimeVersionsResponse$ = exports.ListAgentRuntimeVersionsRequest$ = exports.ListAgentRuntimesResponse$ = exports.ListAgentRuntimesRequest$ = exports.ListAgentRuntimeEndpointsResponse$ = exports.ListAgentRuntimeEndpointsRequest$ = exports.LinkedinOauth2ProviderConfigOutput$ = exports.LinkedinOauth2ProviderConfigInput$ = exports.LifecycleConfiguration$ = exports.LambdaInterceptorConfiguration$ = exports.LambdaEvaluatorConfig$ = exports.KmsConfiguration$ = exports.KinesisResource$ = exports.InvocationConfigurationInput$ = exports.InvocationConfiguration$ = exports.InterceptorInputConfiguration$ = exports.InferenceConfiguration$ = exports.IncludedOauth2ProviderConfigOutput$ = exports.IncludedOauth2ProviderConfigInput$ = exports.GoogleOauth2ProviderConfigOutput$ = exports.GoogleOauth2ProviderConfigInput$ = exports.GithubOauth2ProviderConfigOutput$ = exports.GithubOauth2ProviderConfigInput$ = exports.GetWorkloadIdentityResponse$ = exports.GetWorkloadIdentityRequest$ = exports.GetTokenVaultResponse$ = exports.GetTokenVaultRequest$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = exports.GetPolicyResponse$ = exports.GetPolicyRequest$ = exports.GetPolicyGenerationResponse$ = exports.GetPolicyGenerationRequest$ = exports.GetPolicyEngineResponse$ = exports.GetPolicyEngineRequest$ = exports.GetOnlineEvaluationConfigResponse$ = exports.GetOnlineEvaluationConfigRequest$ = exports.GetOauth2CredentialProviderResponse$ = exports.GetOauth2CredentialProviderRequest$ = void 0;
7
+ exports.PolicyGenerationDetails$ = exports.PolicyGenerationAsset$ = exports.PolicyGeneration$ = exports.PolicyEngine$ = exports.Policy$ = exports.OutputConfig$ = exports.OnlineEvaluationConfigSummary$ = exports.OAuthCredentialProvider$ = exports.Oauth2CredentialProviderItem$ = exports.Oauth2AuthorizationServerMetadata$ = exports.NumericalScaleDefinition$ = exports.NetworkConfiguration$ = exports.ModifyStrategyConfiguration$ = exports.ModifySelfManagedConfiguration$ = exports.ModifyMemoryStrategyInput$ = exports.ModifyMemoryStrategies$ = exports.ModifyInvocationConfigurationInput$ = exports.MicrosoftOauth2ProviderConfigOutput$ = exports.MicrosoftOauth2ProviderConfigInput$ = exports.MetadataConfiguration$ = exports.MessageBasedTriggerInput$ = exports.MessageBasedTrigger$ = exports.MemorySummary$ = exports.MemoryStrategy$ = exports.Memory$ = exports.McpServerTargetConfiguration$ = exports.McpLambdaTargetConfiguration$ = exports.MCPGatewayConfiguration$ = exports.LlmAsAJudgeEvaluatorConfig$ = exports.ListWorkloadIdentitiesResponse$ = exports.ListWorkloadIdentitiesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPolicyGenerationsResponse$ = exports.ListPolicyGenerationsRequest$ = exports.ListPolicyGenerationAssetsResponse$ = exports.ListPolicyGenerationAssetsRequest$ = exports.ListPolicyEnginesResponse$ = exports.ListPolicyEnginesRequest$ = exports.ListPoliciesResponse$ = exports.ListPoliciesRequest$ = exports.ListOnlineEvaluationConfigsResponse$ = exports.ListOnlineEvaluationConfigsRequest$ = exports.ListOauth2CredentialProvidersResponse$ = exports.ListOauth2CredentialProvidersRequest$ = exports.ListMemoriesOutput$ = exports.ListMemoriesInput$ = exports.ListGatewayTargetsResponse$ = exports.ListGatewayTargetsRequest$ = exports.ListGatewaysResponse$ = void 0;
8
+ exports.UpdateAgentRuntimeEndpointResponse$ = exports.UpdateAgentRuntimeEndpointRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.ToolDefinition$ = exports.TokenBasedTriggerInput$ = exports.TokenBasedTrigger$ = exports.TimeBasedTriggerInput$ = exports.TimeBasedTrigger$ = exports.TargetSummary$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SynchronizeGatewayTargetsResponse$ = exports.SynchronizeGatewayTargetsRequest$ = exports.SummaryOverrideConsolidationConfigurationInput$ = exports.SummaryOverrideConfigurationInput$ = exports.SummaryMemoryStrategyInput$ = exports.SummaryConsolidationOverride$ = exports.StreamDeliveryResources$ = exports.StrategyConfiguration$ = exports.StartPolicyGenerationResponse$ = exports.StartPolicyGenerationRequest$ = exports.SlackOauth2ProviderConfigOutput$ = exports.SlackOauth2ProviderConfigInput$ = exports.SetTokenVaultCMKResponse$ = exports.SetTokenVaultCMKRequest$ = exports.SessionStorageConfiguration$ = exports.SessionConfig$ = exports.SemanticOverrideExtractionConfigurationInput$ = exports.SemanticOverrideConsolidationConfigurationInput$ = exports.SemanticOverrideConfigurationInput$ = exports.SemanticMemoryStrategyInput$ = exports.SemanticExtractionOverride$ = exports.SemanticConsolidationOverride$ = exports.SelfManagedConfigurationInput$ = exports.SelfManagedConfiguration$ = exports.SecretsManagerLocation$ = exports.Secret$ = exports.SchemaDefinition$ = exports.SamplingConfig$ = exports.SalesforceOauth2ProviderConfigOutput$ = exports.SalesforceOauth2ProviderConfigInput$ = exports.S3Location$ = exports.S3Configuration$ = exports.RuntimeMetadataConfiguration$ = exports.Rule$ = exports.RecordingConfig$ = exports.PutResourcePolicyResponse$ = exports.PutResourcePolicyRequest$ = exports.ProtocolConfiguration$ = void 0;
9
+ exports.CustomReflectionConfigurationInput$ = exports.CustomReflectionConfiguration$ = exports.CustomExtractionConfigurationInput$ = exports.CustomExtractionConfiguration$ = exports.CustomConsolidationConfigurationInput$ = exports.CustomConsolidationConfiguration$ = exports.CustomConfigurationInput$ = exports.CredentialProvider$ = exports.Content$ = exports.ConsolidationConfiguration$ = exports.CodeBasedEvaluatorConfig$ = exports.Code$ = exports.ClaimMatchValueType$ = exports.CertificateLocation$ = exports.AuthorizerConfiguration$ = exports.ApiSchemaConfiguration$ = exports.AgentRuntimeArtifact$ = exports.WorkloadIdentityType$ = exports.WorkloadIdentityDetails$ = exports.VpcConfig$ = exports.ValidationExceptionField$ = exports.UserPreferenceOverrideExtractionConfigurationInput$ = exports.UserPreferenceOverrideConsolidationConfigurationInput$ = exports.UserPreferenceOverrideConfigurationInput$ = exports.UserPreferenceMemoryStrategyInput$ = exports.UserPreferenceExtractionOverride$ = exports.UserPreferenceConsolidationOverride$ = exports.UpdateWorkloadIdentityResponse$ = exports.UpdateWorkloadIdentityRequest$ = exports.UpdatePolicyResponse$ = exports.UpdatePolicyRequest$ = exports.UpdatePolicyEngineResponse$ = exports.UpdatePolicyEngineRequest$ = exports.UpdateOnlineEvaluationConfigResponse$ = exports.UpdateOnlineEvaluationConfigRequest$ = exports.UpdateOauth2CredentialProviderResponse$ = exports.UpdateOauth2CredentialProviderRequest$ = exports.UpdateMemoryOutput$ = exports.UpdateMemoryInput$ = exports.UpdateGatewayTargetResponse$ = exports.UpdateGatewayTargetRequest$ = exports.UpdateGatewayResponse$ = exports.UpdateGatewayRequest$ = exports.UpdateEvaluatorResponse$ = exports.UpdateEvaluatorRequest$ = exports.UpdatedDescription$ = exports.UpdateApiKeyCredentialProviderResponse$ = exports.UpdateApiKeyCredentialProviderRequest$ = exports.UpdateAgentRuntimeResponse$ = exports.UpdateAgentRuntimeRequest$ = void 0;
10
+ exports.DeleteEvaluator$ = exports.DeleteCodeInterpreter$ = exports.DeleteBrowserProfile$ = exports.DeleteBrowser$ = exports.DeleteApiKeyCredentialProvider$ = exports.DeleteAgentRuntimeEndpoint$ = exports.DeleteAgentRuntime$ = exports.CreateWorkloadIdentity$ = exports.CreatePolicyEngine$ = exports.CreatePolicy$ = exports.CreateOnlineEvaluationConfig$ = exports.CreateOauth2CredentialProvider$ = exports.CreateMemory$ = exports.CreateGatewayTarget$ = exports.CreateGateway$ = exports.CreateEvaluator$ = exports.CreateCodeInterpreter$ = exports.CreateBrowserProfile$ = exports.CreateBrowser$ = exports.CreateApiKeyCredentialProvider$ = exports.CreateAgentRuntimeEndpoint$ = exports.CreateAgentRuntime$ = exports.TriggerConditionInput$ = exports.TriggerCondition$ = exports.ToolSchema$ = exports.TargetConfiguration$ = exports.StreamDeliveryResource$ = exports.ResourceLocation$ = exports.Resource$ = exports.RequestHeaderConfiguration$ = exports.ReflectionConfiguration$ = exports.RatingScale$ = exports.PolicyDefinition$ = exports.Oauth2ProviderConfigOutput$ = exports.Oauth2ProviderConfigInput$ = exports.Oauth2Discovery$ = exports.ModifyReflectionConfiguration$ = exports.ModifyExtractionConfiguration$ = exports.ModifyConsolidationConfiguration$ = exports.MemoryStrategyInput$ = exports.McpTargetConfiguration$ = exports.InterceptorConfiguration$ = exports.GatewayProtocolConfiguration$ = exports.FilterValue$ = exports.FilesystemConfiguration$ = exports.ExtractionConfiguration$ = exports.EvaluatorReference$ = exports.EvaluatorModelConfig$ = exports.EvaluatorConfig$ = exports.DataSourceConfig$ = void 0;
11
+ exports.SynchronizeGatewayTargets$ = exports.StartPolicyGeneration$ = exports.SetTokenVaultCMK$ = exports.PutResourcePolicy$ = exports.ListWorkloadIdentities$ = exports.ListTagsForResource$ = exports.ListPolicyGenerations$ = exports.ListPolicyGenerationAssets$ = exports.ListPolicyEngines$ = exports.ListPolicies$ = exports.ListOnlineEvaluationConfigs$ = exports.ListOauth2CredentialProviders$ = exports.ListMemories$ = exports.ListGatewayTargets$ = exports.ListGateways$ = exports.ListEvaluators$ = exports.ListCodeInterpreters$ = exports.ListBrowsers$ = exports.ListBrowserProfiles$ = exports.ListApiKeyCredentialProviders$ = exports.ListAgentRuntimeVersions$ = exports.ListAgentRuntimes$ = exports.ListAgentRuntimeEndpoints$ = exports.GetWorkloadIdentity$ = exports.GetTokenVault$ = exports.GetResourcePolicy$ = exports.GetPolicyGeneration$ = exports.GetPolicyEngine$ = exports.GetPolicy$ = exports.GetOnlineEvaluationConfig$ = exports.GetOauth2CredentialProvider$ = exports.GetMemory$ = exports.GetGatewayTarget$ = exports.GetGateway$ = exports.GetEvaluator$ = exports.GetCodeInterpreter$ = exports.GetBrowserProfile$ = exports.GetBrowser$ = exports.GetApiKeyCredentialProvider$ = exports.GetAgentRuntimeEndpoint$ = exports.GetAgentRuntime$ = exports.DeleteWorkloadIdentity$ = exports.DeleteResourcePolicy$ = exports.DeletePolicyEngine$ = exports.DeletePolicy$ = exports.DeleteOnlineEvaluationConfig$ = exports.DeleteOauth2CredentialProvider$ = exports.DeleteMemory$ = exports.DeleteGatewayTarget$ = exports.DeleteGateway$ = void 0;
12
+ exports.UpdateWorkloadIdentity$ = exports.UpdatePolicyEngine$ = exports.UpdatePolicy$ = exports.UpdateOnlineEvaluationConfig$ = exports.UpdateOauth2CredentialProvider$ = exports.UpdateMemory$ = exports.UpdateGatewayTarget$ = exports.UpdateGateway$ = exports.UpdateEvaluator$ = exports.UpdateApiKeyCredentialProvider$ = exports.UpdateAgentRuntimeEndpoint$ = exports.UpdateAgentRuntime$ = exports.UntagResource$ = exports.TagResource$ = void 0;
13
13
  const _AC = "AuthorizerConfiguration";
14
14
  const _ACMVT = "AuthorizingClaimMatchValueType";
15
15
  const _ADE = "AccessDeniedException";
@@ -51,6 +51,7 @@ const _CARERr = "CreateAgentRuntimeEndpointResponse";
51
51
  const _CARR = "CreateAgentRuntimeRequest";
52
52
  const _CARRr = "CreateAgentRuntimeResponse";
53
53
  const _CB = "CreateBrowser";
54
+ const _CBEC = "CodeBasedEvaluatorConfig";
54
55
  const _CBP = "CreateBrowserProfile";
55
56
  const _CBPR = "CreateBrowserProfileRequest";
56
57
  const _CBPRr = "CreateBrowserProfileResponse";
@@ -310,6 +311,7 @@ const _LCI = "ListCodeInterpreters";
310
311
  const _LCIR = "ListCodeInterpretersRequest";
311
312
  const _LCIRi = "ListCodeInterpretersResponse";
312
313
  const _LE = "ListEvaluators";
314
+ const _LEC = "LambdaEvaluatorConfig";
313
315
  const _LER = "ListEvaluatorsRequest";
314
316
  const _LERi = "ListEvaluatorsResponse";
315
317
  const _LG = "ListGateways";
@@ -567,6 +569,7 @@ const _bSr = "browserSummaries";
567
569
  const _bV = "booleanValue";
568
570
  const _c = "client";
569
571
  const _cA = "createdAt";
572
+ const _cB = "codeBased";
570
573
  const _cC = "customClaims";
571
574
  const _cCC = "customConsolidationConfiguration";
572
575
  const _cCo = "contentConfigurations";
@@ -687,6 +690,7 @@ const _l = "location";
687
690
  const _lA = "lambdaArn";
688
691
  const _lAAJ = "llmAsAJudge";
689
692
  const _lC = "lifecycleConfiguration";
693
+ const _lCa = "lambdaConfig";
690
694
  const _lFM = "lockedForModification";
691
695
  const _lGN = "logGroupNames";
692
696
  const _lGNo = "logGroupName";
@@ -696,6 +700,7 @@ const _lSA = "lastSavedAt";
696
700
  const _lSAa = "lastSynchronizedAt";
697
701
  const _lSBI = "lastSavedBrowserId";
698
702
  const _lSBSI = "lastSavedBrowserSessionId";
703
+ const _lTIS = "lambdaTimeoutInSeconds";
699
704
  const _lUA = "lastUpdatedAt";
700
705
  const _lUT = "lastUpdatedTime";
701
706
  const _lV = "liveVersion";
@@ -1789,6 +1794,11 @@ exports.KmsConfiguration$ = [3, n0, _KC,
1789
1794
  [_kT, _kKA],
1790
1795
  [0, 0], 1
1791
1796
  ];
1797
+ exports.LambdaEvaluatorConfig$ = [3, n0, _LEC,
1798
+ 0,
1799
+ [_lA, _lTIS],
1800
+ [0, 1], 1
1801
+ ];
1792
1802
  exports.LambdaInterceptorConfiguration$ = [3, n0, _LIC,
1793
1803
  0,
1794
1804
  [_a],
@@ -2768,6 +2778,11 @@ exports.Code$ = [4, n0, _Co,
2768
2778
  [_s_],
2769
2779
  [() => exports.S3Location$]
2770
2780
  ];
2781
+ exports.CodeBasedEvaluatorConfig$ = [4, n0, _CBEC,
2782
+ 0,
2783
+ [_lCa],
2784
+ [() => exports.LambdaEvaluatorConfig$]
2785
+ ];
2771
2786
  exports.ConsolidationConfiguration$ = [4, n0, _CCons,
2772
2787
  0,
2773
2788
  [_cCC],
@@ -2825,8 +2840,8 @@ exports.DataSourceConfig$ = [4, n0, _DSC,
2825
2840
  ];
2826
2841
  exports.EvaluatorConfig$ = [4, n0, _EC,
2827
2842
  0,
2828
- [_lAAJ],
2829
- [[() => exports.LlmAsAJudgeEvaluatorConfig$, 0]]
2843
+ [_lAAJ, _cB],
2844
+ [[() => exports.LlmAsAJudgeEvaluatorConfig$, 0], () => exports.CodeBasedEvaluatorConfig$]
2830
2845
  ];
2831
2846
  exports.EvaluatorModelConfig$ = [4, n0, _EMC,
2832
2847
  0,
@@ -1,4 +1,4 @@
1
- import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultBedrockAgentCoreControlHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
@@ -101,6 +101,7 @@ export const EvaluatorStatus = {
101
101
  };
102
102
  export const EvaluatorType = {
103
103
  BUILTIN: "Builtin",
104
+ CODE: "CustomCode",
104
105
  CUSTOM: "Custom",
105
106
  };
106
107
  export const AuthorizerType = {
@@ -1,5 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
- import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
3
+ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
3
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
6
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
@@ -1,4 +1,4 @@
1
- import { AwsSdkSigV4Signer } from "@aws-sdk/core";
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
3
  import { NoOpLogger } from "@smithy/smithy-client";
4
4
  import { parseUrl } from "@smithy/url-parser";
@@ -39,6 +39,7 @@ const _CARERr = "CreateAgentRuntimeEndpointResponse";
39
39
  const _CARR = "CreateAgentRuntimeRequest";
40
40
  const _CARRr = "CreateAgentRuntimeResponse";
41
41
  const _CB = "CreateBrowser";
42
+ const _CBEC = "CodeBasedEvaluatorConfig";
42
43
  const _CBP = "CreateBrowserProfile";
43
44
  const _CBPR = "CreateBrowserProfileRequest";
44
45
  const _CBPRr = "CreateBrowserProfileResponse";
@@ -298,6 +299,7 @@ const _LCI = "ListCodeInterpreters";
298
299
  const _LCIR = "ListCodeInterpretersRequest";
299
300
  const _LCIRi = "ListCodeInterpretersResponse";
300
301
  const _LE = "ListEvaluators";
302
+ const _LEC = "LambdaEvaluatorConfig";
301
303
  const _LER = "ListEvaluatorsRequest";
302
304
  const _LERi = "ListEvaluatorsResponse";
303
305
  const _LG = "ListGateways";
@@ -555,6 +557,7 @@ const _bSr = "browserSummaries";
555
557
  const _bV = "booleanValue";
556
558
  const _c = "client";
557
559
  const _cA = "createdAt";
560
+ const _cB = "codeBased";
558
561
  const _cC = "customClaims";
559
562
  const _cCC = "customConsolidationConfiguration";
560
563
  const _cCo = "contentConfigurations";
@@ -675,6 +678,7 @@ const _l = "location";
675
678
  const _lA = "lambdaArn";
676
679
  const _lAAJ = "llmAsAJudge";
677
680
  const _lC = "lifecycleConfiguration";
681
+ const _lCa = "lambdaConfig";
678
682
  const _lFM = "lockedForModification";
679
683
  const _lGN = "logGroupNames";
680
684
  const _lGNo = "logGroupName";
@@ -684,6 +688,7 @@ const _lSA = "lastSavedAt";
684
688
  const _lSAa = "lastSynchronizedAt";
685
689
  const _lSBI = "lastSavedBrowserId";
686
690
  const _lSBSI = "lastSavedBrowserSessionId";
691
+ const _lTIS = "lambdaTimeoutInSeconds";
687
692
  const _lUA = "lastUpdatedAt";
688
693
  const _lUT = "lastUpdatedTime";
689
694
  const _lV = "liveVersion";
@@ -1777,6 +1782,11 @@ export var KmsConfiguration$ = [3, n0, _KC,
1777
1782
  [_kT, _kKA],
1778
1783
  [0, 0], 1
1779
1784
  ];
1785
+ export var LambdaEvaluatorConfig$ = [3, n0, _LEC,
1786
+ 0,
1787
+ [_lA, _lTIS],
1788
+ [0, 1], 1
1789
+ ];
1780
1790
  export var LambdaInterceptorConfiguration$ = [3, n0, _LIC,
1781
1791
  0,
1782
1792
  [_a],
@@ -2756,6 +2766,11 @@ export var Code$ = [4, n0, _Co,
2756
2766
  [_s_],
2757
2767
  [() => S3Location$]
2758
2768
  ];
2769
+ export var CodeBasedEvaluatorConfig$ = [4, n0, _CBEC,
2770
+ 0,
2771
+ [_lCa],
2772
+ [() => LambdaEvaluatorConfig$]
2773
+ ];
2759
2774
  export var ConsolidationConfiguration$ = [4, n0, _CCons,
2760
2775
  0,
2761
2776
  [_cCC],
@@ -2813,8 +2828,8 @@ export var DataSourceConfig$ = [4, n0, _DSC,
2813
2828
  ];
2814
2829
  export var EvaluatorConfig$ = [4, n0, _EC,
2815
2830
  0,
2816
- [_lAAJ],
2817
- [[() => LlmAsAJudgeEvaluatorConfig$, 0]]
2831
+ [_lAAJ, _cB],
2832
+ [[() => LlmAsAJudgeEvaluatorConfig$, 0], () => CodeBasedEvaluatorConfig$]
2818
2833
  ];
2819
2834
  export var EvaluatorModelConfig$ = [4, n0, _EMC,
2820
2835
  0,
@@ -1,4 +1,4 @@
1
- import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { type BedrockAgentCoreControlClientResolvedConfig } from "../BedrockAgentCoreControlClient";
4
4
  /**
@@ -27,7 +27,7 @@ declare const CreateEvaluatorCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p> Creates a custom evaluator for agent quality assessment. Custom evaluators use LLM-as-a-Judge configurations with user-defined prompts, rating scales, and model settings to evaluate agent performance at tool call, trace, or session levels. </p>
30
+ * <p> Creates a custom evaluator for agent quality assessment. Custom evaluators can use either LLM-as-a-Judge configurations with user-defined prompts, rating scales, and model settings, or code-based configurations with customer-managed Lambda functions to evaluate agent performance at tool call, trace, or session levels. </p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -73,6 +73,12 @@ declare const CreateEvaluatorCommand_base: {
73
73
  * },
74
74
  * },
75
75
  * },
76
+ * codeBased: { // CodeBasedEvaluatorConfig Union: only one key present
77
+ * lambdaConfig: { // LambdaEvaluatorConfig
78
+ * lambdaArn: "STRING_VALUE", // required
79
+ * lambdaTimeoutInSeconds: Number("int"),
80
+ * },
81
+ * },
76
82
  * },
77
83
  * level: "TOOL_CALL" || "TRACE" || "SESSION", // required
78
84
  * tags: { // TagsMap
@@ -79,6 +79,12 @@ declare const GetEvaluatorCommand_base: {
79
79
  * // },
80
80
  * // },
81
81
  * // },
82
+ * // codeBased: { // CodeBasedEvaluatorConfig Union: only one key present
83
+ * // lambdaConfig: { // LambdaEvaluatorConfig
84
+ * // lambdaArn: "STRING_VALUE", // required
85
+ * // lambdaTimeoutInSeconds: Number("int"),
86
+ * // },
87
+ * // },
82
88
  * // },
83
89
  * // level: "TOOL_CALL" || "TRACE" || "SESSION", // required
84
90
  * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
@@ -49,7 +49,7 @@ declare const ListEvaluatorsCommand_base: {
49
49
  * // evaluatorId: "STRING_VALUE", // required
50
50
  * // evaluatorName: "STRING_VALUE", // required
51
51
  * // description: "STRING_VALUE",
52
- * // evaluatorType: "Builtin" || "Custom", // required
52
+ * // evaluatorType: "Builtin" || "Custom" || "CustomCode", // required
53
53
  * // level: "TOOL_CALL" || "TRACE" || "SESSION",
54
54
  * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
55
55
  * // createdAt: new Date("TIMESTAMP"), // required
@@ -73,6 +73,12 @@ declare const UpdateEvaluatorCommand_base: {
73
73
  * },
74
74
  * },
75
75
  * },
76
+ * codeBased: { // CodeBasedEvaluatorConfig Union: only one key present
77
+ * lambdaConfig: { // LambdaEvaluatorConfig
78
+ * lambdaArn: "STRING_VALUE", // required
79
+ * lambdaTimeoutInSeconds: Number("int"),
80
+ * },
81
+ * },
76
82
  * },
77
83
  * level: "TOOL_CALL" || "TRACE" || "SESSION",
78
84
  * };
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
- import type { UpdatePolicyEngineRequest } from "../models/models_0";
5
- import type { UpdatePolicyEngineResponse } from "../models/models_1";
4
+ import type { UpdatePolicyEngineRequest, UpdatePolicyEngineResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -241,6 +241,7 @@ export type EvaluatorStatus = (typeof EvaluatorStatus)[keyof typeof EvaluatorSta
241
241
  */
242
242
  export declare const EvaluatorType: {
243
243
  readonly BUILTIN: "Builtin";
244
+ readonly CODE: "CustomCode";
244
245
  readonly CUSTOM: "Custom";
245
246
  };
246
247
  /**
@@ -2442,6 +2442,55 @@ export interface DeleteResourcePolicyRequest {
2442
2442
  */
2443
2443
  export interface DeleteResourcePolicyResponse {
2444
2444
  }
2445
+ /**
2446
+ * <p> Configuration for a Lambda function used as a code-based evaluator. </p>
2447
+ * @public
2448
+ */
2449
+ export interface LambdaEvaluatorConfig {
2450
+ /**
2451
+ * <p> The Amazon Resource Name (ARN) of the Lambda function that implements the evaluation logic. </p>
2452
+ * @public
2453
+ */
2454
+ lambdaArn: string | undefined;
2455
+ /**
2456
+ * <p> The timeout in seconds for the Lambda function invocation. Defaults to 60. Must be between 1 and 300. </p>
2457
+ * @public
2458
+ */
2459
+ lambdaTimeoutInSeconds?: number | undefined;
2460
+ }
2461
+ /**
2462
+ * <p> Configuration for a code-based evaluator. Specify the Lambda function to use for evaluation. </p>
2463
+ * @public
2464
+ */
2465
+ export type CodeBasedEvaluatorConfig = CodeBasedEvaluatorConfig.LambdaConfigMember | CodeBasedEvaluatorConfig.$UnknownMember;
2466
+ /**
2467
+ * @public
2468
+ */
2469
+ export declare namespace CodeBasedEvaluatorConfig {
2470
+ /**
2471
+ * <p> The Lambda function configuration for code-based evaluation. </p>
2472
+ * @public
2473
+ */
2474
+ interface LambdaConfigMember {
2475
+ lambdaConfig: LambdaEvaluatorConfig;
2476
+ $unknown?: never;
2477
+ }
2478
+ /**
2479
+ * @public
2480
+ */
2481
+ interface $UnknownMember {
2482
+ lambdaConfig?: never;
2483
+ $unknown: [string, any];
2484
+ }
2485
+ /**
2486
+ * @deprecated unused in schema-serde mode.
2487
+ *
2488
+ */
2489
+ interface Visitor<T> {
2490
+ lambdaConfig: (value: LambdaEvaluatorConfig) => T;
2491
+ _: (name: string, value: any) => T;
2492
+ }
2493
+ }
2445
2494
  /**
2446
2495
  * <p> The configuration parameters that control how the foundation model behaves during evaluation, including response generation settings. </p>
2447
2496
  * @public
@@ -2629,7 +2678,7 @@ export interface LlmAsAJudgeEvaluatorConfig {
2629
2678
  * <p> The configuration that defines how an evaluator assesses agent performance, including the evaluation method and parameters. </p>
2630
2679
  * @public
2631
2680
  */
2632
- export type EvaluatorConfig = EvaluatorConfig.LlmAsAJudgeMember | EvaluatorConfig.$UnknownMember;
2681
+ export type EvaluatorConfig = EvaluatorConfig.CodeBasedMember | EvaluatorConfig.LlmAsAJudgeMember | EvaluatorConfig.$UnknownMember;
2633
2682
  /**
2634
2683
  * @public
2635
2684
  */
@@ -2640,6 +2689,16 @@ export declare namespace EvaluatorConfig {
2640
2689
  */
2641
2690
  interface LlmAsAJudgeMember {
2642
2691
  llmAsAJudge: LlmAsAJudgeEvaluatorConfig;
2692
+ codeBased?: never;
2693
+ $unknown?: never;
2694
+ }
2695
+ /**
2696
+ * <p> Configuration for a code-based evaluator that uses a customer-managed Lambda function to programmatically assess agent performance. </p>
2697
+ * @public
2698
+ */
2699
+ interface CodeBasedMember {
2700
+ llmAsAJudge?: never;
2701
+ codeBased: CodeBasedEvaluatorConfig;
2643
2702
  $unknown?: never;
2644
2703
  }
2645
2704
  /**
@@ -2647,6 +2706,7 @@ export declare namespace EvaluatorConfig {
2647
2706
  */
2648
2707
  interface $UnknownMember {
2649
2708
  llmAsAJudge?: never;
2709
+ codeBased?: never;
2650
2710
  $unknown: [string, any];
2651
2711
  }
2652
2712
  /**
@@ -2655,6 +2715,7 @@ export declare namespace EvaluatorConfig {
2655
2715
  */
2656
2716
  interface Visitor<T> {
2657
2717
  llmAsAJudge: (value: LlmAsAJudgeEvaluatorConfig) => T;
2718
+ codeBased: (value: CodeBasedEvaluatorConfig) => T;
2658
2719
  _: (name: string, value: any) => T;
2659
2720
  }
2660
2721
  }
@@ -2678,7 +2739,7 @@ export interface CreateEvaluatorRequest {
2678
2739
  */
2679
2740
  description?: string | undefined;
2680
2741
  /**
2681
- * <p> The configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration. </p>
2742
+ * <p> The configuration for the evaluator. Specify either LLM-as-a-Judge settings with instructions, rating scale, and model configuration, or code-based settings with a customer-managed Lambda function. </p>
2682
2743
  * @public
2683
2744
  */
2684
2745
  evaluatorConfig: EvaluatorConfig | undefined;
@@ -2783,7 +2844,7 @@ export interface GetEvaluatorResponse {
2783
2844
  */
2784
2845
  description?: string | undefined;
2785
2846
  /**
2786
- * <p> The configuration of the evaluator, including LLM-as-a-Judge settings for custom evaluators. </p>
2847
+ * <p> The configuration of the evaluator, including LLM-as-a-Judge or code-based settings. </p>
2787
2848
  * @public
2788
2849
  */
2789
2850
  evaluatorConfig: EvaluatorConfig | undefined;
@@ -2919,7 +2980,7 @@ export interface UpdateEvaluatorRequest {
2919
2980
  */
2920
2981
  description?: string | undefined;
2921
2982
  /**
2922
- * <p> The updated configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration. </p>
2983
+ * <p> The updated configuration for the evaluator. Specify either LLM-as-a-Judge settings with instructions, rating scale, and model configuration, or code-based settings with a customer-managed Lambda function. </p>
2923
2984
  * @public
2924
2985
  */
2925
2986
  evaluatorConfig?: EvaluatorConfig | undefined;
@@ -8172,32 +8233,3 @@ export interface ListPolicyEnginesResponse {
8172
8233
  */
8173
8234
  nextToken?: string | undefined;
8174
8235
  }
8175
- /**
8176
- * Wrapper for updating an optional Description field with PATCH semantics.
8177
- * When present in an update request, the description is replaced with optionalValue.
8178
- * When absent, the description is left unchanged.
8179
- * To unset the description, include the wrapper with optionalValue set to null.
8180
- * @public
8181
- */
8182
- export interface UpdatedDescription {
8183
- /**
8184
- * <p>Represents an optional value that is used to update the human-readable description of the resource. If set to null, it will clear the current description of the resource.</p>
8185
- * @public
8186
- */
8187
- optionalValue?: string | undefined;
8188
- }
8189
- /**
8190
- * @public
8191
- */
8192
- export interface UpdatePolicyEngineRequest {
8193
- /**
8194
- * <p>The unique identifier of the policy engine to be updated.</p>
8195
- * @public
8196
- */
8197
- policyEngineId: string | undefined;
8198
- /**
8199
- * <p>The new description for the policy engine.</p>
8200
- * @public
8201
- */
8202
- description?: UpdatedDescription | undefined;
8203
- }
@@ -1,5 +1,34 @@
1
1
  import { FindingType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, SchemaType, TargetStatus } from "./enums";
2
- import { type KmsConfiguration, type MetadataConfiguration, type UpdatedDescription, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, CredentialProviderConfiguration, McpServerTargetConfiguration, S3Configuration } from "./models_0";
2
+ import { type KmsConfiguration, type MetadataConfiguration, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, CredentialProviderConfiguration, McpServerTargetConfiguration, S3Configuration } from "./models_0";
3
+ /**
4
+ * Wrapper for updating an optional Description field with PATCH semantics.
5
+ * When present in an update request, the description is replaced with optionalValue.
6
+ * When absent, the description is left unchanged.
7
+ * To unset the description, include the wrapper with optionalValue not specified.
8
+ * @public
9
+ */
10
+ export interface UpdatedDescription {
11
+ /**
12
+ * <p>Represents an optional value that is used to update the human-readable description of the resource. If not specified, it will clear the current description of the resource.</p>
13
+ * @public
14
+ */
15
+ optionalValue?: string | undefined;
16
+ }
17
+ /**
18
+ * @public
19
+ */
20
+ export interface UpdatePolicyEngineRequest {
21
+ /**
22
+ * <p>The unique identifier of the policy engine to be updated.</p>
23
+ * @public
24
+ */
25
+ policyEngineId: string | undefined;
26
+ /**
27
+ * <p>The new description for the policy engine.</p>
28
+ * @public
29
+ */
30
+ description?: UpdatedDescription | undefined;
31
+ }
3
32
  /**
4
33
  * @public
5
34
  */
@@ -18,7 +18,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  cacheMiddleware?: boolean | undefined;
21
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
22
22
  protocolSettings: {
23
23
  defaultNamespace?: string;
24
24
  [setting: string]: unknown;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
22
  cacheMiddleware?: boolean | undefined;
23
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
24
24
  protocolSettings: {
25
25
  defaultNamespace?: string;
26
26
  [setting: string]: unknown;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
11
11
  protocolSettings: {
12
12
  defaultNamespace?: string;
13
13
  [setting: string]: unknown;
@@ -183,6 +183,7 @@ export declare var InvocationConfiguration$: StaticStructureSchema;
183
183
  export declare var InvocationConfigurationInput$: StaticStructureSchema;
184
184
  export declare var KinesisResource$: StaticStructureSchema;
185
185
  export declare var KmsConfiguration$: StaticStructureSchema;
186
+ export declare var LambdaEvaluatorConfig$: StaticStructureSchema;
186
187
  export declare var LambdaInterceptorConfiguration$: StaticStructureSchema;
187
188
  export declare var LifecycleConfiguration$: StaticStructureSchema;
188
189
  export declare var LinkedinOauth2ProviderConfigInput$: StaticStructureSchema;
@@ -343,6 +344,7 @@ export declare var AuthorizerConfiguration$: StaticUnionSchema;
343
344
  export declare var CertificateLocation$: StaticUnionSchema;
344
345
  export declare var ClaimMatchValueType$: StaticUnionSchema;
345
346
  export declare var Code$: StaticUnionSchema;
347
+ export declare var CodeBasedEvaluatorConfig$: StaticUnionSchema;
346
348
  export declare var ConsolidationConfiguration$: StaticUnionSchema;
347
349
  export declare var Content$: StaticUnionSchema;
348
350
  export declare var CredentialProvider$: StaticUnionSchema;
@@ -2,7 +2,7 @@ import {
2
2
  AwsSdkSigV4AuthInputConfig,
3
3
  AwsSdkSigV4AuthResolvedConfig,
4
4
  AwsSdkSigV4PreviouslyResolved,
5
- } from "@aws-sdk/core";
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
6
  import {
7
7
  HandlerExecutionContext,
8
8
  HttpAuthScheme,
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentCoreControlClient";
8
- import { UpdatePolicyEngineRequest } from "../models/models_0";
9
- import { UpdatePolicyEngineResponse } from "../models/models_1";
8
+ import {
9
+ UpdatePolicyEngineRequest,
10
+ UpdatePolicyEngineResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface UpdatePolicyEngineCommandInput
@@ -132,6 +132,7 @@ export type EvaluatorStatus =
132
132
  (typeof EvaluatorStatus)[keyof typeof EvaluatorStatus];
133
133
  export declare const EvaluatorType: {
134
134
  readonly BUILTIN: "Builtin";
135
+ readonly CODE: "CustomCode";
135
136
  readonly CUSTOM: "Custom";
136
137
  };
137
138
  export type EvaluatorType = (typeof EvaluatorType)[keyof typeof EvaluatorType];
@@ -705,6 +705,27 @@ export interface DeleteResourcePolicyRequest {
705
705
  resourceArn: string | undefined;
706
706
  }
707
707
  export interface DeleteResourcePolicyResponse {}
708
+ export interface LambdaEvaluatorConfig {
709
+ lambdaArn: string | undefined;
710
+ lambdaTimeoutInSeconds?: number | undefined;
711
+ }
712
+ export type CodeBasedEvaluatorConfig =
713
+ | CodeBasedEvaluatorConfig.LambdaConfigMember
714
+ | CodeBasedEvaluatorConfig.$UnknownMember;
715
+ export declare namespace CodeBasedEvaluatorConfig {
716
+ interface LambdaConfigMember {
717
+ lambdaConfig: LambdaEvaluatorConfig;
718
+ $unknown?: never;
719
+ }
720
+ interface $UnknownMember {
721
+ lambdaConfig?: never;
722
+ $unknown: [string, any];
723
+ }
724
+ interface Visitor<T> {
725
+ lambdaConfig: (value: LambdaEvaluatorConfig) => T;
726
+ _: (name: string, value: any) => T;
727
+ }
728
+ }
708
729
  export interface InferenceConfiguration {
709
730
  maxTokens?: number | undefined;
710
731
  temperature?: number | undefined;
@@ -774,19 +795,28 @@ export interface LlmAsAJudgeEvaluatorConfig {
774
795
  modelConfig: EvaluatorModelConfig | undefined;
775
796
  }
776
797
  export type EvaluatorConfig =
798
+ | EvaluatorConfig.CodeBasedMember
777
799
  | EvaluatorConfig.LlmAsAJudgeMember
778
800
  | EvaluatorConfig.$UnknownMember;
779
801
  export declare namespace EvaluatorConfig {
780
802
  interface LlmAsAJudgeMember {
781
803
  llmAsAJudge: LlmAsAJudgeEvaluatorConfig;
804
+ codeBased?: never;
805
+ $unknown?: never;
806
+ }
807
+ interface CodeBasedMember {
808
+ llmAsAJudge?: never;
809
+ codeBased: CodeBasedEvaluatorConfig;
782
810
  $unknown?: never;
783
811
  }
784
812
  interface $UnknownMember {
785
813
  llmAsAJudge?: never;
814
+ codeBased?: never;
786
815
  $unknown: [string, any];
787
816
  }
788
817
  interface Visitor<T> {
789
818
  llmAsAJudge: (value: LlmAsAJudgeEvaluatorConfig) => T;
819
+ codeBased: (value: CodeBasedEvaluatorConfig) => T;
790
820
  _: (name: string, value: any) => T;
791
821
  }
792
822
  }
@@ -2800,10 +2830,3 @@ export interface ListPolicyEnginesResponse {
2800
2830
  policyEngines: PolicyEngine[] | undefined;
2801
2831
  nextToken?: string | undefined;
2802
2832
  }
2803
- export interface UpdatedDescription {
2804
- optionalValue?: string | undefined;
2805
- }
2806
- export interface UpdatePolicyEngineRequest {
2807
- policyEngineId: string | undefined;
2808
- description?: UpdatedDescription | undefined;
2809
- }
@@ -10,13 +10,19 @@ import {
10
10
  import {
11
11
  KmsConfiguration,
12
12
  MetadataConfiguration,
13
- UpdatedDescription,
14
13
  ApiGatewayTargetConfiguration,
15
14
  ApiSchemaConfiguration,
16
15
  CredentialProviderConfiguration,
17
16
  McpServerTargetConfiguration,
18
17
  S3Configuration,
19
18
  } from "./models_0";
19
+ export interface UpdatedDescription {
20
+ optionalValue?: string | undefined;
21
+ }
22
+ export interface UpdatePolicyEngineRequest {
23
+ policyEngineId: string | undefined;
24
+ description?: UpdatedDescription | undefined;
25
+ }
20
26
  export interface UpdatePolicyEngineResponse {
21
27
  policyEngineId: string | undefined;
22
28
  name: string | undefined;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (
32
32
  protocol:
33
33
  | import("@smithy/types").ClientProtocol<any, any>
34
34
  | import("@smithy/types").ClientProtocolCtor<any, any>
35
- | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
35
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
36
36
  protocolSettings: {
37
37
  defaultNamespace?: string;
38
38
  [setting: string]: unknown;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (
32
32
  protocol:
33
33
  | import("@smithy/types").ClientProtocol<any, any>
34
34
  | import("@smithy/types").ClientProtocolCtor<any, any>
35
- | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
35
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
36
36
  protocolSettings: {
37
37
  defaultNamespace?: string;
38
38
  [setting: string]: unknown;
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (
14
14
  protocol:
15
15
  | import("@smithy/types").ClientProtocol<any, any>
16
16
  | import("@smithy/types").ClientProtocolCtor<any, any>
17
- | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
17
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
18
18
  protocolSettings: {
19
19
  defaultNamespace?: string;
20
20
  [setting: string]: unknown;
@@ -183,6 +183,7 @@ export declare var InvocationConfiguration$: StaticStructureSchema;
183
183
  export declare var InvocationConfigurationInput$: StaticStructureSchema;
184
184
  export declare var KinesisResource$: StaticStructureSchema;
185
185
  export declare var KmsConfiguration$: StaticStructureSchema;
186
+ export declare var LambdaEvaluatorConfig$: StaticStructureSchema;
186
187
  export declare var LambdaInterceptorConfiguration$: StaticStructureSchema;
187
188
  export declare var LifecycleConfiguration$: StaticStructureSchema;
188
189
  export declare var LinkedinOauth2ProviderConfigInput$: StaticStructureSchema;
@@ -343,6 +344,7 @@ export declare var AuthorizerConfiguration$: StaticUnionSchema;
343
344
  export declare var CertificateLocation$: StaticUnionSchema;
344
345
  export declare var ClaimMatchValueType$: StaticUnionSchema;
345
346
  export declare var Code$: StaticUnionSchema;
347
+ export declare var CodeBasedEvaluatorConfig$: StaticUnionSchema;
346
348
  export declare var ConsolidationConfiguration$: StaticUnionSchema;
347
349
  export declare var Content$: StaticUnionSchema;
348
350
  export declare var CredentialProvider$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore-control",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
4
- "version": "3.1018.0",
4
+ "version": "3.1019.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "^3.973.25",
25
- "@aws-sdk/credential-provider-node": "^3.972.26",
25
+ "@aws-sdk/credential-provider-node": "^3.972.27",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.8",
27
27
  "@aws-sdk/middleware-logger": "^3.972.8",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",