You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dynamodb.rs
    path of file: ./repos/rusoto/integration_tests/tests
    
    the code of the file until where you have to start completion: #![cfg(feature = "dynamodb")]

extern crate rusoto_core;
extern crate rusoto_dynamodb;

use rusoto_core::{Region, RusotoError};
use rusoto_dynamodb::{DynamoDb, DynamoDbClient, ListTablesInput};

#[tokio::test]
async fn should_parse_error_type() {
    let client = DynamoDbClient::new(Region::UsEast1);

    // limit of -1 should generate a validation error
    let request = ListTablesInput {
        limit: Some(-1),
        ..Default::default()
    };

    let response = client.list_tables(request).awa
    
async fn should_parse_error_type() {
    let client = DynamoDbClient::new(Region::UsEast1);

    // limit of -1 should generate a validation error
    let request = ListTablesInput {
        limit: Some(-1),
        ..Default::default()
    };

    let response = client.list_tables(request).await;
    match response {
        Err(RusotoError::Validation(msg)) => {
            // local dynamodb gives a different error, this matches both:
            assert!(msg.contains("greater than or equal to 1"))
        }
        _ => panic!("Should have been a Validation error"),
    };
}