AWS SDK for C++  1.9.108
AWS SDK for C++
SNSErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/sns/SNS_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace SNS
15 {
16 enum class SNSErrors
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  AUTHORIZATION_ERROR= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  CONCURRENT_ACCESS,
52  ENDPOINT_DISABLED,
53  FILTER_POLICY_LIMIT_EXCEEDED,
54  INTERNAL_ERROR,
55  INVALID_PARAMETER,
56  INVALID_SECURITY,
57  K_M_S_ACCESS_DENIED,
58  K_M_S_DISABLED,
59  K_M_S_INVALID_STATE,
60  K_M_S_NOT_FOUND,
61  K_M_S_OPT_IN_REQUIRED,
62  K_M_S_THROTTLING,
63  NOT_FOUND,
64  OPTED_OUT,
65  PLATFORM_APPLICATION_DISABLED,
66  STALE_TAG,
67  SUBSCRIPTION_LIMIT_EXCEEDED,
68  TAG_LIMIT_EXCEEDED,
69  TAG_POLICY,
70  TOPIC_LIMIT_EXCEEDED,
71  USER_ERROR,
73 };
74 
75 class AWS_SNS_API SNSError : public Aws::Client::AWSError<SNSErrors>
76 {
77 public:
78  SNSError() {}
79  SNSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<SNSErrors>(rhs) {}
81  SNSError(const Aws::Client::AWSError<SNSErrors>& rhs) : Aws::Client::AWSError<SNSErrors>(rhs) {}
82  SNSError(Aws::Client::AWSError<SNSErrors>&& rhs) : Aws::Client::AWSError<SNSErrors>(rhs) {}
83 
84  template <typename T>
86 };
87 
88 namespace SNSErrorMapper
89 {
91 }
92 
93 } // namespace SNS
94 } // namespace Aws
Aws::SNS::SNSErrors
SNSErrors
Definition: SNSErrors.h:17
Aws::SNS::SNSErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
CoreErrors.h
AWSError.h
Aws::SNS::SNSError
Definition: SNSErrors.h:76
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SNS::SNSError::SNSError
SNSError(Aws::Client::AWSError< SNSErrors > &&rhs)
Definition: SNSErrors.h:82
Aws::SNS::SNSError::SNSError
SNSError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: SNSErrors.h:79
Aws::SNS::SNSErrorMapper::GetErrorForName
AWS_SNS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::SNS::SNSError::GetModeledError
T GetModeledError()
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::SNS::SNSErrors::UNKNOWN
@ UNKNOWN
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::SNSError::SNSError
SNSError(const Aws::Client::AWSError< SNSErrors > &rhs)
Definition: SNSErrors.h:81
Aws::SNS::SNSError::SNSError
SNSError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: SNSErrors.h:80
Aws::SNS::SNSError::SNSError
SNSError()
Definition: SNSErrors.h:78