AWS SDK for C++  1.8.95
AWS SDK for C++
ACMPCAErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace ACMPCA
15 {
16 enum class ACMPCAErrors
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 
68 };
69 
70 class AWS_ACMPCA_API ACMPCAError : public Aws::Client::AWSError<ACMPCAErrors>
71 {
72 public:
76  ACMPCAError(const Aws::Client::AWSError<ACMPCAErrors>& rhs) : Aws::Client::AWSError<ACMPCAErrors>(rhs) {}
78 
79  template <typename T>
80  T GetModeledError();
81 };
82 
83 namespace ACMPCAErrorMapper
84 {
86 }
87 
88 } // namespace ACMPCA
89 } // namespace Aws
AWS_ACMPCA_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
ACMPCAError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: ACMPCAErrors.h:74
ACMPCAError(Aws::Client::AWSError< ACMPCAErrors > &&rhs)
Definition: ACMPCAErrors.h:77
ACMPCAError(const Aws::Client::AWSError< ACMPCAErrors > &rhs)
Definition: ACMPCAErrors.h:76
ACMPCAError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: ACMPCAErrors.h:75
#define AWS_ACMPCA_API