Skip to content

Bedrock Runtime ​

Parity grade: A · SDK aws-sdk-go-v2/service/bedrockruntime@v1.63.3 · last audited 2026-10-10 (d4dc4a723)

Category: Machine Learning · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited11 (10 ok, 1 partial)
Feature families6 (6 ok)
Known gapsnone
Structural gaps (can't be emulated)5
Deferred items0
Resource leaksclean

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • Default (GOPHERSTACK_BEDROCK_BACKEND=mock) inference is deterministic placeholder output, not a model: CountTokens estimates from byte length, Converse/InvokeModel return a canned reply (real completions are opt-in via the ollama backend), InvokeGuardrailChecks contentFilter/promptAttack return empty results and sensitiveInformation matches only the literal-format entity types (EMAIL/PHONE/IP_ADDRESS/URL/AWS_ACCESS_KEY/MAC_ADDRESS/US_SSN/CREDIT_DEBIT_CARD_NUMBER), never NER-based ones.
  • No model behind the default mock Converse/ConverseStream/InvokeModel: InvokeModel.Body is never interpreted; AdditionalModelRequestFields, AdditionalModelResponseFieldPaths, OutputConfig, PromptVariables and RequestMetadata (invocation-log filtering) are accepted but cannot change a canned reply.
  • InvokeModel/InvokeModelWithResponseStream Trace is enum-validated but no guardrail trace is produced without a classifier.
  • ApplyGuardrail.OutputScope FULL has no extra output to add: only word-policy assessments exist, and the SDK says FULL does not apply to word filters.
  • Converse/InvokeModel serviceTier and performanceConfig latency are echoed from the request: no tiers or latency-optimized hosting exist to negotiate.

Audited Operations ​

11 audited operations
OperationWireErrorsStatePersist
InvokeModelokokokn/a
InvokeModelWithResponseStreamokokokn/a
InvokeModelWithBidirectionalStreamokokokn/a
Converseokokokn/a
ConverseStreamokokokn/a
CountTokensokokokn/a
ApplyGuardrailokokokn/a
StartAsyncInvokeokokokok
GetAsyncInvokefixedokokok
ListAsyncInvokesfixedokokok
InvokeGuardrailCheckspartialokpartialn/a

Audited Feature Families ​

Feature FamilyStatus
model-path-routingok
guardrail-path-routingok
async-invokeok
error-codesok
event-stream-chunk-payloadok
chaos-fault-injectionok

Released under the MIT License.