You will need to delete the resources manually. I recommend you use the AWS Console to do so. Perform the following steps:
- Deleting API Gateway:
- Log on to the Console at https://console.aws.amazon.com/apigateway/
- Choose Resource under metrics on the left-hand APIs menu
- Choose Delete API from the Actions drop-down menu
- Type metrics in the Enter the name of the API before confirming this action textbox
- Choose Delete API
- Deleting the DynamoDB table:
- Log on to the Console at https://console.aws.amazon.com/dynamodb/
- Choose Tables on the left-hand DynamoDB menu
- Choose user-visits
- Choose Delete table
- Choose Delete
- Deleting the Lambda function:
- Log on to the Console at https://console.aws.amazon.com/lambda/
- Choose Functions on the left-hand AWS Lambda menu
- Choose lambda-dynamo-data-api
- Choose Delete function under the Actions menu
- Choose Delete
- Deleting...