package protocol

import (
	
	

	
	
)
RequireHTTPMinProtocol request handler is used to enforce that the target endpoint supports the given major and minor HTTP protocol version.
Handler will mark the request.Request with an error if the target endpoint did not connect with the required HTTP protocol major and minor version.
ErrCodeMinimumHTTPProtocolError error code is returned when the target endpoint did not match the required HTTP major and minor protocol version.
const ErrCodeMinimumHTTPProtocolError = "MinimumHTTPProtocolError"

func (,  int,  *request.Request) error {
	return awserr.NewRequestFailure(
		awserr.New("MinimumHTTPProtocolError",
			fmt.Sprintf(
				"operation requires minimum HTTP protocol of HTTP/%d.%d, but was %s",
				, , .HTTPResponse.Proto,
			),
			nil,
		),
		.HTTPResponse.StatusCode, .RequestID,
	)