AWS SDK for C++  1.8.95
AWS SDK for C++
WAFV2Errors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace WAFV2
15 {
16 enum class WAFV2Errors
17 {
18  //From Core//
21  INTERNAL_FAILURE = 1,
22  INVALID_ACTION = 2,
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,
33  THROTTLING = 13,
34  VALIDATION = 14,
35  ACCESS_DENIED = 15,
36  RESOURCE_NOT_FOUND = 16,
39  SLOW_DOWN = 19,
41  INVALID_SIGNATURE = 21,
44  REQUEST_TIMEOUT = 24,
45  NETWORK_CONNECTION = 99,
46 
47  UNKNOWN = 100,
49 
65 };
66 
67 class AWS_WAFV2_API WAFV2Error : public Aws::Client::AWSError<WAFV2Errors>
68 {
69 public:
73  WAFV2Error(const Aws::Client::AWSError<WAFV2Errors>& rhs) : Aws::Client::AWSError<WAFV2Errors>(rhs) {}
74  WAFV2Error(Aws::Client::AWSError<WAFV2Errors>&& rhs) : Aws::Client::AWSError<WAFV2Errors>(rhs) {}
75 
76  template <typename T>
77  T GetModeledError();
78 };
79 
80 namespace WAFV2ErrorMapper
81 {
83 }
84 
85 } // namespace WAFV2
86 } // namespace Aws
AWS_WAFV2_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
WAFV2Error(Aws::Client::AWSError< WAFV2Errors > &&rhs)
Definition: WAFV2Errors.h:74
WAFV2Error(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: WAFV2Errors.h:72
WAFV2Error(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: WAFV2Errors.h:71
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
WAFV2Error(const Aws::Client::AWSError< WAFV2Errors > &rhs)
Definition: WAFV2Errors.h:73