AWS SDK for C++  1.9.108
AWS SDK for C++
RDSErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/rds/RDS_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 enum class RDSErrors
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  AUTHORIZATION_ALREADY_EXISTS_FAULT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  AUTHORIZATION_NOT_FOUND_FAULT,
52  AUTHORIZATION_QUOTA_EXCEEDED_FAULT,
53  BACKUP_POLICY_NOT_FOUND_FAULT,
54  CERTIFICATE_NOT_FOUND_FAULT,
55  CUSTOM_AVAILABILITY_ZONE_ALREADY_EXISTS_FAULT,
56  CUSTOM_AVAILABILITY_ZONE_NOT_FOUND_FAULT,
57  CUSTOM_AVAILABILITY_ZONE_QUOTA_EXCEEDED_FAULT,
58  DOMAIN_NOT_FOUND_FAULT,
59  D_B_CLUSTER_ALREADY_EXISTS_FAULT,
60  D_B_CLUSTER_BACKTRACK_NOT_FOUND_FAULT,
61  D_B_CLUSTER_ENDPOINT_ALREADY_EXISTS_FAULT,
62  D_B_CLUSTER_ENDPOINT_NOT_FOUND_FAULT,
63  D_B_CLUSTER_ENDPOINT_QUOTA_EXCEEDED_FAULT,
64  D_B_CLUSTER_NOT_FOUND_FAULT,
65  D_B_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT,
66  D_B_CLUSTER_QUOTA_EXCEEDED_FAULT,
67  D_B_CLUSTER_ROLE_ALREADY_EXISTS_FAULT,
68  D_B_CLUSTER_ROLE_NOT_FOUND_FAULT,
69  D_B_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT,
70  D_B_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT,
71  D_B_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT,
72  D_B_INSTANCE_ALREADY_EXISTS_FAULT,
73  D_B_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT,
74  D_B_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT,
75  D_B_INSTANCE_NOT_FOUND_FAULT,
76  D_B_INSTANCE_ROLE_ALREADY_EXISTS_FAULT,
77  D_B_INSTANCE_ROLE_NOT_FOUND_FAULT,
78  D_B_INSTANCE_ROLE_QUOTA_EXCEEDED_FAULT,
79  D_B_LOG_FILE_NOT_FOUND_FAULT,
80  D_B_PARAMETER_GROUP_ALREADY_EXISTS_FAULT,
81  D_B_PARAMETER_GROUP_NOT_FOUND_FAULT,
82  D_B_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT,
83  D_B_PROXY_ALREADY_EXISTS_FAULT,
84  D_B_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT,
85  D_B_PROXY_ENDPOINT_NOT_FOUND_FAULT,
86  D_B_PROXY_ENDPOINT_QUOTA_EXCEEDED_FAULT,
87  D_B_PROXY_NOT_FOUND_FAULT,
88  D_B_PROXY_QUOTA_EXCEEDED_FAULT,
89  D_B_PROXY_TARGET_ALREADY_REGISTERED_FAULT,
90  D_B_PROXY_TARGET_GROUP_NOT_FOUND_FAULT,
91  D_B_PROXY_TARGET_NOT_FOUND_FAULT,
92  D_B_SECURITY_GROUP_ALREADY_EXISTS_FAULT,
93  D_B_SECURITY_GROUP_NOT_FOUND_FAULT,
94  D_B_SECURITY_GROUP_NOT_SUPPORTED_FAULT,
95  D_B_SECURITY_GROUP_QUOTA_EXCEEDED_FAULT,
96  D_B_SNAPSHOT_ALREADY_EXISTS_FAULT,
97  D_B_SNAPSHOT_NOT_FOUND_FAULT,
98  D_B_SUBNET_GROUP_ALREADY_EXISTS_FAULT,
99  D_B_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS,
100  D_B_SUBNET_GROUP_NOT_ALLOWED_FAULT,
101  D_B_SUBNET_GROUP_NOT_FOUND_FAULT,
102  D_B_SUBNET_GROUP_QUOTA_EXCEEDED_FAULT,
103  D_B_SUBNET_QUOTA_EXCEEDED_FAULT,
104  D_B_UPGRADE_DEPENDENCY_FAILURE_FAULT,
105  EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT,
106  EXPORT_TASK_ALREADY_EXISTS_FAULT,
107  EXPORT_TASK_NOT_FOUND_FAULT,
108  GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT,
109  GLOBAL_CLUSTER_NOT_FOUND_FAULT,
110  GLOBAL_CLUSTER_QUOTA_EXCEEDED_FAULT,
111  IAM_ROLE_MISSING_PERMISSIONS_FAULT,
112  IAM_ROLE_NOT_FOUND_FAULT,
113  INSTALLATION_MEDIA_ALREADY_EXISTS_FAULT,
114  INSTALLATION_MEDIA_NOT_FOUND_FAULT,
115  INSTANCE_QUOTA_EXCEEDED_FAULT,
116  INSUFFICIENT_AVAILABLE_I_PS_IN_SUBNET_FAULT,
117  INSUFFICIENT_D_B_CLUSTER_CAPACITY_FAULT,
118  INSUFFICIENT_D_B_INSTANCE_CAPACITY_FAULT,
119  INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT,
120  INVALID_D_B_CLUSTER_CAPACITY_FAULT,
121  INVALID_D_B_CLUSTER_ENDPOINT_STATE_FAULT,
122  INVALID_D_B_CLUSTER_SNAPSHOT_STATE_FAULT,
123  INVALID_D_B_CLUSTER_STATE_FAULT,
124  INVALID_D_B_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT,
125  INVALID_D_B_INSTANCE_STATE_FAULT,
126  INVALID_D_B_PARAMETER_GROUP_STATE_FAULT,
127  INVALID_D_B_PROXY_ENDPOINT_STATE_FAULT,
128  INVALID_D_B_PROXY_STATE_FAULT,
129  INVALID_D_B_SECURITY_GROUP_STATE_FAULT,
130  INVALID_D_B_SNAPSHOT_STATE_FAULT,
131  INVALID_D_B_SUBNET_GROUP_FAULT,
132  INVALID_D_B_SUBNET_GROUP_STATE_FAULT,
133  INVALID_D_B_SUBNET_STATE_FAULT,
134  INVALID_EVENT_SUBSCRIPTION_STATE_FAULT,
135  INVALID_EXPORT_ONLY_FAULT,
136  INVALID_EXPORT_SOURCE_STATE_FAULT,
137  INVALID_EXPORT_TASK_STATE_FAULT,
138  INVALID_GLOBAL_CLUSTER_STATE_FAULT,
139  INVALID_OPTION_GROUP_STATE_FAULT,
140  INVALID_RESTORE_FAULT,
141  INVALID_S3_BUCKET_FAULT,
142  INVALID_SUBNET,
143  INVALID_V_P_C_NETWORK_STATE_FAULT,
144  K_M_S_KEY_NOT_ACCESSIBLE_FAULT,
145  OPTION_GROUP_ALREADY_EXISTS_FAULT,
146  OPTION_GROUP_NOT_FOUND_FAULT,
147  OPTION_GROUP_QUOTA_EXCEEDED_FAULT,
148  POINT_IN_TIME_RESTORE_NOT_ENABLED_FAULT,
149  PROVISIONED_IOPS_NOT_AVAILABLE_IN_A_Z_FAULT,
150  RESERVED_D_B_INSTANCES_OFFERING_NOT_FOUND_FAULT,
151  RESERVED_D_B_INSTANCE_ALREADY_EXISTS_FAULT,
152  RESERVED_D_B_INSTANCE_NOT_FOUND_FAULT,
153  RESERVED_D_B_INSTANCE_QUOTA_EXCEEDED_FAULT,
154  RESOURCE_NOT_FOUND_FAULT,
155  SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT,
156  SNAPSHOT_QUOTA_EXCEEDED_FAULT,
157  SOURCE_NOT_FOUND_FAULT,
158  STORAGE_QUOTA_EXCEEDED_FAULT,
159  STORAGE_TYPE_NOT_SUPPORTED_FAULT,
160  SUBNET_ALREADY_IN_USE,
161  SUBSCRIPTION_ALREADY_EXIST_FAULT,
162  SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT,
163  SUBSCRIPTION_NOT_FOUND_FAULT,
164  S_N_S_INVALID_TOPIC_FAULT,
165  S_N_S_NO_AUTHORIZATION_FAULT,
167 };
168 
169 class AWS_RDS_API RDSError : public Aws::Client::AWSError<RDSErrors>
170 {
171 public:
172  RDSError() {}
173  RDSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<RDSErrors>(rhs) {}
175  RDSError(const Aws::Client::AWSError<RDSErrors>& rhs) : Aws::Client::AWSError<RDSErrors>(rhs) {}
176  RDSError(Aws::Client::AWSError<RDSErrors>&& rhs) : Aws::Client::AWSError<RDSErrors>(rhs) {}
177 
178  template <typename T>
180 };
181 
182 namespace RDSErrorMapper
183 {
185 }
186 
187 } // namespace RDS
188 } // namespace Aws
Aws::RDS::RDSError::GetModeledError
T GetModeledError()
CoreErrors.h
AWSError.h
Aws::RDS::RDSError::RDSError
RDSError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: RDSErrors.h:173
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::RDSErrorMapper::GetErrorForName
AWS_RDS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::RDS::RDSError::RDSError
RDSError(Aws::Client::AWSError< RDSErrors > &&rhs)
Definition: RDSErrors.h:176
RDS_EXPORTS.h
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::RDS::RDSErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::RDS::RDSErrors
RDSErrors
Definition: RDSErrors.h:17
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::RDSError
Definition: RDSErrors.h:170
Aws::RDS::RDSError::RDSError
RDSError(const Aws::Client::AWSError< RDSErrors > &rhs)
Definition: RDSErrors.h:175
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::RDSError::RDSError
RDSError()
Definition: RDSErrors.h:172
Aws::RDS::RDSErrors::UNKNOWN
@ UNKNOWN
Aws::RDS::RDSError::RDSError
RDSError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: RDSErrors.h:174