AWS SDK for C++  1.8.56
AWS SDK for C++
KinesisErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace Kinesis
15 {
16 enum class KinesisErrors
17 {
18  //From Core//
21  INTERNAL_FAILURE = 1,
22  INVALID_ACTION = 2,
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,
36  RESOURCE_NOT_FOUND = 16,
39  SLOW_DOWN = 19,
41  INVALID_SIGNATURE = 21,
44  REQUEST_TIMEOUT = 24,
45  NETWORK_CONNECTION = 99,
46 
47  UNKNOWN = 100,
49 
62 };
63 
64 class AWS_KINESIS_API KinesisError : public Aws::Client::AWSError<KinesisErrors>
65 {
66 public:
70  KinesisError(const Aws::Client::AWSError<KinesisErrors>& rhs) : Aws::Client::AWSError<KinesisErrors>(rhs) {}
72 
73  template <typename T>
74  T GetModeledError();
75 };
76 
77 namespace KinesisErrorMapper
78 {
80 }
81 
82 } // namespace Kinesis
83 } // namespace Aws
KinesisError(const Aws::Client::AWSError< KinesisErrors > &rhs)
Definition: KinesisErrors.h:70
KinesisError(Aws::Client::AWSError< KinesisErrors > &&rhs)
Definition: KinesisErrors.h:71
AWS_KINESIS_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
KinesisError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: KinesisErrors.h:68
KinesisError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: KinesisErrors.h:69
#define AWS_KINESIS_API