fixing bug regarding eventstream suppression
@@ -645,6 +645,7 @@ type {{ .ShapeName }} struct {
{{ end }}
{{ end }}
+{{ if .API.HasEventStream -}}
{{ if $.EventStreamsMemberName }}
{{ template "eventStreamAPILoopMethodTmpl" $ }}
{{ end }}
@@ -655,6 +656,7 @@ type {{ .ShapeName }} struct {
{{- if $.Exception }}
{{ template "eventStreamExceptionEventShapeTmpl" $ }}
{{ end -}}
+{{ end -}}
{{ end }}
`
