Debian Codegraph @

service/route53recoverycluster/errors.go

raw
1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3 package route53recoverycluster
4
5 import (
6 "github.com/aws/aws-sdk-go/private/protocol"
7 )
8
9 const (
10
11 // ErrCodeAccessDeniedException for service response error code
12 // "AccessDeniedException".
13 //
14 // You don't have sufficient permissions to perform this action.
15 ErrCodeAccessDeniedException = "AccessDeniedException"
16
17 // ErrCodeConflictException for service response error code
18 // "ConflictException".
19 //
20 // There was a conflict with this request. Try again.
21 ErrCodeConflictException = "ConflictException"
22
23 // ErrCodeEndpointTemporarilyUnavailableException for service response error code
24 // "EndpointTemporarilyUnavailableException".
25 //
26 // The cluster endpoint isn't available. Try another cluster endpoint.
27 ErrCodeEndpointTemporarilyUnavailableException = "EndpointTemporarilyUnavailableException"
28
29 // ErrCodeInternalServerException for service response error code
30 // "InternalServerException".
31 //
32 // There was an unexpected error during processing of the request.
33 ErrCodeInternalServerException = "InternalServerException"
34
35 // ErrCodeResourceNotFoundException for service response error code
36 // "ResourceNotFoundException".
37 //
38 // The request references a routing control or control panel that was not found.
39 ErrCodeResourceNotFoundException = "ResourceNotFoundException"
40
41 // ErrCodeServiceLimitExceededException for service response error code
42 // "ServiceLimitExceededException".
43 //
44 // The request can't update that many routing control states at the same time.
45 // Try again with fewer routing control states.
46 ErrCodeServiceLimitExceededException = "ServiceLimitExceededException"
47
48 // ErrCodeThrottlingException for service response error code
49 // "ThrottlingException".
50 //
51 // The request was denied because of request throttling.
52 ErrCodeThrottlingException = "ThrottlingException"
53
54 // ErrCodeValidationException for service response error code
55 // "ValidationException".
56 //
57 // There was a validation error on the request.
58 ErrCodeValidationException = "ValidationException"
59 )
60
61 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
62 "AccessDeniedException": newErrorAccessDeniedException,
63 "ConflictException": newErrorConflictException,
64 "EndpointTemporarilyUnavailableException": newErrorEndpointTemporarilyUnavailableException,
65 "InternalServerException": newErrorInternalServerException,
66 "ResourceNotFoundException": newErrorResourceNotFoundException,
67 "ServiceLimitExceededException": newErrorServiceLimitExceededException,
68 "ThrottlingException": newErrorThrottlingException,
69 "ValidationException": newErrorValidationException,
70 }