@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon Comprehend
@version 2017-11-27
@auth AWS SigV4
@endpoints 85
@hint download_for_search
@toc root(85)

@endpoint POST /
@required {TextList: [str]}
@returns(200) {ResultList: [BatchDetectDominantLanguageItemResult], ErrorList: [BatchItemError]}

@endpoint POST /
@required {TextList: [str], LanguageCode: str}
@returns(200) {ResultList: [BatchDetectEntitiesItemResult], ErrorList: [BatchItemError]}

@endpoint POST /
@required {TextList: [str], LanguageCode: str}
@returns(200) {ResultList: [BatchDetectKeyPhrasesItemResult], ErrorList: [BatchItemError]}

@endpoint POST /
@required {TextList: [str], LanguageCode: str}
@returns(200) {ResultList: [BatchDetectSentimentItemResult], ErrorList: [BatchItemError]}

@endpoint POST /
@required {TextList: [str], LanguageCode: str}
@returns(200) {ResultList: [BatchDetectSyntaxItemResult], ErrorList: [BatchItemError]}

@endpoint POST /
@required {TextList: [str], LanguageCode: str}
@returns(200) {ResultList: [BatchDetectTargetedSentimentItemResult], ErrorList: [BatchItemError]}

@endpoint POST /
@required {EndpointArn: str}
@optional {Text: str, Bytes: bytes, DocumentReaderConfig: DocumentReaderConfig}
@returns(200) {Classes: [DocumentClass]?, Labels: [DocumentLabel]?, DocumentMetadata: DocumentMetadata?{Pages: int?, ExtractedCharacters: [ExtractedCharactersListItem]?}, DocumentType: [DocumentTypeListItem]?, Errors: [ErrorsListItem]?, Warnings: [WarningsListItem]?}

@endpoint POST /
@required {Text: str, LanguageCode: str}
@returns(200) {Labels: [EntityLabel]?}

@endpoint POST /
@required {FlywheelArn: str, DatasetName: str, InputDataConfig: DatasetInputDataConfig}
@optional {DatasetType: str, Description: str, ClientRequestToken: str, Tags: [Tag]}
@returns(200) {DatasetArn: str?}

@endpoint POST /
@required {DocumentClassifierName: str, DataAccessRoleArn: str, InputDataConfig: DocumentClassifierInputDataConfig, LanguageCode: str}
@optional {VersionName: str, Tags: [Tag], OutputDataConfig: DocumentClassifierOutputDataConfig, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Mode: str, ModelKmsKeyId: str, ModelPolicy: str}
@returns(200) {DocumentClassifierArn: str?}

@endpoint POST /
@required {EndpointName: str, DesiredInferenceUnits: int}
@optional {ModelArn: str, ClientRequestToken: str, Tags: [Tag], DataAccessRoleArn: str, FlywheelArn: str}
@returns(200) {EndpointArn: str?, ModelArn: str?}

@endpoint POST /
@required {RecognizerName: str, DataAccessRoleArn: str, InputDataConfig: EntityRecognizerInputDataConfig, LanguageCode: str}
@optional {VersionName: str, Tags: [Tag], ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, ModelKmsKeyId: str, ModelPolicy: str}
@returns(200) {EntityRecognizerArn: str?}

@endpoint POST /
@required {FlywheelName: str, DataAccessRoleArn: str, DataLakeS3Uri: str}
@optional {ActiveModelArn: str, TaskConfig: TaskConfig, ModelType: str, DataSecurityConfig: DataSecurityConfig, ClientRequestToken: str, Tags: [Tag]}
@returns(200) {FlywheelArn: str?, ActiveModelArn: str?}

@endpoint POST /
@required {DocumentClassifierArn: str}

@endpoint POST /
@required {EndpointArn: str}

@endpoint POST /
@required {EntityRecognizerArn: str}

@endpoint POST /
@required {FlywheelArn: str}

@endpoint POST /
@required {ResourceArn: str}
@optional {PolicyRevisionId: str}

@endpoint POST /
@required {DatasetArn: str}
@returns(200) {DatasetProperties: DatasetProperties?{DatasetArn: str?, DatasetName: str?, DatasetType: str?, DatasetS3Uri: str?, Description: str?, Status: str?, Message: str?, NumberOfDocuments: int(i64)?, CreationTime: str(timestamp)?, EndTime: str(timestamp)?}}

@endpoint POST /
@required {JobId: str}
@returns(200) {DocumentClassificationJobProperties: DocumentClassificationJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, DocumentClassifierArn: str?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}, FlywheelArn: str?}}

@endpoint POST /
@required {DocumentClassifierArn: str}
@returns(200) {DocumentClassifierProperties: DocumentClassifierProperties?{DocumentClassifierArn: str?, LanguageCode: str?, Status: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, TrainingStartTime: str(timestamp)?, TrainingEndTime: str(timestamp)?, InputDataConfig: DocumentClassifierInputDataConfig?{DataFormat: str?, S3Uri: str?, TestS3Uri: str?, LabelDelimiter: str?, AugmentedManifests: [AugmentedManifestsListItem]?, DocumentType: str?, Documents: DocumentClassifierDocuments?{S3Uri: str, TestS3Uri: str?}, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: DocumentClassifierOutputDataConfig?{S3Uri: str?, KmsKeyId: str?, FlywheelStatsS3Prefix: str?}, ClassifierMetadata: ClassifierMetadata?{NumberOfLabels: int?, NumberOfTrainedDocuments: int?, NumberOfTestDocuments: int?, EvaluationMetrics: ClassifierEvaluationMetrics?{Accuracy: num(f64)?, Precision: num(f64)?, Recall: num(f64)?, F1Score: num(f64)?, MicroPrecision: num(f64)?, MicroRecall: num(f64)?, MicroF1Score: num(f64)?, HammingLoss: num(f64)?}}, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}, Mode: str?, ModelKmsKeyId: str?, VersionName: str?, SourceModelArn: str?, FlywheelArn: str?}}

@endpoint POST /
@required {JobId: str}
@returns(200) {DominantLanguageDetectionJobProperties: DominantLanguageDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}}}

@endpoint POST /
@required {EndpointArn: str}
@returns(200) {EndpointProperties: EndpointProperties?{EndpointArn: str?, Status: str?, Message: str?, ModelArn: str?, DesiredModelArn: str?, DesiredInferenceUnits: int?, CurrentInferenceUnits: int?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, DataAccessRoleArn: str?, DesiredDataAccessRoleArn: str?, FlywheelArn: str?}}

@endpoint POST /
@required {JobId: str}
@returns(200) {EntitiesDetectionJobProperties: EntitiesDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, EntityRecognizerArn: str?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, LanguageCode: str?, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}, FlywheelArn: str?}}

@endpoint POST /
@required {EntityRecognizerArn: str}
@returns(200) {EntityRecognizerProperties: EntityRecognizerProperties?{EntityRecognizerArn: str?, LanguageCode: str?, Status: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, TrainingStartTime: str(timestamp)?, TrainingEndTime: str(timestamp)?, InputDataConfig: EntityRecognizerInputDataConfig?{DataFormat: str?, EntityTypes: [EntityTypesListItem], Documents: EntityRecognizerDocuments?{S3Uri: str, TestS3Uri: str?, InputFormat: str?}, Annotations: EntityRecognizerAnnotations?{S3Uri: str, TestS3Uri: str?}, EntityList: EntityRecognizerEntityList?{S3Uri: str}, AugmentedManifests: [AugmentedManifestsListItem]?}, RecognizerMetadata: EntityRecognizerMetadata?{NumberOfTrainedDocuments: int?, NumberOfTestDocuments: int?, EvaluationMetrics: EntityRecognizerEvaluationMetrics?{Precision: num(f64)?, Recall: num(f64)?, F1Score: num(f64)?}, EntityTypes: [EntityRecognizerMetadataEntityTypesListItem]?}, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}, ModelKmsKeyId: str?, VersionName: str?, SourceModelArn: str?, FlywheelArn: str?, OutputDataConfig: EntityRecognizerOutputDataConfig?{FlywheelStatsS3Prefix: str?}}}

@endpoint POST /
@required {JobId: str}
@returns(200) {EventsDetectionJobProperties: EventsDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, LanguageCode: str?, DataAccessRoleArn: str?, TargetEventTypes: [str]?}}

@endpoint POST /
@required {FlywheelArn: str}
@returns(200) {FlywheelProperties: FlywheelProperties?{FlywheelArn: str?, ActiveModelArn: str?, DataAccessRoleArn: str?, TaskConfig: TaskConfig?{LanguageCode: str, DocumentClassificationConfig: DocumentClassificationConfig?{Mode: str, Labels: [str]?}, EntityRecognitionConfig: EntityRecognitionConfig?{EntityTypes: [EntityTypesListItem]}}, DataLakeS3Uri: str?, DataSecurityConfig: DataSecurityConfig?{ModelKmsKeyId: str?, VolumeKmsKeyId: str?, DataLakeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}}, Status: str?, ModelType: str?, Message: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, LatestFlywheelIteration: str?}}

@endpoint POST /
@required {FlywheelArn: str, FlywheelIterationId: str}
@returns(200) {FlywheelIterationProperties: FlywheelIterationProperties?{FlywheelArn: str?, FlywheelIterationId: str?, CreationTime: str(timestamp)?, EndTime: str(timestamp)?, Status: str?, Message: str?, EvaluatedModelArn: str?, EvaluatedModelMetrics: FlywheelModelEvaluationMetrics?{AverageF1Score: num(f64)?, AveragePrecision: num(f64)?, AverageRecall: num(f64)?, AverageAccuracy: num(f64)?}, TrainedModelArn: str?, TrainedModelMetrics: FlywheelModelEvaluationMetrics?{AverageF1Score: num(f64)?, AveragePrecision: num(f64)?, AverageRecall: num(f64)?, AverageAccuracy: num(f64)?}, EvaluationManifestS3Prefix: str?}}

@endpoint POST /
@required {JobId: str}
@returns(200) {KeyPhrasesDetectionJobProperties: KeyPhrasesDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, LanguageCode: str?, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}}}

@endpoint POST /
@required {JobId: str}
@returns(200) {PiiEntitiesDetectionJobProperties: PiiEntitiesDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: PiiOutputDataConfig?{S3Uri: str, KmsKeyId: str?}, RedactionConfig: RedactionConfig?{PiiEntityTypes: [str]?, MaskMode: str?, MaskCharacter: str?}, LanguageCode: str?, DataAccessRoleArn: str?, Mode: str?}}

@endpoint POST /
@required {ResourceArn: str}
@returns(200) {ResourcePolicy: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, PolicyRevisionId: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {SentimentDetectionJobProperties: SentimentDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, LanguageCode: str?, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}}}

@endpoint POST /
@required {JobId: str}
@returns(200) {TargetedSentimentDetectionJobProperties: TargetedSentimentDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, LanguageCode: str?, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}}}

@endpoint POST /
@required {JobId: str}
@returns(200) {TopicsDetectionJobProperties: TopicsDetectionJobProperties?{JobId: str?, JobArn: str?, JobName: str?, JobStatus: str?, Message: str?, SubmitTime: str(timestamp)?, EndTime: str(timestamp)?, InputDataConfig: InputDataConfig?{S3Uri: str, InputFormat: str?, DocumentReaderConfig: DocumentReaderConfig?{DocumentReadAction: str, DocumentReadMode: str?, FeatureTypes: [str]?}}, OutputDataConfig: OutputDataConfig?{S3Uri: str, KmsKeyId: str?}, NumberOfTopics: int?, DataAccessRoleArn: str?, VolumeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}}}

@endpoint POST /
@required {Text: str}
@returns(200) {Languages: [DominantLanguage]?}

@endpoint POST /
@optional {Text: str, LanguageCode: str, EndpointArn: str, Bytes: bytes, DocumentReaderConfig: DocumentReaderConfig}
@returns(200) {Entities: [Entity]?, DocumentMetadata: DocumentMetadata?{Pages: int?, ExtractedCharacters: [ExtractedCharactersListItem]?}, DocumentType: [DocumentTypeListItem]?, Blocks: [Block]?, Errors: [ErrorsListItem]?}

@endpoint POST /
@required {Text: str, LanguageCode: str}
@returns(200) {KeyPhrases: [KeyPhrase]?}

@endpoint POST /
@required {Text: str, LanguageCode: str}
@returns(200) {Entities: [PiiEntity]?}

@endpoint POST /
@required {Text: str, LanguageCode: str}
@returns(200) {Sentiment: str?, SentimentScore: SentimentScore?{Positive: num(f32)?, Negative: num(f32)?, Neutral: num(f32)?, Mixed: num(f32)?}}

@endpoint POST /
@required {Text: str, LanguageCode: str}
@returns(200) {SyntaxTokens: [SyntaxToken]?}

@endpoint POST /
@required {Text: str, LanguageCode: str}
@returns(200) {Entities: [TargetedSentimentEntity]?}

@endpoint POST /
@required {TextSegments: [TextSegment], LanguageCode: str}
@returns(200) {ResultList: [ToxicLabels]?}

@endpoint POST /
@required {SourceModelArn: str}
@optional {ModelName: str, VersionName: str, ModelKmsKeyId: str, DataAccessRoleArn: str, Tags: [Tag]}
@returns(200) {ModelArn: str?}

@endpoint POST /
@optional {FlywheelArn: str, Filter: DatasetFilter, NextToken: str, MaxResults: int}
@returns(200) {DatasetPropertiesList: [DatasetProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: DocumentClassificationJobFilter, NextToken: str, MaxResults: int}
@returns(200) {DocumentClassificationJobPropertiesList: [DocumentClassificationJobProperties]?, NextToken: str?}

@endpoint POST /
@optional {NextToken: str, MaxResults: int}
@returns(200) {DocumentClassifierSummariesList: [DocumentClassifierSummary]?, NextToken: str?}

@endpoint POST /
@optional {Filter: DocumentClassifierFilter, NextToken: str, MaxResults: int}
@returns(200) {DocumentClassifierPropertiesList: [DocumentClassifierProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: DominantLanguageDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {DominantLanguageDetectionJobPropertiesList: [DominantLanguageDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: EndpointFilter, NextToken: str, MaxResults: int}
@returns(200) {EndpointPropertiesList: [EndpointProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: EntitiesDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {EntitiesDetectionJobPropertiesList: [EntitiesDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@optional {NextToken: str, MaxResults: int}
@returns(200) {EntityRecognizerSummariesList: [EntityRecognizerSummary]?, NextToken: str?}

@endpoint POST /
@optional {Filter: EntityRecognizerFilter, NextToken: str, MaxResults: int}
@returns(200) {EntityRecognizerPropertiesList: [EntityRecognizerProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: EventsDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {EventsDetectionJobPropertiesList: [EventsDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@required {FlywheelArn: str}
@optional {Filter: FlywheelIterationFilter, NextToken: str, MaxResults: int}
@returns(200) {FlywheelIterationPropertiesList: [FlywheelIterationProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: FlywheelFilter, NextToken: str, MaxResults: int}
@returns(200) {FlywheelSummaryList: [FlywheelSummary]?, NextToken: str?}

@endpoint POST /
@optional {Filter: KeyPhrasesDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {KeyPhrasesDetectionJobPropertiesList: [KeyPhrasesDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: PiiEntitiesDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {PiiEntitiesDetectionJobPropertiesList: [PiiEntitiesDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: SentimentDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {SentimentDetectionJobPropertiesList: [SentimentDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@required {ResourceArn: str}
@returns(200) {ResourceArn: str?, Tags: [Tag]?}

@endpoint POST /
@optional {Filter: TargetedSentimentDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {TargetedSentimentDetectionJobPropertiesList: [TargetedSentimentDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@optional {Filter: TopicsDetectionJobFilter, NextToken: str, MaxResults: int}
@returns(200) {TopicsDetectionJobPropertiesList: [TopicsDetectionJobProperties]?, NextToken: str?}

@endpoint POST /
@required {ResourceArn: str, ResourcePolicy: str}
@optional {PolicyRevisionId: str}
@returns(200) {PolicyRevisionId: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str}
@optional {JobName: str, DocumentClassifierArn: str, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Tags: [Tag], FlywheelArn: str}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?, DocumentClassifierArn: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str}
@optional {JobName: str, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Tags: [Tag]}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str, LanguageCode: str}
@optional {JobName: str, EntityRecognizerArn: str, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Tags: [Tag], FlywheelArn: str}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?, EntityRecognizerArn: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str, LanguageCode: str, TargetEventTypes: [str]}
@optional {JobName: str, ClientRequestToken: str, Tags: [Tag]}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?}

@endpoint POST /
@required {FlywheelArn: str}
@optional {ClientRequestToken: str}
@returns(200) {FlywheelArn: str?, FlywheelIterationId: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str, LanguageCode: str}
@optional {JobName: str, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Tags: [Tag]}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, Mode: str, DataAccessRoleArn: str, LanguageCode: str}
@optional {RedactionConfig: RedactionConfig, JobName: str, ClientRequestToken: str, Tags: [Tag]}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str, LanguageCode: str}
@optional {JobName: str, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Tags: [Tag]}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str, LanguageCode: str}
@optional {JobName: str, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Tags: [Tag]}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?}

@endpoint POST /
@required {InputDataConfig: InputDataConfig, OutputDataConfig: OutputDataConfig, DataAccessRoleArn: str}
@optional {JobName: str, NumberOfTopics: int, ClientRequestToken: str, VolumeKmsKeyId: str, VpcConfig: VpcConfig, Tags: [Tag]}
@returns(200) {JobId: str?, JobArn: str?, JobStatus: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {JobId: str?, JobStatus: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {JobId: str?, JobStatus: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {JobId: str?, JobStatus: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {JobId: str?, JobStatus: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {JobId: str?, JobStatus: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {JobId: str?, JobStatus: str?}

@endpoint POST /
@required {JobId: str}
@returns(200) {JobId: str?, JobStatus: str?}

@endpoint POST /
@required {DocumentClassifierArn: str}

@endpoint POST /
@required {EntityRecognizerArn: str}

@endpoint POST /
@required {ResourceArn: str, Tags: [Tag]}

@endpoint POST /
@required {ResourceArn: str, TagKeys: [str]}

@endpoint POST /
@required {EndpointArn: str}
@optional {DesiredModelArn: str, DesiredInferenceUnits: int, DesiredDataAccessRoleArn: str, FlywheelArn: str}
@returns(200) {DesiredModelArn: str?}

@endpoint POST /
@required {FlywheelArn: str}
@optional {ActiveModelArn: str, DataAccessRoleArn: str, DataSecurityConfig: UpdateDataSecurityConfig}
@returns(200) {FlywheelProperties: FlywheelProperties?{FlywheelArn: str?, ActiveModelArn: str?, DataAccessRoleArn: str?, TaskConfig: TaskConfig?{LanguageCode: str, DocumentClassificationConfig: DocumentClassificationConfig?{Mode: str, Labels: [str]?}, EntityRecognitionConfig: EntityRecognitionConfig?{EntityTypes: [EntityTypesListItem]}}, DataLakeS3Uri: str?, DataSecurityConfig: DataSecurityConfig?{ModelKmsKeyId: str?, VolumeKmsKeyId: str?, DataLakeKmsKeyId: str?, VpcConfig: VpcConfig?{SecurityGroupIds: [str], Subnets: [str]}}, Status: str?, ModelType: str?, Message: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, LatestFlywheelIteration: str?}}

@end
