AWS SDK for C++  1.9.124
AWS SDK for C++
IoTErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/iot/IoT_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 enum class IoTErrors
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  CERTIFICATE_CONFLICT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  CERTIFICATE_STATE,
52  CERTIFICATE_VALIDATION,
53  CONFLICT,
54  CONFLICTING_RESOURCE_UPDATE,
55  DELETE_CONFLICT,
56  INDEX_NOT_READY,
57  INTERNAL,
58  INVALID_AGGREGATION,
59  INVALID_QUERY,
60  INVALID_REQUEST,
61  INVALID_RESPONSE,
62  INVALID_STATE_TRANSITION,
63  LIMIT_EXCEEDED,
64  MALFORMED_POLICY,
65  NOT_CONFIGURED,
66  REGISTRATION_CODE_VALIDATION,
67  RESOURCE_ALREADY_EXISTS,
68  RESOURCE_REGISTRATION_FAILURE,
69  SQL_PARSE,
70  TASK_ALREADY_EXISTS,
71  TRANSFER_ALREADY_COMPLETED,
72  TRANSFER_CONFLICT,
73  UNAUTHORIZED,
74  VERSIONS_LIMIT_EXCEEDED,
76 };
77 
78 class AWS_IOT_API IoTError : public Aws::Client::AWSError<IoTErrors>
79 {
80 public:
81  IoTError() {}
82  IoTError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<IoTErrors>(rhs) {}
84  IoTError(const Aws::Client::AWSError<IoTErrors>& rhs) : Aws::Client::AWSError<IoTErrors>(rhs) {}
85  IoTError(Aws::Client::AWSError<IoTErrors>&& rhs) : Aws::Client::AWSError<IoTErrors>(rhs) {}
86 
87  template <typename T>
89 };
90 
91 namespace IoTErrorMapper
92 {
94 }
95 
96 } // namespace IoT
97 } // namespace Aws
Aws::IoT::IoTError::IoTError
IoTError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: IoTErrors.h:83
CoreErrors.h
AWSError.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::IoT::IoTError
Definition: IoTErrors.h:79
Aws::IoT::IoTError::IoTError
IoTError()
Definition: IoTErrors.h:81
Aws::IoT::IoTErrors::UNKNOWN
@ UNKNOWN
Aws::IoT::IoTError::IoTError
IoTError(const Aws::Client::AWSError< IoTErrors > &rhs)
Definition: IoTErrors.h:84
Aws::IoT::IoTErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::IoT::IoTErrors
IoTErrors
Definition: IoTErrors.h:17
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::IoT::IoTError::GetModeledError
T GetModeledError()
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::IoTError::IoTError
IoTError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: IoTErrors.h:82
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::IoTError::IoTError
IoTError(Aws::Client::AWSError< IoTErrors > &&rhs)
Definition: IoTErrors.h:85
Aws::IoT::IoTErrorMapper::GetErrorForName
AWS_IOT_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
IoT_EXPORTS.h