func CreateAWSError(awsError ServiceAPIError) awserr.RequestFailure {
	error := awserr.New(awsError.Code, awsError.Message, nil)
	return awserr.NewRequestFailure(error, 0, "")
}
CreateAWSError is used for mocking the types of errors received from aws-sdk-go
so that the expected code path executes. Support for specifying the HTTP status code and request ID
can be added in the future if needed
package testutil
import (
	"encoding/json"
	"errors"
	"fmt"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/ghodss/yaml"
	"io/ioutil"
	"path"
	"strings"
)
func LoadFromFixture(
	fixturePath string,
	output interface{},  
) {
	contents, err := ioutil.ReadFile(fixturePath)
	if err != nil {
		panic(err)
	}
	if strings.HasSuffix(fixturePath, ".json") {
		err = json.Unmarshal(contents, output)
	} else if strings.HasSuffix(fixturePath, ".yaml") ||
		strings.HasSuffix(fixturePath, ".yml") {
		err = yaml.Unmarshal(contents, output)
	} else {
		panic(errors.New(
			fmt.Sprintf("fixture file format not supported: %s", path.Base(fixturePath))))
	}
	if err != nil {
		panic(err)
	}
}