2021-03-31 12:30:52 -04:00
|
|
|
// 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]
|
2021-12-22 14:40:21 -05:00
|
|
|
_ = x[ErrAccessKeyDisabled-9]
|
|
|
|
_ = x[ErrInvalidBucketName-10]
|
|
|
|
_ = x[ErrInvalidDigest-11]
|
|
|
|
_ = x[ErrInvalidRange-12]
|
|
|
|
_ = x[ErrInvalidRangePartNumber-13]
|
|
|
|
_ = x[ErrInvalidCopyPartRange-14]
|
|
|
|
_ = x[ErrInvalidCopyPartRangeSource-15]
|
|
|
|
_ = x[ErrInvalidMaxKeys-16]
|
|
|
|
_ = x[ErrInvalidEncodingMethod-17]
|
|
|
|
_ = x[ErrInvalidMaxUploads-18]
|
|
|
|
_ = x[ErrInvalidMaxParts-19]
|
|
|
|
_ = x[ErrInvalidPartNumberMarker-20]
|
|
|
|
_ = x[ErrInvalidPartNumber-21]
|
|
|
|
_ = x[ErrInvalidRequestBody-22]
|
|
|
|
_ = x[ErrInvalidCopySource-23]
|
|
|
|
_ = x[ErrInvalidMetadataDirective-24]
|
|
|
|
_ = x[ErrInvalidCopyDest-25]
|
|
|
|
_ = x[ErrInvalidPolicyDocument-26]
|
|
|
|
_ = x[ErrInvalidObjectState-27]
|
|
|
|
_ = x[ErrMalformedXML-28]
|
|
|
|
_ = x[ErrMissingContentLength-29]
|
|
|
|
_ = x[ErrMissingContentMD5-30]
|
|
|
|
_ = x[ErrMissingRequestBodyError-31]
|
|
|
|
_ = x[ErrMissingSecurityHeader-32]
|
|
|
|
_ = x[ErrNoSuchBucket-33]
|
|
|
|
_ = x[ErrNoSuchBucketPolicy-34]
|
|
|
|
_ = x[ErrNoSuchBucketLifecycle-35]
|
|
|
|
_ = x[ErrNoSuchLifecycleConfiguration-36]
|
|
|
|
_ = x[ErrInvalidLifecycleWithObjectLock-37]
|
|
|
|
_ = x[ErrNoSuchBucketSSEConfig-38]
|
|
|
|
_ = x[ErrNoSuchCORSConfiguration-39]
|
|
|
|
_ = x[ErrNoSuchWebsiteConfiguration-40]
|
|
|
|
_ = x[ErrReplicationConfigurationNotFoundError-41]
|
|
|
|
_ = x[ErrRemoteDestinationNotFoundError-42]
|
|
|
|
_ = x[ErrReplicationDestinationMissingLock-43]
|
|
|
|
_ = x[ErrRemoteTargetNotFoundError-44]
|
|
|
|
_ = x[ErrReplicationRemoteConnectionError-45]
|
|
|
|
_ = x[ErrReplicationBandwidthLimitError-46]
|
|
|
|
_ = x[ErrBucketRemoteIdenticalToSource-47]
|
|
|
|
_ = x[ErrBucketRemoteAlreadyExists-48]
|
|
|
|
_ = x[ErrBucketRemoteLabelInUse-49]
|
|
|
|
_ = x[ErrBucketRemoteArnTypeInvalid-50]
|
|
|
|
_ = x[ErrBucketRemoteArnInvalid-51]
|
|
|
|
_ = x[ErrBucketRemoteRemoveDisallowed-52]
|
|
|
|
_ = x[ErrRemoteTargetNotVersionedError-53]
|
|
|
|
_ = x[ErrReplicationSourceNotVersionedError-54]
|
|
|
|
_ = x[ErrReplicationNeedsVersioningError-55]
|
|
|
|
_ = x[ErrReplicationBucketNeedsVersioningError-56]
|
|
|
|
_ = x[ErrReplicationDenyEditError-57]
|
2023-05-11 18:48:40 -04:00
|
|
|
_ = x[ErrRemoteTargetDenyAddError-58]
|
2023-02-15 23:22:13 -05:00
|
|
|
_ = x[ErrReplicationNoExistingObjects-59]
|
|
|
|
_ = x[ErrObjectRestoreAlreadyInProgress-60]
|
|
|
|
_ = x[ErrNoSuchKey-61]
|
|
|
|
_ = x[ErrNoSuchUpload-62]
|
|
|
|
_ = x[ErrInvalidVersionID-63]
|
|
|
|
_ = x[ErrNoSuchVersion-64]
|
|
|
|
_ = x[ErrNotImplemented-65]
|
|
|
|
_ = x[ErrPreconditionFailed-66]
|
|
|
|
_ = x[ErrRequestTimeTooSkewed-67]
|
|
|
|
_ = x[ErrSignatureDoesNotMatch-68]
|
|
|
|
_ = x[ErrMethodNotAllowed-69]
|
|
|
|
_ = x[ErrInvalidPart-70]
|
|
|
|
_ = x[ErrInvalidPartOrder-71]
|
|
|
|
_ = x[ErrAuthorizationHeaderMalformed-72]
|
|
|
|
_ = x[ErrMalformedPOSTRequest-73]
|
|
|
|
_ = x[ErrPOSTFileRequired-74]
|
|
|
|
_ = x[ErrSignatureVersionNotSupported-75]
|
|
|
|
_ = x[ErrBucketNotEmpty-76]
|
|
|
|
_ = x[ErrAllAccessDisabled-77]
|
|
|
|
_ = x[ErrPolicyInvalidVersion-78]
|
|
|
|
_ = x[ErrMissingFields-79]
|
|
|
|
_ = x[ErrMissingCredTag-80]
|
|
|
|
_ = x[ErrCredMalformed-81]
|
|
|
|
_ = x[ErrInvalidRegion-82]
|
|
|
|
_ = x[ErrInvalidServiceS3-83]
|
|
|
|
_ = x[ErrInvalidServiceSTS-84]
|
|
|
|
_ = x[ErrInvalidRequestVersion-85]
|
|
|
|
_ = x[ErrMissingSignTag-86]
|
|
|
|
_ = x[ErrMissingSignHeadersTag-87]
|
|
|
|
_ = x[ErrMalformedDate-88]
|
|
|
|
_ = x[ErrMalformedPresignedDate-89]
|
|
|
|
_ = x[ErrMalformedCredentialDate-90]
|
2023-02-24 21:36:29 -05:00
|
|
|
_ = x[ErrMalformedExpires-91]
|
|
|
|
_ = x[ErrNegativeExpires-92]
|
|
|
|
_ = x[ErrAuthHeaderEmpty-93]
|
|
|
|
_ = x[ErrExpiredPresignRequest-94]
|
|
|
|
_ = x[ErrRequestNotReadyYet-95]
|
|
|
|
_ = x[ErrUnsignedHeaders-96]
|
|
|
|
_ = x[ErrMissingDateHeader-97]
|
|
|
|
_ = x[ErrInvalidQuerySignatureAlgo-98]
|
|
|
|
_ = x[ErrInvalidQueryParams-99]
|
|
|
|
_ = x[ErrBucketAlreadyOwnedByYou-100]
|
|
|
|
_ = x[ErrInvalidDuration-101]
|
|
|
|
_ = x[ErrBucketAlreadyExists-102]
|
|
|
|
_ = x[ErrMetadataTooLarge-103]
|
|
|
|
_ = x[ErrUnsupportedMetadata-104]
|
|
|
|
_ = x[ErrMaximumExpires-105]
|
|
|
|
_ = x[ErrSlowDown-106]
|
|
|
|
_ = x[ErrInvalidPrefixMarker-107]
|
|
|
|
_ = x[ErrBadRequest-108]
|
|
|
|
_ = x[ErrKeyTooLongError-109]
|
|
|
|
_ = x[ErrInvalidBucketObjectLockConfiguration-110]
|
|
|
|
_ = x[ErrObjectLockConfigurationNotFound-111]
|
|
|
|
_ = x[ErrObjectLockConfigurationNotAllowed-112]
|
|
|
|
_ = x[ErrNoSuchObjectLockConfiguration-113]
|
|
|
|
_ = x[ErrObjectLocked-114]
|
|
|
|
_ = x[ErrInvalidRetentionDate-115]
|
|
|
|
_ = x[ErrPastObjectLockRetainDate-116]
|
|
|
|
_ = x[ErrUnknownWORMModeDirective-117]
|
|
|
|
_ = x[ErrBucketTaggingNotFound-118]
|
|
|
|
_ = x[ErrObjectLockInvalidHeaders-119]
|
|
|
|
_ = x[ErrInvalidTagDirective-120]
|
|
|
|
_ = x[ErrPolicyAlreadyAttached-121]
|
|
|
|
_ = x[ErrPolicyNotAttached-122]
|
2023-05-05 22:53:12 -04:00
|
|
|
_ = x[ErrExcessData-123]
|
|
|
|
_ = x[ErrInvalidEncryptionMethod-124]
|
|
|
|
_ = x[ErrInvalidEncryptionKeyID-125]
|
|
|
|
_ = x[ErrInsecureSSECustomerRequest-126]
|
|
|
|
_ = x[ErrSSEMultipartEncrypted-127]
|
|
|
|
_ = x[ErrSSEEncryptedObject-128]
|
|
|
|
_ = x[ErrInvalidEncryptionParameters-129]
|
|
|
|
_ = x[ErrInvalidEncryptionParametersSSEC-130]
|
|
|
|
_ = x[ErrInvalidSSECustomerAlgorithm-131]
|
|
|
|
_ = x[ErrInvalidSSECustomerKey-132]
|
|
|
|
_ = x[ErrMissingSSECustomerKey-133]
|
|
|
|
_ = x[ErrMissingSSECustomerKeyMD5-134]
|
|
|
|
_ = x[ErrSSECustomerKeyMD5Mismatch-135]
|
|
|
|
_ = x[ErrInvalidSSECustomerParameters-136]
|
|
|
|
_ = x[ErrIncompatibleEncryptionMethod-137]
|
|
|
|
_ = x[ErrKMSNotConfigured-138]
|
|
|
|
_ = x[ErrKMSKeyNotFoundException-139]
|
|
|
|
_ = x[ErrKMSDefaultKeyAlreadyConfigured-140]
|
|
|
|
_ = x[ErrNoAccessKey-141]
|
|
|
|
_ = x[ErrInvalidToken-142]
|
|
|
|
_ = x[ErrEventNotification-143]
|
|
|
|
_ = x[ErrARNNotification-144]
|
|
|
|
_ = x[ErrRegionNotification-145]
|
|
|
|
_ = x[ErrOverlappingFilterNotification-146]
|
|
|
|
_ = x[ErrFilterNameInvalid-147]
|
|
|
|
_ = x[ErrFilterNamePrefix-148]
|
|
|
|
_ = x[ErrFilterNameSuffix-149]
|
|
|
|
_ = x[ErrFilterValueInvalid-150]
|
|
|
|
_ = x[ErrOverlappingConfigs-151]
|
|
|
|
_ = x[ErrUnsupportedNotification-152]
|
|
|
|
_ = x[ErrContentSHA256Mismatch-153]
|
|
|
|
_ = x[ErrContentChecksumMismatch-154]
|
|
|
|
_ = x[ErrStorageFull-155]
|
|
|
|
_ = x[ErrRequestBodyParse-156]
|
|
|
|
_ = x[ErrObjectExistsAsDirectory-157]
|
|
|
|
_ = x[ErrInvalidObjectName-158]
|
|
|
|
_ = x[ErrInvalidObjectNamePrefixSlash-159]
|
|
|
|
_ = x[ErrInvalidResourceName-160]
|
2023-05-25 01:52:39 -04:00
|
|
|
_ = x[ErrInvalidLifecycleQueryParameter-161]
|
|
|
|
_ = x[ErrServerNotInitialized-162]
|
|
|
|
_ = x[ErrOperationTimedOut-163]
|
|
|
|
_ = x[ErrClientDisconnected-164]
|
|
|
|
_ = x[ErrOperationMaxedOut-165]
|
|
|
|
_ = x[ErrInvalidRequest-166]
|
|
|
|
_ = x[ErrTransitionStorageClassNotFoundError-167]
|
|
|
|
_ = x[ErrInvalidStorageClass-168]
|
|
|
|
_ = x[ErrBackendDown-169]
|
|
|
|
_ = x[ErrMalformedJSON-170]
|
|
|
|
_ = x[ErrAdminNoSuchUser-171]
|
2023-05-26 09:31:24 -04:00
|
|
|
_ = x[ErrAdminNoSuchUserLDAPWarn-172]
|
|
|
|
_ = x[ErrAdminNoSuchGroup-173]
|
|
|
|
_ = x[ErrAdminGroupNotEmpty-174]
|
|
|
|
_ = x[ErrAdminGroupDisabled-175]
|
|
|
|
_ = x[ErrAdminNoSuchJob-176]
|
|
|
|
_ = x[ErrAdminNoSuchPolicy-177]
|
|
|
|
_ = x[ErrAdminPolicyChangeAlreadyApplied-178]
|
|
|
|
_ = x[ErrAdminInvalidArgument-179]
|
|
|
|
_ = x[ErrAdminInvalidAccessKey-180]
|
|
|
|
_ = x[ErrAdminInvalidSecretKey-181]
|
|
|
|
_ = x[ErrAdminConfigNoQuorum-182]
|
|
|
|
_ = x[ErrAdminConfigTooLarge-183]
|
|
|
|
_ = x[ErrAdminConfigBadJSON-184]
|
|
|
|
_ = x[ErrAdminNoSuchConfigTarget-185]
|
|
|
|
_ = x[ErrAdminConfigEnvOverridden-186]
|
|
|
|
_ = x[ErrAdminConfigDuplicateKeys-187]
|
|
|
|
_ = x[ErrAdminConfigInvalidIDPType-188]
|
|
|
|
_ = x[ErrAdminConfigLDAPNonDefaultConfigName-189]
|
|
|
|
_ = x[ErrAdminConfigLDAPValidation-190]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-191]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-192]
|
|
|
|
_ = x[ErrAdminCredentialsMismatch-193]
|
|
|
|
_ = x[ErrInsecureClientRequest-194]
|
|
|
|
_ = x[ErrObjectTampered-195]
|
|
|
|
_ = x[ErrSiteReplicationInvalidRequest-196]
|
|
|
|
_ = x[ErrSiteReplicationPeerResp-197]
|
|
|
|
_ = x[ErrSiteReplicationBackendIssue-198]
|
|
|
|
_ = x[ErrSiteReplicationServiceAccountError-199]
|
|
|
|
_ = x[ErrSiteReplicationBucketConfigError-200]
|
|
|
|
_ = x[ErrSiteReplicationBucketMetaError-201]
|
|
|
|
_ = x[ErrSiteReplicationIAMError-202]
|
|
|
|
_ = x[ErrSiteReplicationConfigMissing-203]
|
|
|
|
_ = x[ErrAdminRebalanceAlreadyStarted-204]
|
|
|
|
_ = x[ErrAdminRebalanceNotStarted-205]
|
|
|
|
_ = x[ErrAdminBucketQuotaExceeded-206]
|
|
|
|
_ = x[ErrAdminNoSuchQuotaConfiguration-207]
|
|
|
|
_ = x[ErrHealNotImplemented-208]
|
|
|
|
_ = x[ErrHealNoSuchProcess-209]
|
|
|
|
_ = x[ErrHealInvalidClientToken-210]
|
|
|
|
_ = x[ErrHealMissingBucket-211]
|
|
|
|
_ = x[ErrHealAlreadyRunning-212]
|
|
|
|
_ = x[ErrHealOverlappingPaths-213]
|
|
|
|
_ = x[ErrIncorrectContinuationToken-214]
|
|
|
|
_ = x[ErrEmptyRequestBody-215]
|
|
|
|
_ = x[ErrUnsupportedFunction-216]
|
|
|
|
_ = x[ErrInvalidExpressionType-217]
|
|
|
|
_ = x[ErrBusy-218]
|
|
|
|
_ = x[ErrUnauthorizedAccess-219]
|
|
|
|
_ = x[ErrExpressionTooLong-220]
|
|
|
|
_ = x[ErrIllegalSQLFunctionArgument-221]
|
|
|
|
_ = x[ErrInvalidKeyPath-222]
|
|
|
|
_ = x[ErrInvalidCompressionFormat-223]
|
|
|
|
_ = x[ErrInvalidFileHeaderInfo-224]
|
|
|
|
_ = x[ErrInvalidJSONType-225]
|
|
|
|
_ = x[ErrInvalidQuoteFields-226]
|
|
|
|
_ = x[ErrInvalidRequestParameter-227]
|
|
|
|
_ = x[ErrInvalidDataType-228]
|
|
|
|
_ = x[ErrInvalidTextEncoding-229]
|
|
|
|
_ = x[ErrInvalidDataSource-230]
|
|
|
|
_ = x[ErrInvalidTableAlias-231]
|
|
|
|
_ = x[ErrMissingRequiredParameter-232]
|
|
|
|
_ = x[ErrObjectSerializationConflict-233]
|
|
|
|
_ = x[ErrUnsupportedSQLOperation-234]
|
|
|
|
_ = x[ErrUnsupportedSQLStructure-235]
|
|
|
|
_ = x[ErrUnsupportedSyntax-236]
|
|
|
|
_ = x[ErrUnsupportedRangeHeader-237]
|
|
|
|
_ = x[ErrLexerInvalidChar-238]
|
|
|
|
_ = x[ErrLexerInvalidOperator-239]
|
|
|
|
_ = x[ErrLexerInvalidLiteral-240]
|
|
|
|
_ = x[ErrLexerInvalidIONLiteral-241]
|
|
|
|
_ = x[ErrParseExpectedDatePart-242]
|
|
|
|
_ = x[ErrParseExpectedKeyword-243]
|
|
|
|
_ = x[ErrParseExpectedTokenType-244]
|
|
|
|
_ = x[ErrParseExpected2TokenTypes-245]
|
|
|
|
_ = x[ErrParseExpectedNumber-246]
|
|
|
|
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-247]
|
|
|
|
_ = x[ErrParseExpectedTypeName-248]
|
|
|
|
_ = x[ErrParseExpectedWhenClause-249]
|
|
|
|
_ = x[ErrParseUnsupportedToken-250]
|
|
|
|
_ = x[ErrParseUnsupportedLiteralsGroupBy-251]
|
|
|
|
_ = x[ErrParseExpectedMember-252]
|
|
|
|
_ = x[ErrParseUnsupportedSelect-253]
|
|
|
|
_ = x[ErrParseUnsupportedCase-254]
|
|
|
|
_ = x[ErrParseUnsupportedCaseClause-255]
|
|
|
|
_ = x[ErrParseUnsupportedAlias-256]
|
|
|
|
_ = x[ErrParseUnsupportedSyntax-257]
|
|
|
|
_ = x[ErrParseUnknownOperator-258]
|
|
|
|
_ = x[ErrParseMissingIdentAfterAt-259]
|
|
|
|
_ = x[ErrParseUnexpectedOperator-260]
|
|
|
|
_ = x[ErrParseUnexpectedTerm-261]
|
|
|
|
_ = x[ErrParseUnexpectedToken-262]
|
|
|
|
_ = x[ErrParseUnexpectedKeyword-263]
|
|
|
|
_ = x[ErrParseExpectedExpression-264]
|
|
|
|
_ = x[ErrParseExpectedLeftParenAfterCast-265]
|
|
|
|
_ = x[ErrParseExpectedLeftParenValueConstructor-266]
|
|
|
|
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-267]
|
|
|
|
_ = x[ErrParseExpectedArgumentDelimiter-268]
|
|
|
|
_ = x[ErrParseCastArity-269]
|
|
|
|
_ = x[ErrParseInvalidTypeParam-270]
|
|
|
|
_ = x[ErrParseEmptySelect-271]
|
|
|
|
_ = x[ErrParseSelectMissingFrom-272]
|
|
|
|
_ = x[ErrParseExpectedIdentForGroupName-273]
|
|
|
|
_ = x[ErrParseExpectedIdentForAlias-274]
|
|
|
|
_ = x[ErrParseUnsupportedCallWithStar-275]
|
|
|
|
_ = x[ErrParseNonUnaryAgregateFunctionCall-276]
|
|
|
|
_ = x[ErrParseMalformedJoin-277]
|
|
|
|
_ = x[ErrParseExpectedIdentForAt-278]
|
|
|
|
_ = x[ErrParseAsteriskIsNotAloneInSelectList-279]
|
|
|
|
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-280]
|
|
|
|
_ = x[ErrParseInvalidContextForWildcardInSelectList-281]
|
|
|
|
_ = x[ErrIncorrectSQLFunctionArgumentType-282]
|
|
|
|
_ = x[ErrValueParseFailure-283]
|
|
|
|
_ = x[ErrEvaluatorInvalidArguments-284]
|
|
|
|
_ = x[ErrIntegerOverflow-285]
|
|
|
|
_ = x[ErrLikeInvalidInputs-286]
|
|
|
|
_ = x[ErrCastFailed-287]
|
|
|
|
_ = x[ErrInvalidCast-288]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-289]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-290]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-291]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-292]
|
|
|
|
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-293]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-294]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-295]
|
|
|
|
_ = x[ErrEvaluatorBindingDoesNotExist-296]
|
|
|
|
_ = x[ErrMissingHeaders-297]
|
|
|
|
_ = x[ErrInvalidColumnIndex-298]
|
|
|
|
_ = x[ErrAdminConfigNotificationTargetsFailed-299]
|
|
|
|
_ = x[ErrAdminProfilerNotEnabled-300]
|
|
|
|
_ = x[ErrInvalidDecompressedSize-301]
|
|
|
|
_ = x[ErrAddUserInvalidArgument-302]
|
|
|
|
_ = x[ErrAdminResourceInvalidArgument-303]
|
|
|
|
_ = x[ErrAdminAccountNotEligible-304]
|
|
|
|
_ = x[ErrAccountNotEligible-305]
|
|
|
|
_ = x[ErrAdminServiceAccountNotFound-306]
|
|
|
|
_ = x[ErrPostPolicyConditionInvalidFormat-307]
|
|
|
|
_ = x[ErrInvalidChecksum-308]
|
|
|
|
_ = x[ErrLambdaARNInvalid-309]
|
|
|
|
_ = x[ErrLambdaARNNotFound-310]
|
|
|
|
_ = x[apiErrCodeEnd-311]
|
2021-03-31 12:30:52 -04:00
|
|
|
}
|
|
|
|
|
2023-05-26 09:31:24 -04:00
|
|
|
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorRemoteTargetDenyAddErrorReplicationNoExistingObjectsObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataMaximumExpiresSlowDownInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedExcessDataInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionKMSDefaultKeyAlreadyConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameInvalidLifecycleQueryParameterServerNotInitializedOperationTimedOutClientDisconnectedOperationMaxedOutInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchUserLDAPWarnAdminNoSuchGroupAdminGroupNotEmptyAdminGroupDisabledAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPNonDefaultConfigNameAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfgNameDoesNotExistAdminCredentialsMismatchInsecureClientRequestObjectTamperedSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteRepl
|
2021-03-31 12:30:52 -04:00
|
|
|
|
2023-05-26 09:31:24 -04:00
|
|
|
var _APIErrorCode_index = [...]uint16{0, 4, 16, 25, 39, 53, 67, 81, 94, 112, 129, 146, 159, 171, 193, 213, 239, 253, 274, 291, 306, 329, 346, 364, 381, 405, 420, 441, 459, 471, 491, 508, 531, 552, 564, 582, 603, 631, 661, 682, 705, 731, 768, 798, 831, 856, 888, 918, 947, 972, 994, 1020, 1042, 1070, 1099, 1133, 1164, 1201, 1225, 1249, 1277, 1307, 1316, 1328, 1344, 1357, 1371, 1389, 1409, 1430, 1446, 1457, 1473, 1501, 1521, 1537, 1565, 1579, 1596, 1616, 1629, 1643, 1656, 1669, 1685, 1702, 1723, 1737, 1758, 1771, 1793, 1816, 1832, 1847, 1862, 1883, 1901, 1916, 1933, 1958, 1976, 1999, 2014, 2033, 2049, 2068, 2082, 2090, 2109, 2119, 2134, 2170, 2201, 2234, 2263, 2275, 2295, 2319, 2343, 2364, 2388, 2407, 2428, 2445, 2455, 2478, 2500, 2526, 2547, 2565, 2592, 2623, 2650, 2671, 2692, 2716, 2741, 2769, 2797, 2813, 2836, 2866, 2877, 2889, 2906, 2921, 2939, 2968, 2985, 3001, 3017, 3035, 3053, 3076, 3097, 3120, 3131, 3147, 3170, 3187, 3215, 3234, 3264, 3284, 3301, 3319, 3336, 3350, 3385, 3404, 3415, 3428, 3443, 3466, 3482, 3500, 3518, 3532, 3549, 3580, 3600, 3621, 3642, 3661, 3680, 3698, 3721, 3745, 3769, 3794, 3829, 3854, 3888, 3921, 3945, 3966, 3980, 4009, 4032, 4059, 4093, 4125, 4155, 4178, 4206, 4234, 4258, 4282, 4311, 4329, 4346, 4368, 4385, 4403, 4423, 4449, 4465, 4484, 4505, 4509, 4527, 4544, 4570, 4584, 4608, 4629, 4644, 4662, 4685, 4700, 4719, 4736, 4753, 4777, 4804, 4827, 4850, 4867, 4889, 4905, 4925, 4944, 4966, 4987, 5007, 5029, 5053, 5072, 5114, 5135, 5158, 5179, 5210, 5229, 5251, 5271, 5297, 5318, 5340, 5360, 5384, 5407, 5426, 5446, 5468, 5491, 5522, 5560, 5601, 5631, 5645, 5666, 5682, 5704, 5734, 5760, 5788, 5821, 5839, 5862, 5897, 5937, 5979, 6011, 6028, 6053, 6068, 6085, 6095, 6106, 6144, 6198, 6244, 6296, 6344, 6387, 6431, 6459, 6473, 6491, 6527, 6550, 6573, 6595, 6623, 6646, 6664, 6691, 6723, 6738, 6754, 6771, 6784}
|
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]]
|
|
|
|
}
|