AWS SDK for C++  1.9.123
AWS SDK for C++
LambdaErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace Lambda
15 {
16 enum class LambdaErrors
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  CODE_SIGNING_CONFIG_NOT_FOUND= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  CODE_STORAGE_EXCEEDED,
52  CODE_VERIFICATION_FAILED,
53  E_C2_ACCESS_DENIED,
54  E_C2_THROTTLED,
55  E_C2_UNEXPECTED,
56  E_F_S_I_O,
57  E_F_S_MOUNT_CONNECTIVITY,
58  E_F_S_MOUNT_FAILURE,
59  E_F_S_MOUNT_TIMEOUT,
60  E_N_I_LIMIT_REACHED,
61  INVALID_CODE_SIGNATURE,
62  INVALID_REQUEST_CONTENT,
63  INVALID_RUNTIME,
64  INVALID_SECURITY_GROUP_I_D,
65  INVALID_SUBNET_I_D,
66  INVALID_ZIP_FILE,
67  K_M_S_ACCESS_DENIED,
68  K_M_S_DISABLED,
69  K_M_S_INVALID_STATE,
70  K_M_S_NOT_FOUND,
71  POLICY_LENGTH_EXCEEDED,
72  PRECONDITION_FAILED,
73  PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND,
74  REQUEST_TOO_LARGE,
75  RESOURCE_CONFLICT,
76  RESOURCE_IN_USE,
77  RESOURCE_NOT_READY,
78  SERVICE,
79  SUBNET_I_P_ADDRESS_LIMIT_REACHED,
80  TOO_MANY_REQUESTS,
82 };
83 
84 class AWS_LAMBDA_API LambdaError : public Aws::Client::AWSError<LambdaErrors>
85 {
86 public:
90  LambdaError(const Aws::Client::AWSError<LambdaErrors>& rhs) : Aws::Client::AWSError<LambdaErrors>(rhs) {}
92 
93  template <typename T>
95 };
96 
97 namespace LambdaErrorMapper
98 {
100 }
101 
102 } // namespace Lambda
103 } // namespace Aws
CoreErrors.h
AWSError.h
Aws::Lambda::LambdaError::LambdaError
LambdaError()
Definition: LambdaErrors.h:87
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::Lambda::LambdaError::GetModeledError
T GetModeledError()
Aws::Lambda::LambdaError
Definition: LambdaErrors.h:85
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::LambdaErrorMapper::GetErrorForName
AWS_LAMBDA_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::Lambda::LambdaError::LambdaError
LambdaError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: LambdaErrors.h:89
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::Lambda::LambdaError::LambdaError
LambdaError(const Aws::Client::AWSError< LambdaErrors > &rhs)
Definition: LambdaErrors.h:90
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::LambdaErrors
LambdaErrors
Definition: LambdaErrors.h:17
Aws::Lambda::LambdaErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::Lambda::LambdaErrors::UNKNOWN
@ UNKNOWN
Aws::Lambda::LambdaError::LambdaError
LambdaError(Aws::Client::AWSError< LambdaErrors > &&rhs)
Definition: LambdaErrors.h:91
Lambda_EXPORTS.h
Aws::Lambda::LambdaError::LambdaError
LambdaError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: LambdaErrors.h:88