fix: observability cleanup uses wrong API parameter name for endpoint deletion - #2008
Open
jyotsnamas wants to merge 2 commits into
Open
fix: observability cleanup uses wrong API parameter name for endpoint deletion#2008jyotsnamas wants to merge 2 commits into
jyotsnamas wants to merge 2 commits into
Conversation
…DEFAULT endpoint The delete_agent_runtime_endpoint() call used `name=` instead of the correct `endpointName=` parameter, causing silent failure. Also skip DEFAULT endpoints which are auto-managed by the API and cannot be explicitly deleted. Discovered during live AWS deployment testing (V2 pass). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Latest scan for commit: Security Scan ResultsScan Metadata
SummaryScanner ResultsThe table below shows findings by scanner, with status based on severity thresholds and dependencies: Column Explanations: Severity Levels (S/C/H/M/L/I):
Other Columns:
Scanner Results:
Severity Thresholds (Thresh Column):
Threshold Source: Values in parentheses indicate where the threshold is configured:
Statistics calculation:
|
Replace `except Exception` with `except ClientError` to fix BLE001. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
04-observability-with-strands/cleanup.pywhich usesname=instead ofendpointName=in thedelete_agent_runtime_endpoint()callRoot cause
boto3 error:
Verification
Deployed
04-observability-with-strandsto AgentCore Runtime in us-west-2:list-agent-runtimesTest plan
aws bedrock-agentcore-control list-agent-runtimes— runtime gone🤖 Generated with Claude Code