AWS SDK for C++  1.8.156
AWS SDK for C++
SQSErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/sqs/SQS_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace SQS
15 {
16 enum class SQSErrors
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  BATCH_ENTRY_IDS_NOT_DISTINCT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  BATCH_REQUEST_TOO_LONG,
52  EMPTY_BATCH_REQUEST,
53  INVALID_ATTRIBUTE_NAME,
54  INVALID_BATCH_ENTRY_ID,
55  INVALID_ID_FORMAT,
56  INVALID_MESSAGE_CONTENTS,
57  MESSAGE_NOT_INFLIGHT,
58  OVER_LIMIT,
59  PURGE_QUEUE_IN_PROGRESS,
60  QUEUE_DELETED_RECENTLY,
61  QUEUE_DOES_NOT_EXIST,
62  QUEUE_NAME_EXISTS,
63  RECEIPT_HANDLE_IS_INVALID,
64  TOO_MANY_ENTRIES_IN_BATCH_REQUEST,
66 };
67 
68 class AWS_SQS_API SQSError : public Aws::Client::AWSError<SQSErrors>
69 {
70 public:
71  SQSError() {}
72  SQSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<SQSErrors>(rhs) {}
74  SQSError(const Aws::Client::AWSError<SQSErrors>& rhs) : Aws::Client::AWSError<SQSErrors>(rhs) {}
75  SQSError(Aws::Client::AWSError<SQSErrors>&& rhs) : Aws::Client::AWSError<SQSErrors>(rhs) {}
76 
77  template <typename T>
79 };
80 
81 namespace SQSErrorMapper
82 {
84 }
85 
86 } // namespace SQS
87 } // namespace Aws
Aws::SQS::SQSError::SQSError
SQSError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: SQSErrors.h:73
CoreErrors.h
AWSError.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SQS::SQSErrors::UNKNOWN
@ UNKNOWN
Aws::SQS::SQSErrors
SQSErrors
Definition: SQSErrors.h:17
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
Aws::Client::AWSError
Definition: AWSError.h:35
Aws::SQS::SQSError::SQSError
SQSError()
Definition: SQSErrors.h:71
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::SQSError::SQSError
SQSError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: SQSErrors.h:72
SQS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::SQSErrorMapper::GetErrorForName
AWS_SQS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::SQS::SQSErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SQS::SQSError::GetModeledError
T GetModeledError()
Aws::SQS::SQSError::SQSError
SQSError(const Aws::Client::AWSError< SQSErrors > &rhs)
Definition: SQSErrors.h:74
Aws::SQS::SQSError
Definition: SQSErrors.h:69
Aws::SQS::SQSError::SQSError
SQSError(Aws::Client::AWSError< SQSErrors > &&rhs)
Definition: SQSErrors.h:75