// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package iottwinmaker import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // Access is denied. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // A conflict occurred. ErrCodeConflictException = "ConflictException" // ErrCodeConnectorFailureException for service response error code // "ConnectorFailureException". // // The connector failed. ErrCodeConnectorFailureException = "ConnectorFailureException" // ErrCodeConnectorTimeoutException for service response error code // "ConnectorTimeoutException". // // The connector timed out. ErrCodeConnectorTimeoutException = "ConnectorTimeoutException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // An unexpected error has occurred. ErrCodeInternalServerException = "InternalServerException" // ErrCodeQueryTimeoutException for service response error code // "QueryTimeoutException". // // The query timeout exception. ErrCodeQueryTimeoutException = "QueryTimeoutException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The resource wasn't found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // The service quota was exceeded. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The rate exceeds the limit. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // // The number of tags exceeds the limit. ErrCodeTooManyTagsException = "TooManyTagsException" // ErrCodeValidationException for service response error code // "ValidationException". // // Failed ErrCodeValidationException = "ValidationException" ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "AccessDeniedException": newErrorAccessDeniedException, "ConflictException": newErrorConflictException, "ConnectorFailureException": newErrorConnectorFailureException, "ConnectorTimeoutException": newErrorConnectorTimeoutException, "InternalServerException": newErrorInternalServerException, "QueryTimeoutException": newErrorQueryTimeoutException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, "ThrottlingException": newErrorThrottlingException, "TooManyTagsException": newErrorTooManyTagsException, "ValidationException": newErrorValidationException, }