AWS SDK for C++  1.8.99
AWS SDK for C++
ACMErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/acm/ACM_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace ACM
15 {
16 enum class ACMErrors
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 
59  TAG_POLICY,
61 };
62 
63 class AWS_ACM_API ACMError : public Aws::Client::AWSError<ACMErrors>
64 {
65 public:
66  ACMError() {}
67  ACMError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<ACMErrors>(rhs) {}
69  ACMError(const Aws::Client::AWSError<ACMErrors>& rhs) : Aws::Client::AWSError<ACMErrors>(rhs) {}
70  ACMError(Aws::Client::AWSError<ACMErrors>&& rhs) : Aws::Client::AWSError<ACMErrors>(rhs) {}
71 
72  template <typename T>
73  T GetModeledError();
74 };
75 
76 namespace ACMErrorMapper
77 {
79 }
80 
81 } // namespace ACM
82 } // namespace Aws
ACMError(const Aws::Client::AWSError< ACMErrors > &rhs)
Definition: ACMErrors.h:69
ACMError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: ACMErrors.h:67
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
ACMError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: ACMErrors.h:68
AWS_ACM_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
ACMError(Aws::Client::AWSError< ACMErrors > &&rhs)
Definition: ACMErrors.h:70