AWS SDK for C++  1.8.95
AWS SDK for C++
EKSErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/eks/EKS_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace EKS
15 {
16 enum class EKSErrors
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 
51  CLIENT,
54  NOT_FOUND,
57  SERVER,
59 };
60 
61 class AWS_EKS_API EKSError : public Aws::Client::AWSError<EKSErrors>
62 {
63 public:
64  EKSError() {}
65  EKSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<EKSErrors>(rhs) {}
67  EKSError(const Aws::Client::AWSError<EKSErrors>& rhs) : Aws::Client::AWSError<EKSErrors>(rhs) {}
68  EKSError(Aws::Client::AWSError<EKSErrors>&& rhs) : Aws::Client::AWSError<EKSErrors>(rhs) {}
69 
70  template <typename T>
71  T GetModeledError();
72 };
73 
74 namespace EKSErrorMapper
75 {
77 }
78 
79 } // namespace EKS
80 } // namespace Aws
AWS_EKS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
EKSError(Aws::Client::AWSError< EKSErrors > &&rhs)
Definition: EKSErrors.h:68
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
EKSError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: EKSErrors.h:66
EKSError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: EKSErrors.h:65
EKSError(const Aws::Client::AWSError< EKSErrors > &rhs)
Definition: EKSErrors.h:67