View a markdown version of this page

Rule - Amazon Bedrock AgentCore Control Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Rule

The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings for online evaluation.

Contents

samplingConfig

The sampling configuration that determines what percentage of agent traces to evaluate.

Type: SamplingConfig object

Required: Yes

filters

The list of filters that determine which agent traces should be included in the evaluation based on trace properties.

Type: Array of Filter objects

Array Members: Minimum number of 0 items. Maximum number of 5 items.

Required: No

sessionConfig

The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation.

Type: SessionConfig object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: