forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
327 lines (280 loc) · 13 KB
/
errors.go
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package route53
const (
// ErrCodeConcurrentModification for service response error code
// "ConcurrentModification".
//
// Another user submitted a request to update the object at the same time that
// you did. Retry the request.
ErrCodeConcurrentModification = "ConcurrentModification"
// ErrCodeConflictingDomainExists for service response error code
// "ConflictingDomainExists".
//
// You specified an Amazon VPC that you're already using for another hosted
// zone, and the domain that you specified for one of the hosted zones is a
// subdomain of the domain that you specified for the other hosted zone. For
// example, you can't use the same Amazon VPC for the hosted zones for example.com
// and test.example.com.
ErrCodeConflictingDomainExists = "ConflictingDomainExists"
// ErrCodeConflictingTypes for service response error code
// "ConflictingTypes".
//
// You tried to update a traffic policy instance by using a traffic policy version
// that has a different DNS type than the current type for the instance. You
// specified the type in the JSON document in the CreateTrafficPolicy or CreateTrafficPolicyVersionrequest.
ErrCodeConflictingTypes = "ConflictingTypes"
// ErrCodeDelegationSetAlreadyCreated for service response error code
// "DelegationSetAlreadyCreated".
//
// A delegation set with the same owner and caller reference combination has
// already been created.
ErrCodeDelegationSetAlreadyCreated = "DelegationSetAlreadyCreated"
// ErrCodeDelegationSetAlreadyReusable for service response error code
// "DelegationSetAlreadyReusable".
//
// The specified delegation set has already been marked as reusable.
ErrCodeDelegationSetAlreadyReusable = "DelegationSetAlreadyReusable"
// ErrCodeDelegationSetInUse for service response error code
// "DelegationSetInUse".
//
// The specified delegation contains associated hosted zones which must be deleted
// before the reusable delegation set can be deleted.
ErrCodeDelegationSetInUse = "DelegationSetInUse"
// ErrCodeDelegationSetNotAvailable for service response error code
// "DelegationSetNotAvailable".
//
// You can create a hosted zone that has the same name as an existing hosted
// zone (example.com is common), but there is a limit to the number of hosted
// zones that have the same name. If you get this error, Amazon Route 53 has
// reached that limit. If you own the domain name and Amazon Route 53 generates
// this error, contact Customer Support.
ErrCodeDelegationSetNotAvailable = "DelegationSetNotAvailable"
// ErrCodeDelegationSetNotReusable for service response error code
// "DelegationSetNotReusable".
//
// A reusable delegation set with the specified ID does not exist.
ErrCodeDelegationSetNotReusable = "DelegationSetNotReusable"
// ErrCodeHealthCheckAlreadyExists for service response error code
// "HealthCheckAlreadyExists".
//
// The health check you're attempting to create already exists. Amazon Route
// 53 returns this error when you submit a request that has the following values:
//
// * The same value for CallerReference as an existing health check, and
// one or more values that differ from the existing health check that has
// the same caller reference.
//
// * The same value for CallerReference as a health check that you created
// and later deleted, regardless of the other settings in the request.
ErrCodeHealthCheckAlreadyExists = "HealthCheckAlreadyExists"
// ErrCodeHealthCheckInUse for service response error code
// "HealthCheckInUse".
//
// The health check ID for this health check is referenced in the HealthCheckId
// element in one of the resource record sets in one of the hosted zones that
// are owned by the current AWS account.
ErrCodeHealthCheckInUse = "HealthCheckInUse"
// ErrCodeHealthCheckVersionMismatch for service response error code
// "HealthCheckVersionMismatch".
//
// The value of HealthCheckVersion in the request doesn't match the value of
// HealthCheckVersion in the health check.
ErrCodeHealthCheckVersionMismatch = "HealthCheckVersionMismatch"
// ErrCodeHostedZoneAlreadyExists for service response error code
// "HostedZoneAlreadyExists".
//
// The hosted zone you're trying to create already exists. Amazon Route 53 returns
// this error when a hosted zone has already been created with the specified
// CallerReference.
ErrCodeHostedZoneAlreadyExists = "HostedZoneAlreadyExists"
// ErrCodeHostedZoneNotEmpty for service response error code
// "HostedZoneNotEmpty".
//
// The hosted zone contains resource records that are not SOA or NS records.
ErrCodeHostedZoneNotEmpty = "HostedZoneNotEmpty"
// ErrCodeHostedZoneNotFound for service response error code
// "HostedZoneNotFound".
//
// The specified HostedZone can't be found.
ErrCodeHostedZoneNotFound = "HostedZoneNotFound"
// ErrCodeIncompatibleVersion for service response error code
// "IncompatibleVersion".
//
// The resource you're trying to access is unsupported on this Amazon Route
// 53 endpoint.
ErrCodeIncompatibleVersion = "IncompatibleVersion"
// ErrCodeInvalidArgument for service response error code
// "InvalidArgument".
//
// Parameter name is invalid.
ErrCodeInvalidArgument = "InvalidArgument"
// ErrCodeInvalidChangeBatch for service response error code
// "InvalidChangeBatch".
//
// This exception contains a list of messages that might contain one or more
// error messages. Each error message indicates one error in the change batch.
ErrCodeInvalidChangeBatch = "InvalidChangeBatch"
// ErrCodeInvalidDomainName for service response error code
// "InvalidDomainName".
//
// The specified domain name is not valid.
ErrCodeInvalidDomainName = "InvalidDomainName"
// ErrCodeInvalidInput for service response error code
// "InvalidInput".
//
// The input is not valid.
ErrCodeInvalidInput = "InvalidInput"
// ErrCodeInvalidPaginationToken for service response error code
// "InvalidPaginationToken".
ErrCodeInvalidPaginationToken = "InvalidPaginationToken"
// ErrCodeInvalidTrafficPolicyDocument for service response error code
// "InvalidTrafficPolicyDocument".
//
// The format of the traffic policy document that you specified in the Document
// element is invalid.
ErrCodeInvalidTrafficPolicyDocument = "InvalidTrafficPolicyDocument"
// ErrCodeInvalidVPCId for service response error code
// "InvalidVPCId".
//
// The VPC ID that you specified either isn't a valid ID or the current account
// is not authorized to access this VPC.
ErrCodeInvalidVPCId = "InvalidVPCId"
// ErrCodeLastVPCAssociation for service response error code
// "LastVPCAssociation".
//
// The VPC that you're trying to disassociate from the private hosted zone is
// the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't
// support disassociating the last VPC from a hosted zone.
ErrCodeLastVPCAssociation = "LastVPCAssociation"
// ErrCodeLimitsExceeded for service response error code
// "LimitsExceeded".
//
// The limits specified for a resource have been exceeded.
ErrCodeLimitsExceeded = "LimitsExceeded"
// ErrCodeNoSuchChange for service response error code
// "NoSuchChange".
//
// A change with the specified change ID does not exist.
ErrCodeNoSuchChange = "NoSuchChange"
// ErrCodeNoSuchDelegationSet for service response error code
// "NoSuchDelegationSet".
//
// A reusable delegation set with the specified ID does not exist.
ErrCodeNoSuchDelegationSet = "NoSuchDelegationSet"
// ErrCodeNoSuchGeoLocation for service response error code
// "NoSuchGeoLocation".
//
// Amazon Route 53 doesn't support the specified geolocation.
ErrCodeNoSuchGeoLocation = "NoSuchGeoLocation"
// ErrCodeNoSuchHealthCheck for service response error code
// "NoSuchHealthCheck".
//
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
ErrCodeNoSuchHealthCheck = "NoSuchHealthCheck"
// ErrCodeNoSuchHostedZone for service response error code
// "NoSuchHostedZone".
//
// No hosted zone exists with the ID that you specified.
ErrCodeNoSuchHostedZone = "NoSuchHostedZone"
// ErrCodeNoSuchTrafficPolicy for service response error code
// "NoSuchTrafficPolicy".
//
// No traffic policy exists with the specified ID.
ErrCodeNoSuchTrafficPolicy = "NoSuchTrafficPolicy"
// ErrCodeNoSuchTrafficPolicyInstance for service response error code
// "NoSuchTrafficPolicyInstance".
//
// No traffic policy instance exists with the specified ID.
ErrCodeNoSuchTrafficPolicyInstance = "NoSuchTrafficPolicyInstance"
// ErrCodeNotAuthorizedException for service response error code
// "NotAuthorizedException".
//
// Associating the specified VPC with the specified hosted zone has not been
// authorized.
ErrCodeNotAuthorizedException = "NotAuthorizedException"
// ErrCodePriorRequestNotComplete for service response error code
// "PriorRequestNotComplete".
//
// If Amazon Route 53 can't process a request before the next request arrives,
// it will reject subsequent requests for the same hosted zone and return an
// HTTP 400 error (Bad request). If Amazon Route 53 returns this error repeatedly
// for the same request, we recommend that you wait, in intervals of increasing
// duration, before you try the request again.
ErrCodePriorRequestNotComplete = "PriorRequestNotComplete"
// ErrCodePublicZoneVPCAssociation for service response error code
// "PublicZoneVPCAssociation".
//
// You're trying to associate a VPC with a public hosted zone. Amazon Route
// 53 doesn't support associating a VPC with a public hosted zone.
ErrCodePublicZoneVPCAssociation = "PublicZoneVPCAssociation"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// The limit on the number of requests per second was exceeded.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeTooManyHealthChecks for service response error code
// "TooManyHealthChecks".
//
// You have reached the maximum number of active health checks for an AWS account.
// The default limit is 100. To request a higher limit, create a case (http://aws.amazon.com/route53-request)
// with the AWS Support Center.
ErrCodeTooManyHealthChecks = "TooManyHealthChecks"
// ErrCodeTooManyHostedZones for service response error code
// "TooManyHostedZones".
//
// This hosted zone can't be created because the hosted zone limit is exceeded.
// To request a limit increase, go to the Amazon Route 53 Contact Us (http://aws.amazon.com/route53-request/)
// page.
ErrCodeTooManyHostedZones = "TooManyHostedZones"
// ErrCodeTooManyTrafficPolicies for service response error code
// "TooManyTrafficPolicies".
//
// You've created the maximum number of traffic policies that can be created
// for the current AWS account. You can request an increase to the limit on
// the Contact Us (http://aws.amazon.com/route53-request/) page.
ErrCodeTooManyTrafficPolicies = "TooManyTrafficPolicies"
// ErrCodeTooManyTrafficPolicyInstances for service response error code
// "TooManyTrafficPolicyInstances".
//
// You've created the maximum number of traffic policy instances that can be
// created for the current AWS account. You can request an increase to the limit
// on the Contact Us (http://aws.amazon.com/route53-request/) page.
ErrCodeTooManyTrafficPolicyInstances = "TooManyTrafficPolicyInstances"
// ErrCodeTooManyVPCAssociationAuthorizations for service response error code
// "TooManyVPCAssociationAuthorizations".
//
// You've created the maximum number of authorizations that can be created for
// the specified hosted zone. To authorize another VPC to be associated with
// the hosted zone, submit a DeleteVPCAssociationAuthorization request to remove
// an existing authorization. To get a list of existing authorizations, submit
// a ListVPCAssociationAuthorizations request.
ErrCodeTooManyVPCAssociationAuthorizations = "TooManyVPCAssociationAuthorizations"
// ErrCodeTrafficPolicyAlreadyExists for service response error code
// "TrafficPolicyAlreadyExists".
//
// A traffic policy that has the same value for Name already exists.
ErrCodeTrafficPolicyAlreadyExists = "TrafficPolicyAlreadyExists"
// ErrCodeTrafficPolicyInUse for service response error code
// "TrafficPolicyInUse".
//
// One or more traffic policy instances were created by using the specified
// traffic policy.
ErrCodeTrafficPolicyInUse = "TrafficPolicyInUse"
// ErrCodeTrafficPolicyInstanceAlreadyExists for service response error code
// "TrafficPolicyInstanceAlreadyExists".
//
// Traffic policy instance with given Id already exists.
ErrCodeTrafficPolicyInstanceAlreadyExists = "TrafficPolicyInstanceAlreadyExists"
// ErrCodeVPCAssociationAuthorizationNotFound for service response error code
// "VPCAssociationAuthorizationNotFound".
//
// The VPC that you specified is not authorized to be associated with the hosted
// zone.
ErrCodeVPCAssociationAuthorizationNotFound = "VPCAssociationAuthorizationNotFound"
// ErrCodeVPCAssociationNotFound for service response error code
// "VPCAssociationNotFound".
//
// The specified VPC and hosted zone are not currently associated.
ErrCodeVPCAssociationNotFound = "VPCAssociationNotFound"
)