aws.apigateway.get_gateway_responses
Example SQL Queries
SELECT * FROMaws.apigateway.get_gateway_responsesWHERE"rest_api_id" = 'VALUE';Description
Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.
Table Definition
| Column Name | Column Data Type |
|---|---|
| rest_api_id Required Input Column The string identifier of the associated RestApi. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| default_response A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer. | BOOLEAN |
| response_parameters Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. | MAP(VARCHAR, VARCHAR) |
| response_templates Response templates of the GatewayResponse as a string-to-string map of key-value pairs. | MAP(VARCHAR, VARCHAR) |
| response_type The response type of the associated GatewayResponse. | VARCHAR |
| status_code The HTTP status code for this GatewayResponse. | VARCHAR |