1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type ApiCacheStatus string
6
7// Enum values for ApiCacheStatus
8const (
9	ApiCacheStatusAvailable ApiCacheStatus = "AVAILABLE"
10	ApiCacheStatusCreating  ApiCacheStatus = "CREATING"
11	ApiCacheStatusDeleting  ApiCacheStatus = "DELETING"
12	ApiCacheStatusModifying ApiCacheStatus = "MODIFYING"
13	ApiCacheStatusFailed    ApiCacheStatus = "FAILED"
14)
15
16// Values returns all known values for ApiCacheStatus. Note that this can be
17// expanded in the future, and so it is only as up to date as the client. The
18// ordering of this slice is not guaranteed to be stable across updates.
19func (ApiCacheStatus) Values() []ApiCacheStatus {
20	return []ApiCacheStatus{
21		"AVAILABLE",
22		"CREATING",
23		"DELETING",
24		"MODIFYING",
25		"FAILED",
26	}
27}
28
29type ApiCacheType string
30
31// Enum values for ApiCacheType
32const (
33	ApiCacheTypeT2Small   ApiCacheType = "T2_SMALL"
34	ApiCacheTypeT2Medium  ApiCacheType = "T2_MEDIUM"
35	ApiCacheTypeR4Large   ApiCacheType = "R4_LARGE"
36	ApiCacheTypeR4Xlarge  ApiCacheType = "R4_XLARGE"
37	ApiCacheTypeR42xlarge ApiCacheType = "R4_2XLARGE"
38	ApiCacheTypeR44xlarge ApiCacheType = "R4_4XLARGE"
39	ApiCacheTypeR48xlarge ApiCacheType = "R4_8XLARGE"
40	ApiCacheTypeSmall     ApiCacheType = "SMALL"
41	ApiCacheTypeMedium    ApiCacheType = "MEDIUM"
42	ApiCacheTypeLarge     ApiCacheType = "LARGE"
43	ApiCacheTypeXlarge    ApiCacheType = "XLARGE"
44	ApiCacheTypeLarge2x   ApiCacheType = "LARGE_2X"
45	ApiCacheTypeLarge4x   ApiCacheType = "LARGE_4X"
46	ApiCacheTypeLarge8x   ApiCacheType = "LARGE_8X"
47	ApiCacheTypeLarge12x  ApiCacheType = "LARGE_12X"
48)
49
50// Values returns all known values for ApiCacheType. Note that this can be expanded
51// in the future, and so it is only as up to date as the client. The ordering of
52// this slice is not guaranteed to be stable across updates.
53func (ApiCacheType) Values() []ApiCacheType {
54	return []ApiCacheType{
55		"T2_SMALL",
56		"T2_MEDIUM",
57		"R4_LARGE",
58		"R4_XLARGE",
59		"R4_2XLARGE",
60		"R4_4XLARGE",
61		"R4_8XLARGE",
62		"SMALL",
63		"MEDIUM",
64		"LARGE",
65		"XLARGE",
66		"LARGE_2X",
67		"LARGE_4X",
68		"LARGE_8X",
69		"LARGE_12X",
70	}
71}
72
73type ApiCachingBehavior string
74
75// Enum values for ApiCachingBehavior
76const (
77	ApiCachingBehaviorFullRequestCaching ApiCachingBehavior = "FULL_REQUEST_CACHING"
78	ApiCachingBehaviorPerResolverCaching ApiCachingBehavior = "PER_RESOLVER_CACHING"
79)
80
81// Values returns all known values for ApiCachingBehavior. Note that this can be
82// expanded in the future, and so it is only as up to date as the client. The
83// ordering of this slice is not guaranteed to be stable across updates.
84func (ApiCachingBehavior) Values() []ApiCachingBehavior {
85	return []ApiCachingBehavior{
86		"FULL_REQUEST_CACHING",
87		"PER_RESOLVER_CACHING",
88	}
89}
90
91type AuthenticationType string
92
93// Enum values for AuthenticationType
94const (
95	AuthenticationTypeApiKey                 AuthenticationType = "API_KEY"
96	AuthenticationTypeAwsIam                 AuthenticationType = "AWS_IAM"
97	AuthenticationTypeAmazonCognitoUserPools AuthenticationType = "AMAZON_COGNITO_USER_POOLS"
98	AuthenticationTypeOpenidConnect          AuthenticationType = "OPENID_CONNECT"
99)
100
101// Values returns all known values for AuthenticationType. Note that this can be
102// expanded in the future, and so it is only as up to date as the client. The
103// ordering of this slice is not guaranteed to be stable across updates.
104func (AuthenticationType) Values() []AuthenticationType {
105	return []AuthenticationType{
106		"API_KEY",
107		"AWS_IAM",
108		"AMAZON_COGNITO_USER_POOLS",
109		"OPENID_CONNECT",
110	}
111}
112
113type AuthorizationType string
114
115// Enum values for AuthorizationType
116const (
117	AuthorizationTypeAwsIam AuthorizationType = "AWS_IAM"
118)
119
120// Values returns all known values for AuthorizationType. Note that this can be
121// expanded in the future, and so it is only as up to date as the client. The
122// ordering of this slice is not guaranteed to be stable across updates.
123func (AuthorizationType) Values() []AuthorizationType {
124	return []AuthorizationType{
125		"AWS_IAM",
126	}
127}
128
129type ConflictDetectionType string
130
131// Enum values for ConflictDetectionType
132const (
133	ConflictDetectionTypeVersion ConflictDetectionType = "VERSION"
134	ConflictDetectionTypeNone    ConflictDetectionType = "NONE"
135)
136
137// Values returns all known values for ConflictDetectionType. Note that this can be
138// expanded in the future, and so it is only as up to date as the client. The
139// ordering of this slice is not guaranteed to be stable across updates.
140func (ConflictDetectionType) Values() []ConflictDetectionType {
141	return []ConflictDetectionType{
142		"VERSION",
143		"NONE",
144	}
145}
146
147type ConflictHandlerType string
148
149// Enum values for ConflictHandlerType
150const (
151	ConflictHandlerTypeOptimisticConcurrency ConflictHandlerType = "OPTIMISTIC_CONCURRENCY"
152	ConflictHandlerTypeLambda                ConflictHandlerType = "LAMBDA"
153	ConflictHandlerTypeAutomerge             ConflictHandlerType = "AUTOMERGE"
154	ConflictHandlerTypeNone                  ConflictHandlerType = "NONE"
155)
156
157// Values returns all known values for ConflictHandlerType. Note that this can be
158// expanded in the future, and so it is only as up to date as the client. The
159// ordering of this slice is not guaranteed to be stable across updates.
160func (ConflictHandlerType) Values() []ConflictHandlerType {
161	return []ConflictHandlerType{
162		"OPTIMISTIC_CONCURRENCY",
163		"LAMBDA",
164		"AUTOMERGE",
165		"NONE",
166	}
167}
168
169type DataSourceType string
170
171// Enum values for DataSourceType
172const (
173	DataSourceTypeAwsLambda           DataSourceType = "AWS_LAMBDA"
174	DataSourceTypeAmazonDynamodb      DataSourceType = "AMAZON_DYNAMODB"
175	DataSourceTypeAmazonElasticsearch DataSourceType = "AMAZON_ELASTICSEARCH"
176	DataSourceTypeNone                DataSourceType = "NONE"
177	DataSourceTypeHttp                DataSourceType = "HTTP"
178	DataSourceTypeRelationalDatabase  DataSourceType = "RELATIONAL_DATABASE"
179)
180
181// Values returns all known values for DataSourceType. Note that this can be
182// expanded in the future, and so it is only as up to date as the client. The
183// ordering of this slice is not guaranteed to be stable across updates.
184func (DataSourceType) Values() []DataSourceType {
185	return []DataSourceType{
186		"AWS_LAMBDA",
187		"AMAZON_DYNAMODB",
188		"AMAZON_ELASTICSEARCH",
189		"NONE",
190		"HTTP",
191		"RELATIONAL_DATABASE",
192	}
193}
194
195type DefaultAction string
196
197// Enum values for DefaultAction
198const (
199	DefaultActionAllow DefaultAction = "ALLOW"
200	DefaultActionDeny  DefaultAction = "DENY"
201)
202
203// Values returns all known values for DefaultAction. Note that this can be
204// expanded in the future, and so it is only as up to date as the client. The
205// ordering of this slice is not guaranteed to be stable across updates.
206func (DefaultAction) Values() []DefaultAction {
207	return []DefaultAction{
208		"ALLOW",
209		"DENY",
210	}
211}
212
213type FieldLogLevel string
214
215// Enum values for FieldLogLevel
216const (
217	FieldLogLevelNone  FieldLogLevel = "NONE"
218	FieldLogLevelError FieldLogLevel = "ERROR"
219	FieldLogLevelAll   FieldLogLevel = "ALL"
220)
221
222// Values returns all known values for FieldLogLevel. Note that this can be
223// expanded in the future, and so it is only as up to date as the client. The
224// ordering of this slice is not guaranteed to be stable across updates.
225func (FieldLogLevel) Values() []FieldLogLevel {
226	return []FieldLogLevel{
227		"NONE",
228		"ERROR",
229		"ALL",
230	}
231}
232
233type OutputType string
234
235// Enum values for OutputType
236const (
237	OutputTypeSdl  OutputType = "SDL"
238	OutputTypeJson OutputType = "JSON"
239)
240
241// Values returns all known values for OutputType. Note that this can be expanded
242// in the future, and so it is only as up to date as the client. The ordering of
243// this slice is not guaranteed to be stable across updates.
244func (OutputType) Values() []OutputType {
245	return []OutputType{
246		"SDL",
247		"JSON",
248	}
249}
250
251type RelationalDatabaseSourceType string
252
253// Enum values for RelationalDatabaseSourceType
254const (
255	RelationalDatabaseSourceTypeRdsHttpEndpoint RelationalDatabaseSourceType = "RDS_HTTP_ENDPOINT"
256)
257
258// Values returns all known values for RelationalDatabaseSourceType. Note that this
259// can be expanded in the future, and so it is only as up to date as the client.
260// The ordering of this slice is not guaranteed to be stable across updates.
261func (RelationalDatabaseSourceType) Values() []RelationalDatabaseSourceType {
262	return []RelationalDatabaseSourceType{
263		"RDS_HTTP_ENDPOINT",
264	}
265}
266
267type ResolverKind string
268
269// Enum values for ResolverKind
270const (
271	ResolverKindUnit     ResolverKind = "UNIT"
272	ResolverKindPipeline ResolverKind = "PIPELINE"
273)
274
275// Values returns all known values for ResolverKind. Note that this can be expanded
276// in the future, and so it is only as up to date as the client. The ordering of
277// this slice is not guaranteed to be stable across updates.
278func (ResolverKind) Values() []ResolverKind {
279	return []ResolverKind{
280		"UNIT",
281		"PIPELINE",
282	}
283}
284
285type SchemaStatus string
286
287// Enum values for SchemaStatus
288const (
289	SchemaStatusProcessing    SchemaStatus = "PROCESSING"
290	SchemaStatusActive        SchemaStatus = "ACTIVE"
291	SchemaStatusDeleting      SchemaStatus = "DELETING"
292	SchemaStatusFailed        SchemaStatus = "FAILED"
293	SchemaStatusSuccess       SchemaStatus = "SUCCESS"
294	SchemaStatusNotApplicable SchemaStatus = "NOT_APPLICABLE"
295)
296
297// Values returns all known values for SchemaStatus. Note that this can be expanded
298// in the future, and so it is only as up to date as the client. The ordering of
299// this slice is not guaranteed to be stable across updates.
300func (SchemaStatus) Values() []SchemaStatus {
301	return []SchemaStatus{
302		"PROCESSING",
303		"ACTIVE",
304		"DELETING",
305		"FAILED",
306		"SUCCESS",
307		"NOT_APPLICABLE",
308	}
309}
310
311type TypeDefinitionFormat string
312
313// Enum values for TypeDefinitionFormat
314const (
315	TypeDefinitionFormatSdl  TypeDefinitionFormat = "SDL"
316	TypeDefinitionFormatJson TypeDefinitionFormat = "JSON"
317)
318
319// Values returns all known values for TypeDefinitionFormat. Note that this can be
320// expanded in the future, and so it is only as up to date as the client. The
321// ordering of this slice is not guaranteed to be stable across updates.
322func (TypeDefinitionFormat) Values() []TypeDefinitionFormat {
323	return []TypeDefinitionFormat{
324		"SDL",
325		"JSON",
326	}
327}
328