// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package mgn import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // Operating denied due to a file permission or access check error. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // The request could not be completed due to a conflict with the current state // of the target resource. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // The server encountered an unexpected condition that prevented it from fulfilling // the request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // Resource not found exception. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // The request could not be completed because its exceeded the service quota. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // Reached throttling quota exception. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeUninitializedAccountException for service response error code // "UninitializedAccountException". // // Uninitialized account exception. ErrCodeUninitializedAccountException = "UninitializedAccountException" // ErrCodeValidationException for service response error code // "ValidationException". // // Validate exception. ErrCodeValidationException = "ValidationException" ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "AccessDeniedException": newErrorAccessDeniedException, "ConflictException": newErrorConflictException, "InternalServerException": newErrorInternalServerException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, "ThrottlingException": newErrorThrottlingException, "UninitializedAccountException": newErrorUninitializedAccountException, "ValidationException": newErrorValidationException, }