Skip to content

Migrate harness CRUD to SDK commands and remove api-client.ts #1383

@jesseturner21

Description

@jesseturner21

From PR #1341 review (jariy17).

The SDK now has CreateHarnessCommand, GetHarnessCommand, UpdateHarnessCommand, DeleteHarnessCommand, ListHarnessesCommand in @aws-sdk/client-bedrock-agentcore-control, and InvokeHarnessCommand in @aws-sdk/client-bedrock-agentcore.

The SigV4 CRUD operations and ~150 lines of event stream parsing in src/cli/aws/agentcore-harness.ts can be replaced by SDK commands. The bearer token path for CUSTOM_JWT auth (line 426) still needs raw fetch.

Once migrated, src/cli/aws/api-client.ts becomes dead code and can be deleted together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions