gateway_responses_list_only
Lists gateway_responses
in a region or regions, for all properties use gateway_responses
Overview
Name | gateway_responses_list_only |
Type | Resource |
Description | The AWS::ApiGateway::GatewayResponse resource creates a gateway response for your API. For more information, see [API Gateway Responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition) in the *API Gateway Developer Guide*. |
Id | aws.apigateway.gateway_responses_list_only |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
rest_api_id | string | The string identifier of the associated RestApi. |
response_type | string | The response type of the associated GatewayResponse. |
status_code | string | The HTTP status code for this GatewayResponse. |
response_parameters | object | Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. |
response_templates | object | Response templates of the GatewayResponse as a string-to-string map of key-value pairs. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all gateway_responses
in a region.
SELECT
region,
id
FROM aws.apigateway.gateway_responses_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the gateway_responses_list_only
resource, see gateway_responses