AWS SDK for C++  0.12.9
AWS SDK for C++
ECRErrors.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 
18 #include <aws/ecr/ECR_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace ECR
23 {
24 enum class AWS_ECR_API ECRErrors
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  EMPTY_UPLOAD= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
65  SERVER,
66  UPLOAD_NOT_FOUND
67 };
68 namespace ECRErrorMapper
69 {
71 }
72 
73 } // namespace ECR
74 } // namespace Aws
INVALID_LAYER
Definition: ECRErrors.h:51
RESOURCE_NOT_FOUND
Definition: ECRErrors.h:44
INVALID_PARAMETER
Definition: ECRErrors.h:51
LIMIT_EXCEEDED
Definition: ECRErrors.h:51
UNRECOGNIZED_CLIENT
Definition: ECRErrors.h:45
REPOSITORY_NOT_FOUND
Definition: ECRErrors.h:51
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:34
SERVER
Definition: ECRErrors.h:51
MISSING_AUTHENTICATION_TOKEN
Definition: ECRErrors.h:36
MISSING_ACTION
Definition: ECRErrors.h:35
AWS_ECR_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
MALFORMED_QUERY_STRING
Definition: ECRErrors.h:46
REPOSITORY_NOT_EMPTY
Definition: ECRErrors.h:51
LAYER_ALREADY_EXISTS
Definition: ECRErrors.h:51
LAYER_PART_TOO_SMALL
Definition: ECRErrors.h:51
INVALID_PARAMETER_COMBINATION
Definition: ECRErrors.h:32
INTERNAL_FAILURE
Definition: ECRErrors.h:29
INVALID_QUERY_PARAMETER
Definition: ECRErrors.h:33
OPT_IN_REQUIRED
Definition: ECRErrors.h:38
INVALID_PARAMETER_VALUE
Definition: ECRErrors.h:34
ACCESS_DENIED
Definition: ECRErrors.h:43
THROTTLING
Definition: ECRErrors.h:41
MISSING_PARAMETER
Definition: ECRErrors.h:37
INCOMPLETE_SIGNATURE
Definition: ECRErrors.h:28
INVALID_CLIENT_TOKEN_ID
Definition: ECRErrors.h:31
INVALID_LAYER_PART
Definition: ECRErrors.h:51
REPOSITORY_POLICY_NOT_FOUND
Definition: ECRErrors.h:51
NETWORK_CONNECTION
Definition: ECRErrors.h:47
EMPTY_UPLOAD
Definition: ECRErrors.h:51
IMAGE_ALREADY_EXISTS
Definition: ECRErrors.h:51
UNKNOWN
Definition: ACMErrors.h:48
SERVICE_UNAVAILABLE
Definition: ECRErrors.h:40
REQUEST_EXPIRED
Definition: ECRErrors.h:39
INVALID_ACTION
Definition: ECRErrors.h:30
LAYERS_NOT_FOUND
Definition: ECRErrors.h:51
LAYER_INACCESSIBLE
Definition: ECRErrors.h:51
JSON (JavaScript Object Notation).
VALIDATION
Definition: ECRErrors.h:42
REPOSITORY_ALREADY_EXISTS
Definition: ECRErrors.h:51