AWS SDK for C++  0.14.3
AWS SDK for C++
RDSErrors.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 
18 #include <aws/rds/RDS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace RDS
23 {
24 enum class RDSErrors
25 {
26  //From Core//
29  INTERNAL_FAILURE = 1,
30  INVALID_ACTION = 2,
35  MISSING_ACTION = 7, // SDK should never allow
36  MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
37  MISSING_PARAMETER = 9, // SDK should never allow
38  OPT_IN_REQUIRED = 10,
39  REQUEST_EXPIRED = 11,
41  THROTTLING = 13,
42  VALIDATION = 14,
43  ACCESS_DENIED = 15,
44  RESOURCE_NOT_FOUND = 16,
47  NETWORK_CONNECTION = 99,
48  UNKNOWN = 100,
50 
124 };
125 namespace RDSErrorMapper
126 {
128 }
129 
130 } // namespace RDS
131 } // namespace Aws
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
AWS_RDS_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
JSON (JavaScript Object Notation).