forked from aws/aws-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
191 lines (161 loc) · 8.05 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
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package configservice
const (
// ErrCodeInsufficientDeliveryPolicyException for service response error code
// "InsufficientDeliveryPolicyException".
//
// Your Amazon S3 bucket policy does not permit AWS Config to write to it.
ErrCodeInsufficientDeliveryPolicyException = "InsufficientDeliveryPolicyException"
// ErrCodeInsufficientPermissionsException for service response error code
// "InsufficientPermissionsException".
//
// Indicates one of the following errors:
//
// * The rule cannot be created because the IAM role assigned to AWS Config
// lacks permissions to perform the config:Put* action.
//
// * The AWS Lambda function cannot be invoked. Check the function ARN, and
// check the function's permissions.
ErrCodeInsufficientPermissionsException = "InsufficientPermissionsException"
// ErrCodeInvalidConfigurationRecorderNameException for service response error code
// "InvalidConfigurationRecorderNameException".
//
// You have provided a configuration recorder name that is not valid.
ErrCodeInvalidConfigurationRecorderNameException = "InvalidConfigurationRecorderNameException"
// ErrCodeInvalidDeliveryChannelNameException for service response error code
// "InvalidDeliveryChannelNameException".
//
// The specified delivery channel name is not valid.
ErrCodeInvalidDeliveryChannelNameException = "InvalidDeliveryChannelNameException"
// ErrCodeInvalidLimitException for service response error code
// "InvalidLimitException".
//
// The specified limit is outside the allowable range.
ErrCodeInvalidLimitException = "InvalidLimitException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The specified next token is invalid. Specify the NextToken string that was
// returned in the previous response to get the next page of results.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValueException".
//
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
// ErrCodeInvalidRecordingGroupException for service response error code
// "InvalidRecordingGroupException".
//
// AWS Config throws an exception if the recording group does not contain a
// valid list of resource types. Invalid values could also be incorrectly formatted.
ErrCodeInvalidRecordingGroupException = "InvalidRecordingGroupException"
// ErrCodeInvalidResultTokenException for service response error code
// "InvalidResultTokenException".
//
// The specified ResultToken is invalid.
ErrCodeInvalidResultTokenException = "InvalidResultTokenException"
// ErrCodeInvalidRoleException for service response error code
// "InvalidRoleException".
//
// You have provided a null or empty role ARN.
ErrCodeInvalidRoleException = "InvalidRoleException"
// ErrCodeInvalidS3KeyPrefixException for service response error code
// "InvalidS3KeyPrefixException".
//
// The specified Amazon S3 key prefix is not valid.
ErrCodeInvalidS3KeyPrefixException = "InvalidS3KeyPrefixException"
// ErrCodeInvalidSNSTopicARNException for service response error code
// "InvalidSNSTopicARNException".
//
// The specified Amazon SNS topic does not exist.
ErrCodeInvalidSNSTopicARNException = "InvalidSNSTopicARNException"
// ErrCodeInvalidTimeRangeException for service response error code
// "InvalidTimeRangeException".
//
// The specified time range is not valid. The earlier time is not chronologically
// before the later time.
ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException"
// ErrCodeLastDeliveryChannelDeleteFailedException for service response error code
// "LastDeliveryChannelDeleteFailedException".
//
// You cannot delete the delivery channel you specified because the configuration
// recorder is running.
ErrCodeLastDeliveryChannelDeleteFailedException = "LastDeliveryChannelDeleteFailedException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// This exception is thrown if an evaluation is in progress or if you call the
// StartConfigRulesEvaluation API more than once per minute.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeMaxNumberOfConfigRulesExceededException for service response error code
// "MaxNumberOfConfigRulesExceededException".
//
// Failed to add the AWS Config rule because the account already contains the
// maximum number of 50 rules. Consider deleting any deactivated rules before
// adding new rules.
ErrCodeMaxNumberOfConfigRulesExceededException = "MaxNumberOfConfigRulesExceededException"
// ErrCodeMaxNumberOfConfigurationRecordersExceededException for service response error code
// "MaxNumberOfConfigurationRecordersExceededException".
//
// You have reached the limit on the number of recorders you can create.
ErrCodeMaxNumberOfConfigurationRecordersExceededException = "MaxNumberOfConfigurationRecordersExceededException"
// ErrCodeMaxNumberOfDeliveryChannelsExceededException for service response error code
// "MaxNumberOfDeliveryChannelsExceededException".
//
// You have reached the limit on the number of delivery channels you can create.
ErrCodeMaxNumberOfDeliveryChannelsExceededException = "MaxNumberOfDeliveryChannelsExceededException"
// ErrCodeNoAvailableConfigurationRecorderException for service response error code
// "NoAvailableConfigurationRecorderException".
//
// There are no configuration recorders available to provide the role needed
// to describe your resources. Create a configuration recorder.
ErrCodeNoAvailableConfigurationRecorderException = "NoAvailableConfigurationRecorderException"
// ErrCodeNoAvailableDeliveryChannelException for service response error code
// "NoAvailableDeliveryChannelException".
//
// There is no delivery channel available to record configurations.
ErrCodeNoAvailableDeliveryChannelException = "NoAvailableDeliveryChannelException"
// ErrCodeNoRunningConfigurationRecorderException for service response error code
// "NoRunningConfigurationRecorderException".
//
// There is no configuration recorder running.
ErrCodeNoRunningConfigurationRecorderException = "NoRunningConfigurationRecorderException"
// ErrCodeNoSuchBucketException for service response error code
// "NoSuchBucketException".
//
// The specified Amazon S3 bucket does not exist.
ErrCodeNoSuchBucketException = "NoSuchBucketException"
// ErrCodeNoSuchConfigRuleException for service response error code
// "NoSuchConfigRuleException".
//
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
ErrCodeNoSuchConfigRuleException = "NoSuchConfigRuleException"
// ErrCodeNoSuchConfigurationRecorderException for service response error code
// "NoSuchConfigurationRecorderException".
//
// You have specified a configuration recorder that does not exist.
ErrCodeNoSuchConfigurationRecorderException = "NoSuchConfigurationRecorderException"
// ErrCodeNoSuchDeliveryChannelException for service response error code
// "NoSuchDeliveryChannelException".
//
// You have specified a delivery channel that does not exist.
ErrCodeNoSuchDeliveryChannelException = "NoSuchDeliveryChannelException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The rule is currently being deleted or the rule is deleting your evaluation
// results. Try your request again later.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotDiscoveredException for service response error code
// "ResourceNotDiscoveredException".
//
// You have specified a resource that is either unknown or has not been discovered.
ErrCodeResourceNotDiscoveredException = "ResourceNotDiscoveredException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// The requested action is not valid.
ErrCodeValidationException = "ValidationException"
)