Skip to content

Bedrock Agent ​

Parity grade: A · SDK aws-sdk-go-v2/service/bedrockagent@v1.68.2 · last audited 2026-10-07 (e33627d17)

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

Parity & Coverage ​

MetricValue
PARITY entries audited77 (77 ok)
Feature families4 (4 ok)
Known gapsnone
Structural gaps (can't be emulated)3
Deferred items2
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.

  • DeleteAgentActionGroup.SkipResourceInUseCheck has nothing to guard: action groups are DRAFT-only and aliases route to numbered versions holding their own copy, so no in-use reference can exist.
  • FailureReasons/StatusReason on agents, aliases, knowledge bases, data sources and ingestion jobs: failures originate in external resources (Lambda, S3, vector stores, IAM) that an in-memory backend never contacts. Flow validations are modeled.
  • AliasInvocationState, FlowAlias ConcurrencyConfiguration, ParentActionGroupSignature(Params), CustomOrchestration, PromptOverrideConfiguration and CustomerEncryptionKeyArn are stored and echoed only: their runtime is agent/flow invocation (bedrock-agent-runtime) and KMS.

Deferred Items ​

  • "KBDocument/DataSource nested configuration blobs (dataSourceConfiguration, vectorIngestionConfiguration, knowledgeBaseConfiguration, storageConfiguration, actionGroupExecutor, apiSchema, functionSchema, guardrailConfiguration, memoryConfiguration, promptOverrideConfiguration) are passed through as opaque map[string]any/JSON blobs rather than typed + validated against the SDK's nested shape unions. This is consistent with how this service already treats them; deep-shape validation of these blobs was out of scope this sweep (unchanged). RE-ASSESSED (gopherstack-rvyd follow-up, 2026-08-08): confirmed genuinely out of scope, not just deferred by default. Read the real SDK shapes for the three most plausible bounded candidates — types.ActionGroupExecutor, types.APISchema, types.FunctionSchema (types/types.go) — and all three are Smithy tagged unions (Go interface + one struct per member, e.g. ActionGroupExecutor is ActionGroupExecutorMemberLambda XOR ActionGroupExecutorMemberCustomControl) requiring XOR-presence validation, per-member wire-key discovery from serializers.go, and (for FunctionSchema) validating a nested []Function list with its own required/optional sub-fields. There are ten such blob families across this service, not one; validating a single one (even the simplest, ActionGroupExecutor) while leaving the other nine opaque would produce an inconsistent, arbitrarily-partial validation surface with no corresponding bug report or wire-shape failure driving the choice — unlike every other fix in this file, which closed a concrete, demonstrated gap. No functional gap is caused by the current opaque pass-through (requests round-trip correctly; this is a permissive-emulator design choice already used consistently across the service). Left unchanged."
  • "IngestionJobStatistics' NumberOfDocumentsDeleted/NumberOfDocumentsFailed/ NumberOfModifiedDocumentsIndexed/NumberOfMetadataDocumentsScanned/ NumberOfMetadataDocumentsModified stay zero always (fixed this sweep: NumberOfDocumentsScanned/NumberOfNewDocumentsIndexed now reflect the real per-data-source document count). Reporting non-zero on the other five would require tracking a prior-job document snapshot to diff against, which this backend does not do — reporting a number there would be fabricated, not read from real state, so left at zero rather than invented. Also unmodeled: data sources backed by a real crawler type (S3/web/Confluence/etc.) have no actual external content for this emulator to scan, so their statistics are always zero regardless of the dataSourceConfiguration blob — only documents pushed via the separate IngestKnowledgeBaseDocuments custom-content API are counted. Re-confirmed accurate and unchanged this sweep (gopherstack-rvyd, 2026-08-07) — still no prior-job snapshot mechanism to diff against, so still correctly zero rather than fabricated. RE-VERIFIED (gopherstack-rvyd follow-up, 2026-08-08), reading IngestKnowledgeBaseDocuments/KBDocumentDetail directly rather than trusting the prior note: it is not merely that no prior-job snapshot is tracked -- the raw material for these counters is not retained at all. KBDocumentDetail (models.go) stores only DocumentID/KnowledgeBaseID/DataSourceID/Status; IngestKnowledgeBaseDocuments receives each KBDocument's Content and Metadata (models.go: KBDocument has both) and discards both on every call, so there is no stored content/hash to diff for NumberOfModifiedDocumentsIndexed and no stored metadata at all for NumberOfMetadataDocumentsScanned/NumberOfMetadataDocumentsModified -- these two would be fabricated even with a diffing mechanism, since there is nothing to scan. NumberOfDocumentsDeleted/NumberOfDocumentsFailed are the only two of the five that a bounded, non-fabricated fix could theoretically reach (by snapshotting the live document-ID set into each IngestionJob and diffing on the next run), but doing so for 2 of 5 fields while the other 3 stay permanently unreachable was judged not worth the asymmetry it would introduce into a single response object one sweep after the counters were added; the honest zero for all five remains the correct behavior until (if ever) content/metadata retention is added as a real feature. Left unchanged."

Audited Operations ​

77 audited operations
OperationWireErrorsStatePersist
CreateAgentfixedokokok
GetAgentokokokok
UpdateAgentokokokok
DeleteAgentokokfixedok
ListAgentsfixedokokok
PrepareAgentokokokok
ListAgentVersionsfixedokokok
GetAgentVersionfixedokokok
DeleteAgentVersionokokfixedok
CreateAgentActionGroupfixedfixedokok
GetAgentActionGroupokokfixedok
UpdateAgentActionGroupokfixedokok
DeleteAgentActionGroupokfixedokok
ListAgentActionGroupsfixedokokok
CreateAgentAliasfixedokfixedok
GetAgentAliasokokokok
UpdateAgentAliasfixedokokok
DeleteAgentAliasokokfixedok
ListAgentAliasesfixedokokok
AssociateAgentCollaboratorfixedfixedokok
GetAgentCollaboratorokokfixedok
UpdateAgentCollaboratorokfixedokok
DisassociateAgentCollaboratorokfixedokok
ListAgentCollaboratorsfixedokokok
CreateKnowledgeBasefixedokokok
GetKnowledgeBaseokokokok
UpdateKnowledgeBaseokokokok
DeleteKnowledgeBaseokokfixedok
ListKnowledgeBasesfixedokokok
AssociateAgentKnowledgeBaseokfixedokok
GetAgentKnowledgeBaseokokfixedok
UpdateAgentKnowledgeBaseokfixedokok
DisassociateAgentKnowledgeBaseokfixedokok
ListAgentKnowledgeBasesfixedokokok
CreateDataSourceokokokok
GetDataSourcefixedokokok
UpdateDataSourceokokokok
DeleteDataSourceokokfixedok
ListDataSourcesfixedokokok
StartIngestionJobfixedokfixedok
GetIngestionJobfixedokokok
StopIngestionJobokokokok
ListIngestionJobsfixedokokok
CreateFlowfixedokfixedok
GetFlowokokokok
UpdateFlowfixedokokok
DeleteFlowfixedokfixedok
ListFlowsfixedokokok
PrepareFlowokokfixedok
ValidateFlowDefinitionokokokok
CreateFlowVersionfixedokfixedok
GetFlowVersionfixedokokok
DeleteFlowVersionfixedokokok
ListFlowVersionsfixedokokok
CreateFlowAliasfixedokfixedok
GetFlowAliasokokokok
UpdateFlowAliasfixedokokok
DeleteFlowAliasokokfixedok
ListFlowAliasesfixedokokok
CreatePromptfixedokokok
GetPromptfixedokokok
UpdatePromptfixedokokok
DeletePromptfixedokfixedok
ListPromptsfixedokokok
CreatePromptVersionfixedokokok
GetPromptVersionn/an/aokok
DeletePromptVersionn/an/aokok
IngestKnowledgeBaseDocumentsfixedokokok
GetKnowledgeBaseDocumentsfixedokokok
DeleteKnowledgeBaseDocumentsfixedokokok
ListKnowledgeBaseDocumentsfixedokokok
ListTagsForResourceokokokok
TagResourceokokokok
UntagResourceokokokok
PutResourcePolicyokokokok
GetResourcePolicyokokokok
DeleteResourcePolicyokokokok

Audited Feature Families ​

Feature FamilyStatus
vpc_configurationsok
persistenceok
timestampsok
error_codesok

Released under the MIT License.