private void updateResponsesMapWithResponseStatusAndObject(
            Context<T> context,
            HttpBindingIndex bindingIndex,
            EventStreamIndex eventStreamIndex,
            OperationShape operation,
            StructureShape shape,
            Map<String, ResponseObject> responses
    ) {
        Shape operationOrError = shape.hasTrait(ErrorTrait.ID) ? shape : operation;
        String statusCode = context.getOpenApiProtocol().getOperationResponseStatusCode(context, operationOrError);
        ResponseObject response = createResponse(
                context,
                bindingIndex,
                eventStreamIndex,
                statusCode,
                operationOrError,
                operation);
        responses.put(statusCode, response);
    }
Gets the media type of an event stream for the protocol.

<p>By default, this method returns the binary AWS event stream
media type, {@code application/vnd.amazon.eventstream}.

@param context Conversion context.
@param info Event stream info to provide the media type for.
@return Returns the media type of the event stream.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/protocols/AbstractRestProtocol.java