AWS SDK for C++  1.8.99
AWS SDK for C++
SSMErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/ssm/SSM_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace SSM
15 {
16 enum class SSMErrors
17 {
18  //From Core//
21  INTERNAL_FAILURE = 1,
22  INVALID_ACTION = 2,
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,
33  THROTTLING = 13,
34  VALIDATION = 14,
35  ACCESS_DENIED = 15,
36  RESOURCE_NOT_FOUND = 16,
39  SLOW_DOWN = 19,
41  INVALID_SIGNATURE = 21,
44  REQUEST_TIMEOUT = 24,
45  NETWORK_CONNECTION = 99,
46 
47  UNKNOWN = 100,
49 
119  INVALID_ROLE,
162 };
163 
164 class AWS_SSM_API SSMError : public Aws::Client::AWSError<SSMErrors>
165 {
166 public:
167  SSMError() {}
168  SSMError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<SSMErrors>(rhs) {}
170  SSMError(const Aws::Client::AWSError<SSMErrors>& rhs) : Aws::Client::AWSError<SSMErrors>(rhs) {}
171  SSMError(Aws::Client::AWSError<SSMErrors>&& rhs) : Aws::Client::AWSError<SSMErrors>(rhs) {}
172 
173  template <typename T>
174  T GetModeledError();
175 };
176 
177 namespace SSMErrorMapper
178 {
180 }
181 
182 } // namespace SSM
183 } // namespace Aws
SSMError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: SSMErrors.h:169
AWS_SSM_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
SSMError(Aws::Client::AWSError< SSMErrors > &&rhs)
Definition: SSMErrors.h:171
SSMError(const Aws::Client::AWSError< SSMErrors > &rhs)
Definition: SSMErrors.h:170
SSMError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: SSMErrors.h:168
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28