Doing just the 'integration target' would set up the "x-amazon-apigateway-integration" portion, but likely would not setup the parameters/responses pieces (leaving the user to have to do that).
Indeed, it's not even likely that the "integration target" approach would work given that for this to work a common stream-name variable needs to be referenced in all places.
See https://docs.aws.amazon.com/apigateway/latest/developerguide/api-as-kinesis-proxy-export-swagger-with-extensions.html for details on what we can take care of for the user.
Note: there are several ways we could do (and we might want to do may of them). These include:
IntegreationRoute
'starget
from a kinesis stream.Route
from a kinesis stream.The difference between the two can be see with something like:
Doing just the 'integration target' would set up the
"x-amazon-apigateway-integration"
portion, but likely would not setup theparameters
/responses
pieces (leaving the user to have to do that).Indeed, it's not even likely that the "integration target" approach would work given that for this to work a common
stream-name
variable needs to be referenced in all places.