AWS SDK for C++  1.9.129
AWS SDK for C++
RAMErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/ram/RAM_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace RAM
15 {
16 enum class RAMErrors
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  IDEMPOTENT_PARAMETER_MISMATCH= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  INVALID_CLIENT_TOKEN,
52  INVALID_MAX_RESULTS,
53  INVALID_NEXT_TOKEN,
54  INVALID_PARAMETER,
55  INVALID_RESOURCE_TYPE,
56  INVALID_STATE_TRANSITION,
57  MALFORMED_ARN,
58  MISSING_REQUIRED_PARAMETER,
59  OPERATION_NOT_PERMITTED,
60  RESOURCE_ARN_NOT_FOUND,
61  RESOURCE_SHARE_INVITATION_ALREADY_ACCEPTED,
62  RESOURCE_SHARE_INVITATION_ALREADY_REJECTED,
63  RESOURCE_SHARE_INVITATION_ARN_NOT_FOUND,
64  RESOURCE_SHARE_INVITATION_EXPIRED,
65  RESOURCE_SHARE_LIMIT_EXCEEDED,
66  SERVER_INTERNAL,
67  TAG_LIMIT_EXCEEDED,
68  TAG_POLICY_VIOLATION,
70 };
71 
72 class AWS_RAM_API RAMError : public Aws::Client::AWSError<RAMErrors>
73 {
74 public:
75  RAMError() {}
76  RAMError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<RAMErrors>(rhs) {}
78  RAMError(const Aws::Client::AWSError<RAMErrors>& rhs) : Aws::Client::AWSError<RAMErrors>(rhs) {}
79  RAMError(Aws::Client::AWSError<RAMErrors>&& rhs) : Aws::Client::AWSError<RAMErrors>(rhs) {}
80 
81  template <typename T>
83 };
84 
85 namespace RAMErrorMapper
86 {
88 }
89 
90 } // namespace RAM
91 } // namespace Aws
CoreErrors.h
AWSError.h
Aws::RAM::RAMErrors
RAMErrors
Definition: RAMErrors.h:17
Aws::RAM::RAMError::RAMError
RAMError(const Aws::Client::AWSError< RAMErrors > &rhs)
Definition: RAMErrors.h:78
Aws::RAM::RAMError::GetModeledError
T GetModeledError()
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::RAM::RAMErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::RAM::RAMError::RAMError
RAMError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: RAMErrors.h:77
Aws::RAM::RAMError
Definition: RAMErrors.h:73
Aws::RAM::RAMErrorMapper::GetErrorForName
AWS_RAM_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
RAM_EXPORTS.h
Aws::Client::AWSError
Definition: AWSError.h:42
AWS_RAM_API
#define AWS_RAM_API
Definition: RAM_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RAM::RAMError::RAMError
RAMError(Aws::Client::AWSError< RAMErrors > &&rhs)
Definition: RAMErrors.h:79
Aws::RAM::RAMError::RAMError
RAMError()
Definition: RAMErrors.h:75
Aws::RAM::RAMError::RAMError
RAMError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: RAMErrors.h:76
Aws::RAM::RAMErrors::UNKNOWN
@ UNKNOWN