AWS SDK for C++  0.12.9
AWS SDK for C++
CodeCommitErrors.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 
19 
20 namespace Aws
21 {
22 namespace CodeCommit
23 {
24 enum class AWS_CODECOMMIT_API CodeCommitErrors
25 {
26  //From Core//
35  MISSING_ACTION = 7, // SDK should never allow
36  MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
37  MISSING_PARAMETER = 9, // SDK should never allow
41  THROTTLING = 13,
42  VALIDATION = 14,
48  UNKNOWN = 100,
50 
51  BRANCH_DOES_NOT_EXIST= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
87  REPOSITORY_TRIGGER_NAME_REQUIRED
88 };
89 namespace CodeCommitErrorMapper
90 {
92 }
93 
94 } // namespace CodeCommit
95 } // namespace Aws
ACCESS_DENIED
OPT_IN_REQUIRED
REPOSITORY_NAMES_REQUIRED
INVALID_REPOSITORY_DESCRIPTION
REPOSITORY_TRIGGER_EVENTS_LIST_REQUIRED
ENCRYPTION_INTEGRITY_CHECKS_FAILED
INVALID_QUERY_PARAMETER
INVALID_SORT_BY
MALFORMED_QUERY_STRING
INVALID_PARAMETER_VALUE
INVALID_ORDER
MAXIMUM_REPOSITORY_TRIGGERS_EXCEEDED
MAXIMUM_REPOSITORY_NAMES_EXCEEDED
RESOURCE_NOT_FOUND
INVALID_REPOSITORY_TRIGGER_DESTINATION_ARN
THROTTLING
INVALID_ACTION
INCOMPLETE_SIGNATURE
INVALID_REPOSITORY_TRIGGER_EVENTS
ENCRYPTION_KEY_NOT_FOUND
INVALID_PARAMETER_COMBINATION
COMMIT_DOES_NOT_EXIST
INVALID_REPOSITORY_TRIGGER_NAME
REPOSITORY_DOES_NOT_EXIST
MAXIMUM_BRANCHES_EXCEEDED
REPOSITORY_TRIGGERS_LIST_REQUIRED
INVALID_BRANCH_NAME
ENCRYPTION_KEY_DISABLED
NETWORK_CONNECTION
INVALID_COMMIT_ID
VALIDATION
REPOSITORY_LIMIT_EXCEEDED
REPOSITORY_NAME_REQUIRED
REPOSITORY_NAME_EXISTS
INVALID_REPOSITORY_NAME
SERVICE_UNAVAILABLE
AWS_CODECOMMIT_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
#define AWS_CODECOMMIT_API
UNRECOGNIZED_CLIENT
MISSING_PARAMETER
COMMIT_ID_DOES_NOT_EXIST
INVALID_REPOSITORY_TRIGGER_BRANCH_NAME
BRANCH_DOES_NOT_EXIST
COMMIT_ID_REQUIRED
ENCRYPTION_KEY_ACCESS_DENIED
INTERNAL_FAILURE
BRANCH_NAME_REQUIRED
REQUEST_EXPIRED
ENCRYPTION_KEY_UNAVAILABLE
MISSING_ACTION
BRANCH_NAME_EXISTS
UNKNOWN
Definition: ACMErrors.h:48
MISSING_AUTHENTICATION_TOKEN
INVALID_CONTINUATION_TOKEN
REPOSITORY_TRIGGER_BRANCH_NAME_LIST_REQUIRED
REPOSITORY_TRIGGER_DESTINATION_ARN_REQUIRED
INVALID_REPOSITORY_TRIGGER_CUSTOM_DATA
JSON (JavaScript Object Notation).
INVALID_CLIENT_TOKEN_ID
INVALID_REPOSITORY_TRIGGER_REGION