AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
STSErrors.h
1
6#pragma once
7
8#include <aws/core/client/AWSError.h>
9#include <aws/core/client/CoreErrors.h>
10#include <aws/sts/STS_EXPORTS.h>
11
12namespace Aws
13{
14namespace STS
15{
16enum class STSErrors
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 EXPIRED_TOKEN= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
58};
59
60class AWS_STS_API STSError : public Aws::Client::AWSError<STSErrors>
61{
62public:
66 STSError(const Aws::Client::AWSError<STSErrors>& rhs) : Aws::Client::AWSError<STSErrors>(rhs) {}
67 STSError(Aws::Client::AWSError<STSErrors>&& rhs) : Aws::Client::AWSError<STSErrors>(rhs) {}
68
69 template <typename T>
71};
72
73namespace STSErrorMapper
74{
76}
77
78} // namespace STS
79} // namespace Aws
STSError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition STSErrors.h:64
STSError(const Aws::Client::AWSError< STSErrors > &rhs)
Definition STSErrors.h:66
STSError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition STSErrors.h:65
STSError(Aws::Client::AWSError< STSErrors > &&rhs)
Definition STSErrors.h:67
AWS_STS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)