AWS SDK for C++  1.9.1
AWS SDK for C++
ECSErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/ecs/ECS_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace ECS
15 {
16 enum class ECSErrors
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  ATTRIBUTE_LIMIT_EXCEEDED= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  BLOCKED,
52  CLIENT,
53  CLUSTER_CONTAINS_CONTAINER_INSTANCES,
54  CLUSTER_CONTAINS_SERVICES,
55  CLUSTER_CONTAINS_TASKS,
56  CLUSTER_NOT_FOUND,
57  INVALID_PARAMETER,
58  LIMIT_EXCEEDED,
59  MISSING_VERSION,
60  NO_UPDATE_AVAILABLE,
61  PLATFORM_TASK_DEFINITION_INCOMPATIBILITY,
62  PLATFORM_UNKNOWN,
63  RESOURCE_IN_USE,
64  SERVER,
65  SERVICE_NOT_ACTIVE,
66  SERVICE_NOT_FOUND,
67  TARGET_NOT_CONNECTED,
68  TARGET_NOT_FOUND,
69  TASK_SET_NOT_FOUND,
70  UNSUPPORTED_FEATURE,
72 };
73 
74 class AWS_ECS_API ECSError : public Aws::Client::AWSError<ECSErrors>
75 {
76 public:
77  ECSError() {}
78  ECSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<ECSErrors>(rhs) {}
80  ECSError(const Aws::Client::AWSError<ECSErrors>& rhs) : Aws::Client::AWSError<ECSErrors>(rhs) {}
81  ECSError(Aws::Client::AWSError<ECSErrors>&& rhs) : Aws::Client::AWSError<ECSErrors>(rhs) {}
82 
83  template <typename T>
85 };
86 
87 namespace ECSErrorMapper
88 {
90 }
91 
92 } // namespace ECS
93 } // namespace Aws
CoreErrors.h
AWSError.h
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::ECSError::ECSError
ECSError(const Aws::Client::AWSError< ECSErrors > &rhs)
Definition: ECSErrors.h:80
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::ECS::ECSError::GetModeledError
T GetModeledError()
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::ECSError::ECSError
ECSError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: ECSErrors.h:78
Aws::ECS::ECSError::ECSError
ECSError(Aws::Client::AWSError< ECSErrors > &&rhs)
Definition: ECSErrors.h:81
Aws::ECS::ECSErrors
ECSErrors
Definition: ECSErrors.h:17
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::ECS::ECSError
Definition: ECSErrors.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::ECSErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::ECS::ECSError::ECSError
ECSError()
Definition: ECSErrors.h:77
Aws::ECS::ECSErrors::UNKNOWN
@ UNKNOWN
ECS_EXPORTS.h
Aws::ECS::ECSErrorMapper::GetErrorForName
AWS_ECS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::ECS::ECSError::ECSError
ECSError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: ECSErrors.h:79