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 evaluation assesses how well the engineer uses the AWS SDK for JavaScript v3's automatic retry and exponential backoff capabilities. It focuses on proper configuration of the STS client with retry settings and correct usage of the GetCallerIdentity operation.",
"type": "weighted_checklist",
"checklist": [
{
"name": "STSClient instantiation",
"description": "Creates an STSClient instance from @aws-sdk/client-sts package with proper configuration object",
"max_score": 15
},
{
"name": "maxAttempts configuration",
"description": "Configures the maxAttempts property in the client configuration to control the maximum number of retry attempts",
"max_score": 20
},
{
"name": "retryMode configuration",
"description": "Sets the retryMode property to 'standard' or uses the standard retry strategy for exponential backoff behavior",
"max_score": 20
},
{
"name": "GetCallerIdentityCommand usage",
"description": "Uses the GetCallerIdentityCommand class from @aws-sdk/client-sts to create the command for the API operation",
"max_score": 20
},
{
"name": "client.send() invocation",
"description": "Calls the client.send() method with the GetCallerIdentityCommand to execute the API request",
"max_score": 15
},
{
"name": "Account ID extraction",
"description": "Correctly extracts the Account property from the GetCallerIdentity response object",
"max_score": 10
}
]
}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