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]
|
2022-06-06 05:54:39 -04:00
|
|
|
_ = x[ErrReplicationNoExistingObjects-58]
|
2021-12-22 14:40:21 -05:00
|
|
|
_ = x[ErrObjectRestoreAlreadyInProgress-59]
|
|
|
|
_ = x[ErrNoSuchKey-60]
|
|
|
|
_ = x[ErrNoSuchUpload-61]
|
|
|
|
_ = x[ErrInvalidVersionID-62]
|
|
|
|
_ = x[ErrNoSuchVersion-63]
|
|
|
|
_ = x[ErrNotImplemented-64]
|
|
|
|
_ = x[ErrPreconditionFailed-65]
|
|
|
|
_ = x[ErrRequestTimeTooSkewed-66]
|
|
|
|
_ = x[ErrSignatureDoesNotMatch-67]
|
|
|
|
_ = x[ErrMethodNotAllowed-68]
|
|
|
|
_ = x[ErrInvalidPart-69]
|
|
|
|
_ = x[ErrInvalidPartOrder-70]
|
|
|
|
_ = x[ErrAuthorizationHeaderMalformed-71]
|
|
|
|
_ = x[ErrMalformedPOSTRequest-72]
|
|
|
|
_ = x[ErrPOSTFileRequired-73]
|
|
|
|
_ = x[ErrSignatureVersionNotSupported-74]
|
|
|
|
_ = x[ErrBucketNotEmpty-75]
|
|
|
|
_ = x[ErrAllAccessDisabled-76]
|
2022-12-06 11:07:24 -05:00
|
|
|
_ = x[ErrPolicyInvalidVersion-77]
|
2021-12-22 14:40:21 -05:00
|
|
|
_ = x[ErrMissingFields-78]
|
|
|
|
_ = x[ErrMissingCredTag-79]
|
|
|
|
_ = x[ErrCredMalformed-80]
|
|
|
|
_ = x[ErrInvalidRegion-81]
|
|
|
|
_ = x[ErrInvalidServiceS3-82]
|
|
|
|
_ = x[ErrInvalidServiceSTS-83]
|
|
|
|
_ = x[ErrInvalidRequestVersion-84]
|
|
|
|
_ = x[ErrMissingSignTag-85]
|
|
|
|
_ = x[ErrMissingSignHeadersTag-86]
|
|
|
|
_ = x[ErrMalformedDate-87]
|
|
|
|
_ = x[ErrMalformedPresignedDate-88]
|
|
|
|
_ = x[ErrMalformedCredentialDate-89]
|
|
|
|
_ = x[ErrMalformedCredentialRegion-90]
|
|
|
|
_ = 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]
|
2022-12-08 15:24:03 -05:00
|
|
|
_ = 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]
|
2022-12-13 15:13:23 -05:00
|
|
|
_ = x[ErrPolicyAlreadyAttached-121]
|
|
|
|
_ = x[ErrPolicyNotAttached-122]
|
|
|
|
_ = x[ErrInvalidEncryptionMethod-123]
|
|
|
|
_ = x[ErrInvalidEncryptionKeyID-124]
|
|
|
|
_ = x[ErrInsecureSSECustomerRequest-125]
|
|
|
|
_ = x[ErrSSEMultipartEncrypted-126]
|
|
|
|
_ = x[ErrSSEEncryptedObject-127]
|
|
|
|
_ = x[ErrInvalidEncryptionParameters-128]
|
2023-01-24 18:46:33 -05:00
|
|
|
_ = x[ErrInvalidEncryptionParametersSSEC-129]
|
|
|
|
_ = x[ErrInvalidSSECustomerAlgorithm-130]
|
|
|
|
_ = x[ErrInvalidSSECustomerKey-131]
|
|
|
|
_ = x[ErrMissingSSECustomerKey-132]
|
|
|
|
_ = x[ErrMissingSSECustomerKeyMD5-133]
|
|
|
|
_ = x[ErrSSECustomerKeyMD5Mismatch-134]
|
|
|
|
_ = x[ErrInvalidSSECustomerParameters-135]
|
|
|
|
_ = x[ErrIncompatibleEncryptionMethod-136]
|
|
|
|
_ = x[ErrKMSNotConfigured-137]
|
|
|
|
_ = x[ErrKMSKeyNotFoundException-138]
|
|
|
|
_ = x[ErrNoAccessKey-139]
|
|
|
|
_ = x[ErrInvalidToken-140]
|
|
|
|
_ = x[ErrEventNotification-141]
|
|
|
|
_ = x[ErrARNNotification-142]
|
|
|
|
_ = x[ErrRegionNotification-143]
|
|
|
|
_ = x[ErrOverlappingFilterNotification-144]
|
|
|
|
_ = x[ErrFilterNameInvalid-145]
|
|
|
|
_ = x[ErrFilterNamePrefix-146]
|
|
|
|
_ = x[ErrFilterNameSuffix-147]
|
|
|
|
_ = x[ErrFilterValueInvalid-148]
|
|
|
|
_ = x[ErrOverlappingConfigs-149]
|
|
|
|
_ = x[ErrUnsupportedNotification-150]
|
|
|
|
_ = x[ErrContentSHA256Mismatch-151]
|
|
|
|
_ = x[ErrContentChecksumMismatch-152]
|
|
|
|
_ = x[ErrReadQuorum-153]
|
|
|
|
_ = x[ErrWriteQuorum-154]
|
|
|
|
_ = x[ErrStorageFull-155]
|
|
|
|
_ = x[ErrRequestBodyParse-156]
|
|
|
|
_ = x[ErrObjectExistsAsDirectory-157]
|
|
|
|
_ = x[ErrInvalidObjectName-158]
|
|
|
|
_ = x[ErrInvalidObjectNamePrefixSlash-159]
|
|
|
|
_ = x[ErrInvalidResourceName-160]
|
|
|
|
_ = x[ErrServerNotInitialized-161]
|
|
|
|
_ = x[ErrOperationTimedOut-162]
|
|
|
|
_ = x[ErrClientDisconnected-163]
|
|
|
|
_ = x[ErrOperationMaxedOut-164]
|
|
|
|
_ = x[ErrInvalidRequest-165]
|
|
|
|
_ = x[ErrTransitionStorageClassNotFoundError-166]
|
|
|
|
_ = x[ErrInvalidStorageClass-167]
|
|
|
|
_ = x[ErrBackendDown-168]
|
|
|
|
_ = x[ErrMalformedJSON-169]
|
|
|
|
_ = x[ErrAdminNoSuchUser-170]
|
|
|
|
_ = x[ErrAdminNoSuchGroup-171]
|
|
|
|
_ = x[ErrAdminGroupNotEmpty-172]
|
|
|
|
_ = x[ErrAdminNoSuchJob-173]
|
|
|
|
_ = x[ErrAdminNoSuchPolicy-174]
|
|
|
|
_ = x[ErrAdminPolicyChangeAlreadyApplied-175]
|
|
|
|
_ = x[ErrAdminInvalidArgument-176]
|
|
|
|
_ = x[ErrAdminInvalidAccessKey-177]
|
|
|
|
_ = x[ErrAdminInvalidSecretKey-178]
|
|
|
|
_ = x[ErrAdminConfigNoQuorum-179]
|
|
|
|
_ = x[ErrAdminConfigTooLarge-180]
|
|
|
|
_ = x[ErrAdminConfigBadJSON-181]
|
|
|
|
_ = x[ErrAdminNoSuchConfigTarget-182]
|
|
|
|
_ = x[ErrAdminConfigEnvOverridden-183]
|
|
|
|
_ = x[ErrAdminConfigDuplicateKeys-184]
|
|
|
|
_ = x[ErrAdminConfigInvalidIDPType-185]
|
|
|
|
_ = x[ErrAdminConfigLDAPValidation-186]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-187]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-188]
|
|
|
|
_ = x[ErrAdminCredentialsMismatch-189]
|
|
|
|
_ = x[ErrInsecureClientRequest-190]
|
|
|
|
_ = x[ErrObjectTampered-191]
|
|
|
|
_ = x[ErrSiteReplicationInvalidRequest-192]
|
|
|
|
_ = x[ErrSiteReplicationPeerResp-193]
|
|
|
|
_ = x[ErrSiteReplicationBackendIssue-194]
|
|
|
|
_ = x[ErrSiteReplicationServiceAccountError-195]
|
|
|
|
_ = x[ErrSiteReplicationBucketConfigError-196]
|
|
|
|
_ = x[ErrSiteReplicationBucketMetaError-197]
|
|
|
|
_ = x[ErrSiteReplicationIAMError-198]
|
|
|
|
_ = x[ErrSiteReplicationConfigMissing-199]
|
|
|
|
_ = x[ErrAdminRebalanceAlreadyStarted-200]
|
|
|
|
_ = x[ErrAdminRebalanceNotStarted-201]
|
|
|
|
_ = x[ErrAdminBucketQuotaExceeded-202]
|
|
|
|
_ = x[ErrAdminNoSuchQuotaConfiguration-203]
|
|
|
|
_ = x[ErrHealNotImplemented-204]
|
|
|
|
_ = x[ErrHealNoSuchProcess-205]
|
|
|
|
_ = x[ErrHealInvalidClientToken-206]
|
|
|
|
_ = x[ErrHealMissingBucket-207]
|
|
|
|
_ = x[ErrHealAlreadyRunning-208]
|
|
|
|
_ = x[ErrHealOverlappingPaths-209]
|
|
|
|
_ = x[ErrIncorrectContinuationToken-210]
|
|
|
|
_ = x[ErrEmptyRequestBody-211]
|
|
|
|
_ = x[ErrUnsupportedFunction-212]
|
|
|
|
_ = x[ErrInvalidExpressionType-213]
|
|
|
|
_ = x[ErrBusy-214]
|
|
|
|
_ = x[ErrUnauthorizedAccess-215]
|
|
|
|
_ = x[ErrExpressionTooLong-216]
|
|
|
|
_ = x[ErrIllegalSQLFunctionArgument-217]
|
|
|
|
_ = x[ErrInvalidKeyPath-218]
|
|
|
|
_ = x[ErrInvalidCompressionFormat-219]
|
|
|
|
_ = x[ErrInvalidFileHeaderInfo-220]
|
|
|
|
_ = x[ErrInvalidJSONType-221]
|
|
|
|
_ = x[ErrInvalidQuoteFields-222]
|
|
|
|
_ = x[ErrInvalidRequestParameter-223]
|
|
|
|
_ = x[ErrInvalidDataType-224]
|
|
|
|
_ = x[ErrInvalidTextEncoding-225]
|
|
|
|
_ = x[ErrInvalidDataSource-226]
|
|
|
|
_ = x[ErrInvalidTableAlias-227]
|
|
|
|
_ = x[ErrMissingRequiredParameter-228]
|
|
|
|
_ = x[ErrObjectSerializationConflict-229]
|
|
|
|
_ = x[ErrUnsupportedSQLOperation-230]
|
|
|
|
_ = x[ErrUnsupportedSQLStructure-231]
|
|
|
|
_ = x[ErrUnsupportedSyntax-232]
|
|
|
|
_ = x[ErrUnsupportedRangeHeader-233]
|
|
|
|
_ = x[ErrLexerInvalidChar-234]
|
|
|
|
_ = x[ErrLexerInvalidOperator-235]
|
|
|
|
_ = x[ErrLexerInvalidLiteral-236]
|
|
|
|
_ = x[ErrLexerInvalidIONLiteral-237]
|
|
|
|
_ = x[ErrParseExpectedDatePart-238]
|
|
|
|
_ = x[ErrParseExpectedKeyword-239]
|
|
|
|
_ = x[ErrParseExpectedTokenType-240]
|
|
|
|
_ = x[ErrParseExpected2TokenTypes-241]
|
|
|
|
_ = x[ErrParseExpectedNumber-242]
|
|
|
|
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-243]
|
|
|
|
_ = x[ErrParseExpectedTypeName-244]
|
|
|
|
_ = x[ErrParseExpectedWhenClause-245]
|
|
|
|
_ = x[ErrParseUnsupportedToken-246]
|
|
|
|
_ = x[ErrParseUnsupportedLiteralsGroupBy-247]
|
|
|
|
_ = x[ErrParseExpectedMember-248]
|
|
|
|
_ = x[ErrParseUnsupportedSelect-249]
|
|
|
|
_ = x[ErrParseUnsupportedCase-250]
|
|
|
|
_ = x[ErrParseUnsupportedCaseClause-251]
|
|
|
|
_ = x[ErrParseUnsupportedAlias-252]
|
|
|
|
_ = x[ErrParseUnsupportedSyntax-253]
|
|
|
|
_ = x[ErrParseUnknownOperator-254]
|
|
|
|
_ = x[ErrParseMissingIdentAfterAt-255]
|
|
|
|
_ = x[ErrParseUnexpectedOperator-256]
|
|
|
|
_ = x[ErrParseUnexpectedTerm-257]
|
|
|
|
_ = x[ErrParseUnexpectedToken-258]
|
|
|
|
_ = x[ErrParseUnexpectedKeyword-259]
|
|
|
|
_ = x[ErrParseExpectedExpression-260]
|
|
|
|
_ = x[ErrParseExpectedLeftParenAfterCast-261]
|
|
|
|
_ = x[ErrParseExpectedLeftParenValueConstructor-262]
|
|
|
|
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-263]
|
|
|
|
_ = x[ErrParseExpectedArgumentDelimiter-264]
|
|
|
|
_ = x[ErrParseCastArity-265]
|
|
|
|
_ = x[ErrParseInvalidTypeParam-266]
|
|
|
|
_ = x[ErrParseEmptySelect-267]
|
|
|
|
_ = x[ErrParseSelectMissingFrom-268]
|
|
|
|
_ = x[ErrParseExpectedIdentForGroupName-269]
|
|
|
|
_ = x[ErrParseExpectedIdentForAlias-270]
|
|
|
|
_ = x[ErrParseUnsupportedCallWithStar-271]
|
|
|
|
_ = x[ErrParseNonUnaryAgregateFunctionCall-272]
|
|
|
|
_ = x[ErrParseMalformedJoin-273]
|
|
|
|
_ = x[ErrParseExpectedIdentForAt-274]
|
|
|
|
_ = x[ErrParseAsteriskIsNotAloneInSelectList-275]
|
|
|
|
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-276]
|
|
|
|
_ = x[ErrParseInvalidContextForWildcardInSelectList-277]
|
|
|
|
_ = x[ErrIncorrectSQLFunctionArgumentType-278]
|
|
|
|
_ = x[ErrValueParseFailure-279]
|
|
|
|
_ = x[ErrEvaluatorInvalidArguments-280]
|
|
|
|
_ = x[ErrIntegerOverflow-281]
|
|
|
|
_ = x[ErrLikeInvalidInputs-282]
|
|
|
|
_ = x[ErrCastFailed-283]
|
|
|
|
_ = x[ErrInvalidCast-284]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-285]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-286]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-287]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-288]
|
|
|
|
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-289]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-290]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-291]
|
|
|
|
_ = x[ErrEvaluatorBindingDoesNotExist-292]
|
|
|
|
_ = x[ErrMissingHeaders-293]
|
|
|
|
_ = x[ErrInvalidColumnIndex-294]
|
|
|
|
_ = x[ErrAdminConfigNotificationTargetsFailed-295]
|
|
|
|
_ = x[ErrAdminProfilerNotEnabled-296]
|
|
|
|
_ = x[ErrInvalidDecompressedSize-297]
|
|
|
|
_ = x[ErrAddUserInvalidArgument-298]
|
|
|
|
_ = x[ErrAdminResourceInvalidArgument-299]
|
|
|
|
_ = x[ErrAdminAccountNotEligible-300]
|
|
|
|
_ = x[ErrAccountNotEligible-301]
|
|
|
|
_ = x[ErrAdminServiceAccountNotFound-302]
|
|
|
|
_ = x[ErrPostPolicyConditionInvalidFormat-303]
|
|
|
|
_ = x[ErrInvalidChecksum-304]
|
2021-03-31 12:30:52 -04:00
|
|
|
}
|
|
|
|
|
2023-01-24 18:46:33 -05:00
|
|
|
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorReplicationNoExistingObjectsObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedCredentialRegionMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataMaximumExpiresSlowDownInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchReadQuorumWriteQuorumStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameServerNotInitializedOperationTimedOutClientDisconnectedOperationMaxedOutInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchGroupAdminGroupNotEmptyAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfgNameDoesNotExistAdminCredentialsMismatchInsecureClientRequestObjectTamperedSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteReplicationServiceAccountErrorSiteReplicationBucketConfigErrorSiteReplicationBucketMetaErrorSiteReplicationIAMErrorSiteReplicati
|
2021-03-31 12:30:52 -04:00
|
|
|
|
2023-01-24 18:46:33 -05: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, 1253, 1283, 1292, 1304, 1320, 1333, 1347, 1365, 1385, 1406, 1422, 1433, 1449, 1477, 1497, 1513, 1541, 1555, 1572, 1592, 1605, 1619, 1632, 1645, 1661, 1678, 1699, 1713, 1734, 1747, 1769, 1792, 1817, 1833, 1848, 1863, 1884, 1902, 1917, 1934, 1959, 1977, 2000, 2015, 2034, 2050, 2069, 2083, 2091, 2110, 2120, 2135, 2171, 2202, 2235, 2264, 2276, 2296, 2320, 2344, 2365, 2389, 2408, 2429, 2446, 2469, 2491, 2517, 2538, 2556, 2583, 2614, 2641, 2662, 2683, 2707, 2732, 2760, 2788, 2804, 2827, 2838, 2850, 2867, 2882, 2900, 2929, 2946, 2962, 2978, 2996, 3014, 3037, 3058, 3081, 3091, 3102, 3113, 3129, 3152, 3169, 3197, 3216, 3236, 3253, 3271, 3288, 3302, 3337, 3356, 3367, 3380, 3395, 3411, 3429, 3443, 3460, 3491, 3511, 3532, 3553, 3572, 3591, 3609, 3632, 3656, 3680, 3705, 3730, 3764, 3797, 3821, 3842, 3856, 3885, 3908, 3935, 3969, 4001, 4031, 4054, 4082, 4110, 4134, 4158, 4187, 4205, 4222, 4244, 4261, 4279, 4299, 4325, 4341, 4360, 4381, 4385, 4403, 4420, 4446, 4460, 4484, 4505, 4520, 4538, 4561, 4576, 4595, 4612, 4629, 4653, 4680, 4703, 4726, 4743, 4765, 4781, 4801, 4820, 4842, 4863, 4883, 4905, 4929, 4948, 4990, 5011, 5034, 5055, 5086, 5105, 5127, 5147, 5173, 5194, 5216, 5236, 5260, 5283, 5302, 5322, 5344, 5367, 5398, 5436, 5477, 5507, 5521, 5542, 5558, 5580, 5610, 5636, 5664, 5697, 5715, 5738, 5773, 5813, 5855, 5887, 5904, 5929, 5944, 5961, 5971, 5982, 6020, 6074, 6120, 6172, 6220, 6263, 6307, 6335, 6349, 6367, 6403, 6426, 6449, 6471, 6499, 6522, 6540, 6567, 6599, 6614}
|
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]]
|
|
|
|
}
|