AWS SDK for C++  1.9.107
AWS SDK for C++
ShieldErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace Shield
15 {
16 enum class ShieldErrors
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  ACCESS_DENIED_FOR_DEPENDENCY= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  INTERNAL_ERROR,
52  INVALID_OPERATION,
53  INVALID_PAGINATION_TOKEN,
54  INVALID_PARAMETER,
55  INVALID_RESOURCE,
56  LIMITS_EXCEEDED,
57  LOCKED_SUBSCRIPTION,
58  NO_ASSOCIATED_ROLE,
59  OPTIMISTIC_LOCK,
61 };
62 
63 class AWS_SHIELD_API ShieldError : public Aws::Client::AWSError<ShieldErrors>
64 {
65 public:
69  ShieldError(const Aws::Client::AWSError<ShieldErrors>& rhs) : Aws::Client::AWSError<ShieldErrors>(rhs) {}
71 
72  template <typename T>
74 };
75 
76 namespace ShieldErrorMapper
77 {
79 }
80 
81 } // namespace Shield
82 } // namespace Aws
AWS_SHIELD_API
#define AWS_SHIELD_API
Definition: Shield_EXPORTS.h:28
CoreErrors.h
AWSError.h
Aws::Shield::ShieldError::ShieldError
ShieldError(const Aws::Client::AWSError< ShieldErrors > &rhs)
Definition: ShieldErrors.h:69
Aws::Shield::ShieldError::ShieldError
ShieldError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: ShieldErrors.h:68
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::Shield::ShieldErrors
ShieldErrors
Definition: ShieldErrors.h:17
Aws::Shield::ShieldError::ShieldError
ShieldError()
Definition: ShieldErrors.h:66
Aws::Shield::ShieldErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::Shield::ShieldError
Definition: ShieldErrors.h:64
Shield_EXPORTS.h
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::Shield::ShieldError::ShieldError
ShieldError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: ShieldErrors.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::Shield::ShieldError::GetModeledError
T GetModeledError()
Aws::Shield::ShieldError::ShieldError
ShieldError(Aws::Client::AWSError< ShieldErrors > &&rhs)
Definition: ShieldErrors.h:70
Aws::Shield::ShieldErrors::UNKNOWN
@ UNKNOWN
Aws::Shield::ShieldErrorMapper::GetErrorForName
AWS_SHIELD_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)