AWS SDK for JavaScript STS Client for Node.js, Browser and React Native, providing temporary security credentials and role assumption capabilities
92
Evaluation — 92%
↑ 1.05xAgent success when using this tile
{
"context": "This criteria evaluates how well the engineer uses AWS SDK v3's custom HTTP handler functionality to implement a request logging handler. The focus is on correctly implementing the handler interface, integrating it with SDK clients, and properly delegating to another handler.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Handler interface implementation",
"description": "The custom handler implements the correct interface with a handle() method that accepts an HttpRequest and returns a Promise resolving to an HttpResponse object, matching the AWS SDK handler signature",
"max_score": 25
},
{
"name": "Request interception",
"description": "The implementation correctly extracts request details (URL, method, headers, and optionally body) from the HttpRequest object and invokes the onRequest callback with this information",
"max_score": 20
},
{
"name": "Client configuration",
"description": "The custom handler is properly configured on an AWS SDK client (e.g., STSClient) using the requestHandler configuration option in the client constructor",
"max_score": 20
},
{
"name": "Delegate handler invocation",
"description": "The custom handler correctly calls the delegate handler's handle() method, passing the HttpRequest object, and awaits the result",
"max_score": 20
},
{
"name": "Response passthrough",
"description": "The HttpResponse object returned from the delegate handler is returned unchanged from the custom handler's handle() method, ensuring transparent request processing",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-aws-sdk--client-stsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10