1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package glue
4
5import (
6	"github.com/aws/aws-sdk-go/private/protocol"
7)
8
9const (
10
11	// ErrCodeAccessDeniedException for service response error code
12	// "AccessDeniedException".
13	//
14	// Access to a resource was denied.
15	ErrCodeAccessDeniedException = "AccessDeniedException"
16
17	// ErrCodeAlreadyExistsException for service response error code
18	// "AlreadyExistsException".
19	//
20	// A resource to be created or added already exists.
21	ErrCodeAlreadyExistsException = "AlreadyExistsException"
22
23	// ErrCodeConcurrentModificationException for service response error code
24	// "ConcurrentModificationException".
25	//
26	// Two processes are trying to modify a resource simultaneously.
27	ErrCodeConcurrentModificationException = "ConcurrentModificationException"
28
29	// ErrCodeConcurrentRunsExceededException for service response error code
30	// "ConcurrentRunsExceededException".
31	//
32	// Too many jobs are being run concurrently.
33	ErrCodeConcurrentRunsExceededException = "ConcurrentRunsExceededException"
34
35	// ErrCodeConditionCheckFailureException for service response error code
36	// "ConditionCheckFailureException".
37	//
38	// A specified condition was not satisfied.
39	ErrCodeConditionCheckFailureException = "ConditionCheckFailureException"
40
41	// ErrCodeConflictException for service response error code
42	// "ConflictException".
43	//
44	// The CreatePartitions API was called on a table that has indexes enabled.
45	ErrCodeConflictException = "ConflictException"
46
47	// ErrCodeCrawlerNotRunningException for service response error code
48	// "CrawlerNotRunningException".
49	//
50	// The specified crawler is not running.
51	ErrCodeCrawlerNotRunningException = "CrawlerNotRunningException"
52
53	// ErrCodeCrawlerRunningException for service response error code
54	// "CrawlerRunningException".
55	//
56	// The operation cannot be performed because the crawler is already running.
57	ErrCodeCrawlerRunningException = "CrawlerRunningException"
58
59	// ErrCodeCrawlerStoppingException for service response error code
60	// "CrawlerStoppingException".
61	//
62	// The specified crawler is stopping.
63	ErrCodeCrawlerStoppingException = "CrawlerStoppingException"
64
65	// ErrCodeEncryptionException for service response error code
66	// "GlueEncryptionException".
67	//
68	// An encryption operation failed.
69	ErrCodeEncryptionException = "GlueEncryptionException"
70
71	// ErrCodeEntityNotFoundException for service response error code
72	// "EntityNotFoundException".
73	//
74	// A specified entity does not exist
75	ErrCodeEntityNotFoundException = "EntityNotFoundException"
76
77	// ErrCodeIdempotentParameterMismatchException for service response error code
78	// "IdempotentParameterMismatchException".
79	//
80	// The same unique identifier was associated with two different records.
81	ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"
82
83	// ErrCodeIllegalBlueprintStateException for service response error code
84	// "IllegalBlueprintStateException".
85	ErrCodeIllegalBlueprintStateException = "IllegalBlueprintStateException"
86
87	// ErrCodeIllegalWorkflowStateException for service response error code
88	// "IllegalWorkflowStateException".
89	//
90	// The workflow is in an invalid state to perform a requested operation.
91	ErrCodeIllegalWorkflowStateException = "IllegalWorkflowStateException"
92
93	// ErrCodeInternalServiceException for service response error code
94	// "InternalServiceException".
95	//
96	// An internal service error occurred.
97	ErrCodeInternalServiceException = "InternalServiceException"
98
99	// ErrCodeInvalidInputException for service response error code
100	// "InvalidInputException".
101	//
102	// The input provided was not valid.
103	ErrCodeInvalidInputException = "InvalidInputException"
104
105	// ErrCodeMLTransformNotReadyException for service response error code
106	// "MLTransformNotReadyException".
107	//
108	// The machine learning transform is not ready to run.
109	ErrCodeMLTransformNotReadyException = "MLTransformNotReadyException"
110
111	// ErrCodeNoScheduleException for service response error code
112	// "NoScheduleException".
113	//
114	// There is no applicable schedule.
115	ErrCodeNoScheduleException = "NoScheduleException"
116
117	// ErrCodeOperationTimeoutException for service response error code
118	// "OperationTimeoutException".
119	//
120	// The operation timed out.
121	ErrCodeOperationTimeoutException = "OperationTimeoutException"
122
123	// ErrCodeResourceNumberLimitExceededException for service response error code
124	// "ResourceNumberLimitExceededException".
125	//
126	// A resource numerical limit was exceeded.
127	ErrCodeResourceNumberLimitExceededException = "ResourceNumberLimitExceededException"
128
129	// ErrCodeSchedulerNotRunningException for service response error code
130	// "SchedulerNotRunningException".
131	//
132	// The specified scheduler is not running.
133	ErrCodeSchedulerNotRunningException = "SchedulerNotRunningException"
134
135	// ErrCodeSchedulerRunningException for service response error code
136	// "SchedulerRunningException".
137	//
138	// The specified scheduler is already running.
139	ErrCodeSchedulerRunningException = "SchedulerRunningException"
140
141	// ErrCodeSchedulerTransitioningException for service response error code
142	// "SchedulerTransitioningException".
143	//
144	// The specified scheduler is transitioning.
145	ErrCodeSchedulerTransitioningException = "SchedulerTransitioningException"
146
147	// ErrCodeValidationException for service response error code
148	// "ValidationException".
149	//
150	// A value could not be validated.
151	ErrCodeValidationException = "ValidationException"
152
153	// ErrCodeVersionMismatchException for service response error code
154	// "VersionMismatchException".
155	//
156	// There was a version conflict.
157	ErrCodeVersionMismatchException = "VersionMismatchException"
158)
159
160var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
161	"AccessDeniedException":                newErrorAccessDeniedException,
162	"AlreadyExistsException":               newErrorAlreadyExistsException,
163	"ConcurrentModificationException":      newErrorConcurrentModificationException,
164	"ConcurrentRunsExceededException":      newErrorConcurrentRunsExceededException,
165	"ConditionCheckFailureException":       newErrorConditionCheckFailureException,
166	"ConflictException":                    newErrorConflictException,
167	"CrawlerNotRunningException":           newErrorCrawlerNotRunningException,
168	"CrawlerRunningException":              newErrorCrawlerRunningException,
169	"CrawlerStoppingException":             newErrorCrawlerStoppingException,
170	"GlueEncryptionException":              newErrorEncryptionException,
171	"EntityNotFoundException":              newErrorEntityNotFoundException,
172	"IdempotentParameterMismatchException": newErrorIdempotentParameterMismatchException,
173	"IllegalBlueprintStateException":       newErrorIllegalBlueprintStateException,
174	"IllegalWorkflowStateException":        newErrorIllegalWorkflowStateException,
175	"InternalServiceException":             newErrorInternalServiceException,
176	"InvalidInputException":                newErrorInvalidInputException,
177	"MLTransformNotReadyException":         newErrorMLTransformNotReadyException,
178	"NoScheduleException":                  newErrorNoScheduleException,
179	"OperationTimeoutException":            newErrorOperationTimeoutException,
180	"ResourceNumberLimitExceededException": newErrorResourceNumberLimitExceededException,
181	"SchedulerNotRunningException":         newErrorSchedulerNotRunningException,
182	"SchedulerRunningException":            newErrorSchedulerRunningException,
183	"SchedulerTransitioningException":      newErrorSchedulerTransitioningException,
184	"ValidationException":                  newErrorValidationException,
185	"VersionMismatchException":             newErrorVersionMismatchException,
186}
187