1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package route53domains
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeDomainLimitExceeded for service response error code
// "DomainLimitExceeded".
//
// The number of domains has exceeded the allowed threshold for the account.
ErrCodeDomainLimitExceeded = "DomainLimitExceeded"
// ErrCodeDuplicateRequest for service response error code
// "DuplicateRequest".
//
// The request is already in progress for the domain.
ErrCodeDuplicateRequest = "DuplicateRequest"
// ErrCodeInvalidInput for service response error code
// "InvalidInput".
//
// The requested item is not acceptable. For example, for APIs that accept a
// domain name, the request might specify a domain name that doesn't belong
// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount,
// the password might be invalid.
ErrCodeInvalidInput = "InvalidInput"
// ErrCodeOperationLimitExceeded for service response error code
// "OperationLimitExceeded".
//
// The number of operations or jobs running exceeded the allowed threshold for
// the account.
ErrCodeOperationLimitExceeded = "OperationLimitExceeded"
// ErrCodeTLDRulesViolation for service response error code
// "TLDRulesViolation".
//
// The top-level domain does not support this operation.
ErrCodeTLDRulesViolation = "TLDRulesViolation"
// ErrCodeUnsupportedTLD for service response error code
// "UnsupportedTLD".
//
// Amazon Route 53 does not support this top-level domain (TLD).
ErrCodeUnsupportedTLD = "UnsupportedTLD"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"DomainLimitExceeded": newErrorDomainLimitExceeded,
"DuplicateRequest": newErrorDuplicateRequest,
"InvalidInput": newErrorInvalidInput,
"OperationLimitExceeded": newErrorOperationLimitExceeded,
"TLDRulesViolation": newErrorTLDRulesViolation,
"UnsupportedTLD": newErrorUnsupportedTLD,
}
|