AWS SDK for C++  0.12.9
AWS SDK for C++
WAFErrors.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 
18 #include <aws/waf/WAF_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace WAF
23 {
24 enum class AWS_WAF_API WAFErrors
25 {
26  //From Core//
35  MISSING_ACTION = 7, // SDK should never allow
36  MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
37  MISSING_PARAMETER = 9, // SDK should never allow
41  THROTTLING = 13,
42  VALIDATION = 14,
48  UNKNOWN = 100,
50 
51  W_A_F_DISALLOWED_NAME= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
61  W_A_F_STALE_DATA
62 };
63 namespace WAFErrorMapper
64 {
66 }
67 
68 } // namespace WAF
69 } // namespace Aws
AWS_WAF_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
W_A_F_INVALID_ACCOUNT
Definition: WAFErrors.h:51
W_A_F_LIMITS_EXCEEDED
Definition: WAFErrors.h:51
NETWORK_CONNECTION
Definition: WAFErrors.h:47
INVALID_PARAMETER_VALUE
Definition: WAFErrors.h:34
W_A_F_INTERNAL_ERROR
Definition: WAFErrors.h:51
W_A_F_INVALID_OPERATION
Definition: WAFErrors.h:51
INCOMPLETE_SIGNATURE
Definition: WAFErrors.h:28
W_A_F_NONEXISTENT_ITEM
Definition: WAFErrors.h:51
INVALID_ACTION
Definition: WAFErrors.h:30
VALIDATION
Definition: WAFErrors.h:42
MISSING_PARAMETER
Definition: WAFErrors.h:37
INTERNAL_FAILURE
Definition: WAFErrors.h:29
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:34
W_A_F_INVALID_PARAMETER
Definition: WAFErrors.h:51
INVALID_CLIENT_TOKEN_ID
Definition: WAFErrors.h:31
OPT_IN_REQUIRED
Definition: WAFErrors.h:38
UNRECOGNIZED_CLIENT
Definition: WAFErrors.h:45
W_A_F_REFERENCED_ITEM
Definition: WAFErrors.h:51
MALFORMED_QUERY_STRING
Definition: WAFErrors.h:46
INVALID_PARAMETER_COMBINATION
Definition: WAFErrors.h:32
INVALID_QUERY_PARAMETER
Definition: WAFErrors.h:33
THROTTLING
Definition: WAFErrors.h:41
W_A_F_NONEXISTENT_CONTAINER
Definition: WAFErrors.h:51
MISSING_ACTION
Definition: WAFErrors.h:35
W_A_F_NON_EMPTY_ENTITY
Definition: WAFErrors.h:51
ACCESS_DENIED
Definition: WAFErrors.h:43
W_A_F_DISALLOWED_NAME
Definition: WAFErrors.h:51
SERVICE_UNAVAILABLE
Definition: WAFErrors.h:40
RESOURCE_NOT_FOUND
Definition: WAFErrors.h:44
REQUEST_EXPIRED
Definition: WAFErrors.h:39
UNKNOWN
Definition: ACMErrors.h:48
MISSING_AUTHENTICATION_TOKEN
Definition: WAFErrors.h:36
JSON (JavaScript Object Notation).