AWS SDK for C++  1.8.126
AWS SDK for C++
SESErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/email/SES_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 enum class SESErrors
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  ACCOUNT_SENDING_PAUSED= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  ALREADY_EXISTS,
52  CANNOT_DELETE,
53  CONFIGURATION_SET_ALREADY_EXISTS,
54  CONFIGURATION_SET_DOES_NOT_EXIST,
55  CONFIGURATION_SET_SENDING_PAUSED,
56  CUSTOM_VERIFICATION_EMAIL_INVALID_CONTENT,
57  CUSTOM_VERIFICATION_EMAIL_TEMPLATE_ALREADY_EXISTS,
58  CUSTOM_VERIFICATION_EMAIL_TEMPLATE_DOES_NOT_EXIST,
59  EVENT_DESTINATION_ALREADY_EXISTS,
60  EVENT_DESTINATION_DOES_NOT_EXIST,
61  FROM_EMAIL_ADDRESS_NOT_VERIFIED,
62  INVALID_CLOUD_WATCH_DESTINATION,
63  INVALID_CONFIGURATION_SET,
64  INVALID_DELIVERY_OPTIONS,
65  INVALID_FIREHOSE_DESTINATION,
66  INVALID_LAMBDA_FUNCTION,
67  INVALID_POLICY,
68  INVALID_RENDERING_PARAMETER,
69  INVALID_S3_CONFIGURATION,
70  INVALID_SNS_TOPIC,
71  INVALID_S_N_S_DESTINATION,
72  INVALID_TEMPLATE,
73  INVALID_TRACKING_OPTIONS,
74  LIMIT_EXCEEDED,
75  MAIL_FROM_DOMAIN_NOT_VERIFIED,
76  MESSAGE_REJECTED,
77  MISSING_RENDERING_ATTRIBUTE,
78  PRODUCTION_ACCESS_NOT_GRANTED,
79  RULE_DOES_NOT_EXIST,
80  RULE_SET_DOES_NOT_EXIST,
81  TEMPLATE_DOES_NOT_EXIST,
82  TRACKING_OPTIONS_ALREADY_EXISTS,
84 };
85 
86 class AWS_SES_API SESError : public Aws::Client::AWSError<SESErrors>
87 {
88 public:
89  SESError() {}
90  SESError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<SESErrors>(rhs) {}
92  SESError(const Aws::Client::AWSError<SESErrors>& rhs) : Aws::Client::AWSError<SESErrors>(rhs) {}
93  SESError(Aws::Client::AWSError<SESErrors>&& rhs) : Aws::Client::AWSError<SESErrors>(rhs) {}
94 
95  template <typename T>
97 };
98 
99 namespace SESErrorMapper
100 {
102 }
103 
104 } // namespace SES
105 } // namespace Aws
Aws::SES::SESErrorMapper::GetErrorForName
AWS_SES_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::SES::SESError::SESError
SESError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: SESErrors.h:91
CoreErrors.h
AWSError.h
Aws::SES::SESError::SESError
SESError(const Aws::Client::AWSError< SESErrors > &rhs)
Definition: SESErrors.h:92
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SES::SESError::SESError
SESError(Aws::Client::AWSError< SESErrors > &&rhs)
Definition: SESErrors.h:93
Aws::SES::SESError::SESError
SESError()
Definition: SESErrors.h:89
Aws::SES::SESErrors
SESErrors
Definition: SESErrors.h:17
Aws::SES::SESError::GetModeledError
T GetModeledError()
Aws::SES::SESError::SESError
SESError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: SESErrors.h:90
SES_EXPORTS.h
Aws::Client::AWSError
Definition: AWSError.h:35
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESError
Definition: SESErrors.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::SES::SESErrors::UNKNOWN
@ UNKNOWN
Aws::SES::SESErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE