AWS SDK for C++  1.9.108
AWS SDK for C++
SFNErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/states/SFN_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace SFN
15 {
16 enum class SFNErrors
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  ACTIVITY_DOES_NOT_EXIST= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  ACTIVITY_LIMIT_EXCEEDED,
52  ACTIVITY_WORKER_LIMIT_EXCEEDED,
53  EXECUTION_ALREADY_EXISTS,
54  EXECUTION_DOES_NOT_EXIST,
55  EXECUTION_LIMIT_EXCEEDED,
56  INVALID_ARN,
57  INVALID_DEFINITION,
58  INVALID_EXECUTION_INPUT,
59  INVALID_LOGGING_CONFIGURATION,
60  INVALID_NAME,
61  INVALID_OUTPUT,
62  INVALID_TOKEN,
63  INVALID_TRACING_CONFIGURATION,
64  MISSING_REQUIRED_PARAMETER,
65  STATE_MACHINE_ALREADY_EXISTS,
66  STATE_MACHINE_DELETING,
67  STATE_MACHINE_DOES_NOT_EXIST,
68  STATE_MACHINE_LIMIT_EXCEEDED,
69  STATE_MACHINE_TYPE_NOT_SUPPORTED,
70  TASK_DOES_NOT_EXIST,
71  TASK_TIMED_OUT,
73 };
74 
75 class AWS_SFN_API SFNError : public Aws::Client::AWSError<SFNErrors>
76 {
77 public:
78  SFNError() {}
79  SFNError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<SFNErrors>(rhs) {}
81  SFNError(const Aws::Client::AWSError<SFNErrors>& rhs) : Aws::Client::AWSError<SFNErrors>(rhs) {}
82  SFNError(Aws::Client::AWSError<SFNErrors>&& rhs) : Aws::Client::AWSError<SFNErrors>(rhs) {}
83 
84  template <typename T>
86 };
87 
88 namespace SFNErrorMapper
89 {
91 }
92 
93 } // namespace SFN
94 } // namespace Aws
CoreErrors.h
AWSError.h
Aws::SFN::SFNError
Definition: SFNErrors.h:76
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SFN::SFNErrors::UNKNOWN
@ UNKNOWN
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::SFNError::SFNError
SFNError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: SFNErrors.h:79
Aws::SFN::SFNErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SFN::SFNError::SFNError
SFNError(const Aws::Client::AWSError< SFNErrors > &rhs)
Definition: SFNErrors.h:81
Aws::Client::AWSError
Definition: AWSError.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::SFNError::SFNError
SFNError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: SFNErrors.h:80
Aws::SFN::SFNError::SFNError
SFNError(Aws::Client::AWSError< SFNErrors > &&rhs)
Definition: SFNErrors.h:82
Aws::SFN::SFNErrors
SFNErrors
Definition: SFNErrors.h:17
Aws::SFN::SFNErrorMapper::GetErrorForName
AWS_SFN_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::SFN::SFNError::GetModeledError
T GetModeledError()
Aws::SFN::SFNError::SFNError
SFNError()
Definition: SFNErrors.h:78