github.com/aavshr/aws-sdk-go@v1.41.3/service/dax/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package dax 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeClusterAlreadyExistsFault for service response error code 12 // "ClusterAlreadyExistsFault". 13 // 14 // You already have a DAX cluster with the given identifier. 15 ErrCodeClusterAlreadyExistsFault = "ClusterAlreadyExistsFault" 16 17 // ErrCodeClusterNotFoundFault for service response error code 18 // "ClusterNotFoundFault". 19 // 20 // The requested cluster ID does not refer to an existing DAX cluster. 21 ErrCodeClusterNotFoundFault = "ClusterNotFoundFault" 22 23 // ErrCodeClusterQuotaForCustomerExceededFault for service response error code 24 // "ClusterQuotaForCustomerExceededFault". 25 // 26 // You have attempted to exceed the maximum number of DAX clusters for your 27 // AWS account. 28 ErrCodeClusterQuotaForCustomerExceededFault = "ClusterQuotaForCustomerExceededFault" 29 30 // ErrCodeInsufficientClusterCapacityFault for service response error code 31 // "InsufficientClusterCapacityFault". 32 // 33 // There are not enough system resources to create the cluster you requested 34 // (or to resize an already-existing cluster). 35 ErrCodeInsufficientClusterCapacityFault = "InsufficientClusterCapacityFault" 36 37 // ErrCodeInvalidARNFault for service response error code 38 // "InvalidARNFault". 39 // 40 // The Amazon Resource Name (ARN) supplied in the request is not valid. 41 ErrCodeInvalidARNFault = "InvalidARNFault" 42 43 // ErrCodeInvalidClusterStateFault for service response error code 44 // "InvalidClusterStateFault". 45 // 46 // The requested DAX cluster is not in the available state. 47 ErrCodeInvalidClusterStateFault = "InvalidClusterStateFault" 48 49 // ErrCodeInvalidParameterCombinationException for service response error code 50 // "InvalidParameterCombinationException". 51 // 52 // Two or more incompatible parameters were specified. 53 ErrCodeInvalidParameterCombinationException = "InvalidParameterCombinationException" 54 55 // ErrCodeInvalidParameterGroupStateFault for service response error code 56 // "InvalidParameterGroupStateFault". 57 // 58 // One or more parameters in a parameter group are in an invalid state. 59 ErrCodeInvalidParameterGroupStateFault = "InvalidParameterGroupStateFault" 60 61 // ErrCodeInvalidParameterValueException for service response error code 62 // "InvalidParameterValueException". 63 // 64 // The value for a parameter is invalid. 65 ErrCodeInvalidParameterValueException = "InvalidParameterValueException" 66 67 // ErrCodeInvalidSubnet for service response error code 68 // "InvalidSubnet". 69 // 70 // An invalid subnet identifier was specified. 71 ErrCodeInvalidSubnet = "InvalidSubnet" 72 73 // ErrCodeInvalidVPCNetworkStateFault for service response error code 74 // "InvalidVPCNetworkStateFault". 75 // 76 // The VPC network is in an invalid state. 77 ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault" 78 79 // ErrCodeNodeNotFoundFault for service response error code 80 // "NodeNotFoundFault". 81 // 82 // None of the nodes in the cluster have the given node ID. 83 ErrCodeNodeNotFoundFault = "NodeNotFoundFault" 84 85 // ErrCodeNodeQuotaForClusterExceededFault for service response error code 86 // "NodeQuotaForClusterExceededFault". 87 // 88 // You have attempted to exceed the maximum number of nodes for a DAX cluster. 89 ErrCodeNodeQuotaForClusterExceededFault = "NodeQuotaForClusterExceededFault" 90 91 // ErrCodeNodeQuotaForCustomerExceededFault for service response error code 92 // "NodeQuotaForCustomerExceededFault". 93 // 94 // You have attempted to exceed the maximum number of nodes for your AWS account. 95 ErrCodeNodeQuotaForCustomerExceededFault = "NodeQuotaForCustomerExceededFault" 96 97 // ErrCodeParameterGroupAlreadyExistsFault for service response error code 98 // "ParameterGroupAlreadyExistsFault". 99 // 100 // The specified parameter group already exists. 101 ErrCodeParameterGroupAlreadyExistsFault = "ParameterGroupAlreadyExistsFault" 102 103 // ErrCodeParameterGroupNotFoundFault for service response error code 104 // "ParameterGroupNotFoundFault". 105 // 106 // The specified parameter group does not exist. 107 ErrCodeParameterGroupNotFoundFault = "ParameterGroupNotFoundFault" 108 109 // ErrCodeParameterGroupQuotaExceededFault for service response error code 110 // "ParameterGroupQuotaExceededFault". 111 // 112 // You have attempted to exceed the maximum number of parameter groups. 113 ErrCodeParameterGroupQuotaExceededFault = "ParameterGroupQuotaExceededFault" 114 115 // ErrCodeServiceLinkedRoleNotFoundFault for service response error code 116 // "ServiceLinkedRoleNotFoundFault". 117 // 118 // The specified service linked role (SLR) was not found. 119 ErrCodeServiceLinkedRoleNotFoundFault = "ServiceLinkedRoleNotFoundFault" 120 121 // ErrCodeServiceQuotaExceededException for service response error code 122 // "ServiceQuotaExceededException". 123 // 124 // You have reached the maximum number of x509 certificates that can be created 125 // for encrypted clusters in a 30 day period. Contact AWS customer support to 126 // discuss options for continuing to create encrypted clusters. 127 ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" 128 129 // ErrCodeSubnetGroupAlreadyExistsFault for service response error code 130 // "SubnetGroupAlreadyExistsFault". 131 // 132 // The specified subnet group already exists. 133 ErrCodeSubnetGroupAlreadyExistsFault = "SubnetGroupAlreadyExistsFault" 134 135 // ErrCodeSubnetGroupInUseFault for service response error code 136 // "SubnetGroupInUseFault". 137 // 138 // The specified subnet group is currently in use. 139 ErrCodeSubnetGroupInUseFault = "SubnetGroupInUseFault" 140 141 // ErrCodeSubnetGroupNotFoundFault for service response error code 142 // "SubnetGroupNotFoundFault". 143 // 144 // The requested subnet group name does not refer to an existing subnet group. 145 ErrCodeSubnetGroupNotFoundFault = "SubnetGroupNotFoundFault" 146 147 // ErrCodeSubnetGroupQuotaExceededFault for service response error code 148 // "SubnetGroupQuotaExceededFault". 149 // 150 // The request cannot be processed because it would exceed the allowed number 151 // of subnets in a subnet group. 152 ErrCodeSubnetGroupQuotaExceededFault = "SubnetGroupQuotaExceededFault" 153 154 // ErrCodeSubnetInUse for service response error code 155 // "SubnetInUse". 156 // 157 // The requested subnet is being used by another subnet group. 158 ErrCodeSubnetInUse = "SubnetInUse" 159 160 // ErrCodeSubnetQuotaExceededFault for service response error code 161 // "SubnetQuotaExceededFault". 162 // 163 // The request cannot be processed because it would exceed the allowed number 164 // of subnets in a subnet group. 165 ErrCodeSubnetQuotaExceededFault = "SubnetQuotaExceededFault" 166 167 // ErrCodeTagNotFoundFault for service response error code 168 // "TagNotFoundFault". 169 // 170 // The tag does not exist. 171 ErrCodeTagNotFoundFault = "TagNotFoundFault" 172 173 // ErrCodeTagQuotaPerResourceExceeded for service response error code 174 // "TagQuotaPerResourceExceeded". 175 // 176 // You have exceeded the maximum number of tags for this DAX cluster. 177 ErrCodeTagQuotaPerResourceExceeded = "TagQuotaPerResourceExceeded" 178 ) 179 180 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 181 "ClusterAlreadyExistsFault": newErrorClusterAlreadyExistsFault, 182 "ClusterNotFoundFault": newErrorClusterNotFoundFault, 183 "ClusterQuotaForCustomerExceededFault": newErrorClusterQuotaForCustomerExceededFault, 184 "InsufficientClusterCapacityFault": newErrorInsufficientClusterCapacityFault, 185 "InvalidARNFault": newErrorInvalidARNFault, 186 "InvalidClusterStateFault": newErrorInvalidClusterStateFault, 187 "InvalidParameterCombinationException": newErrorInvalidParameterCombinationException, 188 "InvalidParameterGroupStateFault": newErrorInvalidParameterGroupStateFault, 189 "InvalidParameterValueException": newErrorInvalidParameterValueException, 190 "InvalidSubnet": newErrorInvalidSubnet, 191 "InvalidVPCNetworkStateFault": newErrorInvalidVPCNetworkStateFault, 192 "NodeNotFoundFault": newErrorNodeNotFoundFault, 193 "NodeQuotaForClusterExceededFault": newErrorNodeQuotaForClusterExceededFault, 194 "NodeQuotaForCustomerExceededFault": newErrorNodeQuotaForCustomerExceededFault, 195 "ParameterGroupAlreadyExistsFault": newErrorParameterGroupAlreadyExistsFault, 196 "ParameterGroupNotFoundFault": newErrorParameterGroupNotFoundFault, 197 "ParameterGroupQuotaExceededFault": newErrorParameterGroupQuotaExceededFault, 198 "ServiceLinkedRoleNotFoundFault": newErrorServiceLinkedRoleNotFoundFault, 199 "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, 200 "SubnetGroupAlreadyExistsFault": newErrorSubnetGroupAlreadyExistsFault, 201 "SubnetGroupInUseFault": newErrorSubnetGroupInUseFault, 202 "SubnetGroupNotFoundFault": newErrorSubnetGroupNotFoundFault, 203 "SubnetGroupQuotaExceededFault": newErrorSubnetGroupQuotaExceededFault, 204 "SubnetInUse": newErrorSubnetInUse, 205 "SubnetQuotaExceededFault": newErrorSubnetQuotaExceededFault, 206 "TagNotFoundFault": newErrorTagNotFoundFault, 207 "TagQuotaPerResourceExceeded": newErrorTagQuotaPerResourceExceeded, 208 }