1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package lexruntimeservice 4 5const ( 6 7 // ErrCodeBadGatewayException for service response error code 8 // "BadGatewayException". 9 // 10 // Either the Amazon Lex bot is still building, or one of the dependent services 11 // (Amazon Polly, AWS Lambda) failed with an internal service error. 12 ErrCodeBadGatewayException = "BadGatewayException" 13 14 // ErrCodeBadRequestException for service response error code 15 // "BadRequestException". 16 // 17 // Request validation failed, there is no usable message in the context, or 18 // the bot build failed, is still in progress, or contains unbuilt changes. 19 ErrCodeBadRequestException = "BadRequestException" 20 21 // ErrCodeConflictException for service response error code 22 // "ConflictException". 23 // 24 // Two clients are using the same AWS account, Amazon Lex bot, and user ID. 25 ErrCodeConflictException = "ConflictException" 26 27 // ErrCodeDependencyFailedException for service response error code 28 // "DependencyFailedException". 29 // 30 // One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. 31 // For example, 32 // 33 // * If Amazon Lex does not have sufficient permissions to call a Lambda 34 // function. 35 // 36 // * If a Lambda function takes longer than 30 seconds to execute. 37 // 38 // * If a fulfillment Lambda function returns a Delegate dialog action without 39 // removing any slot values. 40 ErrCodeDependencyFailedException = "DependencyFailedException" 41 42 // ErrCodeInternalFailureException for service response error code 43 // "InternalFailureException". 44 // 45 // Internal service error. Retry the call. 46 ErrCodeInternalFailureException = "InternalFailureException" 47 48 // ErrCodeLimitExceededException for service response error code 49 // "LimitExceededException". 50 // 51 // Exceeded a limit. 52 ErrCodeLimitExceededException = "LimitExceededException" 53 54 // ErrCodeLoopDetectedException for service response error code 55 // "LoopDetectedException". 56 // 57 // This exception is not used. 58 ErrCodeLoopDetectedException = "LoopDetectedException" 59 60 // ErrCodeNotAcceptableException for service response error code 61 // "NotAcceptableException". 62 // 63 // The accept header in the request does not have a valid value. 64 ErrCodeNotAcceptableException = "NotAcceptableException" 65 66 // ErrCodeNotFoundException for service response error code 67 // "NotFoundException". 68 // 69 // The resource (such as the Amazon Lex bot or an alias) that is referred to 70 // is not found. 71 ErrCodeNotFoundException = "NotFoundException" 72 73 // ErrCodeRequestTimeoutException for service response error code 74 // "RequestTimeoutException". 75 // 76 // The input speech is too long. 77 ErrCodeRequestTimeoutException = "RequestTimeoutException" 78 79 // ErrCodeUnsupportedMediaTypeException for service response error code 80 // "UnsupportedMediaTypeException". 81 // 82 // The Content-Type header (PostContent API) has an invalid value. 83 ErrCodeUnsupportedMediaTypeException = "UnsupportedMediaTypeException" 84) 85