AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2Errors.h
1
6#pragma once
7
8#include <aws/core/client/AWSError.h>
9#include <aws/core/client/CoreErrors.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11
12namespace Aws
13{
14namespace EC2
15{
16enum class EC2Errors
17{
18 //From Core//
27 MISSING_ACTION = 7, // SDK should never allow
28 MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
29 MISSING_PARAMETER = 9, // SDK should never allow
30 OPT_IN_REQUIRED = 10,
31 REQUEST_EXPIRED = 11,
33 THROTTLING = 13,
34 VALIDATION = 14,
35 ACCESS_DENIED = 15,
39 SLOW_DOWN = 19,
44 REQUEST_TIMEOUT = 24,
46
47 UNKNOWN = 100,
49
50 ACTIVE_VPC_PEERING_CONNECTION_PER_VPC_LIMIT_EXCEEDED= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
223};
224
225class AWS_EC2_API EC2Error : public Aws::Client::AWSError<EC2Errors>
226{
227public:
231 EC2Error(const Aws::Client::AWSError<EC2Errors>& rhs) : Aws::Client::AWSError<EC2Errors>(rhs) {}
232 EC2Error(Aws::Client::AWSError<EC2Errors>&& rhs) : Aws::Client::AWSError<EC2Errors>(rhs) {}
233
234 template <typename T>
236};
237
238namespace EC2ErrorMapper
239{
241}
242
243} // namespace EC2
244} // namespace Aws
EC2Error(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition EC2Errors.h:229
EC2Error(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition EC2Errors.h:230
EC2Error(Aws::Client::AWSError< EC2Errors > &&rhs)
Definition EC2Errors.h:232
EC2Error(const Aws::Client::AWSError< EC2Errors > &rhs)
Definition EC2Errors.h:231
AWS_EC2_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
@ SECURITY_GROUPS_PER_INSTANCE_LIMIT_EXCEEDED
@ INVALID_CUSTOMER_GATEWAY__DUPLICATE_IP_ADDRESS
@ INVALID_NETWORK_INTERFACE_ATTACHMENT_I_D__MALFORMED
@ INVALID_VPN_CONNECTION_I_D__NOT_FOUND
@ INVALID_SPOT_INSTANCE_REQUEST_I_D__MALFORMED
@ INVALID_CUSTOMER_GATEWAY_I_D__NOT_FOUND
@ INSUFFICIENT_RESERVED_INSTANCES_CAPACITY
@ VPC_PEERING_CONNECTION_ALREADY_EXISTS
@ INVALID_RESERVED_INSTANCES_OFFERING_ID
@ INVALID_CUSTOMER_GATEWAY_ID__MALFORMED
@ MAX_SPOT_FLEET_REQUEST_COUNT_EXCEEDED
@ RULES_PER_SECURITY_GROUP_LIMIT_EXCEEDED
@ INVALID_VPC_PEERING_CONNECTION_I_D__NOT_FOUND
@ INVALID_SPOT_INSTANCE_REQUEST_I_D__NOT_FOUND
@ INVALID_SPOT_FLEET_REQUEST_ID__NOT_FOUND
@ INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET
@ INVALID_VPC_PEERING_CONNECTION_ID__MALFORMED
@ INVALID_NETWORK_INTERFACE_I_D__NOT_FOUND
@ INVALID_NETWORK_ACL_ENTRY__NOT_FOUND
@ SECURITY_GROUPS_PER_INTERFACE_LIMIT_EXCEEDED
@ INVALID_NETWORK_INTERFACE_ID__MALFORMED
@ INVALID_INTERFACE__IP_ADDRESS_LIMIT_EXCEEDED
@ INVALID_SPOT_FLEET_REQUEST_ID__MALFORMED
@ INVALID_INTERNET_GATEWAY_I_D__NOT_FOUND
@ INVALID_VPN_GATEWAY_ATTACHMENT__NOT_FOUND
@ VPN_GATEWAY_ATTACHMENT_LIMIT_EXCEEDED
@ ACTIVE_VPC_PEERING_CONNECTION_PER_VPC_LIMIT_EXCEEDED
@ OUTSTANDING_VPC_PEERING_CONNECTION_LIMIT_EXCEEDED
@ INVALID_SECURITY_GROUP_I_D__NOT_FOUND
@ INVALID_SECURITY__REQUEST_HAS_EXPIRED