AWS SDK for C++

AWS SDK for C++ Version 1.11.677

Loading...
Searching...
No Matches
OpenSearchServerlessErrors.h
1
6#pragma once
7
8#include <aws/core/client/AWSError.h>
9#include <aws/core/client/CoreErrors.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
11
12namespace Aws {
13namespace OpenSearchServerless {
15 // From Core//
24 MISSING_ACTION = 7, // SDK should never allow
25 MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
26 MISSING_PARAMETER = 9, // SDK should never allow
27 OPT_IN_REQUIRED = 10,
28 REQUEST_EXPIRED = 11,
30 THROTTLING = 13,
31 VALIDATION = 14,
32 ACCESS_DENIED = 15,
36 SLOW_DOWN = 19,
41 REQUEST_TIMEOUT = 24,
43
44 UNKNOWN = 100,
46
47 CONFLICT = static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51};
52
53class AWS_OPENSEARCHSERVERLESS_API OpenSearchServerlessError : public Aws::Client::AWSError<OpenSearchServerlessErrors> {
54 public:
57 : Aws::Client::AWSError<OpenSearchServerlessErrors>(rhs) {}
59 : Aws::Client::AWSError<OpenSearchServerlessErrors>(rhs) {}
61 : Aws::Client::AWSError<OpenSearchServerlessErrors>(rhs) {}
63 : Aws::Client::AWSError<OpenSearchServerlessErrors>(rhs) {}
64
65 template <typename T>
67};
68
69namespace OpenSearchServerlessErrorMapper {
70AWS_OPENSEARCHSERVERLESS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
71}
72
73} // namespace OpenSearchServerless
74} // namespace Aws
OpenSearchServerlessError(const Aws::Client::AWSError< OpenSearchServerlessErrors > &rhs)
OpenSearchServerlessError(Aws::Client::AWSError< OpenSearchServerlessErrors > &&rhs)
OpenSearchServerlessError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
OpenSearchServerlessError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
AWS_OPENSEARCHSERVERLESS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)