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-ds
include
aws
ds
DirectoryServiceErrors.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/ds/DirectoryService_EXPORTS.h
>
19
20
namespace
Aws
21
{
22
namespace
DirectoryService
23
{
24
enum class
AWS_DIRECTORYSERVICE_API
DirectoryServiceErrors
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
AUTHENTICATION_FAILED
=
static_cast<
int
>
(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
52
CLIENT
,
53
DIRECTORY_LIMIT_EXCEEDED
,
54
DIRECTORY_UNAVAILABLE
,
55
ENTITY_ALREADY_EXISTS
,
56
ENTITY_DOES_NOT_EXIST
,
57
INSUFFICIENT_PERMISSIONS
,
58
INVALID_NEXT_TOKEN
,
59
INVALID_PARAMETER
,
60
SERVICE
,
61
SNAPSHOT_LIMIT_EXCEEDED
,
62
UNSUPPORTED_OPERATION
63
};
64
namespace
DirectoryServiceErrorMapper
65
{
66
AWS_DIRECTORYSERVICE_API
Client::AWSError<Client::CoreErrors>
GetErrorForName
(
const
char
* errorName);
67
}
68
69
}
// namespace DirectoryService
70
}
// namespace Aws
CoreErrors.h
OPT_IN_REQUIRED
OPT_IN_REQUIRED
Definition:
DirectoryServiceErrors.h:38
AUTHENTICATION_FAILED
AUTHENTICATION_FAILED
Definition:
DirectoryServiceErrors.h:51
CLIENT
CLIENT
Definition:
DirectoryServiceErrors.h:51
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition:
DirectoryService_EXPORTS.h:34
DIRECTORY_LIMIT_EXCEEDED
DIRECTORY_LIMIT_EXCEEDED
Definition:
DirectoryServiceErrors.h:51
VALIDATION
VALIDATION
Definition:
DirectoryServiceErrors.h:42
Aws::DirectoryService::DirectoryServiceErrorMapper::GetErrorForName
AWS_DIRECTORYSERVICE_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
INVALID_NEXT_TOKEN
INVALID_NEXT_TOKEN
Definition:
DirectoryServiceErrors.h:51
ENTITY_ALREADY_EXISTS
ENTITY_ALREADY_EXISTS
Definition:
DirectoryServiceErrors.h:51
THROTTLING
THROTTLING
Definition:
DirectoryServiceErrors.h:41
INVALID_ACTION
INVALID_ACTION
Definition:
DirectoryServiceErrors.h:30
UNSUPPORTED_OPERATION
UNSUPPORTED_OPERATION
Definition:
EC2Errors.h:51
INSUFFICIENT_PERMISSIONS
INSUFFICIENT_PERMISSIONS
Definition:
DirectoryServiceErrors.h:51
INVALID_PARAMETER_VALUE
INVALID_PARAMETER_VALUE
Definition:
DirectoryServiceErrors.h:34
ENTITY_DOES_NOT_EXIST
ENTITY_DOES_NOT_EXIST
Definition:
DirectoryServiceErrors.h:51
MISSING_ACTION
MISSING_ACTION
Definition:
DirectoryServiceErrors.h:35
UNRECOGNIZED_CLIENT
UNRECOGNIZED_CLIENT
Definition:
DirectoryServiceErrors.h:45
Aws::Client::AWSError
Definition:
AWSClient.h:71
MALFORMED_QUERY_STRING
MALFORMED_QUERY_STRING
Definition:
DirectoryServiceErrors.h:46
SERVICE
SERVICE
Definition:
DirectoryServiceErrors.h:51
SERVICE_UNAVAILABLE
SERVICE_UNAVAILABLE
Definition:
DirectoryServiceErrors.h:40
INVALID_CLIENT_TOKEN_ID
INVALID_CLIENT_TOKEN_ID
Definition:
DirectoryServiceErrors.h:31
INCOMPLETE_SIGNATURE
INCOMPLETE_SIGNATURE
Definition:
DirectoryServiceErrors.h:28
ACCESS_DENIED
ACCESS_DENIED
Definition:
DirectoryServiceErrors.h:43
MISSING_AUTHENTICATION_TOKEN
MISSING_AUTHENTICATION_TOKEN
Definition:
DirectoryServiceErrors.h:36
DirectoryService_EXPORTS.h
INVALID_QUERY_PARAMETER
INVALID_QUERY_PARAMETER
Definition:
DirectoryServiceErrors.h:33
INTERNAL_FAILURE
INTERNAL_FAILURE
Definition:
DirectoryServiceErrors.h:29
INVALID_PARAMETER
INVALID_PARAMETER
Definition:
DirectoryServiceErrors.h:51
INVALID_PARAMETER_COMBINATION
INVALID_PARAMETER_COMBINATION
Definition:
DirectoryServiceErrors.h:32
UNKNOWN
UNKNOWN
Definition:
ACMErrors.h:48
SNAPSHOT_LIMIT_EXCEEDED
SNAPSHOT_LIMIT_EXCEEDED
Definition:
DirectoryServiceErrors.h:51
RESOURCE_NOT_FOUND
RESOURCE_NOT_FOUND
Definition:
DirectoryServiceErrors.h:44
DIRECTORY_UNAVAILABLE
DIRECTORY_UNAVAILABLE
Definition:
DirectoryServiceErrors.h:51
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
REQUEST_EXPIRED
REQUEST_EXPIRED
Definition:
DirectoryServiceErrors.h:39
NETWORK_CONNECTION
NETWORK_CONNECTION
Definition:
DirectoryServiceErrors.h:47
MISSING_PARAMETER
MISSING_PARAMETER
Definition:
DirectoryServiceErrors.h:37
Generated by
1.8.11