Skip to content

BedrockAgentCoreClient.get_ab_test

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

Model summary (excerpt): Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.

Install and imports

python -m pip install "rboto[bedrock-agentcore]==0.4.0"
from rboto import BedrockAgentCoreClient
from rboto_bedrock_agentcore.types import (
    GetABTestOutput,
)

Signature

async def get_ab_test(
    *,
    ab_test_id: str,
) -> GetABTestOutput: ...

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)
ab_test_id Yes The unique identifier of the A/B test to retrieve.

Output

GetABTestOutput.

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
ab_test_id str Always present —
ab_test_arn str Always present —
name str Always present —
description str | None Always present —
status ABTestStatusOutput Always present ABTestStatusOutput
execution_status ABTestExecutionStatusOutput Always present ABTestExecutionStatusOutput
gateway_arn str Always present —
variants list[VariantOutput] Always present VariantOutput
gateway_filter GatewayFilterOutput | None Always present GatewayFilterOutput
evaluation_config ABTestEvaluationConfigOutput | None Always present ABTestEvaluationConfigOutput
role_arn str | None Always present —
current_run_id str | None Always present —
error_details list[str] | None Always present —
started_at str | None Always present —
stopped_at str | None Always present —
max_duration_expires_at str | None Always present —
created_at str Always present —
updated_at str Always present —
results AbTestResults | None Always present AbTestResults

| 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.

GetABTestOutput

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.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, UnauthorizedError, ValidationError.

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

Service guide · Pinned model