Complete the code to create a DynamoDB table named 'Users'.
aws dynamodb create-table --table-name [1] --attribute-definitions AttributeName=UserId,AttributeType=S --key-schema AttributeName=UserId,KeyType=HASH --provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5
The table name must be 'Users' as specified in the instruction.
Complete the code to add an item with UserId '123' to the 'Users' table.
aws dynamodb put-item --table-name Users --item '{"UserId": {"S": "[1]"}}'
The UserId must be '123' as specified to add the correct item.
Fix the error in the code to get an item with UserId '123' from the 'Users' table.
aws dynamodb get-item --table-name Users --key '{"UserId": {"[1]": "123"}}'
The key type for UserId is string, so it must be 'S'.
Fill both blanks to update the 'Email' attribute of user '123' in the 'Users' table.
aws dynamodb update-item --table-name Users --key '{"UserId": {"S": "123"}}' --update-expression "set [1] = :e" --expression-attribute-values '{":e": {"[2]": "user@example.com"}}'
The attribute to update is 'Email' and its type is string 'S'.
Fill all three blanks to delete the item with UserId '123' from the 'Users' table.
aws dynamodb delete-item --table-name [1] --key '{"UserId": {"[2]": "[3]"}}'
The table is 'Users', the key type is string 'S', and the UserId is '123'.
