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]
|
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]
|
|
|
|
_ = x[ErrInvalidPrefixMarker-113]
|
|
|
|
_ = x[ErrBadRequest-114]
|
|
|
|
_ = x[ErrKeyTooLongError-115]
|
|
|
|
_ = x[ErrInvalidBucketObjectLockConfiguration-116]
|
|
|
|
_ = x[ErrObjectLockConfigurationNotFound-117]
|
|
|
|
_ = x[ErrObjectLockConfigurationNotAllowed-118]
|
|
|
|
_ = x[ErrNoSuchObjectLockConfiguration-119]
|
|
|
|
_ = x[ErrObjectLocked-120]
|
|
|
|
_ = x[ErrInvalidRetentionDate-121]
|
|
|
|
_ = x[ErrPastObjectLockRetainDate-122]
|
|
|
|
_ = x[ErrUnknownWORMModeDirective-123]
|
|
|
|
_ = x[ErrBucketTaggingNotFound-124]
|
|
|
|
_ = x[ErrObjectLockInvalidHeaders-125]
|
|
|
|
_ = x[ErrInvalidTagDirective-126]
|
|
|
|
_ = x[ErrPolicyAlreadyAttached-127]
|
|
|
|
_ = x[ErrPolicyNotAttached-128]
|
|
|
|
_ = x[ErrExcessData-129]
|
|
|
|
_ = x[ErrInvalidEncryptionMethod-130]
|
|
|
|
_ = x[ErrInvalidEncryptionKeyID-131]
|
|
|
|
_ = x[ErrInsecureSSECustomerRequest-132]
|
|
|
|
_ = x[ErrSSEMultipartEncrypted-133]
|
|
|
|
_ = x[ErrSSEEncryptedObject-134]
|
|
|
|
_ = x[ErrInvalidEncryptionParameters-135]
|
|
|
|
_ = x[ErrInvalidEncryptionParametersSSEC-136]
|
|
|
|
_ = x[ErrInvalidSSECustomerAlgorithm-137]
|
|
|
|
_ = x[ErrInvalidSSECustomerKey-138]
|
|
|
|
_ = x[ErrMissingSSECustomerKey-139]
|
|
|
|
_ = x[ErrMissingSSECustomerKeyMD5-140]
|
|
|
|
_ = x[ErrSSECustomerKeyMD5Mismatch-141]
|
|
|
|
_ = x[ErrInvalidSSECustomerParameters-142]
|
|
|
|
_ = x[ErrIncompatibleEncryptionMethod-143]
|
|
|
|
_ = x[ErrKMSNotConfigured-144]
|
|
|
|
_ = x[ErrKMSKeyNotFoundException-145]
|
|
|
|
_ = x[ErrKMSDefaultKeyAlreadyConfigured-146]
|
|
|
|
_ = x[ErrNoAccessKey-147]
|
|
|
|
_ = x[ErrInvalidToken-148]
|
|
|
|
_ = x[ErrEventNotification-149]
|
|
|
|
_ = x[ErrARNNotification-150]
|
|
|
|
_ = x[ErrRegionNotification-151]
|
|
|
|
_ = x[ErrOverlappingFilterNotification-152]
|
|
|
|
_ = x[ErrFilterNameInvalid-153]
|
|
|
|
_ = x[ErrFilterNamePrefix-154]
|
|
|
|
_ = x[ErrFilterNameSuffix-155]
|
|
|
|
_ = x[ErrFilterValueInvalid-156]
|
|
|
|
_ = x[ErrOverlappingConfigs-157]
|
|
|
|
_ = x[ErrUnsupportedNotification-158]
|
|
|
|
_ = x[ErrContentSHA256Mismatch-159]
|
|
|
|
_ = x[ErrContentChecksumMismatch-160]
|
|
|
|
_ = x[ErrStorageFull-161]
|
|
|
|
_ = x[ErrRequestBodyParse-162]
|
|
|
|
_ = x[ErrObjectExistsAsDirectory-163]
|
|
|
|
_ = x[ErrInvalidObjectName-164]
|
|
|
|
_ = x[ErrInvalidObjectNamePrefixSlash-165]
|
|
|
|
_ = x[ErrInvalidResourceName-166]
|
|
|
|
_ = x[ErrInvalidLifecycleQueryParameter-167]
|
|
|
|
_ = x[ErrServerNotInitialized-168]
|
|
|
|
_ = x[ErrRequestTimedout-169]
|
|
|
|
_ = x[ErrClientDisconnected-170]
|
|
|
|
_ = x[ErrTooManyRequests-171]
|
|
|
|
_ = x[ErrInvalidRequest-172]
|
|
|
|
_ = x[ErrTransitionStorageClassNotFoundError-173]
|
|
|
|
_ = x[ErrInvalidStorageClass-174]
|
|
|
|
_ = x[ErrBackendDown-175]
|
|
|
|
_ = x[ErrMalformedJSON-176]
|
|
|
|
_ = x[ErrAdminNoSuchUser-177]
|
|
|
|
_ = x[ErrAdminNoSuchUserLDAPWarn-178]
|
|
|
|
_ = x[ErrAdminNoSuchGroup-179]
|
|
|
|
_ = x[ErrAdminGroupNotEmpty-180]
|
|
|
|
_ = x[ErrAdminGroupDisabled-181]
|
|
|
|
_ = x[ErrAdminNoSuchJob-182]
|
|
|
|
_ = x[ErrAdminNoSuchPolicy-183]
|
|
|
|
_ = x[ErrAdminPolicyChangeAlreadyApplied-184]
|
|
|
|
_ = x[ErrAdminInvalidArgument-185]
|
|
|
|
_ = x[ErrAdminInvalidAccessKey-186]
|
|
|
|
_ = x[ErrAdminInvalidSecretKey-187]
|
|
|
|
_ = x[ErrAdminConfigNoQuorum-188]
|
|
|
|
_ = x[ErrAdminConfigTooLarge-189]
|
|
|
|
_ = x[ErrAdminConfigBadJSON-190]
|
|
|
|
_ = x[ErrAdminNoSuchConfigTarget-191]
|
|
|
|
_ = x[ErrAdminConfigEnvOverridden-192]
|
|
|
|
_ = x[ErrAdminConfigDuplicateKeys-193]
|
|
|
|
_ = x[ErrAdminConfigInvalidIDPType-194]
|
|
|
|
_ = x[ErrAdminConfigLDAPNonDefaultConfigName-195]
|
|
|
|
_ = x[ErrAdminConfigLDAPValidation-196]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-197]
|
|
|
|
_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-198]
|
|
|
|
_ = x[ErrAdminCredentialsMismatch-199]
|
|
|
|
_ = x[ErrInsecureClientRequest-200]
|
|
|
|
_ = x[ErrObjectTampered-201]
|
|
|
|
_ = x[ErrSiteReplicationInvalidRequest-202]
|
|
|
|
_ = x[ErrSiteReplicationPeerResp-203]
|
|
|
|
_ = x[ErrSiteReplicationBackendIssue-204]
|
|
|
|
_ = x[ErrSiteReplicationServiceAccountError-205]
|
|
|
|
_ = x[ErrSiteReplicationBucketConfigError-206]
|
|
|
|
_ = x[ErrSiteReplicationBucketMetaError-207]
|
|
|
|
_ = x[ErrSiteReplicationIAMError-208]
|
|
|
|
_ = x[ErrSiteReplicationConfigMissing-209]
|
|
|
|
_ = x[ErrAdminRebalanceAlreadyStarted-210]
|
|
|
|
_ = x[ErrAdminRebalanceNotStarted-211]
|
|
|
|
_ = x[ErrAdminBucketQuotaExceeded-212]
|
|
|
|
_ = x[ErrAdminNoSuchQuotaConfiguration-213]
|
|
|
|
_ = x[ErrHealNotImplemented-214]
|
|
|
|
_ = x[ErrHealNoSuchProcess-215]
|
|
|
|
_ = x[ErrHealInvalidClientToken-216]
|
|
|
|
_ = x[ErrHealMissingBucket-217]
|
|
|
|
_ = x[ErrHealAlreadyRunning-218]
|
|
|
|
_ = x[ErrHealOverlappingPaths-219]
|
|
|
|
_ = x[ErrIncorrectContinuationToken-220]
|
|
|
|
_ = x[ErrEmptyRequestBody-221]
|
|
|
|
_ = x[ErrUnsupportedFunction-222]
|
|
|
|
_ = x[ErrInvalidExpressionType-223]
|
|
|
|
_ = x[ErrBusy-224]
|
|
|
|
_ = x[ErrUnauthorizedAccess-225]
|
|
|
|
_ = x[ErrExpressionTooLong-226]
|
|
|
|
_ = x[ErrIllegalSQLFunctionArgument-227]
|
|
|
|
_ = x[ErrInvalidKeyPath-228]
|
|
|
|
_ = x[ErrInvalidCompressionFormat-229]
|
|
|
|
_ = x[ErrInvalidFileHeaderInfo-230]
|
|
|
|
_ = x[ErrInvalidJSONType-231]
|
|
|
|
_ = x[ErrInvalidQuoteFields-232]
|
|
|
|
_ = x[ErrInvalidRequestParameter-233]
|
|
|
|
_ = x[ErrInvalidDataType-234]
|
|
|
|
_ = x[ErrInvalidTextEncoding-235]
|
|
|
|
_ = x[ErrInvalidDataSource-236]
|
|
|
|
_ = x[ErrInvalidTableAlias-237]
|
|
|
|
_ = x[ErrMissingRequiredParameter-238]
|
|
|
|
_ = x[ErrObjectSerializationConflict-239]
|
|
|
|
_ = x[ErrUnsupportedSQLOperation-240]
|
|
|
|
_ = x[ErrUnsupportedSQLStructure-241]
|
|
|
|
_ = x[ErrUnsupportedSyntax-242]
|
|
|
|
_ = x[ErrUnsupportedRangeHeader-243]
|
|
|
|
_ = x[ErrLexerInvalidChar-244]
|
|
|
|
_ = x[ErrLexerInvalidOperator-245]
|
|
|
|
_ = x[ErrLexerInvalidLiteral-246]
|
|
|
|
_ = x[ErrLexerInvalidIONLiteral-247]
|
|
|
|
_ = x[ErrParseExpectedDatePart-248]
|
|
|
|
_ = x[ErrParseExpectedKeyword-249]
|
|
|
|
_ = x[ErrParseExpectedTokenType-250]
|
|
|
|
_ = x[ErrParseExpected2TokenTypes-251]
|
|
|
|
_ = x[ErrParseExpectedNumber-252]
|
|
|
|
_ = x[ErrParseExpectedRightParenBuiltinFunctionCall-253]
|
|
|
|
_ = x[ErrParseExpectedTypeName-254]
|
|
|
|
_ = x[ErrParseExpectedWhenClause-255]
|
|
|
|
_ = x[ErrParseUnsupportedToken-256]
|
|
|
|
_ = x[ErrParseUnsupportedLiteralsGroupBy-257]
|
|
|
|
_ = x[ErrParseExpectedMember-258]
|
|
|
|
_ = x[ErrParseUnsupportedSelect-259]
|
|
|
|
_ = x[ErrParseUnsupportedCase-260]
|
|
|
|
_ = x[ErrParseUnsupportedCaseClause-261]
|
|
|
|
_ = x[ErrParseUnsupportedAlias-262]
|
|
|
|
_ = x[ErrParseUnsupportedSyntax-263]
|
|
|
|
_ = x[ErrParseUnknownOperator-264]
|
|
|
|
_ = x[ErrParseMissingIdentAfterAt-265]
|
|
|
|
_ = x[ErrParseUnexpectedOperator-266]
|
|
|
|
_ = x[ErrParseUnexpectedTerm-267]
|
|
|
|
_ = x[ErrParseUnexpectedToken-268]
|
|
|
|
_ = x[ErrParseUnexpectedKeyword-269]
|
|
|
|
_ = x[ErrParseExpectedExpression-270]
|
|
|
|
_ = x[ErrParseExpectedLeftParenAfterCast-271]
|
|
|
|
_ = x[ErrParseExpectedLeftParenValueConstructor-272]
|
|
|
|
_ = x[ErrParseExpectedLeftParenBuiltinFunctionCall-273]
|
|
|
|
_ = x[ErrParseExpectedArgumentDelimiter-274]
|
|
|
|
_ = x[ErrParseCastArity-275]
|
|
|
|
_ = x[ErrParseInvalidTypeParam-276]
|
|
|
|
_ = x[ErrParseEmptySelect-277]
|
|
|
|
_ = x[ErrParseSelectMissingFrom-278]
|
|
|
|
_ = x[ErrParseExpectedIdentForGroupName-279]
|
|
|
|
_ = x[ErrParseExpectedIdentForAlias-280]
|
|
|
|
_ = x[ErrParseUnsupportedCallWithStar-281]
|
|
|
|
_ = x[ErrParseNonUnaryAgregateFunctionCall-282]
|
|
|
|
_ = x[ErrParseMalformedJoin-283]
|
|
|
|
_ = x[ErrParseExpectedIdentForAt-284]
|
|
|
|
_ = x[ErrParseAsteriskIsNotAloneInSelectList-285]
|
|
|
|
_ = x[ErrParseCannotMixSqbAndWildcardInSelectList-286]
|
|
|
|
_ = x[ErrParseInvalidContextForWildcardInSelectList-287]
|
|
|
|
_ = x[ErrIncorrectSQLFunctionArgumentType-288]
|
|
|
|
_ = x[ErrValueParseFailure-289]
|
|
|
|
_ = x[ErrEvaluatorInvalidArguments-290]
|
|
|
|
_ = x[ErrIntegerOverflow-291]
|
|
|
|
_ = x[ErrLikeInvalidInputs-292]
|
|
|
|
_ = x[ErrCastFailed-293]
|
|
|
|
_ = x[ErrInvalidCast-294]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPattern-295]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbolForParsing-296]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternDuplicateFields-297]
|
|
|
|
_ = x[ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch-298]
|
|
|
|
_ = x[ErrEvaluatorUnterminatedTimestampFormatPatternToken-299]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternToken-300]
|
|
|
|
_ = x[ErrEvaluatorInvalidTimestampFormatPatternSymbol-301]
|
|
|
|
_ = x[ErrEvaluatorBindingDoesNotExist-302]
|
|
|
|
_ = x[ErrMissingHeaders-303]
|
|
|
|
_ = x[ErrInvalidColumnIndex-304]
|
|
|
|
_ = x[ErrAdminConfigNotificationTargetsFailed-305]
|
|
|
|
_ = x[ErrAdminProfilerNotEnabled-306]
|
|
|
|
_ = x[ErrInvalidDecompressedSize-307]
|
|
|
|
_ = x[ErrAddUserInvalidArgument-308]
|
|
|
|
_ = x[ErrAdminResourceInvalidArgument-309]
|
|
|
|
_ = x[ErrAdminAccountNotEligible-310]
|
|
|
|
_ = x[ErrAccountNotEligible-311]
|
|
|
|
_ = x[ErrAdminServiceAccountNotFound-312]
|
|
|
|
_ = x[ErrPostPolicyConditionInvalidFormat-313]
|
|
|
|
_ = x[ErrInvalidChecksum-314]
|
|
|
|
_ = x[ErrLambdaARNInvalid-315]
|
|
|
|
_ = x[ErrLambdaARNNotFound-316]
|
|
|
|
_ = x[apiErrCodeEnd-317]
|
2021-03-31 12:30:52 -04:00
|
|
|
}
|
|
|
|
|
2023-07-10 23:09:20 -04:00
|
|
|
const _APIErrorCode_name = "NoneAccessDeniedBadDigestEntityTooSmallEntityTooLargePolicyTooLargeIncompleteBodyInternalErrorInvalidAccessKeyIDAccessKeyDisabledInvalidArgumentInvalidBucketNameInvalidDigestInvalidRangeInvalidRangePartNumberInvalidCopyPartRangeInvalidCopyPartRangeSourceInvalidMaxKeysInvalidEncodingMethodInvalidMaxUploadsInvalidMaxPartsInvalidPartNumberMarkerInvalidPartNumberInvalidRequestBodyInvalidCopySourceInvalidMetadataDirectiveInvalidCopyDestInvalidPolicyDocumentInvalidObjectStateMalformedXMLMissingContentLengthMissingContentMD5MissingRequestBodyErrorMissingSecurityHeaderNoSuchBucketNoSuchBucketPolicyNoSuchBucketLifecycleNoSuchLifecycleConfigurationInvalidLifecycleWithObjectLockNoSuchBucketSSEConfigNoSuchCORSConfigurationNoSuchWebsiteConfigurationReplicationConfigurationNotFoundErrorRemoteDestinationNotFoundErrorReplicationDestinationMissingLockRemoteTargetNotFoundErrorReplicationRemoteConnectionErrorReplicationBandwidthLimitErrorBucketRemoteIdenticalToSourceBucketRemoteAlreadyExistsBucketRemoteLabelInUseBucketRemoteArnTypeInvalidBucketRemoteArnInvalidBucketRemoteRemoveDisallowedRemoteTargetNotVersionedErrorReplicationSourceNotVersionedErrorReplicationNeedsVersioningErrorReplicationBucketNeedsVersioningErrorReplicationDenyEditErrorRemoteTargetDenyAddErrorReplicationNoExistingObjectsReplicationValidationErrorReplicationPermissionCheckErrorObjectRestoreAlreadyInProgressNoSuchKeyNoSuchUploadInvalidVersionIDNoSuchVersionNotImplementedPreconditionFailedRequestTimeTooSkewedSignatureDoesNotMatchMethodNotAllowedInvalidPartInvalidPartOrderMissingPartAuthorizationHeaderMalformedMalformedPOSTRequestPOSTFileRequiredSignatureVersionNotSupportedBucketNotEmptyAllAccessDisabledPolicyInvalidVersionMissingFieldsMissingCredTagCredMalformedInvalidRegionInvalidServiceS3InvalidServiceSTSInvalidRequestVersionMissingSignTagMissingSignHeadersTagMalformedDateMalformedPresignedDateMalformedCredentialDateMalformedExpiresNegativeExpiresAuthHeaderEmptyExpiredPresignRequestRequestNotReadyYetUnsignedHeadersMissingDateHeaderInvalidQuerySignatureAlgoInvalidQueryParamsBucketAlreadyOwnedByYouInvalidDurationBucketAlreadyExistsMetadataTooLargeUnsupportedMetadataUnsupportedHostHeaderMaximumExpiresSlowDownReadSlowDownWriteInvalidPrefixMarkerBadRequestKeyTooLongErrorInvalidBucketObjectLockConfigurationObjectLockConfigurationNotFoundObjectLockConfigurationNotAllowedNoSuchObjectLockConfigurationObjectLockedInvalidRetentionDatePastObjectLockRetainDateUnknownWORMModeDirectiveBucketTaggingNotFoundObjectLockInvalidHeadersInvalidTagDirectivePolicyAlreadyAttachedPolicyNotAttachedExcessDataInvalidEncryptionMethodInvalidEncryptionKeyIDInsecureSSECustomerRequestSSEMultipartEncryptedSSEEncryptedObjectInvalidEncryptionParametersInvalidEncryptionParametersSSECInvalidSSECustomerAlgorithmInvalidSSECustomerKeyMissingSSECustomerKeyMissingSSECustomerKeyMD5SSECustomerKeyMD5MismatchInvalidSSECustomerParametersIncompatibleEncryptionMethodKMSNotConfiguredKMSKeyNotFoundExceptionKMSDefaultKeyAlreadyConfiguredNoAccessKeyInvalidTokenEventNotificationARNNotificationRegionNotificationOverlappingFilterNotificationFilterNameInvalidFilterNamePrefixFilterNameSuffixFilterValueInvalidOverlappingConfigsUnsupportedNotificationContentSHA256MismatchContentChecksumMismatchStorageFullRequestBodyParseObjectExistsAsDirectoryInvalidObjectNameInvalidObjectNamePrefixSlashInvalidResourceNameInvalidLifecycleQueryParameterServerNotInitializedRequestTimedoutClientDisconnectedTooManyRequestsInvalidRequestTransitionStorageClassNotFoundErrorInvalidStorageClassBackendDownMalformedJSONAdminNoSuchUserAdminNoSuchUserLDAPWarnAdminNoSuchGroupAdminGroupNotEmptyAdminGroupDisabledAdminNoSuchJobAdminNoSuchPolicyAdminPolicyChangeAlreadyAppliedAdminInvalidArgumentAdminInvalidAccessKeyAdminInvalidSecretKeyAdminConfigNoQuorumAdminConfigTooLargeAdminConfigBadJSONAdminNoSuchConfigTargetAdminConfigEnvOverriddenAdminConfigDuplicateKeysAdminConfigInvalidIDPTypeAdminConfigLDAPNonDefaultConfigNameAdminConfigLDAPValidationAdminConfigIDPCfgNameAlreadyExistsAdminConfigIDPCfgNameDoesNotExistAdminCredentialsMismatchInsec
|
2021-03-31 12:30:52 -04:00
|
|
|
|
2023-07-10 23:09:20 -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, 2240, 2255, 2291, 2322, 2355, 2384, 2396, 2416, 2440, 2464, 2485, 2509, 2528, 2549, 2566, 2576, 2599, 2621, 2647, 2668, 2686, 2713, 2744, 2771, 2792, 2813, 2837, 2862, 2890, 2918, 2934, 2957, 2987, 2998, 3010, 3027, 3042, 3060, 3089, 3106, 3122, 3138, 3156, 3174, 3197, 3218, 3241, 3252, 3268, 3291, 3308, 3336, 3355, 3385, 3405, 3420, 3438, 3453, 3467, 3502, 3521, 3532, 3545, 3560, 3583, 3599, 3617, 3635, 3649, 3666, 3697, 3717, 3738, 3759, 3778, 3797, 3815, 3838, 3862, 3886, 3911, 3946, 3971, 4005, 4038, 4062, 4083, 4097, 4126, 4149, 4176, 4210, 4242, 4272, 4295, 4323, 4351, 4375, 4399, 4428, 4446, 4463, 4485, 4502, 4520, 4540, 4566, 4582, 4601, 4622, 4626, 4644, 4661, 4687, 4701, 4725, 4746, 4761, 4779, 4802, 4817, 4836, 4853, 4870, 4894, 4921, 4944, 4967, 4984, 5006, 5022, 5042, 5061, 5083, 5104, 5124, 5146, 5170, 5189, 5231, 5252, 5275, 5296, 5327, 5346, 5368, 5388, 5414, 5435, 5457, 5477, 5501, 5524, 5543, 5563, 5585, 5608, 5639, 5677, 5718, 5748, 5762, 5783, 5799, 5821, 5851, 5877, 5905, 5938, 5956, 5979, 6014, 6054, 6096, 6128, 6145, 6170, 6185, 6202, 6212, 6223, 6261, 6315, 6361, 6413, 6461, 6504, 6548, 6576, 6590, 6608, 6644, 6667, 6690, 6712, 6740, 6763, 6781, 6808, 6840, 6855, 6871, 6888, 6901}
|
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]]
|
|
|
|
}
|