AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KMSErrors.h
1
6#pragma once
7
8#include <aws/core/client/AWSError.h>
9#include <aws/core/client/CoreErrors.h>
10#include <aws/kms/KMS_EXPORTS.h>
11
12namespace Aws
13{
14namespace KMS
15{
16enum class KMSErrors
17{
18 //From Core//
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,
33 THROTTLING = 13,
34 VALIDATION = 14,
35 ACCESS_DENIED = 15,
39 SLOW_DOWN = 19,
44 REQUEST_TIMEOUT = 24,
46
47 UNKNOWN = 100,
49
50 ALREADY_EXISTS= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
84 TAG,
98};
99
100class AWS_KMS_API KMSError : public Aws::Client::AWSError<KMSErrors>
101{
102public:
106 KMSError(const Aws::Client::AWSError<KMSErrors>& rhs) : Aws::Client::AWSError<KMSErrors>(rhs) {}
107 KMSError(Aws::Client::AWSError<KMSErrors>&& rhs) : Aws::Client::AWSError<KMSErrors>(rhs) {}
108
109 template <typename T>
111};
112
113namespace KMSErrorMapper
114{
116}
117
118} // namespace KMS
119} // namespace Aws
KMSError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition KMSErrors.h:104
KMSError(Aws::Client::AWSError< KMSErrors > &&rhs)
Definition KMSErrors.h:107
KMSError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition KMSErrors.h:105
KMSError(const Aws::Client::AWSError< KMSErrors > &rhs)
Definition KMSErrors.h:106
AWS_KMS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
@ CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION
@ XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION
@ XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND
@ XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE
@ XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL