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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
"fmt"
smithy "github.com/aws/smithy-go"
)
// This error is returned if you call AssociateDelegationSignerToDomain when the
// specified domain has reached the maximum number of DS records. You can't add any
// additional DS records unless you delete an existing one first.
type DnssecLimitExceeded struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
func (e *DnssecLimitExceeded) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *DnssecLimitExceeded) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *DnssecLimitExceeded) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "DnssecLimitExceeded"
}
return *e.ErrorCodeOverride
}
func (e *DnssecLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// The number of domains has exceeded the allowed threshold for the account.
type DomainLimitExceeded struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
func (e *DomainLimitExceeded) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *DomainLimitExceeded) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *DomainLimitExceeded) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "DomainLimitExceeded"
}
return *e.ErrorCodeOverride
}
func (e *DomainLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// The request is already in progress for the domain.
type DuplicateRequest struct {
Message *string
ErrorCodeOverride *string
RequestId *string
noSmithyDocumentSerde
}
func (e *DuplicateRequest) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *DuplicateRequest) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *DuplicateRequest) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "DuplicateRequest"
}
return *e.ErrorCodeOverride
}
func (e *DuplicateRequest) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// 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.
type InvalidInput struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
func (e *InvalidInput) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *InvalidInput) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *InvalidInput) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "InvalidInput"
}
return *e.ErrorCodeOverride
}
func (e *InvalidInput) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// The number of operations or jobs running exceeded the allowed threshold for the
// account.
type OperationLimitExceeded struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
func (e *OperationLimitExceeded) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *OperationLimitExceeded) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *OperationLimitExceeded) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "OperationLimitExceeded"
}
return *e.ErrorCodeOverride
}
func (e *OperationLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// The top-level domain does not support this operation.
type TLDRulesViolation struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
func (e *TLDRulesViolation) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *TLDRulesViolation) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *TLDRulesViolation) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "TLDRulesViolation"
}
return *e.ErrorCodeOverride
}
func (e *TLDRulesViolation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
// Amazon Route 53 does not support this top-level domain (TLD).
type UnsupportedTLD struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
func (e *UnsupportedTLD) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
func (e *UnsupportedTLD) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
func (e *UnsupportedTLD) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "UnsupportedTLD"
}
return *e.ErrorCodeOverride
}
func (e *UnsupportedTLD) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
|