AWS SDK for C++  1.9.105
AWS SDK for C++
AthenaErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace Athena
15 {
16 enum class AthenaErrors
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  INTERNAL_SERVER= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  INVALID_REQUEST,
52  METADATA,
54 };
55 
56 class AWS_ATHENA_API AthenaError : public Aws::Client::AWSError<AthenaErrors>
57 {
58 public:
62  AthenaError(const Aws::Client::AWSError<AthenaErrors>& rhs) : Aws::Client::AWSError<AthenaErrors>(rhs) {}
64 
65  template <typename T>
67 };
68 
69 namespace AthenaErrorMapper
70 {
72 }
73 
74 } // namespace Athena
75 } // namespace Aws
CoreErrors.h
Aws::Athena::AthenaError
Definition: AthenaErrors.h:57
AWSError.h
Aws::Athena::AthenaError::AthenaError
AthenaError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: AthenaErrors.h:60
Aws::Athena::AthenaErrorMapper::GetErrorForName
AWS_ATHENA_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::Athena::AthenaError::GetModeledError
T GetModeledError()
Aws::Athena::AthenaError::AthenaError
AthenaError()
Definition: AthenaErrors.h:59
Aws::Athena::AthenaErrors::UNKNOWN
@ UNKNOWN
Aws::Athena::AthenaErrors
AthenaErrors
Definition: AthenaErrors.h:17
Aws::Athena::AthenaError::AthenaError
AthenaError(Aws::Client::AWSError< AthenaErrors > &&rhs)
Definition: AthenaErrors.h:63
Aws::Athena::AthenaError::AthenaError
AthenaError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: AthenaErrors.h:61
Athena_EXPORTS.h
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::Athena::AthenaError::AthenaError
AthenaError(const Aws::Client::AWSError< AthenaErrors > &rhs)
Definition: AthenaErrors.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::AthenaErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE