forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
93 lines (79 loc) · 3.88 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package shield
const (
// ErrCodeAccessDeniedForDependencyException for service response error code
// "AccessDeniedForDependencyException".
//
// In order to grant the necessary access to the DDoS Response Team, the user
// submitting AssociateDRTRole must have the iam:PassRole permission. This error
// indicates the user did not have the appropriate permissions. For more information,
// see Granting a User Permissions to Pass a Role to an AWS Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html).
ErrCodeAccessDeniedForDependencyException = "AccessDeniedForDependencyException"
// ErrCodeInternalErrorException for service response error code
// "InternalErrorException".
//
// Exception that indicates that a problem occurred with the service infrastructure.
// You can retry the request.
ErrCodeInternalErrorException = "InternalErrorException"
// ErrCodeInvalidOperationException for service response error code
// "InvalidOperationException".
//
// Exception that indicates that the operation would not cause any change to
// occur.
ErrCodeInvalidOperationException = "InvalidOperationException"
// ErrCodeInvalidPaginationTokenException for service response error code
// "InvalidPaginationTokenException".
//
// Exception that indicates that the NextToken specified in the request is invalid.
// Submit the request using the NextToken value that was returned in the response.
ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// Exception that indicates that the parameters passed to the API are invalid.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeInvalidResourceException for service response error code
// "InvalidResourceException".
//
// Exception that indicates that the resource is invalid. You might not have
// access to the resource, or the resource might not exist.
ErrCodeInvalidResourceException = "InvalidResourceException"
// ErrCodeLimitsExceededException for service response error code
// "LimitsExceededException".
//
// Exception that indicates that the operation would exceed a limit.
//
// Type is the type of limit that would be exceeded.
//
// Limit is the threshold that would be exceeded.
ErrCodeLimitsExceededException = "LimitsExceededException"
// ErrCodeLockedSubscriptionException for service response error code
// "LockedSubscriptionException".
//
// You are trying to update a subscription that has not yet completed the 1-year
// commitment. You can change the AutoRenew parameter during the last 30 days
// of your subscription. This exception indicates that you are attempting to
// change AutoRenew prior to that period.
ErrCodeLockedSubscriptionException = "LockedSubscriptionException"
// ErrCodeNoAssociatedRoleException for service response error code
// "NoAssociatedRoleException".
//
// The ARN of the role that you specifed does not exist.
ErrCodeNoAssociatedRoleException = "NoAssociatedRoleException"
// ErrCodeOptimisticLockException for service response error code
// "OptimisticLockException".
//
// Exception that indicates that the protection state has been modified by another
// client. You can retry the request.
ErrCodeOptimisticLockException = "OptimisticLockException"
// ErrCodeResourceAlreadyExistsException for service response error code
// "ResourceAlreadyExistsException".
//
// Exception indicating the specified resource already exists.
ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// Exception indicating the specified resource does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)