Skip to content

get_code_interpreter_session docs show wrong status values in description text #4701

@irmitz

Description

@irmitz

Describe the issue

The documentation for get_code_interpreter_session contains contradictory status values. The description text states "Possible values include ACTIVE, STOPPING, and STOPPED" while the formal enum values list only "READY" and "TERMINATED".

Testing confirms the actual API returns READY/TERMINATED, making the description text incorrect and potentially misleading for developers implementing this API.

Expected: Documentation should consistently show status values as READY and TERMINATED.

Actual: Description mentions ACTIVE, STOPPING, STOPPED (incorrect) while enum correctly shows READY, TERMINATED.

Impact: Developers may implement code checking for ACTIVE/STOPPING/STOPPED status values that will never match, causing bugs.

Links

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-agentcore/client/get_code_interpreter_session.html

Metadata

Metadata

Labels

bedrock-agentdocumentationThis is a problem with documentation.p3This is a minor priority issueservice-apiThis issue is caused by the service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions