AWS SDK for C++  1.9.16
AWS SDK for C++
EMRErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace EMR
15 {
16 enum class EMRErrors
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  INTERNAL_SERVER= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
52 };
53 
54 class AWS_EMR_API EMRError : public Aws::Client::AWSError<EMRErrors>
55 {
56 public:
57  EMRError() {}
58  EMRError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<EMRErrors>(rhs) {}
60  EMRError(const Aws::Client::AWSError<EMRErrors>& rhs) : Aws::Client::AWSError<EMRErrors>(rhs) {}
61  EMRError(Aws::Client::AWSError<EMRErrors>&& rhs) : Aws::Client::AWSError<EMRErrors>(rhs) {}
62 
63  template <typename T>
65 };
66 
67 namespace EMRErrorMapper
68 {
70 }
71 
72 } // namespace EMR
73 } // namespace Aws
Aws::EMR::EMRError::EMRError
EMRError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: EMRErrors.h:58
CoreErrors.h
AWSError.h
EMR_EXPORTS.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::EMR::EMRErrorMapper::GetErrorForName
AWS_EMR_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::EMR::EMRError
Definition: EMRErrors.h:55
Aws::EMR::EMRErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::EMR::EMRError::EMRError
EMRError(const Aws::Client::AWSError< EMRErrors > &rhs)
Definition: EMRErrors.h:60
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::EMR::EMRError::EMRError
EMRError(Aws::Client::AWSError< EMRErrors > &&rhs)
Definition: EMRErrors.h:61
Aws::EMR::EMRErrors::UNKNOWN
@ UNKNOWN
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::EMRError::GetModeledError
T GetModeledError()
Aws::EMR::EMRError::EMRError
EMRError()
Definition: EMRErrors.h:57
Aws::EMR::EMRErrors
EMRErrors
Definition: EMRErrors.h:17
Aws::EMR::EMRError::EMRError
EMRError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: EMRErrors.h:59
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28