Class: Aws::BedrockAgentCoreControl::Types::CreateOnlineEvaluationConfigRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#data_source_configTypes::DataSourceConfig

The data source configuration that specifies CloudWatch log groups and service names to monitor for agent traces.



2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#descriptionString

The description of the online evaluation configuration that explains its monitoring purpose and scope.

Returns:

  • (String)


2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#enable_on_createBoolean

Whether to enable the online evaluation configuration immediately upon creation. If true, evaluation begins automatically.

Returns:

  • (Boolean)


2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#evaluation_execution_role_arnString

The Amazon Resource Name (ARN) of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. If the configuration references evaluators encrypted with a customer managed KMS key, this role must also have kms:Decrypt permission on the KMS key. The service validates this permission at configuration creation time. For more information, see Encryption at rest for AgentCore Evaluations.

Returns:

  • (String)


2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#evaluatorsArray<Types::EvaluatorReference>

The list of evaluators to apply during online evaluation. Can include both built-in evaluators and custom evaluators created with CreateEvaluator.

Returns:



2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#online_evaluation_config_nameString

The name of the online evaluation configuration. Must be unique within your account.

Returns:

  • (String)


2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#ruleTypes::Rule

The evaluation rule that defines sampling configuration, filters, and session detection settings for the online evaluation.

Returns:



2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end

#tagsHash<String,String>

A map of tag keys and values to assign to an AgentCore Online Evaluation Config. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Returns:

  • (Hash<String,String>)


2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2951

class CreateOnlineEvaluationConfigRequest < Struct.new(
  :client_token,
  :online_evaluation_config_name,
  :description,
  :rule,
  :data_source_config,
  :evaluators,
  :evaluation_execution_role_arn,
  :enable_on_create,
  :tags)
  SENSITIVE = [:description]
  include Aws::Structure
end