AWS SDK for C++  1.9.16
AWS SDK for C++
KendraErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace kendra
15 {
16 enum class KendraErrors
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  CONFLICT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  INTERNAL_SERVER,
52  RESOURCE_ALREADY_EXIST,
53  RESOURCE_IN_USE,
54  RESOURCE_UNAVAILABLE,
56 };
57 
58 class AWS_KENDRA_API KendraError : public Aws::Client::AWSError<KendraErrors>
59 {
60 public:
64  KendraError(const Aws::Client::AWSError<KendraErrors>& rhs) : Aws::Client::AWSError<KendraErrors>(rhs) {}
66 
67  template <typename T>
69 };
70 
71 namespace KendraErrorMapper
72 {
74 }
75 
76 } // namespace kendra
77 } // namespace Aws
CoreErrors.h
Aws::kendra::KendraError::KendraError
KendraError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: KendraErrors.h:62
AWSError.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::kendra::KendraError::KendraError
KendraError(const Aws::Client::AWSError< KendraErrors > &rhs)
Definition: KendraErrors.h:64
Aws::kendra::KendraErrors::UNKNOWN
@ UNKNOWN
Kendra_EXPORTS.h
Aws::kendra::KendraErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::kendra::KendraErrorMapper::GetErrorForName
AWS_KENDRA_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::kendra::KendraError::KendraError
KendraError()
Definition: KendraErrors.h:61
Aws::kendra::KendraError::GetModeledError
T GetModeledError()
Aws::kendra::KendraError::KendraError
KendraError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: KendraErrors.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::kendra::KendraError
Definition: KendraErrors.h:59
Aws::kendra::KendraErrors
KendraErrors
Definition: KendraErrors.h:17
Aws::kendra::KendraError::KendraError
KendraError(Aws::Client::AWSError< KendraErrors > &&rhs)
Definition: KendraErrors.h:65
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28