2024-02-13 11:01:38 -05:00
|
|
|
// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
|
2021-03-31 12:30:52 -04:00
|
|
|
|
|
|
|
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]
|
2021-12-22 14:40:21 -05:00
|
|
|
_ = x[ErrAccessKeyDisabled-9]
|
2023-06-12 16:22:07 -04:00
|
|
|
_ = 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]
|
2023-07-10 23:09:20 -04:00
|
|
|
_ = 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]
|
2023-08-04 13:40:21 -04:00
|
|
|
_ = 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[ErrRequestTimedout-170]
|
|
|
|
_ = x[ErrClientDisconnected-171]
|
|
|
|
_ = x[ErrTooManyRequests-172]
|
|
|
|
_ = x[ErrInvalidRequest-173]
|
|
|
|
_ = x[ErrTransitionStorageClassNotFoundError-174]
|
|
|
|
_ = x[ErrInvalidStorageClass-175]
|
|
|
|
_ = x[ErrBackendDown-176]
|
|
|
|
_ = x[ErrMalformedJSON-177]
|
|
|
|
_ = x[ErrAdminNoSuchUser-178]
|
|
|
|
_ = x[ErrAdminNoSuchUserLDAPWarn-179]
|
2024-04-06 01:26:02 -04:00
|
|
|
_ = x[ErrAdminLDAPExpectedLoginName-180]
|
|
|
|
_ = x[ErrAdminNoSuchGroup-181]
|
|
|
|
_ = x[ErrAdminGroupNotEmpty-182]
|
|
|
|
_ = x[ErrAdminGroupDisabled-183]
|
|
|
|
_ = x[ErrAdminNoSuchJob-184]
|
|
|
|
_ = x[ErrAdminNoSuchPolicy-185]
|
|
|
|
_ = x[ErrAdminPolicyChangeAlreadyApplied-186]
|
|
|
|
_ = x[ErrAdminInvalidArgument-187]
|
|
|
|
_ = x[ErrAdminInvalidAccessKey-188]
|
|
|
|
_ = x[ErrAdminInvalidSecretKey-189]
|
|
|
|
_ = x[ErrAdminConfigNoQuorum-190]
|
|
|
|
_ = x[ErrAdminConfigTooLarge-191]
|
|
|
|
_ = x[ErrAdminConfigBadJSON-192]
|
|
|
|
_ = x[ErrAdminNoSuchConfigTarget-193]
|
|
|
|
_ = x[ErrAdminConfigEnvOverridden-194]
|
|
|
|
_ = x[ErrAdminConfigDuplicateKeys-195]
|
|
|
|
_ = x[ErrAdminConfigInvalidIDPType-196]
|
|
|
|
_ = x[ErrAdminConfigLDAPNonDefaultConfigName-197]
|
|
|
|
_ = x[ErrAdminConfigLDAPValidation-198]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-199]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-200]
|
|
|
|
_ = x[ErrInsecureClientRequest-201]
|
|
|
|
_ = x[ErrObjectTampered-202]
|
|
|
|
_ = x[ErrAdminLDAPNotEnabled-203]
|
|
|
|
_ = x[ErrSiteReplicationInvalidRequest-204]
|
|
|
|
_ = x[ErrSiteReplicationPeerResp-205]
|
|
|
|
_ = x[ErrSiteReplicationBackendIssue-206]
|
|
|
|
_ = x[ErrSiteReplicationServiceAccountError-207]
|
|
|
|
_ = x[ErrSiteReplicationBucketConfigError-208]
|
|
|
|
_ = x[ErrSiteReplicationBucketMetaError-209]
|
|
|
|
_ = x[ErrSiteReplicationIAMError-210]
|
|
|
|
_ = x[ErrSiteReplicationConfigMissing-211]
|
|
|
|
_ = x[ErrSiteReplicationIAMConfigMismatch-212]
|
|
|
|
_ = x[ErrAdminRebalanceAlreadyStarted-213]
|
|
|
|
_ = x[ErrAdminRebalanceNotStarted-214]
|
|
|
|
_ = x[ErrAdminBucketQuotaExceeded-215]
|
|
|
|
_ = x[ErrAdminNoSuchQuotaConfiguration-216]
|
|
|
|
_ = x[ErrHealNotImplemented-217]
|
|
|
|
_ = x[ErrHealNoSuchProcess-218]
|
|
|
|
_ = x[ErrHealInvalidClientToken-219]
|
|
|
|
_ = x[ErrHealMissingBucket-220]
|
|
|
|
_ = x[ErrHealAlreadyRunning-221]
|
|
|
|
_ = x[ErrHealOverlappingPaths-222]
|
|
|
|
_ = x[ErrIncorrectContinuationToken-223]
|
|
|
|
_ = x[ErrEmptyRequestBody-224]
|
|
|
|
_ = x[ErrUnsupportedFunction-225]
|
|
|
|
_ = x[ErrInvalidExpressionType-226]
|
|
|
|
_ = x[ErrBusy-227]
|
|
|
|
_ = x[ErrUnauthorizedAccess-228]
|
|
|
|
_ = x[ErrExpressionTooLong-229]
|
|
|
|
_ = x[ErrIllegalSQLFunctionArgument-230]
|
|
|
|
_ = x[ErrInvalidKeyPath-231]
|
|
|
|
_ = x[ErrInvalidCompressionFormat-232]
|
|
|
|
_ = x[ErrInvalidFileHeaderInfo-233]
|
|
|
|
_ = x[ErrInvalidJSONType-234]
|
|
|
|
_ = x[ErrInvalidQuoteFields-235]
|
|
|
|
_ = x[ErrInvalidRequestParameter-236]
|
|
|
|
_ = x[ErrInvalidDataType-237]
|
|
|
|
_ = x[ErrInvalidTextEncoding-238]
|
|
|
|
_ = x[ErrInvalidDataSource-239]
|
|
|
|
_ = x[ErrInvalidTableAlias-240]
|
|
|
|
_ = x[ErrMissingRequiredParameter-241]
|
|
|
|
_ = x[ErrObjectSerializationConflict-242]
|
|
|
|
_ = x[ErrUnsupportedSQLOperation-243]
|
|
|
|
_ = x[ErrUnsupportedSQLStructure-244]
|
|
|
|
_ = x[ErrUnsupportedSyntax-245]
|
|
|
|
_ = x[ErrUnsupportedRangeHeader-246]
|
|
|
|
_ = x[ErrLexerInvalidChar-247]
|
|
|
|
_ = x[ErrLexerInvalidOperator-248]
|
|
|
|
_ = x[ErrLexerInvalidLiteral-249]
|
|
|
|
_ = x[ErrLexerInvalidIONLiteral-250]
|
|
|
|
_ = x[ErrParseExpectedDatePart-251]
|
|
|
|
_ = x[ErrParseExpectedKeyword-252]
|
|
|
|
_ = x[ErrParseExpectedTokenType-253]
|
|
|
|
_ = x[ErrParseExpected2TokenTypes-254]
|
|
|
|
_ = x[ErrParseExpectedNumber-255]
|
|
|
|
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-256]
|
|
|
|
_ = x[ErrParseExpectedTypeName-257]
|
|
|
|
_ = x[ErrParseExpectedWhenClause-258]
|
|
|
|
_ = x[ErrParseUnsupportedToken-259]
|
|
|
|
_ = x[ErrParseUnsupportedLiteralsGroupBy-260]
|
|
|
|
_ = x[ErrParseExpectedMember-261]
|
|
|
|
_ = x[ErrParseUnsupportedSelect-262]
|
|
|
|
_ = x[ErrParseUnsupportedCase-263]
|
|
|
|
_ = x[ErrParseUnsupportedCaseClause-264]
|
|
|
|
_ = x[ErrParseUnsupportedAlias-265]
|
|
|
|
_ = x[ErrParseUnsupportedSyntax-266]
|
|
|
|
_ = x[ErrParseUnknownOperator-267]
|
|
|
|
_ = x[ErrParseMissingIdentAfterAt-268]
|
|
|
|
_ = x[ErrParseUnexpectedOperator-269]
|
|
|
|
_ = x[ErrParseUnexpectedTerm-270]
|
|
|
|
_ = x[ErrParseUnexpectedToken-271]
|
|
|
|
_ = x[ErrParseUnexpectedKeyword-272]
|
|
|
|
_ = x[ErrParseExpectedExpression-273]
|
|
|
|
_ = x[ErrParseExpectedLeftParenAfterCast-274]
|
|
|
|
_ = x[ErrParseExpectedLeftParenValueConstructor-275]
|
|
|
|
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-276]
|
|
|
|
_ = x[ErrParseExpectedArgumentDelimiter-277]
|
|
|
|
_ = x[ErrParseCastArity-278]
|
|
|
|
_ = x[ErrParseInvalidTypeParam-279]
|
|
|
|
_ = x[ErrParseEmptySelect-280]
|
|
|
|
_ = x[ErrParseSelectMissingFrom-281]
|
|
|
|
_ = x[ErrParseExpectedIdentForGroupName-282]
|
|
|
|
_ = x[ErrParseExpectedIdentForAlias-283]
|
|
|
|
_ = x[ErrParseUnsupportedCallWithStar-284]
|
|
|
|
_ = x[ErrParseNonUnaryAggregateFunctionCall-285]
|
|
|
|
_ = x[ErrParseMalformedJoin-286]
|
|
|
|
_ = x[ErrParseExpectedIdentForAt-287]
|
|
|
|
_ = x[ErrParseAsteriskIsNotAloneInSelectList-288]
|
|
|
|
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-289]
|
|
|
|
_ = x[ErrParseInvalidContextForWildcardInSelectList-290]
|
|
|
|
_ = x[ErrIncorrectSQLFunctionArgumentType-291]
|
|
|
|
_ = x[ErrValueParseFailure-292]
|
|
|
|
_ = x[ErrEvaluatorInvalidArguments-293]
|
|
|
|
_ = x[ErrIntegerOverflow-294]
|
|
|
|
_ = x[ErrLikeInvalidInputs-295]
|
|
|
|
_ = x[ErrCastFailed-296]
|
|
|
|
_ = x[ErrInvalidCast-297]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-298]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-299]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-300]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-301]
|
|
|
|
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-302]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-303]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-304]
|
|
|
|
_ = x[ErrEvaluatorBindingDoesNotExist-305]
|
|
|
|
_ = x[ErrMissingHeaders-306]
|
|
|
|
_ = x[ErrInvalidColumnIndex-307]
|
|
|
|
_ = x[ErrAdminConfigNotificationTargetsFailed-308]
|
|
|
|
_ = x[ErrAdminProfilerNotEnabled-309]
|
|
|
|
_ = x[ErrInvalidDecompressedSize-310]
|
|
|
|
_ = x[ErrAddUserInvalidArgument-311]
|
|
|
|
_ = x[ErrAdminResourceInvalidArgument-312]
|
|
|
|
_ = x[ErrAdminAccountNotEligible-313]
|
|
|
|
_ = x[ErrAccountNotEligible-314]
|
|
|
|
_ = x[ErrAdminServiceAccountNotFound-315]
|
|
|
|
_ = x[ErrPostPolicyConditionInvalidFormat-316]
|
|
|
|
_ = x[ErrInvalidChecksum-317]
|
|
|
|
_ = x[ErrLambdaARNInvalid-318]
|
|
|
|
_ = x[ErrLambdaARNNotFound-319]
|
|
|
|
_ = x[ErrInvalidAttributeName-320]
|
|
|
|
_ = x[ErrAdminNoAccessKey-321]
|
|
|
|
_ = x[ErrAdminNoSecretKey-322]
|
|
|
|
_ = x[apiErrCodeEnd-323]
|
2021-03-31 12:30:52 -04:00
|
|
|
}
|
|
|
|
|
2024-04-06 02:44:30 -04:00
|
|
|
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidArgumentInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorRemoteTargetDenyAddErrorReplicationNoExistingObjectsReplicationValidationErrorReplicationPermissionCheckErrorObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderMissingPartAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataUnsupportedHostHeaderMaximumExpiresSlowDownReadSlowDownWriteMaxVersionsExceededInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedExcessDataInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionKMSDefaultKeyAlreadyConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameInvalidLifecycleQueryParameterServerNotInitializedRequestTimedoutClientDisconnectedTooManyRequestsInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchUserLDAPWarnAdminLDAPExpectedLoginNameAdminNoSuchGroupAdminGroupNotEmptyAdminGroupDisabledAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPNonDefaultConfigNameAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfg
|
2021-03-31 12:30:52 -04:00
|
|
|
|
2024-04-06 01:26:02 -04:00
|
|
|
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, 3439, 3457, 3472, 3486, 3521, 3540, 3551, 3564, 3579, 3602, 3628, 3644, 3662, 3680, 3694, 3711, 3742, 3762, 3783, 3804, 3823, 3842, 3860, 3883, 3907, 3931, 3956, 3991, 4016, 4050, 4083, 4104, 4118, 4137, 4166, 4189, 4216, 4250, 4282, 4312, 4335, 4363, 4395, 4423, 4447, 4471, 4500, 4518, 4535, 4557, 4574, 4592, 4612, 4638, 4654, 4673, 4694, 4698, 4716, 4733, 4759, 4773, 4797, 4818, 4833, 4851, 4874, 4889, 4908, 4925, 4942, 4966, 4993, 5016, 5039, 5056, 5078, 5094, 5114, 5133, 5155, 5176, 5196, 5218, 5242, 5261, 5303, 5324, 5347, 5368, 5399, 5418, 5440, 5460, 5486, 5507, 5529, 5549, 5573, 5596, 5615, 5635, 5657, 5680, 5711, 5749, 5790, 5820, 5834, 5855, 5871, 5893, 5923, 5949, 5977, 6011, 6029, 6052, 6087, 6127, 6169, 6201, 6218, 6243, 6258, 6275, 6285, 6296, 6334, 6388, 6434, 6486, 6534, 6577, 6621, 6649, 6663, 6681, 6717, 6740, 6763, 6785, 6813, 6836, 6854, 6881, 6913, 6928, 6944, 6961, 6981, 6997, 7013, 7026}
|
2021-03-31 12:30:52 -04:00
|
|
|
|
|
|
|
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]]
|
|
|
|
}
|