Skip to content

BedrockAgentCoreControlClient.get_evaluator

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators.

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
    GetEvaluatorOutput,
    IncludedData,
)

Signature

async def get_evaluator(
    *,
    evaluator_id: str,
    included_data: IncludedData | None = None,
) -> GetEvaluatorOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
evaluator_id Yes The unique identifier of the evaluator to retrieve. Can be a built-in evaluator ID (e.g., Builtin.Helpfulness) or a custom evaluator ID.
included_data No Controls which data is returned in the response. ALL_DATA (default) returns the full evaluator including decrypted instructions and rating scale. For evaluators encrypted with a customer managed KMS key, this requires kms:Decrypt permission on the key. METADATA_ONLY returns evaluator metadata and model configuration without instructions or rating scale, and does not require any KMS permissions.

Output

GetEvaluatorOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
evaluator_arn str Always present —
evaluator_id str Always present —
evaluator_name str Always present —
description str | None Always present —
evaluator_config EvaluatorConfigOutput | None Always present EvaluatorConfigOutput
evaluator_type EvaluatorTypeOutput | None Always present EvaluatorTypeOutput
provider ProviderOutput | None Always present ProviderOutput
level EvaluatorLevelOutput Always present EvaluatorLevelOutput
status EvaluatorStatusOutput Always present EvaluatorStatusOutput
created_at str Always present —
updated_at str Always present —
locked_for_modification bool | None Always present —
kms_key_arn str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

GetEvaluatorOutput, IncludedData

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock_agentcore_control.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model