1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/apigateway/APIGateway_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 10 namespace Aws 11 { 12 namespace APIGateway 13 { 14 namespace Model 15 { 16 enum class GatewayResponseType 17 { 18 NOT_SET, 19 DEFAULT_4XX, 20 DEFAULT_5XX, 21 RESOURCE_NOT_FOUND, 22 UNAUTHORIZED, 23 INVALID_API_KEY, 24 ACCESS_DENIED, 25 AUTHORIZER_FAILURE, 26 AUTHORIZER_CONFIGURATION_ERROR, 27 INVALID_SIGNATURE, 28 EXPIRED_TOKEN, 29 MISSING_AUTHENTICATION_TOKEN, 30 INTEGRATION_FAILURE, 31 INTEGRATION_TIMEOUT, 32 API_CONFIGURATION_ERROR, 33 UNSUPPORTED_MEDIA_TYPE, 34 BAD_REQUEST_PARAMETERS, 35 BAD_REQUEST_BODY, 36 REQUEST_TOO_LARGE, 37 THROTTLED, 38 QUOTA_EXCEEDED, 39 WAF_FILTERED 40 }; 41 42 namespace GatewayResponseTypeMapper 43 { 44 AWS_APIGATEWAY_API GatewayResponseType GetGatewayResponseTypeForName(const Aws::String& name); 45 46 AWS_APIGATEWAY_API Aws::String GetNameForGatewayResponseType(GatewayResponseType value); 47 } // namespace GatewayResponseTypeMapper 48 } // namespace Model 49 } // namespace APIGateway 50 } // namespace Aws 51