AWS SDK for C++  0.12.9
AWS SDK for C++
CloudHSMErrors.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 CloudHSM
23 {
24 enum class AWS_CLOUDHSM_API CloudHSMErrors
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  CLOUD_HSM_INTERNAL= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
54 };
55 namespace CloudHSMErrorMapper
56 {
58 }
59 
60 } // namespace CloudHSM
61 } // namespace Aws
OPT_IN_REQUIRED
AWS_CLOUDHSM_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
INVALID_PARAMETER_VALUE
RESOURCE_NOT_FOUND
INVALID_ACTION
VALIDATION
MALFORMED_QUERY_STRING
UNRECOGNIZED_CLIENT
MISSING_PARAMETER
REQUEST_EXPIRED
MISSING_ACTION
CLOUD_HSM_SERVICE
MISSING_AUTHENTICATION_TOKEN
#define AWS_CLOUDHSM_API
INTERNAL_FAILURE
INVALID_QUERY_PARAMETER
INVALID_PARAMETER_COMBINATION
INCOMPLETE_SIGNATURE
NETWORK_CONNECTION
CLOUD_HSM_INTERNAL
INVALID_REQUEST
ACCESS_DENIED
THROTTLING
SERVICE_UNAVAILABLE
INVALID_CLIENT_TOKEN_ID
UNKNOWN
Definition: ACMErrors.h:48
JSON (JavaScript Object Notation).