AWS SDK for C++  0.12.9
AWS SDK for C++
IoTErrors.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/iot/IoT_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace IoT
23 {
24 enum class AWS_IOT_API IoTErrors
25 {
26  //From Core//
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
41  THROTTLING = 13,
42  VALIDATION = 14,
48  UNKNOWN = 100,
50 
51  CERTIFICATE_CONFLICT= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
55  INTERNAL,
61  SQL_PARSE,
65  VERSIONS_LIMIT_EXCEEDED
66 };
67 namespace IoTErrorMapper
68 {
70 }
71 
72 } // namespace IoT
73 } // namespace Aws
INVALID_REQUEST
Definition: IoTErrors.h:51
NETWORK_CONNECTION
Definition: IoTErrors.h:47
UNAUTHORIZED
Definition: IoTErrors.h:51
INVALID_CLIENT_TOKEN_ID
Definition: IoTErrors.h:31
AWS_IOT_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
DELETE_CONFLICT
Definition: IoTErrors.h:51
RESOURCE_NOT_FOUND
Definition: IoTErrors.h:44
CERTIFICATE_CONFLICT
Definition: IoTErrors.h:51
INTERNAL_FAILURE
Definition: IoTErrors.h:29
INCOMPLETE_SIGNATURE
Definition: IoTErrors.h:28
INVALID_QUERY_PARAMETER
Definition: IoTErrors.h:33
MALFORMED_POLICY
Definition: IoTErrors.h:51
LIMIT_EXCEEDED
Definition: IoTErrors.h:51
CERTIFICATE_STATE
Definition: IoTErrors.h:51
RESOURCE_ALREADY_EXISTS
Definition: IoTErrors.h:51
TRANSFER_CONFLICT
Definition: IoTErrors.h:51
CERTIFICATE_VALIDATION
Definition: IoTErrors.h:51
OPT_IN_REQUIRED
Definition: IoTErrors.h:38
INVALID_ACTION
Definition: IoTErrors.h:30
THROTTLING
Definition: IoTErrors.h:41
REGISTRATION_CODE_VALIDATION
Definition: IoTErrors.h:51
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:34
INVALID_PARAMETER_COMBINATION
Definition: IoTErrors.h:32
REQUEST_EXPIRED
Definition: IoTErrors.h:39
INTERNAL
Definition: IoTErrors.h:51
VALIDATION
Definition: IoTErrors.h:42
MALFORMED_QUERY_STRING
Definition: IoTErrors.h:46
MISSING_ACTION
Definition: IoTErrors.h:35
UNRECOGNIZED_CLIENT
Definition: IoTErrors.h:45
TRANSFER_ALREADY_COMPLETED
Definition: IoTErrors.h:51
MISSING_PARAMETER
Definition: IoTErrors.h:37
INVALID_PARAMETER_VALUE
Definition: IoTErrors.h:34
UNKNOWN
Definition: ACMErrors.h:48
SQL_PARSE
Definition: IoTErrors.h:51
SERVICE_UNAVAILABLE
Definition: IoTErrors.h:40
MISSING_AUTHENTICATION_TOKEN
Definition: IoTErrors.h:36
JSON (JavaScript Object Notation).
ACCESS_DENIED
Definition: IoTErrors.h:43