minio/cmd/apierrorcode_string.go
Harshavardhana 95c65f4e8f
do not panic on rebalance during server restarts (#19563)
This PR makes a feasible approach to handle all the scenarios
that we must face to avoid returning "panic."

Instead, we must return "errServerNotInitialized" when a
bucketMetadataSys.Get() is called, allowing the caller to
retry their operation and wait.

Bonus fix the way data-usage-cache stores the object.
Instead of storing usage-cache.bin with the bucket as
`.minio.sys/buckets`, the `buckets` must be relative
to the bucket `.minio.sys` as part of the object name.

Otherwise, there is no way to decommission entries at
`.minio.sys/buckets` and their final erasure set positions.

A bucket must never have a `/` in it. Adds code to read()
from existing data-usage.bin upon upgrade.
2024-04-22 10:49:30 -07:00

348 lines
21 KiB
Go

// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
package cmd
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ErrNone-0]
_ = x[ErrAccessDenied-1]
_ = x[ErrBadDigest-2]
_ = x[ErrEntityTooSmall-3]
_ = x[ErrEntityTooLarge-4]
_ = x[ErrPolicyTooLarge-5]
_ = x[ErrIncompleteBody-6]
_ = x[ErrInternalError-7]
_ = x[ErrInvalidAccessKeyID-8]
_ = x[ErrAccessKeyDisabled-9]
_ = x[ErrInvalidArgument-10]
_ = x[ErrInvalidBucketName-11]
_ = x[ErrInvalidDigest-12]
_ = x[ErrInvalidRange-13]
_ = x[ErrInvalidRangePartNumber-14]
_ = x[ErrInvalidCopyPartRange-15]
_ = x[ErrInvalidCopyPartRangeSource-16]
_ = x[ErrInvalidMaxKeys-17]
_ = x[ErrInvalidEncodingMethod-18]
_ = x[ErrInvalidMaxUploads-19]
_ = x[ErrInvalidMaxParts-20]
_ = x[ErrInvalidPartNumberMarker-21]
_ = x[ErrInvalidPartNumber-22]
_ = x[ErrInvalidRequestBody-23]
_ = x[ErrInvalidCopySource-24]
_ = x[ErrInvalidMetadataDirective-25]
_ = x[ErrInvalidCopyDest-26]
_ = x[ErrInvalidPolicyDocument-27]
_ = x[ErrInvalidObjectState-28]
_ = x[ErrMalformedXML-29]
_ = x[ErrMissingContentLength-30]
_ = x[ErrMissingContentMD5-31]
_ = x[ErrMissingRequestBodyError-32]
_ = x[ErrMissingSecurityHeader-33]
_ = x[ErrNoSuchBucket-34]
_ = x[ErrNoSuchBucketPolicy-35]
_ = x[ErrNoSuchBucketLifecycle-36]
_ = x[ErrNoSuchLifecycleConfiguration-37]
_ = x[ErrInvalidLifecycleWithObjectLock-38]
_ = x[ErrNoSuchBucketSSEConfig-39]
_ = x[ErrNoSuchCORSConfiguration-40]
_ = x[ErrNoSuchWebsiteConfiguration-41]
_ = x[ErrReplicationConfigurationNotFoundError-42]
_ = x[ErrRemoteDestinationNotFoundError-43]
_ = x[ErrReplicationDestinationMissingLock-44]
_ = x[ErrRemoteTargetNotFoundError-45]
_ = x[ErrReplicationRemoteConnectionError-46]
_ = x[ErrReplicationBandwidthLimitError-47]
_ = x[ErrBucketRemoteIdenticalToSource-48]
_ = x[ErrBucketRemoteAlreadyExists-49]
_ = x[ErrBucketRemoteLabelInUse-50]
_ = x[ErrBucketRemoteArnTypeInvalid-51]
_ = x[ErrBucketRemoteArnInvalid-52]
_ = x[ErrBucketRemoteRemoveDisallowed-53]
_ = x[ErrRemoteTargetNotVersionedError-54]
_ = x[ErrReplicationSourceNotVersionedError-55]
_ = x[ErrReplicationNeedsVersioningError-56]
_ = x[ErrReplicationBucketNeedsVersioningError-57]
_ = x[ErrReplicationDenyEditError-58]
_ = x[ErrRemoteTargetDenyAddError-59]
_ = x[ErrReplicationNoExistingObjects-60]
_ = x[ErrReplicationValidationError-61]
_ = x[ErrReplicationPermissionCheckError-62]
_ = x[ErrObjectRestoreAlreadyInProgress-63]
_ = x[ErrNoSuchKey-64]
_ = x[ErrNoSuchUpload-65]
_ = x[ErrInvalidVersionID-66]
_ = x[ErrNoSuchVersion-67]
_ = x[ErrNotImplemented-68]
_ = x[ErrPreconditionFailed-69]
_ = x[ErrRequestTimeTooSkewed-70]
_ = x[ErrSignatureDoesNotMatch-71]
_ = x[ErrMethodNotAllowed-72]
_ = x[ErrInvalidPart-73]
_ = x[ErrInvalidPartOrder-74]
_ = x[ErrMissingPart-75]
_ = x[ErrAuthorizationHeaderMalformed-76]
_ = x[ErrMalformedPOSTRequest-77]
_ = x[ErrPOSTFileRequired-78]
_ = x[ErrSignatureVersionNotSupported-79]
_ = x[ErrBucketNotEmpty-80]
_ = x[ErrAllAccessDisabled-81]
_ = x[ErrPolicyInvalidVersion-82]
_ = x[ErrMissingFields-83]
_ = x[ErrMissingCredTag-84]
_ = x[ErrCredMalformed-85]
_ = x[ErrInvalidRegion-86]
_ = x[ErrInvalidServiceS3-87]
_ = x[ErrInvalidServiceSTS-88]
_ = x[ErrInvalidRequestVersion-89]
_ = x[ErrMissingSignTag-90]
_ = x[ErrMissingSignHeadersTag-91]
_ = x[ErrMalformedDate-92]
_ = x[ErrMalformedPresignedDate-93]
_ = x[ErrMalformedCredentialDate-94]
_ = x[ErrMalformedExpires-95]
_ = x[ErrNegativeExpires-96]
_ = x[ErrAuthHeaderEmpty-97]
_ = x[ErrExpiredPresignRequest-98]
_ = x[ErrRequestNotReadyYet-99]
_ = x[ErrUnsignedHeaders-100]
_ = x[ErrMissingDateHeader-101]
_ = x[ErrInvalidQuerySignatureAlgo-102]
_ = x[ErrInvalidQueryParams-103]
_ = x[ErrBucketAlreadyOwnedByYou-104]
_ = x[ErrInvalidDuration-105]
_ = x[ErrBucketAlreadyExists-106]
_ = x[ErrMetadataTooLarge-107]
_ = x[ErrUnsupportedMetadata-108]
_ = x[ErrUnsupportedHostHeader-109]
_ = x[ErrMaximumExpires-110]
_ = x[ErrSlowDownRead-111]
_ = x[ErrSlowDownWrite-112]
_ = x[ErrMaxVersionsExceeded-113]
_ = x[ErrInvalidPrefixMarker-114]
_ = x[ErrBadRequest-115]
_ = x[ErrKeyTooLongError-116]
_ = x[ErrInvalidBucketObjectLockConfiguration-117]
_ = x[ErrObjectLockConfigurationNotFound-118]
_ = x[ErrObjectLockConfigurationNotAllowed-119]
_ = x[ErrNoSuchObjectLockConfiguration-120]
_ = x[ErrObjectLocked-121]
_ = x[ErrInvalidRetentionDate-122]
_ = x[ErrPastObjectLockRetainDate-123]
_ = x[ErrUnknownWORMModeDirective-124]
_ = x[ErrBucketTaggingNotFound-125]
_ = x[ErrObjectLockInvalidHeaders-126]
_ = x[ErrInvalidTagDirective-127]
_ = x[ErrPolicyAlreadyAttached-128]
_ = x[ErrPolicyNotAttached-129]
_ = x[ErrExcessData-130]
_ = x[ErrInvalidEncryptionMethod-131]
_ = x[ErrInvalidEncryptionKeyID-132]
_ = x[ErrInsecureSSECustomerRequest-133]
_ = x[ErrSSEMultipartEncrypted-134]
_ = x[ErrSSEEncryptedObject-135]
_ = x[ErrInvalidEncryptionParameters-136]
_ = x[ErrInvalidEncryptionParametersSSEC-137]
_ = x[ErrInvalidSSECustomerAlgorithm-138]
_ = x[ErrInvalidSSECustomerKey-139]
_ = x[ErrMissingSSECustomerKey-140]
_ = x[ErrMissingSSECustomerKeyMD5-141]
_ = x[ErrSSECustomerKeyMD5Mismatch-142]
_ = x[ErrInvalidSSECustomerParameters-143]
_ = x[ErrIncompatibleEncryptionMethod-144]
_ = x[ErrKMSNotConfigured-145]
_ = x[ErrKMSKeyNotFoundException-146]
_ = x[ErrKMSDefaultKeyAlreadyConfigured-147]
_ = x[ErrNoAccessKey-148]
_ = x[ErrInvalidToken-149]
_ = x[ErrEventNotification-150]
_ = x[ErrARNNotification-151]
_ = x[ErrRegionNotification-152]
_ = x[ErrOverlappingFilterNotification-153]
_ = x[ErrFilterNameInvalid-154]
_ = x[ErrFilterNamePrefix-155]
_ = x[ErrFilterNameSuffix-156]
_ = x[ErrFilterValueInvalid-157]
_ = x[ErrOverlappingConfigs-158]
_ = x[ErrUnsupportedNotification-159]
_ = x[ErrContentSHA256Mismatch-160]
_ = x[ErrContentChecksumMismatch-161]
_ = x[ErrStorageFull-162]
_ = x[ErrRequestBodyParse-163]
_ = x[ErrObjectExistsAsDirectory-164]
_ = x[ErrInvalidObjectName-165]
_ = x[ErrInvalidObjectNamePrefixSlash-166]
_ = x[ErrInvalidResourceName-167]
_ = x[ErrInvalidLifecycleQueryParameter-168]
_ = x[ErrServerNotInitialized-169]
_ = x[ErrBucketMetadataNotInitialized-170]
_ = x[ErrRequestTimedout-171]
_ = x[ErrClientDisconnected-172]
_ = x[ErrTooManyRequests-173]
_ = x[ErrInvalidRequest-174]
_ = x[ErrTransitionStorageClassNotFoundError-175]
_ = x[ErrInvalidStorageClass-176]
_ = x[ErrBackendDown-177]
_ = x[ErrMalformedJSON-178]
_ = x[ErrAdminNoSuchUser-179]
_ = x[ErrAdminNoSuchUserLDAPWarn-180]
_ = x[ErrAdminLDAPExpectedLoginName-181]
_ = x[ErrAdminNoSuchGroup-182]
_ = x[ErrAdminGroupNotEmpty-183]
_ = x[ErrAdminGroupDisabled-184]
_ = x[ErrAdminNoSuchJob-185]
_ = x[ErrAdminNoSuchPolicy-186]
_ = x[ErrAdminPolicyChangeAlreadyApplied-187]
_ = x[ErrAdminInvalidArgument-188]
_ = x[ErrAdminInvalidAccessKey-189]
_ = x[ErrAdminInvalidSecretKey-190]
_ = x[ErrAdminConfigNoQuorum-191]
_ = x[ErrAdminConfigTooLarge-192]
_ = x[ErrAdminConfigBadJSON-193]
_ = x[ErrAdminNoSuchConfigTarget-194]
_ = x[ErrAdminConfigEnvOverridden-195]
_ = x[ErrAdminConfigDuplicateKeys-196]
_ = x[ErrAdminConfigInvalidIDPType-197]
_ = x[ErrAdminConfigLDAPNonDefaultConfigName-198]
_ = x[ErrAdminConfigLDAPValidation-199]
_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-200]
_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-201]
_ = x[ErrInsecureClientRequest-202]
_ = x[ErrObjectTampered-203]
_ = x[ErrAdminLDAPNotEnabled-204]
_ = x[ErrSiteReplicationInvalidRequest-205]
_ = x[ErrSiteReplicationPeerResp-206]
_ = x[ErrSiteReplicationBackendIssue-207]
_ = x[ErrSiteReplicationServiceAccountError-208]
_ = x[ErrSiteReplicationBucketConfigError-209]
_ = x[ErrSiteReplicationBucketMetaError-210]
_ = x[ErrSiteReplicationIAMError-211]
_ = x[ErrSiteReplicationConfigMissing-212]
_ = x[ErrSiteReplicationIAMConfigMismatch-213]
_ = x[ErrAdminRebalanceAlreadyStarted-214]
_ = x[ErrAdminRebalanceNotStarted-215]
_ = x[ErrAdminBucketQuotaExceeded-216]
_ = x[ErrAdminNoSuchQuotaConfiguration-217]
_ = x[ErrHealNotImplemented-218]
_ = x[ErrHealNoSuchProcess-219]
_ = x[ErrHealInvalidClientToken-220]
_ = x[ErrHealMissingBucket-221]
_ = x[ErrHealAlreadyRunning-222]
_ = x[ErrHealOverlappingPaths-223]
_ = x[ErrIncorrectContinuationToken-224]
_ = x[ErrEmptyRequestBody-225]
_ = x[ErrUnsupportedFunction-226]
_ = x[ErrInvalidExpressionType-227]
_ = x[ErrBusy-228]
_ = x[ErrUnauthorizedAccess-229]
_ = x[ErrExpressionTooLong-230]
_ = x[ErrIllegalSQLFunctionArgument-231]
_ = x[ErrInvalidKeyPath-232]
_ = x[ErrInvalidCompressionFormat-233]
_ = x[ErrInvalidFileHeaderInfo-234]
_ = x[ErrInvalidJSONType-235]
_ = x[ErrInvalidQuoteFields-236]
_ = x[ErrInvalidRequestParameter-237]
_ = x[ErrInvalidDataType-238]
_ = x[ErrInvalidTextEncoding-239]
_ = x[ErrInvalidDataSource-240]
_ = x[ErrInvalidTableAlias-241]
_ = x[ErrMissingRequiredParameter-242]
_ = x[ErrObjectSerializationConflict-243]
_ = x[ErrUnsupportedSQLOperation-244]
_ = x[ErrUnsupportedSQLStructure-245]
_ = x[ErrUnsupportedSyntax-246]
_ = x[ErrUnsupportedRangeHeader-247]
_ = x[ErrLexerInvalidChar-248]
_ = x[ErrLexerInvalidOperator-249]
_ = x[ErrLexerInvalidLiteral-250]
_ = x[ErrLexerInvalidIONLiteral-251]
_ = x[ErrParseExpectedDatePart-252]
_ = x[ErrParseExpectedKeyword-253]
_ = x[ErrParseExpectedTokenType-254]
_ = x[ErrParseExpected2TokenTypes-255]
_ = x[ErrParseExpectedNumber-256]
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-257]
_ = x[ErrParseExpectedTypeName-258]
_ = x[ErrParseExpectedWhenClause-259]
_ = x[ErrParseUnsupportedToken-260]
_ = x[ErrParseUnsupportedLiteralsGroupBy-261]
_ = x[ErrParseExpectedMember-262]
_ = x[ErrParseUnsupportedSelect-263]
_ = x[ErrParseUnsupportedCase-264]
_ = x[ErrParseUnsupportedCaseClause-265]
_ = x[ErrParseUnsupportedAlias-266]
_ = x[ErrParseUnsupportedSyntax-267]
_ = x[ErrParseUnknownOperator-268]
_ = x[ErrParseMissingIdentAfterAt-269]
_ = x[ErrParseUnexpectedOperator-270]
_ = x[ErrParseUnexpectedTerm-271]
_ = x[ErrParseUnexpectedToken-272]
_ = x[ErrParseUnexpectedKeyword-273]
_ = x[ErrParseExpectedExpression-274]
_ = x[ErrParseExpectedLeftParenAfterCast-275]
_ = x[ErrParseExpectedLeftParenValueConstructor-276]
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-277]
_ = x[ErrParseExpectedArgumentDelimiter-278]
_ = x[ErrParseCastArity-279]
_ = x[ErrParseInvalidTypeParam-280]
_ = x[ErrParseEmptySelect-281]
_ = x[ErrParseSelectMissingFrom-282]
_ = x[ErrParseExpectedIdentForGroupName-283]
_ = x[ErrParseExpectedIdentForAlias-284]
_ = x[ErrParseUnsupportedCallWithStar-285]
_ = x[ErrParseNonUnaryAggregateFunctionCall-286]
_ = x[ErrParseMalformedJoin-287]
_ = x[ErrParseExpectedIdentForAt-288]
_ = x[ErrParseAsteriskIsNotAloneInSelectList-289]
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-290]
_ = x[ErrParseInvalidContextForWildcardInSelectList-291]
_ = x[ErrIncorrectSQLFunctionArgumentType-292]
_ = x[ErrValueParseFailure-293]
_ = x[ErrEvaluatorInvalidArguments-294]
_ = x[ErrIntegerOverflow-295]
_ = x[ErrLikeInvalidInputs-296]
_ = x[ErrCastFailed-297]
_ = x[ErrInvalidCast-298]
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-299]
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-300]
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-301]
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-302]
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-303]
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-304]
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-305]
_ = x[ErrEvaluatorBindingDoesNotExist-306]
_ = x[ErrMissingHeaders-307]
_ = x[ErrInvalidColumnIndex-308]
_ = x[ErrAdminConfigNotificationTargetsFailed-309]
_ = x[ErrAdminProfilerNotEnabled-310]
_ = x[ErrInvalidDecompressedSize-311]
_ = x[ErrAddUserInvalidArgument-312]
_ = x[ErrAdminResourceInvalidArgument-313]
_ = x[ErrAdminAccountNotEligible-314]
_ = x[ErrAccountNotEligible-315]
_ = x[ErrAdminServiceAccountNotFound-316]
_ = x[ErrPostPolicyConditionInvalidFormat-317]
_ = x[ErrInvalidChecksum-318]
_ = x[ErrLambdaARNInvalid-319]
_ = x[ErrLambdaARNNotFound-320]
_ = x[ErrInvalidAttributeName-321]
_ = x[ErrAdminNoAccessKey-322]
_ = x[ErrAdminNoSecretKey-323]
_ = x[apiErrCodeEnd-324]
}
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidArgumentInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorRemoteTargetDenyAddErrorReplicationNoExistingObjectsReplicationValidationErrorReplicationPermissionCheckErrorObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderMissingPartAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataUnsupportedHostHeaderMaximumExpiresSlowDownReadSlowDownWriteMaxVersionsExceededInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedExcessDataInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionKMSDefaultKeyAlreadyConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameInvalidLifecycleQueryParameterServerNotInitializedBucketMetadataNotInitializedRequestTimedoutClientDisconnectedTooManyRequestsInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchUserLDAPWarnAdminLDAPExpectedLoginNameAdminNoSuchGroupAdminGroupNotEmptyAdminGroupDisabledAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPNonDefaultConfigNameAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfgNameDoesNotExistInsecureClientRequestObjectTamperedAdminLDAPNotEnabledSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteReplicationServiceAccountErrorSiteReplicationBucketConfigErrorSiteReplicationBucketMetaErrorSiteReplicationIAMErrorSiteReplicationConfigMissingSiteReplicationIAMConfigMismatchAdminRebalanceAlreadyStartedAdminRebalanceNotStartedAdminBucketQuotaExceededAdminNoSuchQuotaConfigurationHealNotImplementedHealNoSuchProcessHealInvalidClientTokenHealMissingBucketHealAlreadyRunningHealOverlappingPathsIncorrectContinuationTokenEmptyRequestBodyUnsupportedFunctionInvalidExpressionTypeBusyUnauthorizedAccessExpressionTooLongIllegalSQLFunctionArgumentInvalidKeyPathInvalidCompressionFormatInvalidFileHeaderInfoInvalidJSONTypeInvalidQuoteFieldsInvalidRequestParameterInvalidDataTypeInvalidTextEncodingInvalidDataSourceInvalidTableAliasMissingRequiredParameterObjectSerializationConflictUnsupportedSQLOperationUnsupportedSQLStructureUnsupportedSyntaxUnsupportedRangeHeaderLexerInvalidCharLexerInvalidOperatorLexerInvalidLiteralLexerInvalidIONLiteralParseExpectedDatePartParseExpectedKeywordParseExpectedTokenTypeParseExpected2TokenTypesParseExpectedNumberParseExpectedRightParenBuiltinFunctionCallParseExpectedTypeNameParseExpectedWhenClauseParseUnsupportedTokenParseUnsupportedLiteralsGroupByParseExpectedMemberParseUnsupportedSelectParseUnsupportedCaseParseUnsupportedCaseClauseParseUnsupportedAliasParseUnsupportedSyntaxParseUnknownOperatorParseMissingIdentAfterAtParseUnexpectedOperatorParseUnexpectedTermParseUnexpectedTokenParseUnexpectedKeywordParseExpectedExpressionParseExpectedLeftParenAfterCastParseExpectedLeftParenValueConstructorParseExpectedLeftParenBuiltinFunctionCallParseExpectedArgumentDelimiterParseCastArityParseInvalidTypeParamParseEmptySelectParseSelectMissingFromParseExpectedIdentForGroupNameParseExpectedIdentForAliasParseUnsupportedCallWithStarParseNonUnaryAggregateFunctionCallParseMalformedJoinParseExpectedIdentForAtParseAsteriskIsNotAloneInSelectListParseCannotMixSqbAndWildcardInSelectListParseInvalidContextForWildcardInSelectListIncorrectSQLFunctionArgumentTypeValueParseFailureEvaluatorInvalidArgumentsIntegerOverflowLikeInvalidInputsCastFailedInvalidCastEvaluatorInvalidTimestampFormatPatternEvaluatorInvalidTimestampFormatPatternSymbolForParsingEvaluatorTimestampFormatPatternDuplicateFieldsEvaluatorTimestampFormatPatternHourClockAmPmMismatchEvaluatorUnterminatedTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternTokenEvaluatorInvalidTimestampFormatPatternSymbolEvaluatorBindingDoesNotExistMissingHeadersInvalidColumnIndexAdminConfigNotificationTargetsFailedAdminProfilerNotEnabledInvalidDecompressedSizeAddUserInvalidArgumentAdminResourceInvalidArgumentAdminAccountNotEligibleAccountNotEligibleAdminServiceAccountNotFoundPostPolicyConditionInvalidFormatInvalidChecksumLambdaARNInvalidLambdaARNNotFoundInvalidAttributeNameAdminNoAccessKeyAdminNoSecretKeyapiErrCodeEnd"
var _APIErrorCode_index = [...]uint16{0, 4, 16, 25, 39, 53, 67, 81, 94, 112, 129, 144, 161, 174, 186, 208, 228, 254, 268, 289, 306, 321, 344, 361, 379, 396, 420, 435, 456, 474, 486, 506, 523, 546, 567, 579, 597, 618, 646, 676, 697, 720, 746, 783, 813, 846, 871, 903, 933, 962, 987, 1009, 1035, 1057, 1085, 1114, 1148, 1179, 1216, 1240, 1264, 1292, 1318, 1349, 1379, 1388, 1400, 1416, 1429, 1443, 1461, 1481, 1502, 1518, 1529, 1545, 1556, 1584, 1604, 1620, 1648, 1662, 1679, 1699, 1712, 1726, 1739, 1752, 1768, 1785, 1806, 1820, 1841, 1854, 1876, 1899, 1915, 1930, 1945, 1966, 1984, 1999, 2016, 2041, 2059, 2082, 2097, 2116, 2132, 2151, 2172, 2186, 2198, 2211, 2230, 2249, 2259, 2274, 2310, 2341, 2374, 2403, 2415, 2435, 2459, 2483, 2504, 2528, 2547, 2568, 2585, 2595, 2618, 2640, 2666, 2687, 2705, 2732, 2763, 2790, 2811, 2832, 2856, 2881, 2909, 2937, 2953, 2976, 3006, 3017, 3029, 3046, 3061, 3079, 3108, 3125, 3141, 3157, 3175, 3193, 3216, 3237, 3260, 3271, 3287, 3310, 3327, 3355, 3374, 3404, 3424, 3452, 3467, 3485, 3500, 3514, 3549, 3568, 3579, 3592, 3607, 3630, 3656, 3672, 3690, 3708, 3722, 3739, 3770, 3790, 3811, 3832, 3851, 3870, 3888, 3911, 3935, 3959, 3984, 4019, 4044, 4078, 4111, 4132, 4146, 4165, 4194, 4217, 4244, 4278, 4310, 4340, 4363, 4391, 4423, 4451, 4475, 4499, 4528, 4546, 4563, 4585, 4602, 4620, 4640, 4666, 4682, 4701, 4722, 4726, 4744, 4761, 4787, 4801, 4825, 4846, 4861, 4879, 4902, 4917, 4936, 4953, 4970, 4994, 5021, 5044, 5067, 5084, 5106, 5122, 5142, 5161, 5183, 5204, 5224, 5246, 5270, 5289, 5331, 5352, 5375, 5396, 5427, 5446, 5468, 5488, 5514, 5535, 5557, 5577, 5601, 5624, 5643, 5663, 5685, 5708, 5739, 5777, 5818, 5848, 5862, 5883, 5899, 5921, 5951, 5977, 6005, 6039, 6057, 6080, 6115, 6155, 6197, 6229, 6246, 6271, 6286, 6303, 6313, 6324, 6362, 6416, 6462, 6514, 6562, 6605, 6649, 6677, 6691, 6709, 6745, 6768, 6791, 6813, 6841, 6864, 6882, 6909, 6941, 6956, 6972, 6989, 7009, 7025, 7041, 7054}
func (i APIErrorCode) String() string {
if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {
return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
}