Skip to content

New plugin: Bedrock control-plane batch inference (ModelInvocationJob APIs) #297

Closed

Description

@scttfrdmn

Summary

Request a substrate plugin for the AWS Bedrock control-plane batch-inference APIs:

  • CreateModelInvocationJob
  • GetModelInvocationJob
  • StopModelInvocationJob
  • ListModelInvocationJobs

These are the service/bedrock (control plane) job APIs — distinct from the existing
bedrock_runtime plugin (#248/#281/#262), which covers only the data plane
(InvokeModel/ApplyGuardrail). The control-plane job APIs have a different host, different
request/response shapes (ModelInvocationJobInputDataConfig/OutputDataConfig S3 unions,
ModelInvocationJobStatus enum), and a submit→poll→stop lifecycle.

Motivation

ood-bedrock-adapter (new, part of the
aws-openondemand ecosystem — aws-openondemand#11) maps OOD's submit/status/delete/
info onto exactly these four APIs. Its unit tests cover the status-state mapping, but the
integration test is currently a skipped skeleton because substrate can't emulate the
ModelInvocationJob lifecycle yet:

//go:build integration
func TestCreateGetStopJob_Substrate(t *testing.T) {
    t.Skip("pending substrate Bedrock control-plane batch-inference plugin")
}

A plugin emulating the create→get(InProgress→Completed)→stop lifecycle (mirroring the
existing omics_plugin / emrserverless_plugin job-lifecycle pattern) would unblock it.

Suggested behavior

  • CreateModelInvocationJob → return a synthetic jobArn, seed state Submitted.
  • GetModelInvocationJob → return the job; allow seeded/scripted state transitions
    (Submitted→InProgress→Completed), echo back input/output S3 config, model id, role.
  • StopModelInvocationJob → transition to Stopped.
  • ListModelInvocationJobs → list seeded jobs.

Notes

Mirrors the lifecycle shape of the existing omics_plugin.go and emrserverless_plugin.go.
Filed per the aws-openondemand ecosystem convention of tracking substrate needs as issues
rather than direct changes.

Activity

  1. scttfrdmn commented on Jun 2, 2026

    @scttfrdmn
    OwnerAuthor

    Implemented in #300 (branch feat/issues-297-298-299). Will close on merge via the PR's Closes #297 keyword.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions