import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement , Operator } from '../shared' ; param sid export class Comprehend extends PolicyStatement { public servicePrefix = 'comprehend' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Grants permission to detect the language or languages present in the list of text documents
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_BatchDetectDominantLanguage.html
     */ public toBatchDetectDominantLanguage ( ) { return this . to ( 'BatchDetectDominantLanguage' ) ; } /**
     * Grants permission to detect the named entities ("People", "Places", "Locations", etc) within the given list of text documents
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_BatchDetectEntities.html
     */ public toBatchDetectEntities ( ) { return this . to ( 'BatchDetectEntities' ) ; } /**
     * Grants permission to detect the phrases in the list of text documents that are most indicative of the content
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_BatchDetectKeyPhrases.html
     */ public toBatchDetectKeyPhrases ( ) { return this . to ( 'BatchDetectKeyPhrases' ) ; } /**
     * Grants permission to detect the sentiment of a text in the list of documents (Positive, Negative, Neutral, or Mixed)
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_BatchDetectSentiment.html
     */ public toBatchDetectSentiment ( ) { return this . to ( 'BatchDetectSentiment' ) ; } /**
     * Grants permission to detect syntactic information (like Part of Speech, Tokens) in a list of text documents
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_BatchDetectSyntax.html
     */ public toBatchDetectSyntax ( ) { return this . to ( 'BatchDetectSyntax' ) ; } /**
     * Grants permission to create a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ClassifyDocument.html
     */ public toClassifyDocument ( ) { return this . to ( 'ClassifyDocument' ) ; } /**
     * Grants permission to classify the personally identifiable information within given documents at realtime
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ContainsPiiEntities.html
     */ public toContainsPiiEntities ( ) { return this . to ( 'ContainsPiiEntities' ) ; } /**
     * Grants permission to create a new document classifier that you can use to categorize documents
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifModelKmsKey()
     * - .ifOutputKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_CreateDocumentClassifier.html
     */ public toCreateDocumentClassifier ( ) { return this . to ( 'CreateDocumentClassifier' ) ; } /**
     * Grants permission to create a model-specific endpoint for synchronous inference for a previously trained custom model
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_CreateEndpoint.html
     */ public toCreateEndpoint ( ) { return this . to ( 'CreateEndpoint' ) ; } /**
     * Grants permission to create an entity recognizer using submitted files
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifModelKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_CreateEntityRecognizer.html
     */ public toCreateEntityRecognizer ( ) { return this . to ( 'CreateEntityRecognizer' ) ; } /**
     * Grants permission to delete a previously created document classifier
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DeleteDocumentClassifier.html
     */ public toDeleteDocumentClassifier ( ) { return this . to ( 'DeleteDocumentClassifier' ) ; } /**
     * Grants permission to delete a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DeleteEndpoint.html
     */ public toDeleteEndpoint ( ) { return this . to ( 'DeleteEndpoint' ) ; } /**
     * Grants permission to delete a submitted entity recognizer
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DeleteEntityRecognizer.html
     */ public toDeleteEntityRecognizer ( ) { return this . to ( 'DeleteEntityRecognizer' ) ; } /**
     * Grants permission to get the properties associated with a document classification job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeDocumentClassificationJob.html
     */ public toDescribeDocumentClassificationJob ( ) { return this . to ( 'DescribeDocumentClassificationJob' ) ; } /**
     * Grants permission to get the properties associated with a document classifier
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeDocumentClassifier.html
     */ public toDescribeDocumentClassifier ( ) { return this . to ( 'DescribeDocumentClassifier' ) ; } /**
     * Grants permission to get the properties associated with a dominant language detection job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeDominantLanguageDetectionJob.html
     */ public toDescribeDominantLanguageDetectionJob ( ) { return this . to ( 'DescribeDominantLanguageDetectionJob' ) ; } /**
     * Grants permission to get the properties associated with a specific endpoint. Use this operation to get the status of an endpoint
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeEndpoint.html
     */ public toDescribeEndpoint ( ) { return this . to ( 'DescribeEndpoint' ) ; } /**
     * Grants permission to get the properties associated with an entities detection job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeEntitiesDetectionJob.html
     */ public toDescribeEntitiesDetectionJob ( ) { return this . to ( 'DescribeEntitiesDetectionJob' ) ; } /**
     * Grants permission to provide details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeEntityRecognizer.html
     */ public toDescribeEntityRecognizer ( ) { return this . to ( 'DescribeEntityRecognizer' ) ; } /**
     * Grants permission to get the properties associated with an Events detection job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeEventsDetectionJob.html
     */ public toDescribeEventsDetectionJob ( ) { return this . to ( 'DescribeEventsDetectionJob' ) ; } /**
     * Grants permission to get the properties associated with a key phrases detection job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeKeyPhrasesDetectionJob.html
     */ public toDescribeKeyPhrasesDetectionJob ( ) { return this . to ( 'DescribeKeyPhrasesDetectionJob' ) ; } /**
     * Grants permission to get the properties associated with a PII entities detection job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribePiiEntitiesDetectionJob.html
     */ public toDescribePiiEntitiesDetectionJob ( ) { return this . to ( 'DescribePiiEntitiesDetectionJob' ) ; } /**
     * Grants permission to get the properties associated with a sentiment detection job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeSentimentDetectionJob.html
     */ public toDescribeSentimentDetectionJob ( ) { return this . to ( 'DescribeSentimentDetectionJob' ) ; } /**
     * Grants permission to get the properties associated with a topic detection job
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DescribeTopicsDetectionJob.html
     */ public toDescribeTopicsDetectionJob ( ) { return this . to ( 'DescribeTopicsDetectionJob' ) ; } /**
     * Grants permission to detect the language or languages present in the text
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html
     */ public toDetectDominantLanguage ( ) { return this . to ( 'DetectDominantLanguage' ) ; } /**
     * Grants permission to detect the named entities ("People", "Places", "Locations", etc) within the given text document
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectEntities.html
     */ public toDetectEntities ( ) { return this . to ( 'DetectEntities' ) ; } /**
     * Grants permission to detect the phrases in the text that are most indicative of the content
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectKeyPhrases.html
     */ public toDetectKeyPhrases ( ) { return this . to ( 'DetectKeyPhrases' ) ; } /**
     * Grants permission to detect the personally identifiable information entities ("Name", "SSN", "PIN", etc) within the given text document
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectPiiEntities.html
     */ public toDetectPiiEntities ( ) { return this . to ( 'DetectPiiEntities' ) ; } /**
     * Grants permission to detect the sentiment of a text in a document (Positive, Negative, Neutral, or Mixed)
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectSentiment.html
     */ public toDetectSentiment ( ) { return this . to ( 'DetectSentiment' ) ; } /**
     * Grants permission to detect syntactic information (like Part of Speech, Tokens) in a text document
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectSyntax.html
     */ public toDetectSyntax ( ) { return this . to ( 'DetectSyntax' ) ; } /**
     * Grants permission to get a list of the document classification jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListDocumentClassificationJobs.html
     */ public toListDocumentClassificationJobs ( ) { return this . to ( 'ListDocumentClassificationJobs' ) ; } /**
     * Grants permission to get a list of summaries of the document classifiers that you have created
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListDocumentClassifierSummaries.html
     */ public toListDocumentClassifierSummaries ( ) { return this . to ( 'ListDocumentClassifierSummaries' ) ; } /**
     * Grants permission to get a list of the document classifiers that you have created
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListDocumentClassifiers.html
     */ public toListDocumentClassifiers ( ) { return this . to ( 'ListDocumentClassifiers' ) ; } /**
     * Grants permission to get a list of the dominant language detection jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListDominantLanguageDetectionJobs.html
     */ public toListDominantLanguageDetectionJobs ( ) { return this . to ( 'ListDominantLanguageDetectionJobs' ) ; } /**
     * Grants permission to get a list of all existing endpoints that you've created
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListEndpoints.html
     */ public toListEndpoints ( ) { return this . to ( 'ListEndpoints' ) ; } /**
     * Grants permission to get a list of the entity detection jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListEntitiesDetectionJobs.html
     */ public toListEntitiesDetectionJobs ( ) { return this . to ( 'ListEntitiesDetectionJobs' ) ; } /**
     * Grants permission to get a list of summaries for the entity recognizers that you have created
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListEntityRecognizerSummaries.html
     */ public toListEntityRecognizerSummaries ( ) { return this . to ( 'ListEntityRecognizerSummaries' ) ; } /**
     * Grants permission to get a list of the properties of all entity recognizers that you created, including recognizers currently in training
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListEntityRecognizers.html
     */ public toListEntityRecognizers ( ) { return this . to ( 'ListEntityRecognizers' ) ; } /**
     * Grants permission to get a list of Events detection jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListEventsDetectionJobs.html
     */ public toListEventsDetectionJobs ( ) { return this . to ( 'ListEventsDetectionJobs' ) ; } /**
     * Grants permission to get a list of key phrase detection jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListKeyPhrasesDetectionJobs.html
     */ public toListKeyPhrasesDetectionJobs ( ) { return this . to ( 'ListKeyPhrasesDetectionJobs' ) ; } /**
     * Grants permission to get a list of PII entities detection jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListPiiEntitiesDetectionJobs.html
     */ public toListPiiEntitiesDetectionJobs ( ) { return this . to ( 'ListPiiEntitiesDetectionJobs' ) ; } /**
     * Grants permission to get a list of sentiment detection jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListSentimentDetectionJobs.html
     */ public toListSentimentDetectionJobs ( ) { return this . to ( 'ListSentimentDetectionJobs' ) ; } /**
     * Grants permission to list tags for a resource
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListTagsForResource.html
     */ public toListTagsForResource ( ) { return this . to ( 'ListTagsForResource' ) ; } /**
     * Grants permission to get a list of the topic detection jobs that you have submitted
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_ListTopicsDetectionJobs.html
     */ public toListTopicsDetectionJobs ( ) { return this . to ( 'ListTopicsDetectionJobs' ) ; } /**
     * Grants permission to start an asynchronous document classification job
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifOutputKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartDocumentClassificationJob.html
     */ public toStartDocumentClassificationJob ( ) { return this . to ( 'StartDocumentClassificationJob' ) ; } /**
     * Grants permission to start an asynchronous dominant language detection job for a collection of documents
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifOutputKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartDominantLanguageDetectionJob.html
     */ public toStartDominantLanguageDetectionJob ( ) { return this . to ( 'StartDominantLanguageDetectionJob' ) ; } /**
     * Grants permission to start an asynchronous entity detection job for a collection of documents
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifOutputKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartEntitiesDetectionJob.html
     */ public toStartEntitiesDetectionJob ( ) { return this . to ( 'StartEntitiesDetectionJob' ) ; } /**
     * Grants permission to start an asynchronous Events detection job for a collection of documents
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifOutputKmsKey()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartEventsDetectionJob.html
     */ public toStartEventsDetectionJob ( ) { return this . to ( 'StartEventsDetectionJob' ) ; } /**
     * Grants permission to start an asynchronous key phrase detection job for a collection of documents
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifOutputKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartKeyPhrasesDetectionJob.html
     */ public toStartKeyPhrasesDetectionJob ( ) { return this . to ( 'StartKeyPhrasesDetectionJob' ) ; } /**
     * Grants permission to start an asynchronous PII entities detection job for a collection of documents
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifOutputKmsKey()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartPiiEntitiesDetectionJob.html
     */ public toStartPiiEntitiesDetectionJob ( ) { return this . to ( 'StartPiiEntitiesDetectionJob' ) ; } /**
     * Grants permission to start an asynchronous sentiment detection job for a collection of documents
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifOutputKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartSentimentDetectionJob.html
     */ public toStartSentimentDetectionJob ( ) { return this . to ( 'StartSentimentDetectionJob' ) ; } /**
     * Grants permission to start an asynchronous job to detect the most common topics in the collection of documents and the phrases associated with each topic
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     * - .ifVolumeKmsKey()
     * - .ifOutputKmsKey()
     * - .ifVpcSecurityGroupIds()
     * - .ifVpcSubnets()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StartTopicsDetectionJob.html
     */ public toStartTopicsDetectionJob ( ) { return this . to ( 'StartTopicsDetectionJob' ) ; } /**
     * Grants permission to stop a dominant language detection job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopDominantLanguageDetectionJob.html
     */ public toStopDominantLanguageDetectionJob ( ) { return this . to ( 'StopDominantLanguageDetectionJob' ) ; } /**
     * Grants permission to stop an entity detection job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopEntitiesDetectionJob.html
     */ public toStopEntitiesDetectionJob ( ) { return this . to ( 'StopEntitiesDetectionJob' ) ; } /**
     * Grants permission to stop an Events detection job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopEventsDetectionJob.html
     */ public toStopEventsDetectionJob ( ) { return this . to ( 'StopEventsDetectionJob' ) ; } /**
     * Grants permission to stop a key phrase detection job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopKeyPhrasesDetectionJob.html
     */ public toStopKeyPhrasesDetectionJob ( ) { return this . to ( 'StopKeyPhrasesDetectionJob' ) ; } /**
     * Grants permission to stop a PII entities detection job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopPiiEntitiesDetectionJob.html
     */ public toStopPiiEntitiesDetectionJob ( ) { return this . to ( 'StopPiiEntitiesDetectionJob' ) ; } /**
     * Grants permission to stop a sentiment detection job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopSentimentDetectionJob.html
     */ public toStopSentimentDetectionJob ( ) { return this . to ( 'StopSentimentDetectionJob' ) ; } /**
     * Grants permission to stop a previously created document classifier training job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopTrainingDocumentClassifier.html
     */ public toStopTrainingDocumentClassifier ( ) { return this . to ( 'StopTrainingDocumentClassifier' ) ; } /**
     * Grants permission to stop a previously created entity recognizer training job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_StopTrainingEntityRecognizer.html
     */ public toStopTrainingEntityRecognizer ( ) { return this . to ( 'StopTrainingEntityRecognizer' ) ; } /**
     * Grants permission to tag a resource with given key value pairs
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_TagResource.html
     */ public toTagResource ( ) { return this . to ( 'TagResource' ) ; } /**
     * Grants permission to untag a resource with given key
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_UntagResource.html
     */ public toUntagResource ( ) { return this . to ( 'UntagResource' ) ; } /**
     * Grants permission to update information about the specified endpoint
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/comprehend/latest/dg/API_UpdateEndpoint.html
     */ public toUpdateEndpoint ( ) { return this . to ( 'UpdateEndpoint' ) ; } protected accessLevelList : AccessLevelList = { Read : [ 'BatchDetectDominantLanguage' , 'BatchDetectEntities' , 'BatchDetectKeyPhrases' , 'BatchDetectSentiment' , 'BatchDetectSyntax' , 'ClassifyDocument' , 'ContainsPiiEntities' , 'DescribeDocumentClassificationJob' , 'DescribeDocumentClassifier' , 'DescribeDominantLanguageDetectionJob' , 'DescribeEndpoint' , 'DescribeEntitiesDetectionJob' , 'DescribeEntityRecognizer' , 'DescribeEventsDetectionJob' , 'DescribeKeyPhrasesDetectionJob' , 'DescribePiiEntitiesDetectionJob' , 'DescribeSentimentDetectionJob' , 'DescribeTopicsDetectionJob' , 'DetectDominantLanguage' , 'DetectEntities' , 'DetectKeyPhrases' , 'DetectPiiEntities' , 'DetectSentiment' , 'DetectSyntax' , 'ListDocumentClassificationJobs' , 'ListDocumentClassifierSummaries' , 'ListDocumentClassifiers' , 'ListDominantLanguageDetectionJobs' , 'ListEndpoints' , 'ListEntitiesDetectionJobs' , 'ListEntityRecognizerSummaries' , 'ListEntityRecognizers' , 'ListEventsDetectionJobs' , 'ListKeyPhrasesDetectionJobs' , 'ListPiiEntitiesDetectionJobs' , 'ListSentimentDetectionJobs' , 'ListTagsForResource' , 'ListTopicsDetectionJobs' ] , Write : [ 'CreateDocumentClassifier' , 'CreateEndpoint' , 'CreateEntityRecognizer' , 'DeleteDocumentClassifier' , 'DeleteEndpoint' , 'DeleteEntityRecognizer' , 'StartDocumentClassificationJob' , 'StartDominantLanguageDetectionJob' , 'StartEntitiesDetectionJob' , 'StartEventsDetectionJob' , 'StartKeyPhrasesDetectionJob' , 'StartPiiEntitiesDetectionJob' , 'StartSentimentDetectionJob' , 'StartTopicsDetectionJob' , 'StopDominantLanguageDetectionJob' , 'StopEntitiesDetectionJob' , 'StopEventsDetectionJob' , 'StopKeyPhrasesDetectionJob' , 'StopPiiEntitiesDetectionJob' , 'StopSentimentDetectionJob' , 'StopTrainingDocumentClassifier' , 'StopTrainingEntityRecognizer' , 'UpdateEndpoint' ] , Tagging : [ 'TagResource' , 'UntagResource' ] } ; param documentClassifierName param account param region param partition public onDocumentClassifier ( documentClassifierName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:document-classifier/${ documentClassifierName }` ) ; } param documentClassifierEndpointName param account param region param partition public onDocumentClassifierEndpoint ( documentClassifierEndpointName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:document-classifier-endpoint/${ documentClassifierEndpointName }` ) ; } param entityRecognizerName param account param region param partition public onEntityRecognizer ( entityRecognizerName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:entity-recognizer/${ entityRecognizerName }` ) ; } param entityRecognizerEndpointName param account param region param partition public onEntityRecognizerEndpoint ( entityRecognizerEndpointName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:entity-recognizer-endpoint/${ entityRecognizerEndpointName }` ) ; } param jobId param account param region param partition public onDominantLanguageDetectionJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:dominant-language-detection-job/${ jobId }` ) ; } param jobId param account param region param partition public onEntitiesDetectionJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:entities-detection-job/${ jobId }` ) ; } param jobId param account param region param partition public onPiiEntitiesDetectionJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:pii-entities-detection-job/${ jobId }` ) ; } param jobId param account param region param partition public onEventsDetectionJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:events-detection-job/${ jobId }` ) ; } param jobId param account param region param partition public onKeyPhrasesDetectionJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:key-phrases-detection-job/${ jobId }` ) ; } param jobId param account param region param partition public onSentimentDetectionJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:sentiment-detection-job/${ jobId }` ) ; } param jobId param account param region param partition public onTopicsDetectionJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:topics-detection-job/${ jobId }` ) ; } param jobId param account param region param partition public onDocumentClassificationJob ( jobId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:comprehend:${ region || '*' }:${ account || '*' }:document-classification-job/${ jobId }` ) ; } param value param operator public ifModelKmsKey ( value , operator ? ) { return this . if ( `ModelKmsKey` , value , operator || 'ArnLike' ) ; } param value param operator public ifOutputKmsKey ( value , operator ? ) { return this . if ( `OutputKmsKey` , value , operator || 'ArnLike' ) ; } param value param operator public ifVolumeKmsKey ( value , operator ? ) { return this . if ( `VolumeKmsKey` , value , operator || 'ArnLike' ) ; } param value param operator public ifVpcSecurityGroupIds ( value , operator ? ) { return this . if ( `VpcSecurityGroupIds` , value , operator || 'StringLike' ) ; } param value param operator public ifVpcSubnets ( value , operator ? ) { return this . if ( `VpcSubnets` , value , operator || 'StringLike' ) ; } }