8#include <aws/core/client/AWSError.h>
9#include <aws/core/client/CoreErrors.h>
10#include <aws/ec2/EC2_EXPORTS.h>
234 template <
typename T>
238namespace EC2ErrorMapper
EC2Error(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
EC2Error(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
EC2Error(Aws::Client::AWSError< EC2Errors > &&rhs)
EC2Error(const Aws::Client::AWSError< EC2Errors > &rhs)
AWS_EC2_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
@ INVALID_ROUTE_TABLE_ID__MALFORMED
@ SECURITY_GROUPS_PER_INSTANCE_LIMIT_EXCEEDED
@ INVALID_I_P_ADDRESS__IN_USE
@ INVALID_CUSTOMER_GATEWAY__DUPLICATE_IP_ADDRESS
@ INVALID_RESERVED_INSTANCES_ID
@ INVALID_NETWORK_INTERFACE_ATTACHMENT_I_D__MALFORMED
@ INVALID_VPN_GATEWAY_I_D__NOT_FOUND
@ INVALID_VPN_CONNECTION_I_D__NOT_FOUND
@ INVALID_SPOT_INSTANCE_REQUEST_I_D__MALFORMED
@ INVALID_CUSTOMER_GATEWAY_I_D__NOT_FOUND
@ PENDING_SNAPSHOT_LIMIT_EXCEEDED
@ INVALID_GROUP_ID__MALFORMED
@ INVALID_VOLUME__NOT_FOUND
@ INSUFFICIENT_RESERVED_INSTANCES_CAPACITY
@ INVALID_A_M_I_I_D__MALFORMED
@ CUSTOMER_GATEWAY_LIMIT_EXCEEDED
@ INVALID_PARAMETER_VALUE
@ CONCURRENT_SNAPSHOT_LIMIT_EXCEEDED
@ INVALID_USER_I_D__MALFORMED
@ INVALID_VPC_ENDPOINT_ID__NOT_FOUND
@ INVALID_A_M_I_I_D__NOT_FOUND
@ SIGNATURE_DOES_NOT_MATCH
@ VPC_PEERING_CONNECTION_ALREADY_EXISTS
@ INVALID_KEY_PAIR__DUPLICATE
@ INVALID_ROUTE__NOT_FOUND
@ FLOW_LOGS_LIMIT_EXCEEDED
@ INVALID_DHCP_OPTION_I_D__NOT_FOUND
@ INVALID_PREFIX_LIST_ID__MALFORMED
@ INVALID_RESERVED_INSTANCES_OFFERING_ID
@ INTERNET_GATEWAY_LIMIT_EXCEEDED
@ INVALID_SNAPSHOT__IN_USE
@ RESOURCE_COUNT_EXCEEDED
@ INVALID_VPN_CONNECTION_I_D
@ INVALID_CUSTOMER_GATEWAY_ID__MALFORMED
@ INSTANCE_LIMIT_EXCEEDED
@ NETWORK_ACL_ENTRY_LIMIT_EXCEEDED
@ ATTACHMENT_LIMIT_EXCEEDED
@ INVALID_VOLUME_I_D__MALFORMED
@ INVALID_ZONE__NOT_FOUND
@ ENCRYPTED_VOLUMES_NOT_SUPPORTED
@ INVALID_A_M_I_NAME__MALFORMED
@ REQUEST_TIME_TOO_SKEWED
@ MAX_SPOT_FLEET_REQUEST_COUNT_EXCEEDED
@ INVALID_PERMISSION__NOT_FOUND
@ INVALID_SNAPSHOT_I_D__MALFORMED
@ INVALID_PLACEMENT_GROUP__IN_USE
@ VPN_CONNECTION_LIMIT_EXCEEDED
@ RULES_PER_SECURITY_GROUP_LIMIT_EXCEEDED
@ INVALID_PLACEMENT_GROUP__DUPLICATE
@ INVALID_SNAPSHOT__NOT_FOUND
@ INVALID_VOLUME_I_D__ZONE_MISMATCH
@ INVALID_VPC_PEERING_CONNECTION_I_D__NOT_FOUND
@ INVALID_CONVERSION_TASK_ID
@ DISK_IMAGE_SIZE_TOO_LARGE
@ ROUTE_TABLE_LIMIT_EXCEEDED
@ SNAPSHOT_LIMIT_EXCEEDED
@ INVALID_QUERY_PARAMETER
@ INVALID_INSTANCE_ATTRIBUTE_VALUE
@ INVALID_SPOT_INSTANCE_REQUEST_I_D__NOT_FOUND
@ NETWORK_ACL_ENTRY_ALREADY_EXISTS
@ INVALID_ADDRESS_I_D__NOT_FOUND
@ INVALID_PERMISSION__DUPLICATE
@ PRIVATE_IP_ADDRESS_LIMIT_EXCEEDED
@ MAX_I_O_P_S_LIMIT_EXCEEDED
@ RESOURCE_LIMIT_EXCEEDED
@ INVALID_SPOT_FLEET_REQUEST_ID__NOT_FOUND
@ INVALID_OPTION__CONFLICT
@ INCORRECT_INSTANCE_STATE
@ INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET
@ INVALID_VPC_PEERING_CONNECTION_ID__MALFORMED
@ INVALID_ATTACHMENT__NOT_FOUND
@ INVALID_DHCP_OPTIONS_ID__MALFORMED
@ INVALID_NETWORK_INTERFACE_I_D__NOT_FOUND
@ INVALID_NETWORK_ACL_I_D__NOT_FOUND
@ INVALID_SUBNET_I_D__NOT_FOUND
@ INVALID_A_M_I_ATTRIBUTE_ITEM_VALUE
@ INVALID_KEY_PAIR__NOT_FOUND
@ INVALID_NETWORK_ACL_ENTRY__NOT_FOUND
@ RESOURCE__ALREADY_ASSOCIATED
@ INVALID_INSTANCE_I_D__NOT_LINKABLE
@ INVALID_EXPORT_TASK_I_D__NOT_FOUND
@ VPC_ENDPOINT_LIMIT_EXCEEDED
@ INVALID_INSTANCE_I_D__NOT_FOUND
@ INVALID_ALLOCATION_I_D__NOT_FOUND
@ INVALID_DHCP_OPTIONS_I_D__NOT_FOUND
@ INVALID_RESERVATION_I_D__MALFORMED
@ INVALID_SPOT_DATAFEED__NOT_FOUND
@ INVALID_SUBNET__CONFLICT
@ INVALID_ROUTE_TABLE_I_D__NOT_FOUND
@ MISSING_AUTHENTICATION_TOKEN
@ INVALID_PARAMETER_COMBINATION
@ INVALID_A_M_I_NAME__DUPLICATE
@ INVALID_ATTACHMENT_I_D__NOT_FOUND
@ INVALID_GATEWAY_I_D__NOT_FOUND
@ INVALID_RESERVATION_I_D__NOT_FOUND
@ SECURITY_GROUPS_PER_INTERFACE_LIMIT_EXCEEDED
@ INVALID_KEY_PAIR__FORMAT
@ INVALID_PLACEMENT_GROUP__UNKNOWN
@ INVALID_STATE_TRANSITION
@ INVALID_VOLUME_I_D__DUPLICATE
@ INVALID_NETWORK_INTERFACE_ID__MALFORMED
@ INVALID_GROUP__DUPLICATE
@ INVALID_PREFIX_LIST_ID__NOT_FOUND
@ INVALID_BUNDLE_I_D__NOT_FOUND
@ INVALID_VPC_I_D__NOT_FOUND
@ INVALID_INTERFACE__IP_ADDRESS_LIMIT_EXCEEDED
@ VOLUME_TYPE_NOT_AVAILABLE_IN_ZONE
@ INVALID_VOLUME__ZONE_MISMATCH
@ REQUEST_RESOURCE_COUNT_EXCEEDED
@ INVALID_CLIENT_TOKEN_ID
@ V_P_C_RESOURCE_NOT_SPECIFIED
@ OPERATION_NOT_PERMITTED
@ INVALID_VPC_ENDPOINT_ID__MALFORMED
@ INVALID_FLOW_LOG_ID__NOT_FOUND
@ RESERVED_INSTANCES_LIMIT_EXCEEDED
@ INVALID_SPOT_FLEET_REQUEST_ID__MALFORMED
@ NETWORK_ACL_LIMIT_EXCEEDED
@ SECURITY_GROUP_LIMIT_EXCEEDED
@ VPN_GATEWAY_LIMIT_EXCEEDED
@ INVALID_INTERNET_GATEWAY_I_D__NOT_FOUND
@ INVALID_ROUTE__MALFORMED
@ INVALID_BLOCK_DEVICE_MAPPING
@ FLOW_LOG_ALREADY_EXISTS
@ INVALID_ADDRESS__MALFORMED
@ INVALID_A_M_I_I_D__UNAVAILABLE
@ INVALID_INSTANCE_I_D__MALFORMED
@ INVALID_ASSOCIATION_I_D__NOT_FOUND
@ INVALID_VPN_GATEWAY_ATTACHMENT__NOT_FOUND
@ VPN_GATEWAY_ATTACHMENT_LIMIT_EXCEEDED
@ ACTIVE_VPC_PEERING_CONNECTION_PER_VPC_LIMIT_EXCEEDED
@ INVALID_POLICY_DOCUMENT
@ INVALID_GROUP__RESERVED
@ INVALID_ADDRESS__NOT_FOUND
@ INVALID_PERMISSION__MALFORMED
@ OUTSTANDING_VPC_PEERING_CONNECTION_LIMIT_EXCEEDED
@ MAX_SPOT_INSTANCE_COUNT_EXCEEDED
@ INVALID_SECURITY_GROUP_I_D__NOT_FOUND
@ INVALID_SPOT_FLEET_REQUEST_CONFIG
@ INVALID_GROUP__NOT_FOUND
@ INVALID_SECURITY__REQUEST_HAS_EXPIRED
@ INSTANCE_ALREADY_LINKED