Skip to content

Commit

Permalink
docs: Improve docs for API Gateway int. response selection_pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Radek Simko authored and radeksimko committed Apr 27, 2016
1 parent 3b41730 commit 15cb664
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ The following arguments are supported:
* `resource_id` - (Required) The API resource ID
* `http_method` - (Required) The HTTP method (`GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `OPTION`)
* `status_code` - (Required) The HTTP status code
* `selection_pattern` - (Optional) Specifies the regular expression pattern used to choose an integration response based on the response from the backend
* `selection_pattern` - (Optional) Specifies the regular expression pattern used to choose
an integration response based on the response from the backend.
If the backend is an `AWS` Lambda function, the AWS Lambda function error header is matched.
For all other `HTTP` and `AWS` backends, the HTTP status code is matched.
* `response_templates` - (Optional) A map specifying the templates used to transform the integration response body

0 comments on commit 15cb664

Please sign in to comment.