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 the @aws-sdk/util-dynamodb package to convert between JavaScript objects and DynamoDB AttributeValue format. The focus is on proper usage of marshall() and unmarshall() functions along with their configuration options.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses marshall function",
"description": "The convertToStorage function uses the marshall() function from @aws-sdk/util-dynamodb to convert JavaScript objects to DynamoDB AttributeValue format.",
"max_score": 25
},
{
"name": "Uses unmarshall function",
"description": "The convertFromStorage function uses the unmarshall() function from @aws-sdk/util-dynamodb to convert DynamoDB AttributeValue format back to JavaScript objects.",
"max_score": 25
},
{
"name": "Handles undefined values",
"description": "The implementation uses the removeUndefinedValues option when calling marshall() to properly handle undefined values in the input object.",
"max_score": 20
},
{
"name": "Handles empty strings",
"description": "The implementation uses the convertEmptyValues option when calling marshall() to properly handle empty strings according to the test requirements.",
"max_score": 20
},
{
"name": "Proper package import",
"description": "The code correctly imports marshall and unmarshall functions from @aws-sdk/util-dynamodb package.",
"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