AWS SDK for C++  1.9.41
AWS SDK for C++
WAFErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/waf/WAF_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace WAF
15 {
16 enum class WAFErrors
17 {
18  //From Core//
20  INCOMPLETE_SIGNATURE = 0,
21  INTERNAL_FAILURE = 1,
22  INVALID_ACTION = 2,
23  INVALID_CLIENT_TOKEN_ID = 3,
24  INVALID_PARAMETER_COMBINATION = 4,
25  INVALID_QUERY_PARAMETER = 5,
26  INVALID_PARAMETER_VALUE = 6,
27  MISSING_ACTION = 7, // SDK should never allow
28  MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
29  MISSING_PARAMETER = 9, // SDK should never allow
30  OPT_IN_REQUIRED = 10,
31  REQUEST_EXPIRED = 11,
32  SERVICE_UNAVAILABLE = 12,
33  THROTTLING = 13,
34  VALIDATION = 14,
35  ACCESS_DENIED = 15,
36  RESOURCE_NOT_FOUND = 16,
37  UNRECOGNIZED_CLIENT = 17,
38  MALFORMED_QUERY_STRING = 18,
39  SLOW_DOWN = 19,
40  REQUEST_TIME_TOO_SKEWED = 20,
41  INVALID_SIGNATURE = 21,
42  SIGNATURE_DOES_NOT_MATCH = 22,
43  INVALID_ACCESS_KEY_ID = 23,
44  REQUEST_TIMEOUT = 24,
45  NETWORK_CONNECTION = 99,
46 
47  UNKNOWN = 100,
49 
50  W_A_F_BAD_REQUEST= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  W_A_F_DISALLOWED_NAME,
52  W_A_F_ENTITY_MIGRATION,
53  W_A_F_INTERNAL_ERROR,
54  W_A_F_INVALID_ACCOUNT,
55  W_A_F_INVALID_OPERATION,
56  W_A_F_INVALID_PARAMETER,
57  W_A_F_INVALID_PERMISSION_POLICY,
58  W_A_F_INVALID_REGEX_PATTERN,
59  W_A_F_LIMITS_EXCEEDED,
60  W_A_F_NONEXISTENT_CONTAINER,
61  W_A_F_NONEXISTENT_ITEM,
62  W_A_F_NON_EMPTY_ENTITY,
63  W_A_F_REFERENCED_ITEM,
64  W_A_F_SERVICE_LINKED_ROLE_ERROR,
65  W_A_F_STALE_DATA,
66  W_A_F_SUBSCRIPTION_NOT_FOUND,
67  W_A_F_TAG_OPERATION,
69 };
70 
71 class AWS_WAF_API WAFError : public Aws::Client::AWSError<WAFErrors>
72 {
73 public:
74  WAFError() {}
75  WAFError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<WAFErrors>(rhs) {}
77  WAFError(const Aws::Client::AWSError<WAFErrors>& rhs) : Aws::Client::AWSError<WAFErrors>(rhs) {}
78  WAFError(Aws::Client::AWSError<WAFErrors>&& rhs) : Aws::Client::AWSError<WAFErrors>(rhs) {}
79 
80  template <typename T>
82 };
83 
84 namespace WAFErrorMapper
85 {
87 }
88 
89 } // namespace WAF
90 } // namespace Aws
Aws::WAF::WAFError
Definition: WAFErrors.h:72
CoreErrors.h
AWSError.h
Aws::WAF::WAFError::WAFError
WAFError(Aws::Client::AWSError< WAFErrors > &&rhs)
Definition: WAFErrors.h:78
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::WAF::WAFError::WAFError
WAFError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: WAFErrors.h:75
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::WAFError::WAFError
WAFError(const Aws::Client::AWSError< WAFErrors > &rhs)
Definition: WAFErrors.h:77
Aws::WAF::WAFErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::WAF::WAFErrors::UNKNOWN
@ UNKNOWN
Aws::WAF::WAFError::GetModeledError
T GetModeledError()
Aws::Client::AWSError
Definition: AWSError.h:42
WAF_EXPORTS.h
Aws::WAF::WAFError::WAFError
WAFError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: WAFErrors.h:76
Aws::WAF::WAFError::WAFError
WAFError()
Definition: WAFErrors.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::WAF::WAFErrorMapper::GetErrorForName
AWS_WAF_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::WAF::WAFErrors
WAFErrors
Definition: WAFErrors.h:17