File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (901 lines) | stat: -rw-r--r-- 31,628 bytes parent folder | download
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AugmentedManifestsDocumentTypeFormat string

// Enum values for AugmentedManifestsDocumentTypeFormat
const (
	AugmentedManifestsDocumentTypeFormatPlainTextDocument      AugmentedManifestsDocumentTypeFormat = "PLAIN_TEXT_DOCUMENT"
	AugmentedManifestsDocumentTypeFormatSemiStructuredDocument AugmentedManifestsDocumentTypeFormat = "SEMI_STRUCTURED_DOCUMENT"
)

// Values returns all known values for AugmentedManifestsDocumentTypeFormat. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (AugmentedManifestsDocumentTypeFormat) Values() []AugmentedManifestsDocumentTypeFormat {
	return []AugmentedManifestsDocumentTypeFormat{
		"PLAIN_TEXT_DOCUMENT",
		"SEMI_STRUCTURED_DOCUMENT",
	}
}

type BlockType string

// Enum values for BlockType
const (
	BlockTypeLine BlockType = "LINE"
	BlockTypeWord BlockType = "WORD"
)

// Values returns all known values for BlockType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (BlockType) Values() []BlockType {
	return []BlockType{
		"LINE",
		"WORD",
	}
}

type DatasetDataFormat string

// Enum values for DatasetDataFormat
const (
	DatasetDataFormatComprehendCsv     DatasetDataFormat = "COMPREHEND_CSV"
	DatasetDataFormatAugmentedManifest DatasetDataFormat = "AUGMENTED_MANIFEST"
)

// Values returns all known values for DatasetDataFormat. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DatasetDataFormat) Values() []DatasetDataFormat {
	return []DatasetDataFormat{
		"COMPREHEND_CSV",
		"AUGMENTED_MANIFEST",
	}
}

type DatasetStatus string

// Enum values for DatasetStatus
const (
	DatasetStatusCreating  DatasetStatus = "CREATING"
	DatasetStatusCompleted DatasetStatus = "COMPLETED"
	DatasetStatusFailed    DatasetStatus = "FAILED"
)

// Values returns all known values for DatasetStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DatasetStatus) Values() []DatasetStatus {
	return []DatasetStatus{
		"CREATING",
		"COMPLETED",
		"FAILED",
	}
}

type DatasetType string

// Enum values for DatasetType
const (
	DatasetTypeTrain DatasetType = "TRAIN"
	DatasetTypeTest  DatasetType = "TEST"
)

// Values returns all known values for DatasetType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (DatasetType) Values() []DatasetType {
	return []DatasetType{
		"TRAIN",
		"TEST",
	}
}

type DocumentClassifierDataFormat string

// Enum values for DocumentClassifierDataFormat
const (
	DocumentClassifierDataFormatComprehendCsv     DocumentClassifierDataFormat = "COMPREHEND_CSV"
	DocumentClassifierDataFormatAugmentedManifest DocumentClassifierDataFormat = "AUGMENTED_MANIFEST"
)

// Values returns all known values for DocumentClassifierDataFormat. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (DocumentClassifierDataFormat) Values() []DocumentClassifierDataFormat {
	return []DocumentClassifierDataFormat{
		"COMPREHEND_CSV",
		"AUGMENTED_MANIFEST",
	}
}

type DocumentClassifierDocumentTypeFormat string

// Enum values for DocumentClassifierDocumentTypeFormat
const (
	DocumentClassifierDocumentTypeFormatPlainTextDocument      DocumentClassifierDocumentTypeFormat = "PLAIN_TEXT_DOCUMENT"
	DocumentClassifierDocumentTypeFormatSemiStructuredDocument DocumentClassifierDocumentTypeFormat = "SEMI_STRUCTURED_DOCUMENT"
)

// Values returns all known values for DocumentClassifierDocumentTypeFormat. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (DocumentClassifierDocumentTypeFormat) Values() []DocumentClassifierDocumentTypeFormat {
	return []DocumentClassifierDocumentTypeFormat{
		"PLAIN_TEXT_DOCUMENT",
		"SEMI_STRUCTURED_DOCUMENT",
	}
}

type DocumentClassifierMode string

// Enum values for DocumentClassifierMode
const (
	DocumentClassifierModeMultiClass DocumentClassifierMode = "MULTI_CLASS"
	DocumentClassifierModeMultiLabel DocumentClassifierMode = "MULTI_LABEL"
)

// Values returns all known values for DocumentClassifierMode. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DocumentClassifierMode) Values() []DocumentClassifierMode {
	return []DocumentClassifierMode{
		"MULTI_CLASS",
		"MULTI_LABEL",
	}
}

type DocumentReadAction string

// Enum values for DocumentReadAction
const (
	DocumentReadActionTextractDetectDocumentText DocumentReadAction = "TEXTRACT_DETECT_DOCUMENT_TEXT"
	DocumentReadActionTextractAnalyzeDocument    DocumentReadAction = "TEXTRACT_ANALYZE_DOCUMENT"
)

// Values returns all known values for DocumentReadAction. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DocumentReadAction) Values() []DocumentReadAction {
	return []DocumentReadAction{
		"TEXTRACT_DETECT_DOCUMENT_TEXT",
		"TEXTRACT_ANALYZE_DOCUMENT",
	}
}

type DocumentReadFeatureTypes string

// Enum values for DocumentReadFeatureTypes
const (
	DocumentReadFeatureTypesTables DocumentReadFeatureTypes = "TABLES"
	DocumentReadFeatureTypesForms  DocumentReadFeatureTypes = "FORMS"
)

// Values returns all known values for DocumentReadFeatureTypes. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (DocumentReadFeatureTypes) Values() []DocumentReadFeatureTypes {
	return []DocumentReadFeatureTypes{
		"TABLES",
		"FORMS",
	}
}

type DocumentReadMode string

// Enum values for DocumentReadMode
const (
	DocumentReadModeServiceDefault          DocumentReadMode = "SERVICE_DEFAULT"
	DocumentReadModeForceDocumentReadAction DocumentReadMode = "FORCE_DOCUMENT_READ_ACTION"
)

// Values returns all known values for DocumentReadMode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DocumentReadMode) Values() []DocumentReadMode {
	return []DocumentReadMode{
		"SERVICE_DEFAULT",
		"FORCE_DOCUMENT_READ_ACTION",
	}
}

type DocumentType string

// Enum values for DocumentType
const (
	DocumentTypeNativePdf                      DocumentType = "NATIVE_PDF"
	DocumentTypeScannedPdf                     DocumentType = "SCANNED_PDF"
	DocumentTypeMsWord                         DocumentType = "MS_WORD"
	DocumentTypeImage                          DocumentType = "IMAGE"
	DocumentTypePlainText                      DocumentType = "PLAIN_TEXT"
	DocumentTypeTextractDetectDocumentTextJson DocumentType = "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON"
	DocumentTypeTextractAnalyzeDocumentJson    DocumentType = "TEXTRACT_ANALYZE_DOCUMENT_JSON"
)

// Values returns all known values for DocumentType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DocumentType) Values() []DocumentType {
	return []DocumentType{
		"NATIVE_PDF",
		"SCANNED_PDF",
		"MS_WORD",
		"IMAGE",
		"PLAIN_TEXT",
		"TEXTRACT_DETECT_DOCUMENT_TEXT_JSON",
		"TEXTRACT_ANALYZE_DOCUMENT_JSON",
	}
}

type EndpointStatus string

// Enum values for EndpointStatus
const (
	EndpointStatusCreating  EndpointStatus = "CREATING"
	EndpointStatusDeleting  EndpointStatus = "DELETING"
	EndpointStatusFailed    EndpointStatus = "FAILED"
	EndpointStatusInService EndpointStatus = "IN_SERVICE"
	EndpointStatusUpdating  EndpointStatus = "UPDATING"
)

// Values returns all known values for EndpointStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EndpointStatus) Values() []EndpointStatus {
	return []EndpointStatus{
		"CREATING",
		"DELETING",
		"FAILED",
		"IN_SERVICE",
		"UPDATING",
	}
}

type EntityRecognizerDataFormat string

// Enum values for EntityRecognizerDataFormat
const (
	EntityRecognizerDataFormatComprehendCsv     EntityRecognizerDataFormat = "COMPREHEND_CSV"
	EntityRecognizerDataFormatAugmentedManifest EntityRecognizerDataFormat = "AUGMENTED_MANIFEST"
)

// Values returns all known values for EntityRecognizerDataFormat. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (EntityRecognizerDataFormat) Values() []EntityRecognizerDataFormat {
	return []EntityRecognizerDataFormat{
		"COMPREHEND_CSV",
		"AUGMENTED_MANIFEST",
	}
}

type EntityType string

// Enum values for EntityType
const (
	EntityTypePerson         EntityType = "PERSON"
	EntityTypeLocation       EntityType = "LOCATION"
	EntityTypeOrganization   EntityType = "ORGANIZATION"
	EntityTypeCommercialItem EntityType = "COMMERCIAL_ITEM"
	EntityTypeEvent          EntityType = "EVENT"
	EntityTypeDate           EntityType = "DATE"
	EntityTypeQuantity       EntityType = "QUANTITY"
	EntityTypeTitle          EntityType = "TITLE"
	EntityTypeOther          EntityType = "OTHER"
)

// Values returns all known values for EntityType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (EntityType) Values() []EntityType {
	return []EntityType{
		"PERSON",
		"LOCATION",
		"ORGANIZATION",
		"COMMERCIAL_ITEM",
		"EVENT",
		"DATE",
		"QUANTITY",
		"TITLE",
		"OTHER",
	}
}

type FlywheelIterationStatus string

// Enum values for FlywheelIterationStatus
const (
	FlywheelIterationStatusTraining      FlywheelIterationStatus = "TRAINING"
	FlywheelIterationStatusEvaluating    FlywheelIterationStatus = "EVALUATING"
	FlywheelIterationStatusCompleted     FlywheelIterationStatus = "COMPLETED"
	FlywheelIterationStatusFailed        FlywheelIterationStatus = "FAILED"
	FlywheelIterationStatusStopRequested FlywheelIterationStatus = "STOP_REQUESTED"
	FlywheelIterationStatusStopped       FlywheelIterationStatus = "STOPPED"
)

// Values returns all known values for FlywheelIterationStatus. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (FlywheelIterationStatus) Values() []FlywheelIterationStatus {
	return []FlywheelIterationStatus{
		"TRAINING",
		"EVALUATING",
		"COMPLETED",
		"FAILED",
		"STOP_REQUESTED",
		"STOPPED",
	}
}

type FlywheelStatus string

// Enum values for FlywheelStatus
const (
	FlywheelStatusCreating FlywheelStatus = "CREATING"
	FlywheelStatusActive   FlywheelStatus = "ACTIVE"
	FlywheelStatusUpdating FlywheelStatus = "UPDATING"
	FlywheelStatusDeleting FlywheelStatus = "DELETING"
	FlywheelStatusFailed   FlywheelStatus = "FAILED"
)

// Values returns all known values for FlywheelStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (FlywheelStatus) Values() []FlywheelStatus {
	return []FlywheelStatus{
		"CREATING",
		"ACTIVE",
		"UPDATING",
		"DELETING",
		"FAILED",
	}
}

type InputFormat string

// Enum values for InputFormat
const (
	InputFormatOneDocPerFile InputFormat = "ONE_DOC_PER_FILE"
	InputFormatOneDocPerLine InputFormat = "ONE_DOC_PER_LINE"
)

// Values returns all known values for InputFormat. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (InputFormat) Values() []InputFormat {
	return []InputFormat{
		"ONE_DOC_PER_FILE",
		"ONE_DOC_PER_LINE",
	}
}

type InvalidRequestDetailReason string

// Enum values for InvalidRequestDetailReason
const (
	InvalidRequestDetailReasonDocumentSizeExceeded InvalidRequestDetailReason = "DOCUMENT_SIZE_EXCEEDED"
	InvalidRequestDetailReasonUnsupportedDocType   InvalidRequestDetailReason = "UNSUPPORTED_DOC_TYPE"
	InvalidRequestDetailReasonPageLimitExceeded    InvalidRequestDetailReason = "PAGE_LIMIT_EXCEEDED"
	InvalidRequestDetailReasonTextractAccessDenied InvalidRequestDetailReason = "TEXTRACT_ACCESS_DENIED"
)

// Values returns all known values for InvalidRequestDetailReason. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (InvalidRequestDetailReason) Values() []InvalidRequestDetailReason {
	return []InvalidRequestDetailReason{
		"DOCUMENT_SIZE_EXCEEDED",
		"UNSUPPORTED_DOC_TYPE",
		"PAGE_LIMIT_EXCEEDED",
		"TEXTRACT_ACCESS_DENIED",
	}
}

type InvalidRequestReason string

// Enum values for InvalidRequestReason
const (
	InvalidRequestReasonInvalidDocument InvalidRequestReason = "INVALID_DOCUMENT"
)

// Values returns all known values for InvalidRequestReason. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (InvalidRequestReason) Values() []InvalidRequestReason {
	return []InvalidRequestReason{
		"INVALID_DOCUMENT",
	}
}

type JobStatus string

// Enum values for JobStatus
const (
	JobStatusSubmitted     JobStatus = "SUBMITTED"
	JobStatusInProgress    JobStatus = "IN_PROGRESS"
	JobStatusCompleted     JobStatus = "COMPLETED"
	JobStatusFailed        JobStatus = "FAILED"
	JobStatusStopRequested JobStatus = "STOP_REQUESTED"
	JobStatusStopped       JobStatus = "STOPPED"
)

// Values returns all known values for JobStatus. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (JobStatus) Values() []JobStatus {
	return []JobStatus{
		"SUBMITTED",
		"IN_PROGRESS",
		"COMPLETED",
		"FAILED",
		"STOP_REQUESTED",
		"STOPPED",
	}
}

type LanguageCode string

// Enum values for LanguageCode
const (
	LanguageCodeEn   LanguageCode = "en"
	LanguageCodeEs   LanguageCode = "es"
	LanguageCodeFr   LanguageCode = "fr"
	LanguageCodeDe   LanguageCode = "de"
	LanguageCodeIt   LanguageCode = "it"
	LanguageCodePt   LanguageCode = "pt"
	LanguageCodeAr   LanguageCode = "ar"
	LanguageCodeHi   LanguageCode = "hi"
	LanguageCodeJa   LanguageCode = "ja"
	LanguageCodeKo   LanguageCode = "ko"
	LanguageCodeZh   LanguageCode = "zh"
	LanguageCodeZhTw LanguageCode = "zh-TW"
)

// Values returns all known values for LanguageCode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LanguageCode) Values() []LanguageCode {
	return []LanguageCode{
		"en",
		"es",
		"fr",
		"de",
		"it",
		"pt",
		"ar",
		"hi",
		"ja",
		"ko",
		"zh",
		"zh-TW",
	}
}

type ModelStatus string

// Enum values for ModelStatus
const (
	ModelStatusSubmitted          ModelStatus = "SUBMITTED"
	ModelStatusTraining           ModelStatus = "TRAINING"
	ModelStatusDeleting           ModelStatus = "DELETING"
	ModelStatusStopRequested      ModelStatus = "STOP_REQUESTED"
	ModelStatusStopped            ModelStatus = "STOPPED"
	ModelStatusInError            ModelStatus = "IN_ERROR"
	ModelStatusTrained            ModelStatus = "TRAINED"
	ModelStatusTrainedWithWarning ModelStatus = "TRAINED_WITH_WARNING"
)

// Values returns all known values for ModelStatus. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ModelStatus) Values() []ModelStatus {
	return []ModelStatus{
		"SUBMITTED",
		"TRAINING",
		"DELETING",
		"STOP_REQUESTED",
		"STOPPED",
		"IN_ERROR",
		"TRAINED",
		"TRAINED_WITH_WARNING",
	}
}

type ModelType string

// Enum values for ModelType
const (
	ModelTypeDocumentClassifier ModelType = "DOCUMENT_CLASSIFIER"
	ModelTypeEntityRecognizer   ModelType = "ENTITY_RECOGNIZER"
)

// Values returns all known values for ModelType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ModelType) Values() []ModelType {
	return []ModelType{
		"DOCUMENT_CLASSIFIER",
		"ENTITY_RECOGNIZER",
	}
}

type PageBasedErrorCode string

// Enum values for PageBasedErrorCode
const (
	PageBasedErrorCodeTextractBadPage                       PageBasedErrorCode = "TEXTRACT_BAD_PAGE"
	PageBasedErrorCodeTextractProvisionedThroughputExceeded PageBasedErrorCode = "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED"
	PageBasedErrorCodePageCharactersExceeded                PageBasedErrorCode = "PAGE_CHARACTERS_EXCEEDED"
	PageBasedErrorCodePageSizeExceeded                      PageBasedErrorCode = "PAGE_SIZE_EXCEEDED"
	PageBasedErrorCodeInternalServerError                   PageBasedErrorCode = "INTERNAL_SERVER_ERROR"
)

// Values returns all known values for PageBasedErrorCode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PageBasedErrorCode) Values() []PageBasedErrorCode {
	return []PageBasedErrorCode{
		"TEXTRACT_BAD_PAGE",
		"TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED",
		"PAGE_CHARACTERS_EXCEEDED",
		"PAGE_SIZE_EXCEEDED",
		"INTERNAL_SERVER_ERROR",
	}
}

type PageBasedWarningCode string

// Enum values for PageBasedWarningCode
const (
	PageBasedWarningCodeInferencingPlaintextWithNativeTrainedModel         PageBasedWarningCode = "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL"
	PageBasedWarningCodeInferencingNativeDocumentWithPlaintextTrainedModel PageBasedWarningCode = "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL"
)

// Values returns all known values for PageBasedWarningCode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PageBasedWarningCode) Values() []PageBasedWarningCode {
	return []PageBasedWarningCode{
		"INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL",
		"INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL",
	}
}

type PartOfSpeechTagType string

// Enum values for PartOfSpeechTagType
const (
	PartOfSpeechTagTypeAdj   PartOfSpeechTagType = "ADJ"
	PartOfSpeechTagTypeAdp   PartOfSpeechTagType = "ADP"
	PartOfSpeechTagTypeAdv   PartOfSpeechTagType = "ADV"
	PartOfSpeechTagTypeAux   PartOfSpeechTagType = "AUX"
	PartOfSpeechTagTypeConj  PartOfSpeechTagType = "CONJ"
	PartOfSpeechTagTypeCconj PartOfSpeechTagType = "CCONJ"
	PartOfSpeechTagTypeDet   PartOfSpeechTagType = "DET"
	PartOfSpeechTagTypeIntj  PartOfSpeechTagType = "INTJ"
	PartOfSpeechTagTypeNoun  PartOfSpeechTagType = "NOUN"
	PartOfSpeechTagTypeNum   PartOfSpeechTagType = "NUM"
	PartOfSpeechTagTypeO     PartOfSpeechTagType = "O"
	PartOfSpeechTagTypePart  PartOfSpeechTagType = "PART"
	PartOfSpeechTagTypePron  PartOfSpeechTagType = "PRON"
	PartOfSpeechTagTypePropn PartOfSpeechTagType = "PROPN"
	PartOfSpeechTagTypePunct PartOfSpeechTagType = "PUNCT"
	PartOfSpeechTagTypeSconj PartOfSpeechTagType = "SCONJ"
	PartOfSpeechTagTypeSym   PartOfSpeechTagType = "SYM"
	PartOfSpeechTagTypeVerb  PartOfSpeechTagType = "VERB"
)

// Values returns all known values for PartOfSpeechTagType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PartOfSpeechTagType) Values() []PartOfSpeechTagType {
	return []PartOfSpeechTagType{
		"ADJ",
		"ADP",
		"ADV",
		"AUX",
		"CONJ",
		"CCONJ",
		"DET",
		"INTJ",
		"NOUN",
		"NUM",
		"O",
		"PART",
		"PRON",
		"PROPN",
		"PUNCT",
		"SCONJ",
		"SYM",
		"VERB",
	}
}

type PiiEntitiesDetectionMaskMode string

// Enum values for PiiEntitiesDetectionMaskMode
const (
	PiiEntitiesDetectionMaskModeMask                     PiiEntitiesDetectionMaskMode = "MASK"
	PiiEntitiesDetectionMaskModeReplaceWithPiiEntityType PiiEntitiesDetectionMaskMode = "REPLACE_WITH_PII_ENTITY_TYPE"
)

// Values returns all known values for PiiEntitiesDetectionMaskMode. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (PiiEntitiesDetectionMaskMode) Values() []PiiEntitiesDetectionMaskMode {
	return []PiiEntitiesDetectionMaskMode{
		"MASK",
		"REPLACE_WITH_PII_ENTITY_TYPE",
	}
}

type PiiEntitiesDetectionMode string

// Enum values for PiiEntitiesDetectionMode
const (
	PiiEntitiesDetectionModeOnlyRedaction PiiEntitiesDetectionMode = "ONLY_REDACTION"
	PiiEntitiesDetectionModeOnlyOffsets   PiiEntitiesDetectionMode = "ONLY_OFFSETS"
)

// Values returns all known values for PiiEntitiesDetectionMode. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (PiiEntitiesDetectionMode) Values() []PiiEntitiesDetectionMode {
	return []PiiEntitiesDetectionMode{
		"ONLY_REDACTION",
		"ONLY_OFFSETS",
	}
}

type PiiEntityType string

// Enum values for PiiEntityType
const (
	PiiEntityTypeBankAccountNumber                   PiiEntityType = "BANK_ACCOUNT_NUMBER"
	PiiEntityTypeBankRouting                         PiiEntityType = "BANK_ROUTING"
	PiiEntityTypeCreditDebitNumber                   PiiEntityType = "CREDIT_DEBIT_NUMBER"
	PiiEntityTypeCreditDebitCvv                      PiiEntityType = "CREDIT_DEBIT_CVV"
	PiiEntityTypeCreditDebitExpiry                   PiiEntityType = "CREDIT_DEBIT_EXPIRY"
	PiiEntityTypePin                                 PiiEntityType = "PIN"
	PiiEntityTypeEmail                               PiiEntityType = "EMAIL"
	PiiEntityTypeAddress                             PiiEntityType = "ADDRESS"
	PiiEntityTypeName                                PiiEntityType = "NAME"
	PiiEntityTypePhone                               PiiEntityType = "PHONE"
	PiiEntityTypeSsn                                 PiiEntityType = "SSN"
	PiiEntityTypeDateTime                            PiiEntityType = "DATE_TIME"
	PiiEntityTypePassportNumber                      PiiEntityType = "PASSPORT_NUMBER"
	PiiEntityTypeDriverId                            PiiEntityType = "DRIVER_ID"
	PiiEntityTypeUrl                                 PiiEntityType = "URL"
	PiiEntityTypeAge                                 PiiEntityType = "AGE"
	PiiEntityTypeUsername                            PiiEntityType = "USERNAME"
	PiiEntityTypePassword                            PiiEntityType = "PASSWORD"
	PiiEntityTypeAwsAccessKey                        PiiEntityType = "AWS_ACCESS_KEY"
	PiiEntityTypeAwsSecretKey                        PiiEntityType = "AWS_SECRET_KEY"
	PiiEntityTypeIpAddress                           PiiEntityType = "IP_ADDRESS"
	PiiEntityTypeMacAddress                          PiiEntityType = "MAC_ADDRESS"
	PiiEntityTypeAll                                 PiiEntityType = "ALL"
	PiiEntityTypeLicensePlate                        PiiEntityType = "LICENSE_PLATE"
	PiiEntityTypeVehicleIdentificationNumber         PiiEntityType = "VEHICLE_IDENTIFICATION_NUMBER"
	PiiEntityTypeUkNationalInsuranceNumber           PiiEntityType = "UK_NATIONAL_INSURANCE_NUMBER"
	PiiEntityTypeCaSocialInsuranceNumber             PiiEntityType = "CA_SOCIAL_INSURANCE_NUMBER"
	PiiEntityTypeUsIndividualTaxIdentificationNumber PiiEntityType = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"
	PiiEntityTypeUkUniqueTaxpayerReferenceNumber     PiiEntityType = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"
	PiiEntityTypeInPermanentAccountNumber            PiiEntityType = "IN_PERMANENT_ACCOUNT_NUMBER"
	PiiEntityTypeInNrega                             PiiEntityType = "IN_NREGA"
	PiiEntityTypeInternationalBankAccountNumber      PiiEntityType = "INTERNATIONAL_BANK_ACCOUNT_NUMBER"
	PiiEntityTypeSwiftCode                           PiiEntityType = "SWIFT_CODE"
	PiiEntityTypeUkNationalHealthServiceNumber       PiiEntityType = "UK_NATIONAL_HEALTH_SERVICE_NUMBER"
	PiiEntityTypeCaHealthNumber                      PiiEntityType = "CA_HEALTH_NUMBER"
	PiiEntityTypeInAadhaar                           PiiEntityType = "IN_AADHAAR"
	PiiEntityTypeInVoterNumber                       PiiEntityType = "IN_VOTER_NUMBER"
)

// Values returns all known values for PiiEntityType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PiiEntityType) Values() []PiiEntityType {
	return []PiiEntityType{
		"BANK_ACCOUNT_NUMBER",
		"BANK_ROUTING",
		"CREDIT_DEBIT_NUMBER",
		"CREDIT_DEBIT_CVV",
		"CREDIT_DEBIT_EXPIRY",
		"PIN",
		"EMAIL",
		"ADDRESS",
		"NAME",
		"PHONE",
		"SSN",
		"DATE_TIME",
		"PASSPORT_NUMBER",
		"DRIVER_ID",
		"URL",
		"AGE",
		"USERNAME",
		"PASSWORD",
		"AWS_ACCESS_KEY",
		"AWS_SECRET_KEY",
		"IP_ADDRESS",
		"MAC_ADDRESS",
		"ALL",
		"LICENSE_PLATE",
		"VEHICLE_IDENTIFICATION_NUMBER",
		"UK_NATIONAL_INSURANCE_NUMBER",
		"CA_SOCIAL_INSURANCE_NUMBER",
		"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
		"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
		"IN_PERMANENT_ACCOUNT_NUMBER",
		"IN_NREGA",
		"INTERNATIONAL_BANK_ACCOUNT_NUMBER",
		"SWIFT_CODE",
		"UK_NATIONAL_HEALTH_SERVICE_NUMBER",
		"CA_HEALTH_NUMBER",
		"IN_AADHAAR",
		"IN_VOTER_NUMBER",
	}
}

type RelationshipType string

// Enum values for RelationshipType
const (
	RelationshipTypeChild RelationshipType = "CHILD"
)

// Values returns all known values for RelationshipType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RelationshipType) Values() []RelationshipType {
	return []RelationshipType{
		"CHILD",
	}
}

type SentimentType string

// Enum values for SentimentType
const (
	SentimentTypePositive SentimentType = "POSITIVE"
	SentimentTypeNegative SentimentType = "NEGATIVE"
	SentimentTypeNeutral  SentimentType = "NEUTRAL"
	SentimentTypeMixed    SentimentType = "MIXED"
)

// Values returns all known values for SentimentType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (SentimentType) Values() []SentimentType {
	return []SentimentType{
		"POSITIVE",
		"NEGATIVE",
		"NEUTRAL",
		"MIXED",
	}
}

type Split string

// Enum values for Split
const (
	SplitTrain Split = "TRAIN"
	SplitTest  Split = "TEST"
)

// Values returns all known values for Split. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Split) Values() []Split {
	return []Split{
		"TRAIN",
		"TEST",
	}
}

type SyntaxLanguageCode string

// Enum values for SyntaxLanguageCode
const (
	SyntaxLanguageCodeEn SyntaxLanguageCode = "en"
	SyntaxLanguageCodeEs SyntaxLanguageCode = "es"
	SyntaxLanguageCodeFr SyntaxLanguageCode = "fr"
	SyntaxLanguageCodeDe SyntaxLanguageCode = "de"
	SyntaxLanguageCodeIt SyntaxLanguageCode = "it"
	SyntaxLanguageCodePt SyntaxLanguageCode = "pt"
)

// Values returns all known values for SyntaxLanguageCode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (SyntaxLanguageCode) Values() []SyntaxLanguageCode {
	return []SyntaxLanguageCode{
		"en",
		"es",
		"fr",
		"de",
		"it",
		"pt",
	}
}

type TargetedSentimentEntityType string

// Enum values for TargetedSentimentEntityType
const (
	TargetedSentimentEntityTypePerson         TargetedSentimentEntityType = "PERSON"
	TargetedSentimentEntityTypeLocation       TargetedSentimentEntityType = "LOCATION"
	TargetedSentimentEntityTypeOrganization   TargetedSentimentEntityType = "ORGANIZATION"
	TargetedSentimentEntityTypeFacility       TargetedSentimentEntityType = "FACILITY"
	TargetedSentimentEntityTypeBrand          TargetedSentimentEntityType = "BRAND"
	TargetedSentimentEntityTypeCommercialItem TargetedSentimentEntityType = "COMMERCIAL_ITEM"
	TargetedSentimentEntityTypeMovie          TargetedSentimentEntityType = "MOVIE"
	TargetedSentimentEntityTypeMusic          TargetedSentimentEntityType = "MUSIC"
	TargetedSentimentEntityTypeBook           TargetedSentimentEntityType = "BOOK"
	TargetedSentimentEntityTypeSoftware       TargetedSentimentEntityType = "SOFTWARE"
	TargetedSentimentEntityTypeGame           TargetedSentimentEntityType = "GAME"
	TargetedSentimentEntityTypePersonalTitle  TargetedSentimentEntityType = "PERSONAL_TITLE"
	TargetedSentimentEntityTypeEvent          TargetedSentimentEntityType = "EVENT"
	TargetedSentimentEntityTypeDate           TargetedSentimentEntityType = "DATE"
	TargetedSentimentEntityTypeQuantity       TargetedSentimentEntityType = "QUANTITY"
	TargetedSentimentEntityTypeAttribute      TargetedSentimentEntityType = "ATTRIBUTE"
	TargetedSentimentEntityTypeOther          TargetedSentimentEntityType = "OTHER"
)

// Values returns all known values for TargetedSentimentEntityType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (TargetedSentimentEntityType) Values() []TargetedSentimentEntityType {
	return []TargetedSentimentEntityType{
		"PERSON",
		"LOCATION",
		"ORGANIZATION",
		"FACILITY",
		"BRAND",
		"COMMERCIAL_ITEM",
		"MOVIE",
		"MUSIC",
		"BOOK",
		"SOFTWARE",
		"GAME",
		"PERSONAL_TITLE",
		"EVENT",
		"DATE",
		"QUANTITY",
		"ATTRIBUTE",
		"OTHER",
	}
}

type ToxicContentType string

// Enum values for ToxicContentType
const (
	ToxicContentTypeGraphic           ToxicContentType = "GRAPHIC"
	ToxicContentTypeHarassmentOrAbuse ToxicContentType = "HARASSMENT_OR_ABUSE"
	ToxicContentTypeHateSpeech        ToxicContentType = "HATE_SPEECH"
	ToxicContentTypeInsult            ToxicContentType = "INSULT"
	ToxicContentTypeProfanity         ToxicContentType = "PROFANITY"
	ToxicContentTypeSexual            ToxicContentType = "SEXUAL"
	ToxicContentTypeViolenceOrThreat  ToxicContentType = "VIOLENCE_OR_THREAT"
)

// Values returns all known values for ToxicContentType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ToxicContentType) Values() []ToxicContentType {
	return []ToxicContentType{
		"GRAPHIC",
		"HARASSMENT_OR_ABUSE",
		"HATE_SPEECH",
		"INSULT",
		"PROFANITY",
		"SEXUAL",
		"VIOLENCE_OR_THREAT",
	}
}