AWS SDK for C++  1.9.105
AWS SDK for C++
CloudFrontErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace CloudFront
15 {
16 enum class CloudFrontErrors
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_TOO_LARGE= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  CACHE_POLICY_ALREADY_EXISTS,
52  CACHE_POLICY_IN_USE,
53  CANNOT_CHANGE_IMMUTABLE_PUBLIC_KEY_FIELDS,
54  CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_ALREADY_EXISTS,
55  CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_IN_USE,
56  C_N_A_M_E_ALREADY_EXISTS,
57  DISTRIBUTION_ALREADY_EXISTS,
58  DISTRIBUTION_NOT_DISABLED,
59  FIELD_LEVEL_ENCRYPTION_CONFIG_ALREADY_EXISTS,
60  FIELD_LEVEL_ENCRYPTION_CONFIG_IN_USE,
61  FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS,
62  FIELD_LEVEL_ENCRYPTION_PROFILE_IN_USE,
63  FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED,
64  FUNCTION_ALREADY_EXISTS,
65  FUNCTION_IN_USE,
66  FUNCTION_SIZE_LIMIT_EXCEEDED,
67  ILLEGAL_DELETE,
68  ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR,
69  ILLEGAL_UPDATE,
70  INCONSISTENT_QUANTITIES,
71  INVALID_ARGUMENT,
72  INVALID_DEFAULT_ROOT_OBJECT,
73  INVALID_ERROR_CODE,
74  INVALID_FORWARD_COOKIES,
75  INVALID_FUNCTION_ASSOCIATION,
76  INVALID_GEO_RESTRICTION_PARAMETER,
77  INVALID_HEADERS_FOR_S3_ORIGIN,
78  INVALID_IF_MATCH_VERSION,
79  INVALID_LAMBDA_FUNCTION_ASSOCIATION,
80  INVALID_LOCATION_CODE,
81  INVALID_MINIMUM_PROTOCOL_VERSION,
82  INVALID_ORIGIN,
83  INVALID_ORIGIN_ACCESS_IDENTITY,
84  INVALID_ORIGIN_KEEPALIVE_TIMEOUT,
85  INVALID_ORIGIN_READ_TIMEOUT,
86  INVALID_PROTOCOL_SETTINGS,
87  INVALID_QUERY_STRING_PARAMETERS,
88  INVALID_RELATIVE_PATH,
89  INVALID_REQUIRED_PROTOCOL,
90  INVALID_RESPONSE_CODE,
91  INVALID_TAGGING,
92  INVALID_T_T_L_ORDER,
93  INVALID_VIEWER_CERTIFICATE,
94  INVALID_WEB_A_C_L_ID,
95  KEY_GROUP_ALREADY_EXISTS,
96  MISSING_BODY,
97  NO_SUCH_CACHE_POLICY,
98  NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY,
99  NO_SUCH_DISTRIBUTION,
100  NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG,
101  NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE,
102  NO_SUCH_FUNCTION_EXISTS,
103  NO_SUCH_INVALIDATION,
104  NO_SUCH_ORIGIN,
105  NO_SUCH_ORIGIN_REQUEST_POLICY,
106  NO_SUCH_PUBLIC_KEY,
107  NO_SUCH_REALTIME_LOG_CONFIG,
108  NO_SUCH_RESOURCE,
109  NO_SUCH_STREAMING_DISTRIBUTION,
110  ORIGIN_REQUEST_POLICY_ALREADY_EXISTS,
111  ORIGIN_REQUEST_POLICY_IN_USE,
112  PRECONDITION_FAILED,
113  PUBLIC_KEY_ALREADY_EXISTS,
114  PUBLIC_KEY_IN_USE,
115  QUERY_ARG_PROFILE_EMPTY,
116  REALTIME_LOG_CONFIG_ALREADY_EXISTS,
117  REALTIME_LOG_CONFIG_IN_USE,
118  REALTIME_LOG_CONFIG_OWNER_MISMATCH,
119  RESOURCE_IN_USE,
120  STREAMING_DISTRIBUTION_ALREADY_EXISTS,
121  STREAMING_DISTRIBUTION_NOT_DISABLED,
122  TEST_FUNCTION_FAILED,
123  TOO_MANY_CACHE_BEHAVIORS,
124  TOO_MANY_CACHE_POLICIES,
125  TOO_MANY_CERTIFICATES,
126  TOO_MANY_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES,
127  TOO_MANY_COOKIES_IN_CACHE_POLICY,
128  TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY,
129  TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST,
130  TOO_MANY_DISTRIBUTIONS,
131  TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY,
132  TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG,
133  TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP,
134  TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY,
135  TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS,
136  TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS,
137  TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_A_R_N,
138  TOO_MANY_DISTRIBUTION_C_N_A_M_ES,
139  TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONFIGS,
140  TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES,
141  TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES,
142  TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS,
143  TOO_MANY_FIELD_LEVEL_ENCRYPTION_PROFILES,
144  TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES,
145  TOO_MANY_FUNCTIONS,
146  TOO_MANY_FUNCTION_ASSOCIATIONS,
147  TOO_MANY_HEADERS_IN_CACHE_POLICY,
148  TOO_MANY_HEADERS_IN_FORWARDED_VALUES,
149  TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY,
150  TOO_MANY_INVALIDATIONS_IN_PROGRESS,
151  TOO_MANY_KEY_GROUPS,
152  TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION,
153  TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS,
154  TOO_MANY_ORIGINS,
155  TOO_MANY_ORIGIN_CUSTOM_HEADERS,
156  TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION,
157  TOO_MANY_ORIGIN_REQUEST_POLICIES,
158  TOO_MANY_PUBLIC_KEYS,
159  TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP,
160  TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY,
161  TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY,
162  TOO_MANY_QUERY_STRING_PARAMETERS,
163  TOO_MANY_REALTIME_LOG_CONFIGS,
164  TOO_MANY_STREAMING_DISTRIBUTIONS,
165  TOO_MANY_STREAMING_DISTRIBUTION_C_N_A_M_ES,
166  TOO_MANY_TRUSTED_SIGNERS,
167  TRUSTED_KEY_GROUP_DOES_NOT_EXIST,
168  TRUSTED_SIGNER_DOES_NOT_EXIST,
170 };
171 
173 {
174 public:
180 
181  template <typename T>
183 };
184 
185 namespace CloudFrontErrorMapper
186 {
188 }
189 
190 } // namespace CloudFront
191 } // namespace Aws
Aws::CloudFront::CloudFrontErrors::UNKNOWN
@ UNKNOWN
Aws::CloudFront::CloudFrontErrors
CloudFrontErrors
Definition: CloudFrontErrors.h:17
CoreErrors.h
AWSError.h
Aws::CloudFront::CloudFrontError::CloudFrontError
CloudFrontError(const Aws::Client::AWSError< CloudFrontErrors > &rhs)
Definition: CloudFrontErrors.h:178
Aws::CloudFront::CloudFrontError::CloudFrontError
CloudFrontError()
Definition: CloudFrontErrors.h:175
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::CloudFront::CloudFrontErrorMapper::GetErrorForName
AWS_CLOUDFRONT_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::CloudFront::CloudFrontError::CloudFrontError
CloudFrontError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: CloudFrontErrors.h:176
Aws::CloudFront::CloudFrontError::GetModeledError
T GetModeledError()
Aws::CloudFront::CloudFrontError::CloudFrontError
CloudFrontError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: CloudFrontErrors.h:177
Aws::CloudFront::CloudFrontError
Definition: CloudFrontErrors.h:173
Aws::Client::AWSError
Definition: AWSError.h:42
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::CloudFrontError::CloudFrontError
CloudFrontError(Aws::Client::AWSError< CloudFrontErrors > &&rhs)
Definition: CloudFrontErrors.h:179
Aws::CloudFront::CloudFrontErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE