AWS SDK for C++
0.12.9
AWS SDK for C++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
aws-cpp-sdk-kms
include
aws
kms
KMSErrors.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
17
#include <
aws/core/client/CoreErrors.h
>
18
#include <
aws/kms/KMS_EXPORTS.h
>
19
20
namespace
Aws
21
{
22
namespace
KMS
23
{
24
enum class
AWS_KMS_API
KMSErrors
25
{
26
//From Core//
28
INCOMPLETE_SIGNATURE
= 0,
29
INTERNAL_FAILURE
= 1,
30
INVALID_ACTION
= 2,
31
INVALID_CLIENT_TOKEN_ID
= 3,
32
INVALID_PARAMETER_COMBINATION
= 4,
33
INVALID_QUERY_PARAMETER
= 5,
34
INVALID_PARAMETER_VALUE
= 6,
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
38
OPT_IN_REQUIRED
= 10,
39
REQUEST_EXPIRED
= 11,
40
SERVICE_UNAVAILABLE
= 12,
41
THROTTLING
= 13,
42
VALIDATION
= 14,
43
ACCESS_DENIED
= 15,
44
RESOURCE_NOT_FOUND
= 16,
45
UNRECOGNIZED_CLIENT
= 17,
46
MALFORMED_QUERY_STRING
= 18,
47
NETWORK_CONNECTION
= 99,
48
UNKNOWN
= 100,
50
51
ALREADY_EXISTS
=
static_cast<
int
>
(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
52
DEPENDENCY_TIMEOUT
,
53
DISABLED,
54
INVALID_ALIAS_NAME
,
55
INVALID_ARN
,
56
INVALID_CIPHERTEXT
,
57
INVALID_GRANT_ID
,
58
INVALID_GRANT_TOKEN
,
59
INVALID_KEY_USAGE
,
60
INVALID_MARKER
,
61
KEY_UNAVAILABLE
,
62
K_M_S_INTERNAL
,
63
K_M_S_INVALID_STATE
,
64
LIMIT_EXCEEDED
,
65
MALFORMED_POLICY_DOCUMENT
,
66
NOT_FOUND
,
67
UNSUPPORTED_OPERATION
68
};
69
namespace
KMSErrorMapper
70
{
71
AWS_KMS_API
Client::AWSError<Client::CoreErrors>
GetErrorForName
(
const
char
* errorName);
72
}
73
74
}
// namespace KMS
75
}
// namespace Aws
CoreErrors.h
MALFORMED_QUERY_STRING
MALFORMED_QUERY_STRING
Definition:
KMSErrors.h:46
INVALID_ALIAS_NAME
INVALID_ALIAS_NAME
Definition:
KMSErrors.h:51
ACCESS_DENIED
ACCESS_DENIED
Definition:
KMSErrors.h:43
INVALID_GRANT_ID
INVALID_GRANT_ID
Definition:
KMSErrors.h:51
LIMIT_EXCEEDED
LIMIT_EXCEEDED
Definition:
KMSErrors.h:51
INVALID_PARAMETER_VALUE
INVALID_PARAMETER_VALUE
Definition:
KMSErrors.h:34
INCOMPLETE_SIGNATURE
INCOMPLETE_SIGNATURE
Definition:
KMSErrors.h:28
INVALID_ACTION
INVALID_ACTION
Definition:
KMSErrors.h:30
REQUEST_EXPIRED
REQUEST_EXPIRED
Definition:
KMSErrors.h:39
SERVICE_UNAVAILABLE
SERVICE_UNAVAILABLE
Definition:
KMSErrors.h:40
RESOURCE_NOT_FOUND
RESOURCE_NOT_FOUND
Definition:
KMSErrors.h:44
KEY_UNAVAILABLE
KEY_UNAVAILABLE
Definition:
KMSErrors.h:51
INVALID_MARKER
INVALID_MARKER
Definition:
KMSErrors.h:51
UNSUPPORTED_OPERATION
UNSUPPORTED_OPERATION
Definition:
EC2Errors.h:51
NETWORK_CONNECTION
NETWORK_CONNECTION
Definition:
KMSErrors.h:47
MALFORMED_POLICY_DOCUMENT
MALFORMED_POLICY_DOCUMENT
Definition:
KMSErrors.h:51
DEPENDENCY_TIMEOUT
DEPENDENCY_TIMEOUT
Definition:
KMSErrors.h:51
INTERNAL_FAILURE
INTERNAL_FAILURE
Definition:
KMSErrors.h:29
Aws::Client::AWSError
Definition:
AWSClient.h:71
Aws::KMS::KMSErrorMapper::GetErrorForName
AWS_KMS_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
K_M_S_INTERNAL
K_M_S_INTERNAL
Definition:
KMSErrors.h:51
INVALID_ARN
INVALID_ARN
Definition:
KMSErrors.h:51
KMS_EXPORTS.h
THROTTLING
THROTTLING
Definition:
KMSErrors.h:41
UNRECOGNIZED_CLIENT
UNRECOGNIZED_CLIENT
Definition:
KMSErrors.h:45
MISSING_PARAMETER
MISSING_PARAMETER
Definition:
KMSErrors.h:37
INVALID_CLIENT_TOKEN_ID
INVALID_CLIENT_TOKEN_ID
Definition:
KMSErrors.h:31
INVALID_GRANT_TOKEN
INVALID_GRANT_TOKEN
Definition:
KMSErrors.h:51
INVALID_QUERY_PARAMETER
INVALID_QUERY_PARAMETER
Definition:
KMSErrors.h:33
K_M_S_INVALID_STATE
K_M_S_INVALID_STATE
Definition:
KMSErrors.h:51
MISSING_ACTION
MISSING_ACTION
Definition:
KMSErrors.h:35
AWS_KMS_API
#define AWS_KMS_API
Definition:
KMS_EXPORTS.h:34
VALIDATION
VALIDATION
Definition:
KMSErrors.h:42
UNKNOWN
UNKNOWN
Definition:
ACMErrors.h:48
NOT_FOUND
NOT_FOUND
Definition:
KMSErrors.h:51
MISSING_AUTHENTICATION_TOKEN
MISSING_AUTHENTICATION_TOKEN
Definition:
KMSErrors.h:36
ALREADY_EXISTS
ALREADY_EXISTS
Definition:
KMSErrors.h:51
Aws::CodePipeline::Model::EncryptionKeyType::KMS
INVALID_CIPHERTEXT
INVALID_CIPHERTEXT
Definition:
KMSErrors.h:51
INVALID_KEY_USAGE
INVALID_KEY_USAGE
Definition:
KMSErrors.h:51
OPT_IN_REQUIRED
OPT_IN_REQUIRED
Definition:
KMSErrors.h:38
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
INVALID_PARAMETER_COMBINATION
INVALID_PARAMETER_COMBINATION
Definition:
KMSErrors.h:32
Generated by
1.8.11