forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
errors.go
77 lines (64 loc) · 2.92 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cognitoidentity
const (
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// Thrown if there are parallel requests to modify a resource.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeDeveloperUserAlreadyRegisteredException for service response error code
// "DeveloperUserAlreadyRegisteredException".
//
// The provided developer user identifier is already registered with Cognito
// under a different identity ID.
ErrCodeDeveloperUserAlreadyRegisteredException = "DeveloperUserAlreadyRegisteredException"
// ErrCodeExternalServiceException for service response error code
// "ExternalServiceException".
//
// An exception thrown when a dependent service such as Facebook or Twitter
// is not responding
ErrCodeExternalServiceException = "ExternalServiceException"
// ErrCodeInternalErrorException for service response error code
// "InternalErrorException".
//
// Thrown when the service encounters an error during processing the request.
ErrCodeInternalErrorException = "InternalErrorException"
// ErrCodeInvalidIdentityPoolConfigurationException for service response error code
// "InvalidIdentityPoolConfigurationException".
//
// Thrown if the identity pool has no role associated for the given auth type
// (auth/unauth) or if the AssumeRole fails.
ErrCodeInvalidIdentityPoolConfigurationException = "InvalidIdentityPoolConfigurationException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// Thrown for missing or bad input parameter(s).
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Thrown when the total number of user pools has exceeded a preset limit.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeNotAuthorizedException for service response error code
// "NotAuthorizedException".
//
// Thrown when a user is not authorized to access the requested resource.
ErrCodeNotAuthorizedException = "NotAuthorizedException"
// ErrCodeResourceConflictException for service response error code
// "ResourceConflictException".
//
// Thrown when a user tries to use a login which is already linked to another
// account.
ErrCodeResourceConflictException = "ResourceConflictException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// Thrown when the requested resource (for example, a dataset or record) does
// not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// Thrown when a request is throttled.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
)