bucketwarden-errors 0.1.0

BucketWarden S3 error catalogs and retry classification.
Documentation
&[
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.overmaxrecordsize",
        family: "select",
        code: "OverMaxRecordSize",
        status: 400,
        message: "The length of a record in the input or result is greater than the maxCharsPerRecord limit of 1 MB.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parquetparsingerror",
        family: "select",
        code: "ParquetParsingError",
        status: 400,
        message: "An error occurred while parsing the Parquet file. Check the file and try again.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parquetunsupportedcompressioncodec",
        family: "select",
        code: "ParquetUnsupportedCompressionCodec",
        status: 400,
        message: "The specified Parquet compression codec is not supported.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseasteriskisnotaloneinselectlist",
        family: "select",
        code: "ParseAsteriskIsNotAloneInSelectList",
        status: 400,
        message: "Other expressions are not allowed in the SELECT list when * is used without dot notation in the SQL expression.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parsecannotmixsqbandwildcardinselectlist",
        family: "select",
        code: "ParseCannotMixSqbAndWildcardInSelectList",
        status: 400,
        message: "Cannot mix [] and * in the same expression in a SELECT list in the SQL expression.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parsecastarity",
        family: "select",
        code: "ParseCastArity",
        status: 400,
        message: "The SQL expression CAST has incorrect arity.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseemptyselect",
        family: "select",
        code: "ParseEmptySelect",
        status: 400,
        message: "The SQL expression contains an empty SELECT clause.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpected2tokentypes",
        family: "select",
        code: "ParseExpected2TokenTypes",
        status: 400,
        message: "The expected token in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedargumentdelimiter",
        family: "select",
        code: "ParseExpectedArgumentDelimiter",
        status: 400,
        message: "The expected argument delimiter in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpecteddatepart",
        family: "select",
        code: "ParseExpectedDatePart",
        status: 400,
        message: "The expected date part in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedexpression",
        family: "select",
        code: "ParseExpectedExpression",
        status: 400,
        message: "The expected SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedidentforalias",
        family: "select",
        code: "ParseExpectedIdentForAlias",
        status: 400,
        message: "The expected identifier for the alias in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedidentforat",
        family: "select",
        code: "ParseExpectedIdentForAt",
        status: 400,
        message: "The expected identifier for AT name in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedidentforgroupname",
        family: "select",
        code: "ParseExpectedIdentForGroupName",
        status: 400,
        message: "GROUP is not supported in the SQL expression.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedkeyword",
        family: "select",
        code: "ParseExpectedKeyword",
        status: 400,
        message: "The expected keyword in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedleftparenaftercast",
        family: "select",
        code: "ParseExpectedLeftParenAfterCast",
        status: 400,
        message: "The expected left parenthesis after CAST in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedleftparenbuiltinfunctioncall",
        family: "select",
        code: "ParseExpectedLeftParenBuiltinFunctionCall",
        status: 400,
        message: "The expected left parenthesis in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedleftparenvalueconstructor",
        family: "select",
        code: "ParseExpectedLeftParenValueConstructor",
        status: 400,
        message: "The expected left parenthesis in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedmember",
        family: "select",
        code: "ParseExpectedMember",
        status: 400,
        message: "The SQL expression contains an unsupported use of MEMBER.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectednumber",
        family: "select",
        code: "ParseExpectedNumber",
        status: 400,
        message: "The expected number in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedrightparenbuiltinfunctioncall",
        family: "select",
        code: "ParseExpectedRightParenBuiltinFunctionCall",
        status: 400,
        message: "The expected right parenthesis character in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedtokentype",
        family: "select",
        code: "ParseExpectedTokenType",
        status: 400,
        message: "The expected token in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedtypename",
        family: "select",
        code: "ParseExpectedTypeName",
        status: 400,
        message: "The expected type name in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseexpectedwhenclause",
        family: "select",
        code: "ParseExpectedWhenClause",
        status: 400,
        message: "The expected WHEN clause in the SQL expression was not found. CASE is not supported.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseinvalidcontextforwildcardinselectlist",
        family: "select",
        code: "ParseInvalidContextForWildcardInSelectList",
        status: 400,
        message: "The use of * in the SELECT list in the SQL expression is not valid.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseinvalidpathcomponent",
        family: "select",
        code: "ParseInvalidPathComponent",
        status: 400,
        message: "The SQL expression contains a path component that is not valid.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseinvalidtypeparam",
        family: "select",
        code: "ParseInvalidTypeParam",
        status: 400,
        message: "The SQL expression contains a parameter value that is not valid.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parsemalformedjoin",
        family: "select",
        code: "ParseMalformedJoin",
        status: 400,
        message: "JOIN is not supported in the SQL expression.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parsemissingidentafterat",
        family: "select",
        code: "ParseMissingIdentAfterAt",
        status: 400,
        message: "The expected identifier after the @ symbol in the SQL expression was not found.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parsenonunaryagregatefunctioncall",
        family: "select",
        code: "ParseNonUnaryAgregateFunctionCall",
        status: 400,
        message: "Only one argument is supported for aggregate functions in the SQL expression.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseselectmissingfrom",
        family: "select",
        code: "ParseSelectMissingFrom",
        status: 400,
        message: "The SQL expression contains a missing FROM after the SELECT list.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunexpectedkeyword",
        family: "select",
        code: "ParseUnExpectedKeyword",
        status: 400,
        message: "The SQL expression contains an unexpected keyword.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunexpectedoperator",
        family: "select",
        code: "ParseUnexpectedOperator",
        status: 400,
        message: "The SQL expression contains an unexpected operator.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunexpectedterm",
        family: "select",
        code: "ParseUnexpectedTerm",
        status: 400,
        message: "The SQL expression contains an unexpected term.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunexpectedtoken",
        family: "select",
        code: "ParseUnexpectedToken",
        status: 400,
        message: "The SQL expression contains an unexpected token.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunknownoperator",
        family: "select",
        code: "ParseUnknownOperator",
        status: 400,
        message: "The SQL expression contains an operator that is not valid.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedalias",
        family: "select",
        code: "ParseUnsupportedAlias",
        status: 400,
        message: "The SQL expression contains an unsupported use of ALIAS.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedcallwithstar",
        family: "select",
        code: "ParseUnsupportedCallWithStar",
        status: 400,
        message: "Only COUNT with (*) as a parameter is supported in the SQL expression.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedcase",
        family: "select",
        code: "ParseUnsupportedCase",
        status: 400,
        message: "The SQL expression contains an unsupported use of CASE.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedcaseclause",
        family: "select",
        code: "ParseUnsupportedCaseClause",
        status: 400,
        message: "The SQL expression contains an unsupported use of CASE.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedliteralsgroupby",
        family: "select",
        code: "ParseUnsupportedLiteralsGroupBy",
        status: 400,
        message: "The SQL expression contains an unsupported use of GROUP BY.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedselect",
        family: "select",
        code: "ParseUnsupportedSelect",
        status: 400,
        message: "The SQL expression contains an unsupported use of SELECT.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedsyntax",
        family: "select",
        code: "ParseUnsupportedSyntax",
        status: 400,
        message: "The SQL expression contains unsupported syntax.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.parseunsupportedtoken",
        family: "select",
        code: "ParseUnsupportedToken",
        status: 400,
        message: "The SQL expression contains an unsupported token.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.truncatedinput",
        family: "select",
        code: "TruncatedInput",
        status: 400,
        message: "Object decompression failed. Check that the object is properly compressed using the format specified in the request.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unauthorizedaccess",
        family: "select",
        code: "UnauthorizedAccess",
        status: 401,
        message: "You are not authorized to perform this operation.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unrecognizedformatexception",
        family: "select",
        code: "UnrecognizedFormatException",
        status: 400,
        message: "We encountered a record type that is not valid.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unsupportedfunction",
        family: "select",
        code: "UnsupportedFunction",
        status: 400,
        message: "We encountered an unsupported SQL function.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unsupportedparquettype",
        family: "select",
        code: "UnsupportedParquetType",
        status: 400,
        message: "The specified Parquet type is not supported.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unsupportedrangeheader",
        family: "select",
        code: "UnsupportedRangeHeader",
        status: 400,
        message: "A range header is not supported for this operation.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unsupportedscanrangeinput",
        family: "select",
        code: "UnsupportedScanRangeInput",
        status: 400,
        message: "Scan range queries are not supported on this type of object.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unsupportedsqloperation",
        family: "select",
        code: "UnsupportedSqlOperation",
        status: 400,
        message: "We encountered an unsupported SQL operation.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unsupportedsqlstructure",
        family: "select",
        code: "UnsupportedSqlStructure",
        status: 400,
        message: "We encountered an unsupported SQL structure. Check the SQL Reference.",
    },
S3ServiceSpecificError {
        feature_id: "feat:bucketwarden.s3err.select.unsupportedstorageclass",
        family: "select",
        code: "UnsupportedStorageClass",
        status: 400,
        message: "We encountered a storage class that is not supported. Only STANDARD, STANDARD_IA, and ONEZONE_IA storage classes are supported.",
    },
]