1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type CodeSigningPolicy string
6
7// Enum values for CodeSigningPolicy
8const (
9	CodeSigningPolicyWarn    CodeSigningPolicy = "Warn"
10	CodeSigningPolicyEnforce CodeSigningPolicy = "Enforce"
11)
12
13// Values returns all known values for CodeSigningPolicy. Note that this can be
14// expanded in the future, and so it is only as up to date as the client. The
15// ordering of this slice is not guaranteed to be stable across updates.
16func (CodeSigningPolicy) Values() []CodeSigningPolicy {
17	return []CodeSigningPolicy{
18		"Warn",
19		"Enforce",
20	}
21}
22
23type EndPointType string
24
25// Enum values for EndPointType
26const (
27	EndPointTypeKafkaBootstrapServers EndPointType = "KAFKA_BOOTSTRAP_SERVERS"
28)
29
30// Values returns all known values for EndPointType. Note that this can be expanded
31// in the future, and so it is only as up to date as the client. The ordering of
32// this slice is not guaranteed to be stable across updates.
33func (EndPointType) Values() []EndPointType {
34	return []EndPointType{
35		"KAFKA_BOOTSTRAP_SERVERS",
36	}
37}
38
39type EventSourcePosition string
40
41// Enum values for EventSourcePosition
42const (
43	EventSourcePositionTrimHorizon EventSourcePosition = "TRIM_HORIZON"
44	EventSourcePositionLatest      EventSourcePosition = "LATEST"
45	EventSourcePositionAtTimestamp EventSourcePosition = "AT_TIMESTAMP"
46)
47
48// Values returns all known values for EventSourcePosition. Note that this can be
49// expanded in the future, and so it is only as up to date as the client. The
50// ordering of this slice is not guaranteed to be stable across updates.
51func (EventSourcePosition) Values() []EventSourcePosition {
52	return []EventSourcePosition{
53		"TRIM_HORIZON",
54		"LATEST",
55		"AT_TIMESTAMP",
56	}
57}
58
59type FunctionResponseType string
60
61// Enum values for FunctionResponseType
62const (
63	FunctionResponseTypeReportBatchItemFailures FunctionResponseType = "ReportBatchItemFailures"
64)
65
66// Values returns all known values for FunctionResponseType. Note that this can be
67// expanded in the future, and so it is only as up to date as the client. The
68// ordering of this slice is not guaranteed to be stable across updates.
69func (FunctionResponseType) Values() []FunctionResponseType {
70	return []FunctionResponseType{
71		"ReportBatchItemFailures",
72	}
73}
74
75type FunctionVersion string
76
77// Enum values for FunctionVersion
78const (
79	FunctionVersionAll FunctionVersion = "ALL"
80)
81
82// Values returns all known values for FunctionVersion. Note that this can be
83// expanded in the future, and so it is only as up to date as the client. The
84// ordering of this slice is not guaranteed to be stable across updates.
85func (FunctionVersion) Values() []FunctionVersion {
86	return []FunctionVersion{
87		"ALL",
88	}
89}
90
91type InvocationType string
92
93// Enum values for InvocationType
94const (
95	InvocationTypeEvent           InvocationType = "Event"
96	InvocationTypeRequestResponse InvocationType = "RequestResponse"
97	InvocationTypeDryRun          InvocationType = "DryRun"
98)
99
100// Values returns all known values for InvocationType. Note that this can be
101// expanded in the future, and so it is only as up to date as the client. The
102// ordering of this slice is not guaranteed to be stable across updates.
103func (InvocationType) Values() []InvocationType {
104	return []InvocationType{
105		"Event",
106		"RequestResponse",
107		"DryRun",
108	}
109}
110
111type LastUpdateStatus string
112
113// Enum values for LastUpdateStatus
114const (
115	LastUpdateStatusSuccessful LastUpdateStatus = "Successful"
116	LastUpdateStatusFailed     LastUpdateStatus = "Failed"
117	LastUpdateStatusInProgress LastUpdateStatus = "InProgress"
118)
119
120// Values returns all known values for LastUpdateStatus. 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 (LastUpdateStatus) Values() []LastUpdateStatus {
124	return []LastUpdateStatus{
125		"Successful",
126		"Failed",
127		"InProgress",
128	}
129}
130
131type LastUpdateStatusReasonCode string
132
133// Enum values for LastUpdateStatusReasonCode
134const (
135	LastUpdateStatusReasonCodeEniLimitExceeded            LastUpdateStatusReasonCode = "EniLimitExceeded"
136	LastUpdateStatusReasonCodeInsufficientRolePermissions LastUpdateStatusReasonCode = "InsufficientRolePermissions"
137	LastUpdateStatusReasonCodeInvalidConfiguration        LastUpdateStatusReasonCode = "InvalidConfiguration"
138	LastUpdateStatusReasonCodeInternalError               LastUpdateStatusReasonCode = "InternalError"
139	LastUpdateStatusReasonCodeSubnetOutOfIPAddresses      LastUpdateStatusReasonCode = "SubnetOutOfIPAddresses"
140	LastUpdateStatusReasonCodeInvalidSubnet               LastUpdateStatusReasonCode = "InvalidSubnet"
141	LastUpdateStatusReasonCodeInvalidSecurityGroup        LastUpdateStatusReasonCode = "InvalidSecurityGroup"
142	LastUpdateStatusReasonCodeImageDeleted                LastUpdateStatusReasonCode = "ImageDeleted"
143	LastUpdateStatusReasonCodeImageAccessDenied           LastUpdateStatusReasonCode = "ImageAccessDenied"
144	LastUpdateStatusReasonCodeInvalidImage                LastUpdateStatusReasonCode = "InvalidImage"
145)
146
147// Values returns all known values for LastUpdateStatusReasonCode. Note that this
148// can be expanded in the future, and so it is only as up to date as the client.
149// The ordering of this slice is not guaranteed to be stable across updates.
150func (LastUpdateStatusReasonCode) Values() []LastUpdateStatusReasonCode {
151	return []LastUpdateStatusReasonCode{
152		"EniLimitExceeded",
153		"InsufficientRolePermissions",
154		"InvalidConfiguration",
155		"InternalError",
156		"SubnetOutOfIPAddresses",
157		"InvalidSubnet",
158		"InvalidSecurityGroup",
159		"ImageDeleted",
160		"ImageAccessDenied",
161		"InvalidImage",
162	}
163}
164
165type LogType string
166
167// Enum values for LogType
168const (
169	LogTypeNone LogType = "None"
170	LogTypeTail LogType = "Tail"
171)
172
173// Values returns all known values for LogType. Note that this can be expanded in
174// the future, and so it is only as up to date as the client. The ordering of this
175// slice is not guaranteed to be stable across updates.
176func (LogType) Values() []LogType {
177	return []LogType{
178		"None",
179		"Tail",
180	}
181}
182
183type PackageType string
184
185// Enum values for PackageType
186const (
187	PackageTypeZip   PackageType = "Zip"
188	PackageTypeImage PackageType = "Image"
189)
190
191// Values returns all known values for PackageType. Note that this can be expanded
192// in the future, and so it is only as up to date as the client. The ordering of
193// this slice is not guaranteed to be stable across updates.
194func (PackageType) Values() []PackageType {
195	return []PackageType{
196		"Zip",
197		"Image",
198	}
199}
200
201type ProvisionedConcurrencyStatusEnum string
202
203// Enum values for ProvisionedConcurrencyStatusEnum
204const (
205	ProvisionedConcurrencyStatusEnumInProgress ProvisionedConcurrencyStatusEnum = "IN_PROGRESS"
206	ProvisionedConcurrencyStatusEnumReady      ProvisionedConcurrencyStatusEnum = "READY"
207	ProvisionedConcurrencyStatusEnumFailed     ProvisionedConcurrencyStatusEnum = "FAILED"
208)
209
210// Values returns all known values for ProvisionedConcurrencyStatusEnum. Note that
211// this can be expanded in the future, and so it is only as up to date as the
212// client. The ordering of this slice is not guaranteed to be stable across
213// updates.
214func (ProvisionedConcurrencyStatusEnum) Values() []ProvisionedConcurrencyStatusEnum {
215	return []ProvisionedConcurrencyStatusEnum{
216		"IN_PROGRESS",
217		"READY",
218		"FAILED",
219	}
220}
221
222type Runtime string
223
224// Enum values for Runtime
225const (
226	RuntimeNodejs       Runtime = "nodejs"
227	RuntimeNodejs43     Runtime = "nodejs4.3"
228	RuntimeNodejs610    Runtime = "nodejs6.10"
229	RuntimeNodejs810    Runtime = "nodejs8.10"
230	RuntimeNodejs10x    Runtime = "nodejs10.x"
231	RuntimeNodejs12x    Runtime = "nodejs12.x"
232	RuntimeNodejs14x    Runtime = "nodejs14.x"
233	RuntimeJava8        Runtime = "java8"
234	RuntimeJava8al2     Runtime = "java8.al2"
235	RuntimeJava11       Runtime = "java11"
236	RuntimePython27     Runtime = "python2.7"
237	RuntimePython36     Runtime = "python3.6"
238	RuntimePython37     Runtime = "python3.7"
239	RuntimePython38     Runtime = "python3.8"
240	RuntimeDotnetcore10 Runtime = "dotnetcore1.0"
241	RuntimeDotnetcore20 Runtime = "dotnetcore2.0"
242	RuntimeDotnetcore21 Runtime = "dotnetcore2.1"
243	RuntimeDotnetcore31 Runtime = "dotnetcore3.1"
244	RuntimeNodejs43edge Runtime = "nodejs4.3-edge"
245	RuntimeGo1x         Runtime = "go1.x"
246	RuntimeRuby25       Runtime = "ruby2.5"
247	RuntimeRuby27       Runtime = "ruby2.7"
248	RuntimeProvided     Runtime = "provided"
249	RuntimeProvidedal2  Runtime = "provided.al2"
250)
251
252// Values returns all known values for Runtime. Note that this can be expanded in
253// the future, and so it is only as up to date as the client. The ordering of this
254// slice is not guaranteed to be stable across updates.
255func (Runtime) Values() []Runtime {
256	return []Runtime{
257		"nodejs",
258		"nodejs4.3",
259		"nodejs6.10",
260		"nodejs8.10",
261		"nodejs10.x",
262		"nodejs12.x",
263		"nodejs14.x",
264		"java8",
265		"java8.al2",
266		"java11",
267		"python2.7",
268		"python3.6",
269		"python3.7",
270		"python3.8",
271		"dotnetcore1.0",
272		"dotnetcore2.0",
273		"dotnetcore2.1",
274		"dotnetcore3.1",
275		"nodejs4.3-edge",
276		"go1.x",
277		"ruby2.5",
278		"ruby2.7",
279		"provided",
280		"provided.al2",
281	}
282}
283
284type SourceAccessType string
285
286// Enum values for SourceAccessType
287const (
288	SourceAccessTypeBasicAuth        SourceAccessType = "BASIC_AUTH"
289	SourceAccessTypeVpcSubnet        SourceAccessType = "VPC_SUBNET"
290	SourceAccessTypeVpcSecurityGroup SourceAccessType = "VPC_SECURITY_GROUP"
291	SourceAccessTypeSaslScram512Auth SourceAccessType = "SASL_SCRAM_512_AUTH"
292	SourceAccessTypeSaslScram256Auth SourceAccessType = "SASL_SCRAM_256_AUTH"
293)
294
295// Values returns all known values for SourceAccessType. Note that this can be
296// expanded in the future, and so it is only as up to date as the client. The
297// ordering of this slice is not guaranteed to be stable across updates.
298func (SourceAccessType) Values() []SourceAccessType {
299	return []SourceAccessType{
300		"BASIC_AUTH",
301		"VPC_SUBNET",
302		"VPC_SECURITY_GROUP",
303		"SASL_SCRAM_512_AUTH",
304		"SASL_SCRAM_256_AUTH",
305	}
306}
307
308type State string
309
310// Enum values for State
311const (
312	StatePending  State = "Pending"
313	StateActive   State = "Active"
314	StateInactive State = "Inactive"
315	StateFailed   State = "Failed"
316)
317
318// Values returns all known values for State. Note that this can be expanded in the
319// future, and so it is only as up to date as the client. The ordering of this
320// slice is not guaranteed to be stable across updates.
321func (State) Values() []State {
322	return []State{
323		"Pending",
324		"Active",
325		"Inactive",
326		"Failed",
327	}
328}
329
330type StateReasonCode string
331
332// Enum values for StateReasonCode
333const (
334	StateReasonCodeIdle                        StateReasonCode = "Idle"
335	StateReasonCodeCreating                    StateReasonCode = "Creating"
336	StateReasonCodeRestoring                   StateReasonCode = "Restoring"
337	StateReasonCodeEniLimitExceeded            StateReasonCode = "EniLimitExceeded"
338	StateReasonCodeInsufficientRolePermissions StateReasonCode = "InsufficientRolePermissions"
339	StateReasonCodeInvalidConfiguration        StateReasonCode = "InvalidConfiguration"
340	StateReasonCodeInternalError               StateReasonCode = "InternalError"
341	StateReasonCodeSubnetOutOfIPAddresses      StateReasonCode = "SubnetOutOfIPAddresses"
342	StateReasonCodeInvalidSubnet               StateReasonCode = "InvalidSubnet"
343	StateReasonCodeInvalidSecurityGroup        StateReasonCode = "InvalidSecurityGroup"
344	StateReasonCodeImageDeleted                StateReasonCode = "ImageDeleted"
345	StateReasonCodeImageAccessDenied           StateReasonCode = "ImageAccessDenied"
346	StateReasonCodeInvalidImage                StateReasonCode = "InvalidImage"
347)
348
349// Values returns all known values for StateReasonCode. Note that this can be
350// expanded in the future, and so it is only as up to date as the client. The
351// ordering of this slice is not guaranteed to be stable across updates.
352func (StateReasonCode) Values() []StateReasonCode {
353	return []StateReasonCode{
354		"Idle",
355		"Creating",
356		"Restoring",
357		"EniLimitExceeded",
358		"InsufficientRolePermissions",
359		"InvalidConfiguration",
360		"InternalError",
361		"SubnetOutOfIPAddresses",
362		"InvalidSubnet",
363		"InvalidSecurityGroup",
364		"ImageDeleted",
365		"ImageAccessDenied",
366		"InvalidImage",
367	}
368}
369
370type ThrottleReason string
371
372// Enum values for ThrottleReason
373const (
374	ThrottleReasonConcurrentInvocationLimitExceeded                 ThrottleReason = "ConcurrentInvocationLimitExceeded"
375	ThrottleReasonFunctionInvocationRateLimitExceeded               ThrottleReason = "FunctionInvocationRateLimitExceeded"
376	ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded ThrottleReason = "ReservedFunctionConcurrentInvocationLimitExceeded"
377	ThrottleReasonReservedFunctionInvocationRateLimitExceeded       ThrottleReason = "ReservedFunctionInvocationRateLimitExceeded"
378	ThrottleReasonCallerRateLimitExceeded                           ThrottleReason = "CallerRateLimitExceeded"
379)
380
381// Values returns all known values for ThrottleReason. Note that this can be
382// expanded in the future, and so it is only as up to date as the client. The
383// ordering of this slice is not guaranteed to be stable across updates.
384func (ThrottleReason) Values() []ThrottleReason {
385	return []ThrottleReason{
386		"ConcurrentInvocationLimitExceeded",
387		"FunctionInvocationRateLimitExceeded",
388		"ReservedFunctionConcurrentInvocationLimitExceeded",
389		"ReservedFunctionInvocationRateLimitExceeded",
390		"CallerRateLimitExceeded",
391	}
392}
393
394type TracingMode string
395
396// Enum values for TracingMode
397const (
398	TracingModeActive      TracingMode = "Active"
399	TracingModePassThrough TracingMode = "PassThrough"
400)
401
402// Values returns all known values for TracingMode. Note that this can be expanded
403// in the future, and so it is only as up to date as the client. The ordering of
404// this slice is not guaranteed to be stable across updates.
405func (TracingMode) Values() []TracingMode {
406	return []TracingMode{
407		"Active",
408		"PassThrough",
409	}
410}
411