         input: Input
     ) {
         do {
-            _ = try client.createAWSRequest(operation: operation, path: path, httpMethod: httpMethod, input: input)
+            _ = try AWSRequest(operation: operation, path: path, httpMethod: httpMethod, input: input, configuration: client.serviceConfig)
         } catch {
             XCTFail(error.localizedDescription)
         }

        expected: String
    ) {
        do {
            let awsRequest = try client.createAWSRequest(operation: operation, path: path, httpMethod: httpMethod, input: input)
            var expected2 = expected

            // If XML remove whitespace from expected by converting to XMLNode and back

        input: Input
    ) {
        do {
            _ = try AWSRequest(operation: operation, path: path, httpMethod: httpMethod, input: input, configuration: client.serviceConfig)
            XCTFail()
        } catch let error as AWSClientError where error == .validationError {
            print(error.message ?? "")
