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]
|
|
|
|
_ = x[ErrMalformedPolicy-77]
|
|
|
|
_ = 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]
|
|
|
|
_ = 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[ErrInvalidEncryptionMethod-121]
|
2022-08-16 14:28:30 -04:00
|
|
|
_ = x[ErrInvalidEncryptionKeyID-122]
|
|
|
|
_ = x[ErrInsecureSSECustomerRequest-123]
|
|
|
|
_ = x[ErrSSEMultipartEncrypted-124]
|
|
|
|
_ = x[ErrSSEEncryptedObject-125]
|
|
|
|
_ = x[ErrInvalidEncryptionParameters-126]
|
|
|
|
_ = x[ErrInvalidSSECustomerAlgorithm-127]
|
|
|
|
_ = x[ErrInvalidSSECustomerKey-128]
|
|
|
|
_ = x[ErrMissingSSECustomerKey-129]
|
|
|
|
_ = x[ErrMissingSSECustomerKeyMD5-130]
|
|
|
|
_ = x[ErrSSECustomerKeyMD5Mismatch-131]
|
|
|
|
_ = x[ErrInvalidSSECustomerParameters-132]
|
|
|
|
_ = x[ErrIncompatibleEncryptionMethod-133]
|
|
|
|
_ = x[ErrKMSNotConfigured-134]
|
|
|
|
_ = x[ErrKMSKeyNotFoundException-135]
|
|
|
|
_ = x[ErrNoAccessKey-136]
|
|
|
|
_ = x[ErrInvalidToken-137]
|
|
|
|
_ = x[ErrEventNotification-138]
|
|
|
|
_ = x[ErrARNNotification-139]
|
|
|
|
_ = x[ErrRegionNotification-140]
|
|
|
|
_ = x[ErrOverlappingFilterNotification-141]
|
|
|
|
_ = x[ErrFilterNameInvalid-142]
|
|
|
|
_ = x[ErrFilterNamePrefix-143]
|
|
|
|
_ = x[ErrFilterNameSuffix-144]
|
|
|
|
_ = x[ErrFilterValueInvalid-145]
|
|
|
|
_ = x[ErrOverlappingConfigs-146]
|
|
|
|
_ = x[ErrUnsupportedNotification-147]
|
|
|
|
_ = x[ErrContentSHA256Mismatch-148]
|
|
|
|
_ = x[ErrReadQuorum-149]
|
|
|
|
_ = x[ErrWriteQuorum-150]
|
|
|
|
_ = x[ErrStorageFull-151]
|
|
|
|
_ = x[ErrRequestBodyParse-152]
|
|
|
|
_ = x[ErrObjectExistsAsDirectory-153]
|
|
|
|
_ = x[ErrInvalidObjectName-154]
|
|
|
|
_ = x[ErrInvalidObjectNamePrefixSlash-155]
|
|
|
|
_ = x[ErrInvalidResourceName-156]
|
|
|
|
_ = x[ErrServerNotInitialized-157]
|
|
|
|
_ = x[ErrOperationTimedOut-158]
|
|
|
|
_ = x[ErrClientDisconnected-159]
|
|
|
|
_ = x[ErrOperationMaxedOut-160]
|
|
|
|
_ = x[ErrInvalidRequest-161]
|
|
|
|
_ = x[ErrTransitionStorageClassNotFoundError-162]
|
|
|
|
_ = x[ErrInvalidStorageClass-163]
|
|
|
|
_ = x[ErrBackendDown-164]
|
|
|
|
_ = x[ErrMalformedJSON-165]
|
|
|
|
_ = x[ErrAdminNoSuchUser-166]
|
|
|
|
_ = x[ErrAdminNoSuchGroup-167]
|
|
|
|
_ = x[ErrAdminGroupNotEmpty-168]
|
|
|
|
_ = x[ErrAdminNoSuchPolicy-169]
|
|
|
|
_ = x[ErrAdminInvalidArgument-170]
|
|
|
|
_ = x[ErrAdminInvalidAccessKey-171]
|
|
|
|
_ = x[ErrAdminInvalidSecretKey-172]
|
|
|
|
_ = x[ErrAdminConfigNoQuorum-173]
|
|
|
|
_ = x[ErrAdminConfigTooLarge-174]
|
|
|
|
_ = x[ErrAdminConfigBadJSON-175]
|
|
|
|
_ = x[ErrAdminNoSuchConfigTarget-176]
|
|
|
|
_ = x[ErrAdminConfigEnvOverridden-177]
|
|
|
|
_ = x[ErrAdminConfigDuplicateKeys-178]
|
|
|
|
_ = x[ErrAdminCredentialsMismatch-179]
|
|
|
|
_ = x[ErrInsecureClientRequest-180]
|
|
|
|
_ = x[ErrObjectTampered-181]
|
|
|
|
_ = x[ErrSiteReplicationInvalidRequest-182]
|
|
|
|
_ = x[ErrSiteReplicationPeerResp-183]
|
|
|
|
_ = x[ErrSiteReplicationBackendIssue-184]
|
|
|
|
_ = x[ErrSiteReplicationServiceAccountError-185]
|
|
|
|
_ = x[ErrSiteReplicationBucketConfigError-186]
|
|
|
|
_ = x[ErrSiteReplicationBucketMetaError-187]
|
|
|
|
_ = x[ErrSiteReplicationIAMError-188]
|
|
|
|
_ = x[ErrSiteReplicationConfigMissing-189]
|
|
|
|
_ = x[ErrAdminBucketQuotaExceeded-190]
|
|
|
|
_ = x[ErrAdminNoSuchQuotaConfiguration-191]
|
|
|
|
_ = x[ErrHealNotImplemented-192]
|
|
|
|
_ = x[ErrHealNoSuchProcess-193]
|
|
|
|
_ = x[ErrHealInvalidClientToken-194]
|
|
|
|
_ = x[ErrHealMissingBucket-195]
|
|
|
|
_ = x[ErrHealAlreadyRunning-196]
|
|
|
|
_ = x[ErrHealOverlappingPaths-197]
|
|
|
|
_ = x[ErrIncorrectContinuationToken-198]
|
|
|
|
_ = x[ErrEmptyRequestBody-199]
|
|
|
|
_ = x[ErrUnsupportedFunction-200]
|
|
|
|
_ = x[ErrInvalidExpressionType-201]
|
|
|
|
_ = x[ErrBusy-202]
|
|
|
|
_ = x[ErrUnauthorizedAccess-203]
|
|
|
|
_ = x[ErrExpressionTooLong-204]
|
|
|
|
_ = x[ErrIllegalSQLFunctionArgument-205]
|
|
|
|
_ = x[ErrInvalidKeyPath-206]
|
|
|
|
_ = x[ErrInvalidCompressionFormat-207]
|
|
|
|
_ = x[ErrInvalidFileHeaderInfo-208]
|
|
|
|
_ = x[ErrInvalidJSONType-209]
|
|
|
|
_ = x[ErrInvalidQuoteFields-210]
|
|
|
|
_ = x[ErrInvalidRequestParameter-211]
|
|
|
|
_ = x[ErrInvalidDataType-212]
|
|
|
|
_ = x[ErrInvalidTextEncoding-213]
|
|
|
|
_ = x[ErrInvalidDataSource-214]
|
|
|
|
_ = x[ErrInvalidTableAlias-215]
|
|
|
|
_ = x[ErrMissingRequiredParameter-216]
|
|
|
|
_ = x[ErrObjectSerializationConflict-217]
|
|
|
|
_ = x[ErrUnsupportedSQLOperation-218]
|
|
|
|
_ = x[ErrUnsupportedSQLStructure-219]
|
|
|
|
_ = x[ErrUnsupportedSyntax-220]
|
|
|
|
_ = x[ErrUnsupportedRangeHeader-221]
|
|
|
|
_ = x[ErrLexerInvalidChar-222]
|
|
|
|
_ = x[ErrLexerInvalidOperator-223]
|
|
|
|
_ = x[ErrLexerInvalidLiteral-224]
|
|
|
|
_ = x[ErrLexerInvalidIONLiteral-225]
|
|
|
|
_ = x[ErrParseExpectedDatePart-226]
|
|
|
|
_ = x[ErrParseExpectedKeyword-227]
|
|
|
|
_ = x[ErrParseExpectedTokenType-228]
|
|
|
|
_ = x[ErrParseExpected2TokenTypes-229]
|
|
|
|
_ = x[ErrParseExpectedNumber-230]
|
|
|
|
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-231]
|
|
|
|
_ = x[ErrParseExpectedTypeName-232]
|
|
|
|
_ = x[ErrParseExpectedWhenClause-233]
|
|
|
|
_ = x[ErrParseUnsupportedToken-234]
|
|
|
|
_ = x[ErrParseUnsupportedLiteralsGroupBy-235]
|
|
|
|
_ = x[ErrParseExpectedMember-236]
|
|
|
|
_ = x[ErrParseUnsupportedSelect-237]
|
|
|
|
_ = x[ErrParseUnsupportedCase-238]
|
|
|
|
_ = x[ErrParseUnsupportedCaseClause-239]
|
|
|
|
_ = x[ErrParseUnsupportedAlias-240]
|
|
|
|
_ = x[ErrParseUnsupportedSyntax-241]
|
|
|
|
_ = x[ErrParseUnknownOperator-242]
|
|
|
|
_ = x[ErrParseMissingIdentAfterAt-243]
|
|
|
|
_ = x[ErrParseUnexpectedOperator-244]
|
|
|
|
_ = x[ErrParseUnexpectedTerm-245]
|
|
|
|
_ = x[ErrParseUnexpectedToken-246]
|
|
|
|
_ = x[ErrParseUnexpectedKeyword-247]
|
|
|
|
_ = x[ErrParseExpectedExpression-248]
|
|
|
|
_ = x[ErrParseExpectedLeftParenAfterCast-249]
|
|
|
|
_ = x[ErrParseExpectedLeftParenValueConstructor-250]
|
|
|
|
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-251]
|
|
|
|
_ = x[ErrParseExpectedArgumentDelimiter-252]
|
|
|
|
_ = x[ErrParseCastArity-253]
|
|
|
|
_ = x[ErrParseInvalidTypeParam-254]
|
|
|
|
_ = x[ErrParseEmptySelect-255]
|
|
|
|
_ = x[ErrParseSelectMissingFrom-256]
|
|
|
|
_ = x[ErrParseExpectedIdentForGroupName-257]
|
|
|
|
_ = x[ErrParseExpectedIdentForAlias-258]
|
|
|
|
_ = x[ErrParseUnsupportedCallWithStar-259]
|
|
|
|
_ = x[ErrParseNonUnaryAgregateFunctionCall-260]
|
|
|
|
_ = x[ErrParseMalformedJoin-261]
|
|
|
|
_ = x[ErrParseExpectedIdentForAt-262]
|
|
|
|
_ = x[ErrParseAsteriskIsNotAloneInSelectList-263]
|
|
|
|
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-264]
|
|
|
|
_ = x[ErrParseInvalidContextForWildcardInSelectList-265]
|
|
|
|
_ = x[ErrIncorrectSQLFunctionArgumentType-266]
|
|
|
|
_ = x[ErrValueParseFailure-267]
|
|
|
|
_ = x[ErrEvaluatorInvalidArguments-268]
|
|
|
|
_ = x[ErrIntegerOverflow-269]
|
|
|
|
_ = x[ErrLikeInvalidInputs-270]
|
|
|
|
_ = x[ErrCastFailed-271]
|
|
|
|
_ = x[ErrInvalidCast-272]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-273]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-274]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-275]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-276]
|
|
|
|
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-277]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-278]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-279]
|
|
|
|
_ = x[ErrEvaluatorBindingDoesNotExist-280]
|
|
|
|
_ = x[ErrMissingHeaders-281]
|
|
|
|
_ = x[ErrInvalidColumnIndex-282]
|
|
|
|
_ = x[ErrAdminConfigNotificationTargetsFailed-283]
|
|
|
|
_ = x[ErrAdminProfilerNotEnabled-284]
|
|
|
|
_ = x[ErrInvalidDecompressedSize-285]
|
|
|
|
_ = x[ErrAddUserInvalidArgument-286]
|
|
|
|
_ = x[ErrAdminResourceInvalidArgument-287]
|
|
|
|
_ = x[ErrAdminAccountNotEligible-288]
|
|
|
|
_ = x[ErrAccountNotEligible-289]
|
|
|
|
_ = x[ErrAdminServiceAccountNotFound-290]
|
|
|
|
_ = x[ErrPostPolicyConditionInvalidFormat-291]
|
2021-03-31 12:30:52 -04:00
|
|
|
}
|
|
|
|
|
2022-08-16 14:28:30 -04:00
|
|
|
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorReplicationNoExistingObjectsObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledMalformedPolicyMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedCredentialRegionMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataMaximumExpiresSlowDownInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectiveInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchReadQuorumWriteQuorumStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameServerNotInitializedOperationTimedOutClientDisconnectedOperationMaxedOutInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchGroupAdminGroupNotEmptyAdminNoSuchPolicyAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminCredentialsMismatchInsecureClientRequestObjectTamperedSiteReplicationInvalidRequestSiteReplicationPeerRespSiteReplicationBackendIssueSiteReplicationServiceAccountErrorSiteReplicationBucketConfigErrorSiteReplicationBucketMetaErrorSiteReplicationIAMErrorSiteReplicationConfigMissingAdminBucketQuotaExceededAdminNoSuchQuotaConfigurationHealNotImplementedHealNoSuchProcessHealInvalidClientTokenHealMissingBucketHealAlreadyRunningHealOverlappingPathsIncorrectContinuationTokenEmptyRequestBodyUnsupportedFunctionInvalidExpressionT
|
2021-03-31 12:30:52 -04:00
|
|
|
|
2022-08-16 14:28:30 -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, 1253, 1283, 1292, 1304, 1320, 1333, 1347, 1365, 1385, 1406, 1422, 1433, 1449, 1477, 1497, 1513, 1541, 1555, 1572, 1587, 1600, 1614, 1627, 1640, 1656, 1673, 1694, 1708, 1729, 1742, 1764, 1787, 1812, 1828, 1843, 1858, 1879, 1897, 1912, 1929, 1954, 1972, 1995, 2010, 2029, 2045, 2064, 2078, 2086, 2105, 2115, 2130, 2166, 2197, 2230, 2259, 2271, 2291, 2315, 2339, 2360, 2384, 2403, 2426, 2448, 2474, 2495, 2513, 2540, 2567, 2588, 2609, 2633, 2658, 2686, 2714, 2730, 2753, 2764, 2776, 2793, 2808, 2826, 2855, 2872, 2888, 2904, 2922, 2940, 2963, 2984, 2994, 3005, 3016, 3032, 3055, 3072, 3100, 3119, 3139, 3156, 3174, 3191, 3205, 3240, 3259, 3270, 3283, 3298, 3314, 3332, 3349, 3369, 3390, 3411, 3430, 3449, 3467, 3490, 3514, 3538, 3562, 3583, 3597, 3626, 3649, 3676, 3710, 3742, 3772, 3795, 3823, 3847, 3876, 3894, 3911, 3933, 3950, 3968, 3988, 4014, 4030, 4049, 4070, 4074, 4092, 4109, 4135, 4149, 4173, 4194, 4209, 4227, 4250, 4265, 4284, 4301, 4318, 4342, 4369, 4392, 4415, 4432, 4454, 4470, 4490, 4509, 4531, 4552, 4572, 4594, 4618, 4637, 4679, 4700, 4723, 4744, 4775, 4794, 4816, 4836, 4862, 4883, 4905, 4925, 4949, 4972, 4991, 5011, 5033, 5056, 5087, 5125, 5166, 5196, 5210, 5231, 5247, 5269, 5299, 5325, 5353, 5386, 5404, 5427, 5462, 5502, 5544, 5576, 5593, 5618, 5633, 5650, 5660, 5671, 5709, 5763, 5809, 5861, 5909, 5952, 5996, 6024, 6038, 6056, 6092, 6115, 6138, 6160, 6188, 6211, 6229, 6256, 6288}
|
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]]
|
|
|
|
}
|