AWS SDK for C++  1.9.107
AWS SDK for C++
RedshiftErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 enum class RedshiftErrors
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  ACCESS_TO_CLUSTER_DENIED_FAULT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  ACCESS_TO_SNAPSHOT_DENIED_FAULT,
52  AUTHENTICATION_PROFILE_ALREADY_EXISTS_FAULT,
53  AUTHENTICATION_PROFILE_NOT_FOUND_FAULT,
54  AUTHENTICATION_PROFILE_QUOTA_EXCEEDED_FAULT,
55  AUTHORIZATION_ALREADY_EXISTS_FAULT,
56  AUTHORIZATION_NOT_FOUND_FAULT,
57  AUTHORIZATION_QUOTA_EXCEEDED_FAULT,
58  BATCH_DELETE_REQUEST_SIZE_EXCEEDED_FAULT,
59  BATCH_MODIFY_CLUSTER_SNAPSHOTS_LIMIT_EXCEEDED_FAULT,
60  BUCKET_NOT_FOUND_FAULT,
61  CLUSTER_ALREADY_EXISTS_FAULT,
62  CLUSTER_NOT_FOUND_FAULT,
63  CLUSTER_ON_LATEST_REVISION_FAULT,
64  CLUSTER_PARAMETER_GROUP_ALREADY_EXISTS_FAULT,
65  CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT,
66  CLUSTER_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT,
67  CLUSTER_QUOTA_EXCEEDED_FAULT,
68  CLUSTER_SECURITY_GROUP_ALREADY_EXISTS_FAULT,
69  CLUSTER_SECURITY_GROUP_NOT_FOUND_FAULT,
70  CLUSTER_SECURITY_GROUP_QUOTA_EXCEEDED_FAULT,
71  CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT,
72  CLUSTER_SNAPSHOT_NOT_FOUND_FAULT,
73  CLUSTER_SNAPSHOT_QUOTA_EXCEEDED_FAULT,
74  CLUSTER_SUBNET_GROUP_ALREADY_EXISTS_FAULT,
75  CLUSTER_SUBNET_GROUP_NOT_FOUND_FAULT,
76  CLUSTER_SUBNET_GROUP_QUOTA_EXCEEDED_FAULT,
77  CLUSTER_SUBNET_QUOTA_EXCEEDED_FAULT,
78  COPY_TO_REGION_DISABLED_FAULT,
79  DEPENDENT_SERVICE_REQUEST_THROTTLING_FAULT,
80  DEPENDENT_SERVICE_UNAVAILABLE_FAULT,
81  ENDPOINTS_PER_AUTHORIZATION_LIMIT_EXCEEDED_FAULT,
82  ENDPOINTS_PER_CLUSTER_LIMIT_EXCEEDED_FAULT,
83  ENDPOINT_ALREADY_EXISTS_FAULT,
84  ENDPOINT_AUTHORIZATIONS_PER_CLUSTER_LIMIT_EXCEEDED_FAULT,
85  ENDPOINT_AUTHORIZATION_ALREADY_EXISTS_FAULT,
86  ENDPOINT_AUTHORIZATION_NOT_FOUND_FAULT,
87  ENDPOINT_NOT_FOUND_FAULT,
88  EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT,
89  HSM_CLIENT_CERTIFICATE_ALREADY_EXISTS_FAULT,
90  HSM_CLIENT_CERTIFICATE_NOT_FOUND_FAULT,
91  HSM_CLIENT_CERTIFICATE_QUOTA_EXCEEDED_FAULT,
92  HSM_CONFIGURATION_ALREADY_EXISTS_FAULT,
93  HSM_CONFIGURATION_NOT_FOUND_FAULT,
94  HSM_CONFIGURATION_QUOTA_EXCEEDED_FAULT,
95  INCOMPATIBLE_ORDERABLE_OPTIONS,
96  INSUFFICIENT_CLUSTER_CAPACITY_FAULT,
97  INSUFFICIENT_S3_BUCKET_POLICY_FAULT,
98  INVALID_AUTHENTICATION_PROFILE_REQUEST_FAULT,
99  INVALID_AUTHORIZATION_STATE_FAULT,
100  INVALID_CLUSTER_PARAMETER_GROUP_STATE_FAULT,
101  INVALID_CLUSTER_SECURITY_GROUP_STATE_FAULT,
102  INVALID_CLUSTER_SNAPSHOT_SCHEDULE_STATE_FAULT,
103  INVALID_CLUSTER_SNAPSHOT_STATE_FAULT,
104  INVALID_CLUSTER_STATE_FAULT,
105  INVALID_CLUSTER_SUBNET_GROUP_STATE_FAULT,
106  INVALID_CLUSTER_SUBNET_STATE_FAULT,
107  INVALID_CLUSTER_TRACK_FAULT,
108  INVALID_DATA_SHARE_FAULT,
109  INVALID_ELASTIC_IP_FAULT,
110  INVALID_ENDPOINT_STATE_FAULT,
111  INVALID_HSM_CLIENT_CERTIFICATE_STATE_FAULT,
112  INVALID_HSM_CONFIGURATION_STATE_FAULT,
113  INVALID_NAMESPACE_FAULT,
114  INVALID_RESERVED_NODE_STATE_FAULT,
115  INVALID_RESTORE_FAULT,
116  INVALID_RETENTION_PERIOD_FAULT,
117  INVALID_S3_BUCKET_NAME_FAULT,
118  INVALID_S3_KEY_PREFIX_FAULT,
119  INVALID_SCHEDULED_ACTION_FAULT,
120  INVALID_SCHEDULE_FAULT,
121  INVALID_SNAPSHOT_COPY_GRANT_STATE_FAULT,
122  INVALID_SUBNET,
123  INVALID_SUBSCRIPTION_STATE_FAULT,
124  INVALID_TABLE_RESTORE_ARGUMENT_FAULT,
125  INVALID_TAG_FAULT,
126  INVALID_USAGE_LIMIT_FAULT,
127  INVALID_V_P_C_NETWORK_STATE_FAULT,
128  IN_PROGRESS_TABLE_RESTORE_QUOTA_EXCEEDED_FAULT,
129  LIMIT_EXCEEDED_FAULT,
130  NUMBER_OF_NODES_PER_CLUSTER_LIMIT_EXCEEDED_FAULT,
131  NUMBER_OF_NODES_QUOTA_EXCEEDED_FAULT,
132  PARTNER_NOT_FOUND_FAULT,
133  RESERVED_NODE_ALREADY_EXISTS_FAULT,
134  RESERVED_NODE_ALREADY_MIGRATED_FAULT,
135  RESERVED_NODE_NOT_FOUND_FAULT,
136  RESERVED_NODE_OFFERING_NOT_FOUND_FAULT,
137  RESERVED_NODE_QUOTA_EXCEEDED_FAULT,
138  RESIZE_NOT_FOUND_FAULT,
139  RESOURCE_NOT_FOUND_FAULT,
140  SCHEDULED_ACTION_ALREADY_EXISTS_FAULT,
141  SCHEDULED_ACTION_NOT_FOUND_FAULT,
142  SCHEDULED_ACTION_QUOTA_EXCEEDED_FAULT,
143  SCHEDULED_ACTION_TYPE_UNSUPPORTED_FAULT,
144  SCHEDULE_DEFINITION_TYPE_UNSUPPORTED_FAULT,
145  SNAPSHOT_COPY_ALREADY_DISABLED_FAULT,
146  SNAPSHOT_COPY_ALREADY_ENABLED_FAULT,
147  SNAPSHOT_COPY_DISABLED_FAULT,
148  SNAPSHOT_COPY_GRANT_ALREADY_EXISTS_FAULT,
149  SNAPSHOT_COPY_GRANT_NOT_FOUND_FAULT,
150  SNAPSHOT_COPY_GRANT_QUOTA_EXCEEDED_FAULT,
151  SNAPSHOT_SCHEDULE_ALREADY_EXISTS_FAULT,
152  SNAPSHOT_SCHEDULE_NOT_FOUND_FAULT,
153  SNAPSHOT_SCHEDULE_QUOTA_EXCEEDED_FAULT,
154  SNAPSHOT_SCHEDULE_UPDATE_IN_PROGRESS_FAULT,
155  SOURCE_NOT_FOUND_FAULT,
156  SUBNET_ALREADY_IN_USE,
157  SUBSCRIPTION_ALREADY_EXIST_FAULT,
158  SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT,
159  SUBSCRIPTION_EVENT_ID_NOT_FOUND_FAULT,
160  SUBSCRIPTION_NOT_FOUND_FAULT,
161  SUBSCRIPTION_SEVERITY_NOT_FOUND_FAULT,
162  S_N_S_INVALID_TOPIC_FAULT,
163  S_N_S_NO_AUTHORIZATION_FAULT,
164  S_N_S_TOPIC_ARN_NOT_FOUND_FAULT,
165  TABLE_LIMIT_EXCEEDED_FAULT,
166  TABLE_RESTORE_NOT_FOUND_FAULT,
167  TAG_LIMIT_EXCEEDED_FAULT,
168  UNAUTHORIZED_OPERATION,
169  UNAUTHORIZED_PARTNER_INTEGRATION_FAULT,
170  UNKNOWN_SNAPSHOT_COPY_REGION_FAULT,
171  UNSUPPORTED_OPERATION_FAULT,
172  UNSUPPORTED_OPTION_FAULT,
173  USAGE_LIMIT_ALREADY_EXISTS_FAULT,
175 };
176 
178 {
179 public:
185 
186  template <typename T>
188 };
189 
190 namespace RedshiftErrorMapper
191 {
193 }
194 
195 } // namespace Redshift
196 } // namespace Aws
CoreErrors.h
AWSError.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::Redshift::RedshiftError::RedshiftError
RedshiftError(Aws::Client::AWSError< RedshiftErrors > &&rhs)
Definition: RedshiftErrors.h:184
Aws::Redshift::RedshiftError::RedshiftError
RedshiftError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: RedshiftErrors.h:181
Aws::Redshift::RedshiftError::RedshiftError
RedshiftError(const Aws::Client::AWSError< RedshiftErrors > &rhs)
Definition: RedshiftErrors.h:183
Aws::Redshift::RedshiftError::GetModeledError
T GetModeledError()
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftError::RedshiftError
RedshiftError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: RedshiftErrors.h:182
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::Redshift::RedshiftErrorMapper::GetErrorForName
AWS_REDSHIFT_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::Redshift::RedshiftError
Definition: RedshiftErrors.h:178
Aws::Redshift::RedshiftErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::RedshiftErrors
RedshiftErrors
Definition: RedshiftErrors.h:17
Aws::Redshift::RedshiftErrors::UNKNOWN
@ UNKNOWN
Aws::Redshift::RedshiftError::RedshiftError
RedshiftError()
Definition: RedshiftErrors.h:180