AWS SDK for C++  0.12.9
AWS SDK for C++
GlacierErrors.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 
19 
20 namespace Aws
21 {
22 namespace Glacier
23 {
24 enum class AWS_GLACIER_API GlacierErrors
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  LIMIT_EXCEEDED= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
55 };
56 namespace GlacierErrorMapper
57 {
59 }
60 
61 } // namespace Glacier
62 } // namespace Aws
UNRECOGNIZED_CLIENT
Definition: GlacierErrors.h:45
VALIDATION
Definition: GlacierErrors.h:42
AWS_GLACIER_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
POLICY_ENFORCED
Definition: GlacierErrors.h:51
THROTTLING
Definition: GlacierErrors.h:41
RESOURCE_NOT_FOUND
Definition: GlacierErrors.h:44
INVALID_PARAMETER_COMBINATION
Definition: GlacierErrors.h:32
INVALID_ACTION
Definition: GlacierErrors.h:30
INCOMPLETE_SIGNATURE
Definition: GlacierErrors.h:28
SERVICE_UNAVAILABLE
Definition: GlacierErrors.h:40
LIMIT_EXCEEDED
Definition: GlacierErrors.h:51
ACCESS_DENIED
Definition: GlacierErrors.h:43
INTERNAL_FAILURE
Definition: GlacierErrors.h:29
OPT_IN_REQUIRED
Definition: GlacierErrors.h:38
#define AWS_GLACIER_API
REQUEST_TIMEOUT
Definition: HttpResponse.h:71
INVALID_PARAMETER_VALUE
Definition: GlacierErrors.h:34
REQUEST_EXPIRED
Definition: GlacierErrors.h:39
UNKNOWN
Definition: ACMErrors.h:48
MISSING_PARAMETER_VALUE
Definition: GlacierErrors.h:51
MISSING_PARAMETER
Definition: GlacierErrors.h:37
MALFORMED_QUERY_STRING
Definition: GlacierErrors.h:46
MISSING_AUTHENTICATION_TOKEN
Definition: GlacierErrors.h:36
MISSING_ACTION
Definition: GlacierErrors.h:35
INVALID_CLIENT_TOKEN_ID
Definition: GlacierErrors.h:31
INVALID_QUERY_PARAMETER
Definition: GlacierErrors.h:33
NETWORK_CONNECTION
Definition: GlacierErrors.h:47
JSON (JavaScript Object Notation).