AWS SDK for C++  1.9.107
AWS SDK for C++
SSOErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/sso/SSO_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace SSO
15 {
16 enum class SSOErrors
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  INVALID_REQUEST= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  TOO_MANY_REQUESTS,
53 };
54 
55 class AWS_SSO_API SSOError : public Aws::Client::AWSError<SSOErrors>
56 {
57 public:
58  SSOError() {}
59  SSOError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<SSOErrors>(rhs) {}
61  SSOError(const Aws::Client::AWSError<SSOErrors>& rhs) : Aws::Client::AWSError<SSOErrors>(rhs) {}
62  SSOError(Aws::Client::AWSError<SSOErrors>&& rhs) : Aws::Client::AWSError<SSOErrors>(rhs) {}
63 
64  template <typename T>
66 };
67 
68 namespace SSOErrorMapper
69 {
71 }
72 
73 } // namespace SSO
74 } // namespace Aws
Aws::IoTSiteWise::Model::AuthMode::NOT_SET
@ NOT_SET
CoreErrors.h
AWSError.h
Aws::SSO::SSOError
Definition: SSOErrors.h:56
SSO_EXPORTS.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SSO::SSOError::SSOError
SSOError()
Definition: SSOErrors.h:58
AWS_SSO_API
#define AWS_SSO_API
Definition: SSO_EXPORTS.h:28
Aws::SSO::SSOErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::SSO::SSOErrors
SSOErrors
Definition: SSOErrors.h:17
Aws::SSO::SSOErrorMapper::GetErrorForName
AWS_SSO_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::SSO::SSOError::SSOError
SSOError(Aws::Client::AWSError< SSOErrors > &&rhs)
Definition: SSOErrors.h:62
Aws::SSO::SSOError::SSOError
SSOError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: SSOErrors.h:60
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::SSO::SSOError::GetModeledError
T GetModeledError()
Aws::SSO::SSOError::SSOError
SSOError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: SSOErrors.h:59
Aws::SSO::SSOError::SSOError
SSOError(const Aws::Client::AWSError< SSOErrors > &rhs)
Definition: SSOErrors.h:61
Aws::SSO::SSOErrors::UNKNOWN
@ UNKNOWN
Aws
Definition: AccessManagementClient.h:15