1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package lambda 4 5const ( 6 7 // ErrCodeCodeStorageExceededException for service response error code 8 // "CodeStorageExceededException". 9 // 10 // You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html) 11 ErrCodeCodeStorageExceededException = "CodeStorageExceededException" 12 13 // ErrCodeEC2AccessDeniedException for service response error code 14 // "EC2AccessDeniedException". 15 ErrCodeEC2AccessDeniedException = "EC2AccessDeniedException" 16 17 // ErrCodeEC2ThrottledException for service response error code 18 // "EC2ThrottledException". 19 // 20 // AWS Lambda was throttled by Amazon EC2 during Lambda function initialization 21 // using the execution role provided for the Lambda function. 22 ErrCodeEC2ThrottledException = "EC2ThrottledException" 23 24 // ErrCodeEC2UnexpectedException for service response error code 25 // "EC2UnexpectedException". 26 // 27 // AWS Lambda received an unexpected EC2 client exception while setting up for 28 // the Lambda function. 29 ErrCodeEC2UnexpectedException = "EC2UnexpectedException" 30 31 // ErrCodeENILimitReachedException for service response error code 32 // "ENILimitReachedException". 33 // 34 // AWS Lambda was not able to create an Elastic Network Interface (ENI) in the 35 // VPC, specified as part of Lambda function configuration, because the limit 36 // for network interfaces has been reached. 37 ErrCodeENILimitReachedException = "ENILimitReachedException" 38 39 // ErrCodeInvalidParameterValueException for service response error code 40 // "InvalidParameterValueException". 41 // 42 // One of the parameters in the request is invalid. For example, if you provided 43 // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration 44 // API, that AWS Lambda is unable to assume you will get this exception. 45 ErrCodeInvalidParameterValueException = "InvalidParameterValueException" 46 47 // ErrCodeInvalidRequestContentException for service response error code 48 // "InvalidRequestContentException". 49 // 50 // The request body could not be parsed as JSON. 51 ErrCodeInvalidRequestContentException = "InvalidRequestContentException" 52 53 // ErrCodeInvalidRuntimeException for service response error code 54 // "InvalidRuntimeException". 55 // 56 // The runtime or runtime version specified is not supported. 57 ErrCodeInvalidRuntimeException = "InvalidRuntimeException" 58 59 // ErrCodeInvalidSecurityGroupIDException for service response error code 60 // "InvalidSecurityGroupIDException". 61 // 62 // The Security Group ID provided in the Lambda function VPC configuration is 63 // invalid. 64 ErrCodeInvalidSecurityGroupIDException = "InvalidSecurityGroupIDException" 65 66 // ErrCodeInvalidSubnetIDException for service response error code 67 // "InvalidSubnetIDException". 68 // 69 // The Subnet ID provided in the Lambda function VPC configuration is invalid. 70 ErrCodeInvalidSubnetIDException = "InvalidSubnetIDException" 71 72 // ErrCodeInvalidZipFileException for service response error code 73 // "InvalidZipFileException". 74 // 75 // AWS Lambda could not unzip the function zip file. 76 ErrCodeInvalidZipFileException = "InvalidZipFileException" 77 78 // ErrCodeKMSAccessDeniedException for service response error code 79 // "KMSAccessDeniedException". 80 // 81 // Lambda was unable to decrypt the environment variables because KMS access 82 // was denied. Check the Lambda function's KMS permissions. 83 ErrCodeKMSAccessDeniedException = "KMSAccessDeniedException" 84 85 // ErrCodeKMSDisabledException for service response error code 86 // "KMSDisabledException". 87 // 88 // Lambda was unable to decrypt the environment variables because the KMS key 89 // used is disabled. Check the Lambda function's KMS key settings. 90 ErrCodeKMSDisabledException = "KMSDisabledException" 91 92 // ErrCodeKMSInvalidStateException for service response error code 93 // "KMSInvalidStateException". 94 // 95 // Lambda was unable to decrypt the environment variables because the KMS key 96 // used is in an invalid state for Decrypt. Check the function's KMS key settings. 97 ErrCodeKMSInvalidStateException = "KMSInvalidStateException" 98 99 // ErrCodeKMSNotFoundException for service response error code 100 // "KMSNotFoundException". 101 // 102 // Lambda was unable to decrypt the environment variables because the KMS key 103 // was not found. Check the function's KMS key settings. 104 ErrCodeKMSNotFoundException = "KMSNotFoundException" 105 106 // ErrCodePolicyLengthExceededException for service response error code 107 // "PolicyLengthExceededException". 108 // 109 // Lambda function access policy is limited to 20 KB. 110 ErrCodePolicyLengthExceededException = "PolicyLengthExceededException" 111 112 // ErrCodeRequestTooLargeException for service response error code 113 // "RequestTooLargeException". 114 // 115 // The request payload exceeded the Invoke request body JSON input limit. For 116 // more information, see Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html). 117 ErrCodeRequestTooLargeException = "RequestTooLargeException" 118 119 // ErrCodeResourceConflictException for service response error code 120 // "ResourceConflictException". 121 // 122 // The resource already exists. 123 ErrCodeResourceConflictException = "ResourceConflictException" 124 125 // ErrCodeResourceNotFoundException for service response error code 126 // "ResourceNotFoundException". 127 // 128 // The resource (for example, a Lambda function or access policy statement) 129 // specified in the request does not exist. 130 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 131 132 // ErrCodeServiceException for service response error code 133 // "ServiceException". 134 // 135 // The AWS Lambda service encountered an internal error. 136 ErrCodeServiceException = "ServiceException" 137 138 // ErrCodeSubnetIPAddressLimitReachedException for service response error code 139 // "SubnetIPAddressLimitReachedException". 140 // 141 // AWS Lambda was not able to set up VPC access for the Lambda function because 142 // one or more configured subnets has no available IP addresses. 143 ErrCodeSubnetIPAddressLimitReachedException = "SubnetIPAddressLimitReachedException" 144 145 // ErrCodeTooManyRequestsException for service response error code 146 // "TooManyRequestsException". 147 // 148 // You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded 149 // is returned if you have no functions with reserved-concurrency and have exceeded 150 // your account concurrent limit or if a function without reserved concurrency 151 // exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded 152 // is returned when a function with reserved concurrency exceeds its configured 153 // concurrent limit. CallerRateLimitExceeded is returned when your account limit 154 // is exceeded and you have not reserved concurrency on any function. For more 155 // information, see concurrent-executions 156 ErrCodeTooManyRequestsException = "TooManyRequestsException" 157 158 // ErrCodeUnsupportedMediaTypeException for service response error code 159 // "UnsupportedMediaTypeException". 160 // 161 // The content type of the Invoke request body is not JSON. 162 ErrCodeUnsupportedMediaTypeException = "UnsupportedMediaTypeException" 163) 164