AWS SDK for C++  0.12.9
AWS SDK for C++
STSErrors.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 
18 #include <aws/sts/STS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace STS
23 {
24 enum class AWS_STS_API STSErrors
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  EXPIRED_TOKEN= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
58  REGION_DISABLED
59 };
60 namespace STSErrorMapper
61 {
63 }
64 
65 } // namespace STS
66 } // namespace Aws
INVALID_QUERY_PARAMETER
Definition: STSErrors.h:33
MISSING_PARAMETER
Definition: STSErrors.h:37
#define AWS_STS_API
Definition: STS_EXPORTS.h:34
AWS_STS_API Client::AWSError< Client::CoreErrors > GetErrorForName(const char *errorName)
VALIDATION
Definition: STSErrors.h:42
INVALID_PARAMETER_COMBINATION
Definition: STSErrors.h:32
THROTTLING
Definition: STSErrors.h:41
REQUEST_EXPIRED
Definition: STSErrors.h:39
RESOURCE_NOT_FOUND
Definition: STSErrors.h:44
MALFORMED_QUERY_STRING
Definition: STSErrors.h:46
ACCESS_DENIED
Definition: STSErrors.h:43
INVALID_AUTHORIZATION_MESSAGE
Definition: STSErrors.h:51
OPT_IN_REQUIRED
Definition: STSErrors.h:38
INVALID_CLIENT_TOKEN_ID
Definition: STSErrors.h:31
I_D_P_COMMUNICATION_ERROR
Definition: STSErrors.h:51
NETWORK_CONNECTION
Definition: STSErrors.h:47
INVALID_ACTION
Definition: STSErrors.h:30
MISSING_ACTION
Definition: STSErrors.h:35
EXPIRED_TOKEN
Definition: STSErrors.h:51
MISSING_AUTHENTICATION_TOKEN
Definition: STSErrors.h:36
INVALID_IDENTITY_TOKEN
Definition: STSErrors.h:51
INVALID_PARAMETER_VALUE
Definition: STSErrors.h:34
UNRECOGNIZED_CLIENT
Definition: STSErrors.h:45
PACKED_POLICY_TOO_LARGE
Definition: STSErrors.h:51
MALFORMED_POLICY_DOCUMENT
Definition: STSErrors.h:51
UNKNOWN
Definition: ACMErrors.h:48
I_D_P_REJECTED_CLAIM
Definition: STSErrors.h:51
INTERNAL_FAILURE
Definition: STSErrors.h:29
INCOMPLETE_SIGNATURE
Definition: STSErrors.h:28
JSON (JavaScript Object Notation).
SERVICE_UNAVAILABLE
Definition: STSErrors.h:40