AWS SDK for C++  1.9.122
AWS SDK for C++
S3Errors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/s3/S3_EXPORTS.h>
11 
12 namespace Aws
13 {
14 namespace S3
15 {
16 enum class S3Errors
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  BUCKET_ALREADY_EXISTS= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51  BUCKET_ALREADY_OWNED_BY_YOU,
52  INVALID_OBJECT_STATE,
53  NO_SUCH_BUCKET,
54  NO_SUCH_KEY,
55  NO_SUCH_UPLOAD,
56  OBJECT_ALREADY_IN_ACTIVE_TIER,
58 };
59 
60 class AWS_S3_API S3Error : public Aws::Client::AWSError<S3Errors>
61 {
62 public:
63  S3Error() {}
64  S3Error(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<S3Errors>(rhs) {}
66  S3Error(const Aws::Client::AWSError<S3Errors>& rhs) : Aws::Client::AWSError<S3Errors>(rhs) {}
67  S3Error(Aws::Client::AWSError<S3Errors>&& rhs) : Aws::Client::AWSError<S3Errors>(rhs) {}
68 
69  template <typename T>
71 };
72 
73 namespace S3ErrorMapper
74 {
76 }
77 
78 } // namespace S3
79 } // namespace Aws
CoreErrors.h
Aws::S3::S3Error::S3Error
S3Error(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: S3Errors.h:64
AWSError.h
Aws::Client::CoreErrors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws::S3::S3Errors::UNKNOWN
@ UNKNOWN
S3_EXPORTS.h
AWS_S3_API
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Aws::S3::S3Error::S3Error
S3Error()
Definition: S3Errors.h:63
Aws::S3::S3Error::GetModeledError
T GetModeledError()
Aws::S3::S3Error::S3Error
S3Error(Aws::Client::AWSError< S3Errors > &&rhs)
Definition: S3Errors.h:67
Aws::Client::AWSError
Definition: AWSError.h:42
Aws::S3::S3Errors::INCOMPLETE_SIGNATURE
@ INCOMPLETE_SIGNATURE
Aws
Definition: AccessManagementClient.h:15
Aws::S3::S3Errors
S3Errors
Definition: S3Errors.h:17
Aws::S3::S3Error::S3Error
S3Error(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: S3Errors.h:65
Aws::S3::S3ErrorMapper::GetErrorForName
AWS_S3_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
Aws::S3::S3Error
Definition: S3Errors.h:61
Aws::S3::S3Error::S3Error
S3Error(const Aws::Client::AWSError< S3Errors > &rhs)
Definition: S3Errors.h:66
Aws::S3::ARNService::S3
static const char S3[]
Definition: S3ARN.h:25