AWS SDK for C++  1.9.42
AWS SDK for C++
ECRErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/ecr/ECR_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace ECR
15 {
16 enum class ECRErrors
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  EMPTY_UPLOAD= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  IMAGE_ALREADY_EXISTS,
52  IMAGE_DIGEST_DOES_NOT_MATCH,
53  IMAGE_NOT_FOUND,
54  IMAGE_TAG_ALREADY_EXISTS,
55  INVALID_LAYER,
56  INVALID_LAYER_PART,
57  INVALID_PARAMETER,
58  INVALID_TAG_PARAMETER,
59  KMS,
60  LAYERS_NOT_FOUND,
61  LAYER_ALREADY_EXISTS,
62  LAYER_INACCESSIBLE,
63  LAYER_PART_TOO_SMALL,
64  LIFECYCLE_POLICY_NOT_FOUND,
65  LIFECYCLE_POLICY_PREVIEW_IN_PROGRESS,
66  LIFECYCLE_POLICY_PREVIEW_NOT_FOUND,
67  LIMIT_EXCEEDED,
68  REFERENCED_IMAGES_NOT_FOUND,
69  REGISTRY_POLICY_NOT_FOUND,
70  REPOSITORY_ALREADY_EXISTS,
71  REPOSITORY_NOT_EMPTY,
72  REPOSITORY_NOT_FOUND,
73  REPOSITORY_POLICY_NOT_FOUND,
74  SCAN_NOT_FOUND,
75  SERVER,
76  TOO_MANY_TAGS,
77  UNSUPPORTED_IMAGE_TYPE,
79 };
80 
81 class AWS_ECR_API ECRError : public Aws::Client::AWSError<ECRErrors>
82 {
83 public:
84  ECRError() {}
85  ECRError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<ECRErrors>(rhs) {}
87  ECRError(const Aws::Client::AWSError<ECRErrors>& rhs) : Aws::Client::AWSError<ECRErrors>(rhs) {}
88  ECRError(Aws::Client::AWSError<ECRErrors>&& rhs) : Aws::Client::AWSError<ECRErrors>(rhs) {}
89 
90  template <typename T>
92 };
93 
94 namespace ECRErrorMapper
95 {
97 }
98 
99 } // namespace ECR
100 } // namespace Aws
Aws::ECR::ECRErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
CoreErrors.h
AWSError.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::ECR::ECRError::ECRError
ECRError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: ECRErrors.h:85
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::ECRError::ECRError
ECRError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: ECRErrors.h:86
Aws::ECR::ECRError::GetModeledError
T GetModeledError()
ECR_EXPORTS.h
Aws::ECR::ECRErrorMapper::GetErrorForName
AWS_ECR_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::ECR::ECRError::ECRError
ECRError(Aws::Client::AWSError< ECRErrors > &&rhs)
Definition: ECRErrors.h:88
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::ECR::ECRErrors::UNKNOWN
@ UNKNOWN
Aws::ECR::ECRError
Definition: ECRErrors.h:82
Aws::ECR::ECRError::ECRError
ECRError(const Aws::Client::AWSError< ECRErrors > &rhs)
Definition: ECRErrors.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::ECRErrors
ECRErrors
Definition: ECRErrors.h:17
Aws::ECR::ECRError::ECRError
ECRError()
Definition: ECRErrors.h:84