-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
This is a Feature Proposal
Description
For feature proposals:
- What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
- If there is additional config how would it look
API Gateway allows users to modify the response body and headers based on content from the response from lambda, or the step functions. In the case of the step functions the output always appears to be:
{ "executionArn": "arn:aws:states:us-east-1:111111111111:execution:Name:ID", "startDate": epochTimeStamp }
I would like to be able to suppress this output and change the http response code to 201 or 204.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
horike37 commentedon Jan 3, 2018
Thank you for the proposal @andrewhertog 👍
Sounds a good idea, but you cannot implement the feature since there is a restriction on AWS end.
The output body is generated automatically on AWS side, so we are not really sure how to customize the response code.
We would love to get any feedback how to implement it 😄
xonstone commentedon Aug 2, 2018
Perhaps you try like you did with IntegrationRequest? If I add this to the resources this seems to work
With ApiGatewayMethodSubscriptionBrandVarPost being defined als the stepfunction http event
IssueHuntBot commentedon Dec 6, 2018
@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt
kotowick commentedon Jul 30, 2019
@horike37 @xonstone Has this gone anywhere? I need to modify the Integration Response as well.. had no luck so far figuring it out.
EDIT: okay, got it to work, LOL