AWS bedrock-agentcore documentation change
Summary
Removed 'Testing your Lambda target' section containing curl examples
Security assessment
Removal of testing instructions doesn't indicate a security issue or add security documentation
Diff
diff --git a/bedrock-agentcore/latest/devguide/gateway-add-target-lambda.md b/bedrock-agentcore/latest/devguide/gateway-add-target-lambda.md index 1f545eae4..c468bc574 100644 --- a//bedrock-agentcore/latest/devguide/gateway-add-target-lambda.md +++ b//bedrock-agentcore/latest/devguide/gateway-add-target-lambda.md @@ -5 +5 @@ -PrerequisitesConfiguring permissionsAdding a Lambda targetLambda function schemaAdding multiple tools to a Lambda targetUsing S3 for tool schemasLambda function input formatTesting your Lambda target +PrerequisitesConfiguring permissionsAdding a Lambda targetLambda function schemaAdding multiple tools to a Lambda targetUsing S3 for tool schemasLambda function input format @@ -614,29 +613,0 @@ When working with Lambda targets, be aware of the following limitations and cons -## Testing your Lambda target - -After adding a Lambda target to your Gateway, you can test it by making requests to the Gateway endpoint: - - * **Obtain an access token** from your identity provider (as described in the "Set Up Gateway" guide) - - * **Make a request to the Gateway endpoint** : - - curl -sS -X POST https://{gatewayId}.gateway.{region}.amazonaws.com/mcp \ - --header 'Content-Type: application/json' \ - --header "Authorization: Bearer {access_token}" \ - --data '{ - "jsonrpc": "2.0", - "id": 1, - "method": "tools/call", - "params": { - "name": "get_weather", - "arguments": { - "location": "Seattle" - } - } - }' - - - * **Verify the response** from the Lambda function - - - -