AWS SDK for C++  0.12.9
AWS SDK for C++
SQSErrors.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/sqs/SQS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace SQS
23 {
24 enum class AWS_SQS_API SQSErrors
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  BATCH_ENTRY_IDS_NOT_DISTINCT= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
59  OVER_LIMIT,
67 };
68 namespace SQSErrorMapper
69 {
71 }
72 
73 } // namespace SQS
74 } // namespace Aws
INVALID_CLIENT_TOKEN_ID
Definition: SQSErrors.h:31
INTERNAL_FAILURE
Definition: SQSErrors.h:29
MESSAGE_NOT_INFLIGHT
Definition: SQSErrors.h:51
UNRECOGNIZED_CLIENT
Definition: SQSErrors.h:45
NETWORK_CONNECTION
Definition: SQSErrors.h:47
INCOMPLETE_SIGNATURE
Definition: SQSErrors.h:28
AWS_SQS_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
INVALID_QUERY_PARAMETER
Definition: SQSErrors.h:33
PURGE_QUEUE_IN_PROGRESS
Definition: SQSErrors.h:51
BATCH_ENTRY_IDS_NOT_DISTINCT
Definition: SQSErrors.h:51
RECEIPT_HANDLE_IS_INVALID
Definition: SQSErrors.h:51
INVALID_PARAMETER_VALUE
Definition: SQSErrors.h:34
INVALID_BATCH_ENTRY_ID
Definition: SQSErrors.h:51
UNSUPPORTED_OPERATION
Definition: EC2Errors.h:51
INVALID_ACTION
Definition: SQSErrors.h:30
INVALID_MESSAGE_CONTENTS
Definition: SQSErrors.h:51
EMPTY_BATCH_REQUEST
Definition: SQSErrors.h:51
OPT_IN_REQUIRED
Definition: SQSErrors.h:38
BATCH_REQUEST_TOO_LONG
Definition: SQSErrors.h:51
INVALID_PARAMETER_COMBINATION
Definition: SQSErrors.h:32
MISSING_ACTION
Definition: SQSErrors.h:35
VALIDATION
Definition: SQSErrors.h:42
RESOURCE_NOT_FOUND
Definition: SQSErrors.h:44
QUEUE_DELETED_RECENTLY
Definition: SQSErrors.h:51
QUEUE_DOES_NOT_EXIST
Definition: SQSErrors.h:51
INVALID_ID_FORMAT
Definition: SQSErrors.h:51
INVALID_ATTRIBUTE_NAME
Definition: SQSErrors.h:51
MISSING_PARAMETER
Definition: SQSErrors.h:37
MALFORMED_QUERY_STRING
Definition: SQSErrors.h:46
REQUEST_EXPIRED
Definition: SQSErrors.h:39
TOO_MANY_ENTRIES_IN_BATCH_REQUEST
Definition: SQSErrors.h:51
QUEUE_NAME_EXISTS
Definition: SQSErrors.h:51
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:34
ACCESS_DENIED
Definition: SQSErrors.h:43
UNKNOWN
Definition: ACMErrors.h:48
OVER_LIMIT
Definition: SQSErrors.h:51
MISSING_AUTHENTICATION_TOKEN
Definition: SQSErrors.h:36
THROTTLING
Definition: SQSErrors.h:41
JSON (JavaScript Object Notation).
SERVICE_UNAVAILABLE
Definition: SQSErrors.h:40