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-cognito-idp
include
aws
cognito-idp
CognitoIdentityProviderErrors.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/cognito-idp/CognitoIdentityProvider_EXPORTS.h
>
19
20
namespace
Aws
21
{
22
namespace
CognitoIdentityProvider
23
{
24
enum class
AWS_COGNITOIDENTITYPROVIDER_API
CognitoIdentityProviderErrors
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
ALIAS_EXISTS
=
static_cast<
int
>
(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
52
CODE_MISMATCH
,
53
CONCURRENT_MODIFICATION
,
54
EXPIRED_CODE
,
55
INTERNAL_ERROR,
56
INVALID_LAMBDA_RESPONSE
,
57
INVALID_PARAMETER
,
58
INVALID_PASSWORD
,
59
LIMIT_EXCEEDED
,
60
NOT_AUTHORIZED
,
61
TOO_MANY_FAILED_ATTEMPTS
,
62
TOO_MANY_REQUESTS
,
63
UNEXPECTED_LAMBDA
,
64
USERNAME_EXISTS
,
65
USER_LAMBDA_VALIDATION
66
};
67
namespace
CognitoIdentityProviderErrorMapper
68
{
69
AWS_COGNITOIDENTITYPROVIDER_API
Client::AWSError<Client::CoreErrors>
GetErrorForName
(
const
char
* errorName);
70
}
71
72
}
// namespace CognitoIdentityProvider
73
}
// namespace Aws
CoreErrors.h
UNEXPECTED_LAMBDA
UNEXPECTED_LAMBDA
Definition:
CognitoIdentityProviderErrors.h:51
CODE_MISMATCH
CODE_MISMATCH
Definition:
CognitoIdentityProviderErrors.h:51
INVALID_ACTION
INVALID_ACTION
Definition:
CognitoIdentityProviderErrors.h:30
INVALID_QUERY_PARAMETER
INVALID_QUERY_PARAMETER
Definition:
CognitoIdentityProviderErrors.h:33
NETWORK_CONNECTION
NETWORK_CONNECTION
Definition:
CognitoIdentityProviderErrors.h:47
INVALID_CLIENT_TOKEN_ID
INVALID_CLIENT_TOKEN_ID
Definition:
CognitoIdentityProviderErrors.h:31
INVALID_PARAMETER
INVALID_PARAMETER
Definition:
CognitoIdentityProviderErrors.h:51
MALFORMED_QUERY_STRING
MALFORMED_QUERY_STRING
Definition:
CognitoIdentityProviderErrors.h:46
INTERNAL_FAILURE
INTERNAL_FAILURE
Definition:
CognitoIdentityProviderErrors.h:29
OPT_IN_REQUIRED
OPT_IN_REQUIRED
Definition:
CognitoIdentityProviderErrors.h:38
ALIAS_EXISTS
ALIAS_EXISTS
Definition:
CognitoIdentityProviderErrors.h:51
INVALID_PARAMETER_COMBINATION
INVALID_PARAMETER_COMBINATION
Definition:
CognitoIdentityProviderErrors.h:32
LIMIT_EXCEEDED
LIMIT_EXCEEDED
Definition:
CognitoIdentityProviderErrors.h:51
MISSING_AUTHENTICATION_TOKEN
MISSING_AUTHENTICATION_TOKEN
Definition:
CognitoIdentityProviderErrors.h:36
NOT_AUTHORIZED
NOT_AUTHORIZED
Definition:
CognitoIdentityProviderErrors.h:51
VALIDATION
VALIDATION
Definition:
CognitoIdentityProviderErrors.h:42
TOO_MANY_FAILED_ATTEMPTS
TOO_MANY_FAILED_ATTEMPTS
Definition:
CognitoIdentityProviderErrors.h:51
REQUEST_EXPIRED
REQUEST_EXPIRED
Definition:
CognitoIdentityProviderErrors.h:39
INVALID_PASSWORD
INVALID_PASSWORD
Definition:
CognitoIdentityProviderErrors.h:51
INCOMPLETE_SIGNATURE
INCOMPLETE_SIGNATURE
Definition:
CognitoIdentityProviderErrors.h:28
INVALID_PARAMETER_VALUE
INVALID_PARAMETER_VALUE
Definition:
CognitoIdentityProviderErrors.h:34
CognitoIdentityProvider_EXPORTS.h
Aws::Client::AWSError
Definition:
AWSClient.h:71
AWS_COGNITOIDENTITYPROVIDER_API
#define AWS_COGNITOIDENTITYPROVIDER_API
Definition:
CognitoIdentityProvider_EXPORTS.h:34
INVALID_LAMBDA_RESPONSE
INVALID_LAMBDA_RESPONSE
Definition:
CognitoIdentityProviderErrors.h:51
EXPIRED_CODE
EXPIRED_CODE
Definition:
CognitoIdentityProviderErrors.h:51
RESOURCE_NOT_FOUND
RESOURCE_NOT_FOUND
Definition:
CognitoIdentityProviderErrors.h:44
MISSING_ACTION
MISSING_ACTION
Definition:
CognitoIdentityProviderErrors.h:35
MISSING_PARAMETER
MISSING_PARAMETER
Definition:
CognitoIdentityProviderErrors.h:37
ACCESS_DENIED
ACCESS_DENIED
Definition:
CognitoIdentityProviderErrors.h:43
USERNAME_EXISTS
USERNAME_EXISTS
Definition:
CognitoIdentityProviderErrors.h:51
Aws::CognitoIdentityProvider::CognitoIdentityProviderErrorMapper::GetErrorForName
AWS_COGNITOIDENTITYPROVIDER_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
UNRECOGNIZED_CLIENT
UNRECOGNIZED_CLIENT
Definition:
CognitoIdentityProviderErrors.h:45
TOO_MANY_REQUESTS
TOO_MANY_REQUESTS
Definition:
CognitoIdentityProviderErrors.h:51
UNKNOWN
UNKNOWN
Definition:
ACMErrors.h:48
SERVICE_UNAVAILABLE
SERVICE_UNAVAILABLE
Definition:
CognitoIdentityProviderErrors.h:40
THROTTLING
THROTTLING
Definition:
CognitoIdentityProviderErrors.h:41
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
CONCURRENT_MODIFICATION
CONCURRENT_MODIFICATION
Definition:
CognitoIdentityProviderErrors.h:51
Generated by
1.8.11