AWS SDK for C++  0.12.9
AWS SDK for C++
SNSErrors.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 
18 #include <aws/sns/SNS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace SNS
23 {
24 enum class AWS_SNS_API SNSErrors
25 {
26  //From Core//
35  MISSING_ACTION = 7, // SDK should never allow
36  MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
37  MISSING_PARAMETER = 9, // SDK should never allow
41  THROTTLING = 13,
42  VALIDATION = 14,
48  UNKNOWN = 100,
50 
51  AUTHORIZATION_ERROR= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
53  INTERNAL_ERROR,
55  NOT_FOUND,
58  TOPIC_LIMIT_EXCEEDED
59 };
60 namespace SNSErrorMapper
61 {
63 }
64 
65 } // namespace SNS
66 } // namespace Aws
INTERNAL_FAILURE
Definition: SNSErrors.h:29
INVALID_ACTION
Definition: SNSErrors.h:30
SERVICE_UNAVAILABLE
Definition: SNSErrors.h:40
MALFORMED_QUERY_STRING
Definition: SNSErrors.h:46
ACCESS_DENIED
Definition: SNSErrors.h:43
INCOMPLETE_SIGNATURE
Definition: SNSErrors.h:28
THROTTLING
Definition: SNSErrors.h:41
MISSING_PARAMETER
Definition: SNSErrors.h:37
AWS_SNS_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
NOT_FOUND
Definition: SNSErrors.h:51
INVALID_CLIENT_TOKEN_ID
Definition: SNSErrors.h:31
OPT_IN_REQUIRED
Definition: SNSErrors.h:38
ENDPOINT_DISABLED
Definition: SNSErrors.h:51
REQUEST_EXPIRED
Definition: SNSErrors.h:39
RESOURCE_NOT_FOUND
Definition: SNSErrors.h:44
UNRECOGNIZED_CLIENT
Definition: SNSErrors.h:45
PLATFORM_APPLICATION_DISABLED
Definition: SNSErrors.h:51
SUBSCRIPTION_LIMIT_EXCEEDED
Definition: SNSErrors.h:51
INVALID_PARAMETER
Definition: SNSErrors.h:51
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:34
MISSING_AUTHENTICATION_TOKEN
Definition: SNSErrors.h:36
AUTHORIZATION_ERROR
Definition: SNSErrors.h:51
UNKNOWN
Definition: ACMErrors.h:48
VALIDATION
Definition: SNSErrors.h:42
INVALID_QUERY_PARAMETER
Definition: SNSErrors.h:33
INVALID_PARAMETER_COMBINATION
Definition: SNSErrors.h:32
NETWORK_CONNECTION
Definition: SNSErrors.h:47
MISSING_ACTION
Definition: SNSErrors.h:35
JSON (JavaScript Object Notation).
INVALID_PARAMETER_VALUE
Definition: SNSErrors.h:34