AWS SDK for C++  1.9.20
AWS SDK for C++
IAMErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/iam/IAM_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace IAM
15 {
16 enum class IAMErrors
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  CONCURRENT_MODIFICATION= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  CREDENTIAL_REPORT_EXPIRED,
52  CREDENTIAL_REPORT_NOT_PRESENT,
53  CREDENTIAL_REPORT_NOT_READY,
54  DELETE_CONFLICT,
55  DUPLICATE_CERTIFICATE,
56  DUPLICATE_S_S_H_PUBLIC_KEY,
57  ENTITY_ALREADY_EXISTS,
58  ENTITY_TEMPORARILY_UNMODIFIABLE,
59  INVALID_AUTHENTICATION_CODE,
60  INVALID_CERTIFICATE,
61  INVALID_INPUT,
62  INVALID_PUBLIC_KEY,
63  INVALID_USER_TYPE,
64  KEY_PAIR_MISMATCH,
65  LIMIT_EXCEEDED,
66  MALFORMED_CERTIFICATE,
67  MALFORMED_POLICY_DOCUMENT,
68  NO_SUCH_ENTITY,
69  PASSWORD_POLICY_VIOLATION,
70  POLICY_EVALUATION,
71  POLICY_NOT_ATTACHABLE,
72  REPORT_GENERATION_LIMIT_EXCEEDED,
73  SERVICE_FAILURE,
74  SERVICE_NOT_SUPPORTED,
75  UNMODIFIABLE_ENTITY,
77 };
78 
79 class AWS_IAM_API IAMError : public Aws::Client::AWSError<IAMErrors>
80 {
81 public:
82  IAMError() {}
83  IAMError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<IAMErrors>(rhs) {}
85  IAMError(const Aws::Client::AWSError<IAMErrors>& rhs) : Aws::Client::AWSError<IAMErrors>(rhs) {}
86  IAMError(Aws::Client::AWSError<IAMErrors>&& rhs) : Aws::Client::AWSError<IAMErrors>(rhs) {}
87 
88  template <typename T>
90 };
91 
92 namespace IAMErrorMapper
93 {
95 }
96 
97 } // namespace IAM
98 } // namespace Aws
CoreErrors.h
AWSError.h
Aws::IAM::IAMErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::IAM::IAMError::GetModeledError
T GetModeledError()
Aws::IAM::IAMErrorMapper::GetErrorForName
AWS_IAM_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::IAMErrors::UNKNOWN
@ UNKNOWN
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::IAMErrors
IAMErrors
Definition: IAMErrors.h:17
Aws::IAM::IAMError::IAMError
IAMError(const Aws::Client::AWSError< IAMErrors > &rhs)
Definition: IAMErrors.h:85
Aws::IAM::IAMError::IAMError
IAMError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: IAMErrors.h:83
Aws::IAM::IAMError::IAMError
IAMError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: IAMErrors.h:84
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::IAM::IAMError::IAMError
IAMError()
Definition: IAMErrors.h:82
IAM_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::IAMError::IAMError
IAMError(Aws::Client::AWSError< IAMErrors > &&rhs)
Definition: IAMErrors.h:86
Aws::IAM::IAMError
Definition: IAMErrors.h:80