AWS SDK for C++  1.9.21
AWS SDK for C++
CodeCommitErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace CodeCommit
15 {
16 enum class CodeCommitErrors
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  ACTOR_DOES_NOT_EXIST= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  APPROVAL_RULE_CONTENT_REQUIRED,
52  APPROVAL_RULE_DOES_NOT_EXIST,
53  APPROVAL_RULE_NAME_ALREADY_EXISTS,
54  APPROVAL_RULE_NAME_REQUIRED,
55  APPROVAL_RULE_TEMPLATE_CONTENT_REQUIRED,
56  APPROVAL_RULE_TEMPLATE_DOES_NOT_EXIST,
57  APPROVAL_RULE_TEMPLATE_IN_USE,
58  APPROVAL_RULE_TEMPLATE_NAME_ALREADY_EXISTS,
59  APPROVAL_RULE_TEMPLATE_NAME_REQUIRED,
60  APPROVAL_STATE_REQUIRED,
61  AUTHOR_DOES_NOT_EXIST,
62  BEFORE_COMMIT_ID_AND_AFTER_COMMIT_ID_ARE_SAME,
63  BLOB_ID_DOES_NOT_EXIST,
64  BLOB_ID_REQUIRED,
65  BRANCH_DOES_NOT_EXIST,
66  BRANCH_NAME_EXISTS,
67  BRANCH_NAME_IS_TAG_NAME,
68  BRANCH_NAME_REQUIRED,
69  CANNOT_DELETE_APPROVAL_RULE_FROM_TEMPLATE,
70  CANNOT_MODIFY_APPROVAL_RULE_FROM_TEMPLATE,
71  CLIENT_REQUEST_TOKEN_REQUIRED,
72  COMMENT_CONTENT_REQUIRED,
73  COMMENT_CONTENT_SIZE_LIMIT_EXCEEDED,
74  COMMENT_DELETED,
75  COMMENT_DOES_NOT_EXIST,
76  COMMENT_ID_REQUIRED,
77  COMMENT_NOT_CREATED_BY_CALLER,
78  COMMIT_DOES_NOT_EXIST,
79  COMMIT_IDS_LIMIT_EXCEEDED,
80  COMMIT_IDS_LIST_REQUIRED,
81  COMMIT_ID_DOES_NOT_EXIST,
82  COMMIT_ID_REQUIRED,
83  COMMIT_MESSAGE_LENGTH_EXCEEDED,
84  COMMIT_REQUIRED,
85  CONCURRENT_REFERENCE_UPDATE,
86  DEFAULT_BRANCH_CANNOT_BE_DELETED,
87  DIRECTORY_NAME_CONFLICTS_WITH_FILE_NAME,
88  ENCRYPTION_INTEGRITY_CHECKS_FAILED,
89  ENCRYPTION_KEY_ACCESS_DENIED,
90  ENCRYPTION_KEY_DISABLED,
91  ENCRYPTION_KEY_NOT_FOUND,
92  ENCRYPTION_KEY_UNAVAILABLE,
93  FILE_CONTENT_AND_SOURCE_FILE_SPECIFIED,
94  FILE_CONTENT_REQUIRED,
95  FILE_CONTENT_SIZE_LIMIT_EXCEEDED,
96  FILE_DOES_NOT_EXIST,
97  FILE_ENTRY_REQUIRED,
98  FILE_MODE_REQUIRED,
99  FILE_NAME_CONFLICTS_WITH_DIRECTORY_NAME,
100  FILE_PATH_CONFLICTS_WITH_SUBMODULE_PATH,
101  FILE_TOO_LARGE,
102  FOLDER_CONTENT_SIZE_LIMIT_EXCEEDED,
103  FOLDER_DOES_NOT_EXIST,
104  IDEMPOTENCY_PARAMETER_MISMATCH,
105  INVALID_ACTOR_ARN,
106  INVALID_APPROVAL_RULE_CONTENT,
107  INVALID_APPROVAL_RULE_NAME,
108  INVALID_APPROVAL_RULE_TEMPLATE_CONTENT,
109  INVALID_APPROVAL_RULE_TEMPLATE_DESCRIPTION,
110  INVALID_APPROVAL_RULE_TEMPLATE_NAME,
111  INVALID_APPROVAL_STATE,
112  INVALID_AUTHOR_ARN,
113  INVALID_BLOB_ID,
114  INVALID_BRANCH_NAME,
115  INVALID_CLIENT_REQUEST_TOKEN,
116  INVALID_COMMENT_ID,
117  INVALID_COMMIT,
118  INVALID_COMMIT_ID,
119  INVALID_CONFLICT_DETAIL_LEVEL,
120  INVALID_CONFLICT_RESOLUTION,
121  INVALID_CONFLICT_RESOLUTION_STRATEGY,
122  INVALID_CONTINUATION_TOKEN,
123  INVALID_DELETION_PARAMETER,
124  INVALID_DESCRIPTION,
125  INVALID_DESTINATION_COMMIT_SPECIFIER,
126  INVALID_EMAIL,
127  INVALID_FILE_LOCATION,
128  INVALID_FILE_MODE,
129  INVALID_FILE_POSITION,
130  INVALID_MAX_CONFLICT_FILES,
131  INVALID_MAX_MERGE_HUNKS,
132  INVALID_MAX_RESULTS,
133  INVALID_MERGE_OPTION,
134  INVALID_ORDER,
135  INVALID_OVERRIDE_STATUS,
136  INVALID_PARENT_COMMIT_ID,
137  INVALID_PATH,
138  INVALID_PULL_REQUEST_EVENT_TYPE,
139  INVALID_PULL_REQUEST_ID,
140  INVALID_PULL_REQUEST_STATUS,
141  INVALID_PULL_REQUEST_STATUS_UPDATE,
142  INVALID_REACTION_USER_ARN,
143  INVALID_REACTION_VALUE,
144  INVALID_REFERENCE_NAME,
145  INVALID_RELATIVE_FILE_VERSION_ENUM,
146  INVALID_REPLACEMENT_CONTENT,
147  INVALID_REPLACEMENT_TYPE,
148  INVALID_REPOSITORY_DESCRIPTION,
149  INVALID_REPOSITORY_NAME,
150  INVALID_REPOSITORY_TRIGGER_BRANCH_NAME,
151  INVALID_REPOSITORY_TRIGGER_CUSTOM_DATA,
152  INVALID_REPOSITORY_TRIGGER_DESTINATION_ARN,
153  INVALID_REPOSITORY_TRIGGER_EVENTS,
154  INVALID_REPOSITORY_TRIGGER_NAME,
155  INVALID_REPOSITORY_TRIGGER_REGION,
156  INVALID_RESOURCE_ARN,
157  INVALID_REVISION_ID,
158  INVALID_RULE_CONTENT_SHA256,
159  INVALID_SORT_BY,
160  INVALID_SOURCE_COMMIT_SPECIFIER,
161  INVALID_SYSTEM_TAG_USAGE,
162  INVALID_TAGS_MAP,
163  INVALID_TAG_KEYS_LIST,
164  INVALID_TARGET,
165  INVALID_TARGETS,
166  INVALID_TARGET_BRANCH,
167  INVALID_TITLE,
168  MANUAL_MERGE_REQUIRED,
169  MAXIMUM_BRANCHES_EXCEEDED,
170  MAXIMUM_CONFLICT_RESOLUTION_ENTRIES_EXCEEDED,
171  MAXIMUM_FILE_CONTENT_TO_LOAD_EXCEEDED,
172  MAXIMUM_FILE_ENTRIES_EXCEEDED,
173  MAXIMUM_ITEMS_TO_COMPARE_EXCEEDED,
174  MAXIMUM_NUMBER_OF_APPROVALS_EXCEEDED,
175  MAXIMUM_OPEN_PULL_REQUESTS_EXCEEDED,
176  MAXIMUM_REPOSITORY_NAMES_EXCEEDED,
177  MAXIMUM_REPOSITORY_TRIGGERS_EXCEEDED,
178  MAXIMUM_RULE_TEMPLATES_ASSOCIATED_WITH_REPOSITORY,
179  MERGE_OPTION_REQUIRED,
180  MULTIPLE_CONFLICT_RESOLUTION_ENTRIES,
181  MULTIPLE_REPOSITORIES_IN_PULL_REQUEST,
182  NAME_LENGTH_EXCEEDED,
183  NO_CHANGE,
184  NUMBER_OF_RULES_EXCEEDED,
185  NUMBER_OF_RULE_TEMPLATES_EXCEEDED,
186  OVERRIDE_ALREADY_SET,
187  OVERRIDE_STATUS_REQUIRED,
188  PARENT_COMMIT_DOES_NOT_EXIST,
189  PARENT_COMMIT_ID_OUTDATED,
190  PARENT_COMMIT_ID_REQUIRED,
191  PATH_DOES_NOT_EXIST,
192  PATH_REQUIRED,
193  PULL_REQUEST_ALREADY_CLOSED,
194  PULL_REQUEST_APPROVAL_RULES_NOT_SATISFIED,
195  PULL_REQUEST_CANNOT_BE_APPROVED_BY_AUTHOR,
196  PULL_REQUEST_DOES_NOT_EXIST,
197  PULL_REQUEST_ID_REQUIRED,
198  PULL_REQUEST_STATUS_REQUIRED,
199  PUT_FILE_ENTRY_CONFLICT,
200  REACTION_LIMIT_EXCEEDED,
201  REACTION_VALUE_REQUIRED,
202  REFERENCE_DOES_NOT_EXIST,
203  REFERENCE_NAME_REQUIRED,
204  REFERENCE_TYPE_NOT_SUPPORTED,
205  REPLACEMENT_CONTENT_REQUIRED,
206  REPLACEMENT_TYPE_REQUIRED,
207  REPOSITORY_DOES_NOT_EXIST,
208  REPOSITORY_LIMIT_EXCEEDED,
209  REPOSITORY_NAMES_REQUIRED,
210  REPOSITORY_NAME_EXISTS,
211  REPOSITORY_NAME_REQUIRED,
212  REPOSITORY_NOT_ASSOCIATED_WITH_PULL_REQUEST,
213  REPOSITORY_TRIGGERS_LIST_REQUIRED,
214  REPOSITORY_TRIGGER_BRANCH_NAME_LIST_REQUIRED,
215  REPOSITORY_TRIGGER_DESTINATION_ARN_REQUIRED,
216  REPOSITORY_TRIGGER_EVENTS_LIST_REQUIRED,
217  REPOSITORY_TRIGGER_NAME_REQUIRED,
218  RESOURCE_ARN_REQUIRED,
219  RESTRICTED_SOURCE_FILE,
220  REVISION_ID_REQUIRED,
221  REVISION_NOT_CURRENT,
222  SAME_FILE_CONTENT,
223  SAME_PATH_REQUEST,
224  SOURCE_AND_DESTINATION_ARE_SAME,
225  SOURCE_FILE_OR_CONTENT_REQUIRED,
226  TAGS_MAP_REQUIRED,
227  TAG_KEYS_LIST_REQUIRED,
228  TAG_POLICY,
229  TARGETS_REQUIRED,
230  TARGET_REQUIRED,
231  TIPS_DIVERGENCE_EXCEEDED,
232  TIP_OF_SOURCE_REFERENCE_IS_DIFFERENT,
233  TITLE_REQUIRED,
235 };
236 
238 {
239 public:
245 
246  template <typename T>
248 };
249 
250 namespace CodeCommitErrorMapper
251 {
253 }
254 
255 } // namespace CodeCommit
256 } // namespace Aws
CodeCommit_EXPORTS.h
Aws::CodeCommit::CodeCommitErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
CoreErrors.h
AWSError.h
Aws::CodeCommit::CodeCommitErrorMapper::GetErrorForName
AWS_CODECOMMIT_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::CodeCommit::CodeCommitError::CodeCommitError
CodeCommitError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: CodeCommitErrors.h:242
Aws::CodeCommit::CodeCommitError::CodeCommitError
CodeCommitError()
Definition: CodeCommitErrors.h:240
Aws::CodeCommit::CodeCommitErrors::UNKNOWN
@ UNKNOWN
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::CodeCommit::CodeCommitError::GetModeledError
T GetModeledError()
Aws::CodeCommit::CodeCommitError::CodeCommitError
CodeCommitError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: CodeCommitErrors.h:241
Aws::CodeCommit::CodeCommitError
Definition: CodeCommitErrors.h:238
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::CodeCommitError::CodeCommitError
CodeCommitError(const Aws::Client::AWSError< CodeCommitErrors > &rhs)
Definition: CodeCommitErrors.h:243
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::CodeCommit::CodeCommitErrors
CodeCommitErrors
Definition: CodeCommitErrors.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::CodeCommitError::CodeCommitError
CodeCommitError(Aws::Client::AWSError< CodeCommitErrors > &&rhs)
Definition: CodeCommitErrors.h:244