diff --git a/service/dynamodb/expression/examples_test.go b/service/dynamodb/expression/examples_test.go index 6dc9c6aa804..32963b7b9f6 100644 --- a/service/dynamodb/expression/examples_test.go +++ b/service/dynamodb/expression/examples_test.go @@ -37,6 +37,7 @@ func ExampleBuilder_WithProjection() { // Use the built expression to populate the DynamoDB Query's API input // parameters. input := &dynamodb.QueryInput{ + ExpressionAttributeNames: expr.Names(), ExpressionAttributeValues: expr.Values(), KeyConditionExpression: expr.KeyCondition(), ProjectionExpression: expr.Projection(),