/
errors.go
104 lines (87 loc) · 4.21 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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package servicequotas
const (
// ErrCodeAWSServiceAccessNotEnabledException for service response error code
// "AWSServiceAccessNotEnabledException".
//
// The action you attempted is not allowed unless Service Access with Service
// Quotas is enabled in your organization. To enable, call AssociateServiceQuotaTemplate.
ErrCodeAWSServiceAccessNotEnabledException = "AWSServiceAccessNotEnabledException"
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have sufficient access to perform this action.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeDependencyAccessDeniedException for service response error code
// "DependencyAccessDeniedException".
//
// You can't perform this action because a dependency does not have access.
ErrCodeDependencyAccessDeniedException = "DependencyAccessDeniedException"
// ErrCodeIllegalArgumentException for service response error code
// "IllegalArgumentException".
//
// Invalid input was provided.
ErrCodeIllegalArgumentException = "IllegalArgumentException"
// ErrCodeInvalidPaginationTokenException for service response error code
// "InvalidPaginationTokenException".
//
// Invalid input was provided.
ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException"
// ErrCodeInvalidResourceStateException for service response error code
// "InvalidResourceStateException".
//
// Invalid input was provided for the .
ErrCodeInvalidResourceStateException = "InvalidResourceStateException"
// ErrCodeNoAvailableOrganizationException for service response error code
// "NoAvailableOrganizationException".
//
// The account making this call is not a member of an organization.
ErrCodeNoAvailableOrganizationException = "NoAvailableOrganizationException"
// ErrCodeNoSuchResourceException for service response error code
// "NoSuchResourceException".
//
// The specified resource does not exist.
ErrCodeNoSuchResourceException = "NoSuchResourceException"
// ErrCodeOrganizationNotInAllFeaturesModeException for service response error code
// "OrganizationNotInAllFeaturesModeException".
//
// The organization that your account belongs to, is not in All Features mode.
// To enable all features mode, see EnableAllFeatures (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAllFeatures.html).
ErrCodeOrganizationNotInAllFeaturesModeException = "OrganizationNotInAllFeaturesModeException"
// ErrCodeQuotaExceededException for service response error code
// "QuotaExceededException".
//
// You have exceeded your service quota. To perform the requested action, remove
// some of the relevant resources, or use Service Quotas to request a service
// quota increase.
ErrCodeQuotaExceededException = "QuotaExceededException"
// ErrCodeResourceAlreadyExistsException for service response error code
// "ResourceAlreadyExistsException".
//
// The specified resource already exists.
ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
// ErrCodeServiceException for service response error code
// "ServiceException".
//
// Something went wrong.
ErrCodeServiceException = "ServiceException"
// ErrCodeServiceQuotaTemplateNotInUseException for service response error code
// "ServiceQuotaTemplateNotInUseException".
//
// The quota request template is not associated with your organization.
//
// To use the template, call AssociateServiceQuotaTemplate.
ErrCodeServiceQuotaTemplateNotInUseException = "ServiceQuotaTemplateNotInUseException"
// ErrCodeTemplatesNotAvailableInRegionException for service response error code
// "TemplatesNotAvailableInRegionException".
//
// The Service Quotas template is not available in the Region where you are
// making the request. Please make the request in us-east-1.
ErrCodeTemplatesNotAvailableInRegionException = "TemplatesNotAvailableInRegionException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// Due to throttling, the request was denied. Slow down the rate of request
// calls, or request an increase for this quota.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
)