View a markdown version of this page

Amazon Comprehend 的動作、資源和條件索引鍵 - 服務授權參考

Amazon Comprehend 的動作、資源和條件索引鍵

Amazon Comprehend (服務字首:comprehend) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

Amazon Comprehend 定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

BatchDetectDominantLanguage

comprehend:BatchDetectDominantLanguage

讀取

BatchDetectEntities

comprehend:BatchDetectEntities

讀取

BatchDetectKeyPhrases

comprehend:BatchDetectKeyPhrases

讀取

BatchDetectSentiment

comprehend:BatchDetectSentiment

讀取

BatchDetectSyntax

comprehend:BatchDetectSyntax

讀取

BatchDetectTargetedSentiment

comprehend:BatchDetectTargetedSentiment

讀取

ClassifyDocument

comprehend:ClassifyDocument

讀取

ContainsPiiEntities

comprehend:ContainsPiiEntities

讀取

CreateDataset

comprehend:CreateDataset

寫入

comprehend:TagResource

標記、寫入

CreateDocumentClassifier

comprehend:CreateDocumentClassifier

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

CreateEndpoint

comprehend:CreateEndpoint

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

CreateEntityRecognizer

comprehend:CreateEntityRecognizer

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

CreateFlywheel

comprehend:CreateFlywheel

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

DeleteDocumentClassifier

comprehend:DeleteDocumentClassifier

寫入

DeleteEndpoint

comprehend:DeleteEndpoint

寫入

DeleteEntityRecognizer

comprehend:DeleteEntityRecognizer

寫入

DeleteFlywheel

comprehend:DeleteFlywheel

寫入

DeleteResourcePolicy

comprehend:DeleteResourcePolicy

寫入

DescribeDataset

comprehend:DescribeDataset

讀取

DescribeDocumentClassificationJob

comprehend:DescribeDocumentClassificationJob

讀取

DescribeDocumentClassifier

comprehend:DescribeDocumentClassifier

讀取

DescribeDominantLanguageDetectionJob

comprehend:DescribeDominantLanguageDetectionJob

讀取

DescribeEndpoint

comprehend:DescribeEndpoint

讀取

DescribeEntitiesDetectionJob

comprehend:DescribeEntitiesDetectionJob

讀取

DescribeEntityRecognizer

comprehend:DescribeEntityRecognizer

讀取

DescribeEventsDetectionJob

comprehend:DescribeEventsDetectionJob

讀取

DescribeFlywheel

comprehend:DescribeFlywheel

讀取

DescribeFlywheelIteration

comprehend:DescribeFlywheelIteration

讀取

DescribeKeyPhrasesDetectionJob

comprehend:DescribeKeyPhrasesDetectionJob

讀取

DescribePiiEntitiesDetectionJob

comprehend:DescribePiiEntitiesDetectionJob

讀取

DescribeResourcePolicy

comprehend:DescribeResourcePolicy

讀取

DescribeSentimentDetectionJob

comprehend:DescribeSentimentDetectionJob

讀取

DescribeTargetedSentimentDetectionJob

comprehend:DescribeTargetedSentimentDetectionJob

讀取

DescribeTopicsDetectionJob

comprehend:DescribeTopicsDetectionJob

讀取

DetectDominantLanguage

comprehend:DetectDominantLanguage

讀取

DetectEntities

comprehend:DetectEntities

讀取

DetectKeyPhrases

comprehend:DetectKeyPhrases

讀取

DetectPiiEntities

comprehend:DetectPiiEntities

讀取

DetectSentiment

comprehend:DetectSentiment

讀取

DetectSyntax

comprehend:DetectSyntax

讀取

DetectTargetedSentiment

comprehend:DetectTargetedSentiment

讀取

DetectToxicContent

comprehend:DetectToxicContent

讀取

ImportModel

comprehend:ImportModel

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

ListDatasets

comprehend:ListDatasets

讀取

ListDocumentClassificationJobs

comprehend:ListDocumentClassificationJobs

讀取

ListDocumentClassifierSummaries

comprehend:ListDocumentClassifierSummaries

讀取

ListDocumentClassifiers

comprehend:ListDocumentClassifiers

讀取

ListDominantLanguageDetectionJobs

comprehend:ListDominantLanguageDetectionJobs

讀取

ListEndpoints

comprehend:ListEndpoints

讀取

ListEntitiesDetectionJobs

comprehend:ListEntitiesDetectionJobs

讀取

ListEntityRecognizerSummaries

comprehend:ListEntityRecognizerSummaries

讀取

ListEntityRecognizers

comprehend:ListEntityRecognizers

讀取

ListEventsDetectionJobs

comprehend:ListEventsDetectionJobs

讀取

ListFlywheelIterationHistory

comprehend:ListFlywheelIterationHistory

讀取

ListFlywheels

comprehend:ListFlywheels

讀取

ListKeyPhrasesDetectionJobs

comprehend:ListKeyPhrasesDetectionJobs

讀取

ListPiiEntitiesDetectionJobs

comprehend:ListPiiEntitiesDetectionJobs

讀取

ListSentimentDetectionJobs

comprehend:ListSentimentDetectionJobs

讀取

ListTagsForResource

comprehend:ListTagsForResource

讀取

ListTargetedSentimentDetectionJobs

comprehend:ListTargetedSentimentDetectionJobs

讀取

ListTopicsDetectionJobs

comprehend:ListTopicsDetectionJobs

讀取

PutResourcePolicy

comprehend:PutResourcePolicy

寫入

StartDocumentClassificationJob

comprehend:StartDocumentClassificationJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartDominantLanguageDetectionJob

comprehend:StartDominantLanguageDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartEntitiesDetectionJob

comprehend:StartEntitiesDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartEventsDetectionJob

comprehend:StartEventsDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartFlywheelIteration

comprehend:StartFlywheelIteration

寫入

StartKeyPhrasesDetectionJob

comprehend:StartKeyPhrasesDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartPiiEntitiesDetectionJob

comprehend:StartPiiEntitiesDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartSentimentDetectionJob

comprehend:StartSentimentDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartTargetedSentimentDetectionJob

comprehend:StartTargetedSentimentDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StartTopicsDetectionJob

comprehend:StartTopicsDetectionJob

寫入

comprehend:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

StopDominantLanguageDetectionJob

comprehend:StopDominantLanguageDetectionJob

寫入

StopEntitiesDetectionJob

comprehend:StopEntitiesDetectionJob

寫入

StopEventsDetectionJob

comprehend:StopEventsDetectionJob

寫入

StopKeyPhrasesDetectionJob

comprehend:StopKeyPhrasesDetectionJob

寫入

StopPiiEntitiesDetectionJob

comprehend:StopPiiEntitiesDetectionJob

寫入

StopSentimentDetectionJob

comprehend:StopSentimentDetectionJob

寫入

StopTargetedSentimentDetectionJob

comprehend:StopTargetedSentimentDetectionJob

寫入

StopTrainingDocumentClassifier

comprehend:StopTrainingDocumentClassifier

寫入

StopTrainingEntityRecognizer

comprehend:StopTrainingEntityRecognizer

寫入

TagResource

comprehend:TagResource

標記、寫入

UntagResource

comprehend:UntagResource

標記、寫入

UpdateEndpoint

comprehend:UpdateEndpoint

寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

UpdateFlywheel

comprehend:UpdateFlywheel

寫入

iam:PassRole

iam:PassedToService

comprehend.amazonaws.com

寫入

Amazon Comprehend 定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

BatchDetectDominantLanguage

准許檢測文本文件列表中存在的語言或語言

讀取

BatchDetectEntities

准許在指定的文字文件清單偵測具名的實體 (「人員」、「地點」、「位置」等等)

讀取

BatchDetectKeyPhrases

准許偵測文字文件清單內容最具代表性的片語。

讀取

BatchDetectSentiment

准許偵測文件清單的情緒文字 (正面、負面、中立或混合)

讀取

BatchDetectSyntax

准許檢測文本文件列表中的語法資訊 (如詞性、字符)

讀取

BatchDetectTargetedSentiment

准許在指定的文字文件清單偵測與特定的實體 (例如品牌或產品) 相關的情緒

讀取

ClassifyDocument

准許使用先前建立和訓練過的自訂模型和端點,建立新的文件分類請求,以即時分析單一文件

document-classifier-endpoint*

aws:ResourceTag/${TagKey}

讀取

ContainsPiiEntities

准許即時將特定文件內的個人識別資訊分類

讀取

CreateDataset

准許在飛輪中建立新的資料集。

飛輪*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateDocumentClassifier

准許建立可用來分類文件的新文件分類器

文件分類器*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:ModelKmsKey

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

CreateEndpoint

准許針對先前訓練過的自訂模型,建立同步推論的模型特定端點

文件分類器*

aws:ResourceTag/${TagKey}

寫入

document-classifier-endpoint*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

entity-recognizer*

aws:ResourceTag/${TagKey}

entity-recognizer-endpoint*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

飛輪

aws:ResourceTag/${TagKey}

CreateEntityRecognizer

准許使用提交的檔案建立實體辨識器

entity-recognizer*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:ModelKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

CreateFlywheel

准許建立新飛輪,您可以將其用於訓練模型版本

文件分類器

aws:ResourceTag/${TagKey}

寫入

entity-recognizer

aws:ResourceTag/${TagKey}

飛輪*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:DataLakeKmsKey

comprehend:ModelKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

DeleteDocumentClassifier

准許刪除先前建立的文件分類器

文件分類器*

aws:ResourceTag/${TagKey}

寫入

DeleteEndpoint

准許刪除先前訓練過的自訂模型之模型特定端點。您必須刪除所有端點,才能刪除模型

document-classifier-endpoint*

aws:ResourceTag/${TagKey}

寫入

entity-recognizer-endpoint*

aws:ResourceTag/${TagKey}

DeleteEntityRecognizer

准許刪除提交的實體辨識器

entity-recognizer*

aws:ResourceTag/${TagKey}

寫入

DeleteFlywheel

准許刪除飛輪

飛輪*

aws:ResourceTag/${TagKey}

寫入

DeleteResourcePolicy

准許移除資源上的政策

文件分類器*

aws:ResourceTag/${TagKey}

寫入

entity-recognizer*

aws:ResourceTag/${TagKey}

DescribeDataset

准許取得與資料集相關聯的內容

flywheel-dataset*

aws:ResourceTag/${TagKey}

讀取

DescribeDocumentClassificationJob

准許取得與文件分類任務相關聯的屬性

document-classification-job*

aws:ResourceTag/${TagKey}

讀取

DescribeDocumentClassifier

准許取得與文件分類器相關聯的屬性

文件分類器*

aws:ResourceTag/${TagKey}

讀取

DescribeDominantLanguageDetectionJob

准許取得與主要語言偵測任務相關聯的屬性

dominant-language-detection-job*

aws:ResourceTag/${TagKey}

讀取

DescribeEndpoint

准許取得與特定端點相關聯的內容 使用此操作以取得端點的狀態。

document-classifier-endpoint*

aws:ResourceTag/${TagKey}

讀取

entity-recognizer-endpoint*

aws:ResourceTag/${TagKey}

DescribeEntitiesDetectionJob

准許取得與實體偵測任務相關聯的內容

entities-detection-job*

aws:ResourceTag/${TagKey}

讀取

DescribeEntityRecognizer

准許提供關於實體辨識器的詳細資訊,包括狀態、S3 儲存貯體內的訓練資料、辨識器中繼資料、指標等等

entity-recognizer*

aws:ResourceTag/${TagKey}

讀取

DescribeEventsDetectionJob

准許取得與事件偵測任務相關聯的屬性

events-detection-job*

aws:ResourceTag/${TagKey}

讀取

DescribeFlywheel

准許取得與飛輪相關聯的內容

飛輪*

aws:ResourceTag/${TagKey}

讀取

DescribeFlywheelIteration

准許獲得與飛輪迭代相關聯的屬性,用於飛輪的迭代

飛輪*

aws:ResourceTag/${TagKey}

comprehend:FlywheelIterationId

讀取

DescribeKeyPhrasesDetectionJob

准許取得與關鍵片語偵測任務相關聯的內容

key-phrases-detection-job*

aws:ResourceTag/${TagKey}

讀取

DescribePiiEntitiesDetectionJob

准許取得與 PII 實體偵測任務相關聯的內容

pii-entities-detection-job*

aws:ResourceTag/${TagKey}

讀取

DescribeResourcePolicy

准許讀取資源上連接的政策

文件分類器*

aws:ResourceTag/${TagKey}

讀取

entity-recognizer*

aws:ResourceTag/${TagKey}

DescribeSentimentDetectionJob

准許取得與情緒偵測任務相關聯的內容

sentiment-detection-job*

aws:ResourceTag/${TagKey}

讀取

DescribeTargetedSentimentDetectionJob

准許取得與目標情緒偵測任務相關聯的內容

targeted-sentiment-detection-job*

aws:ResourceTag/${TagKey}

讀取

DescribeTopicsDetectionJob

准許取得與主題偵測任務相關聯的屬性

topics-detection-job*

aws:ResourceTag/${TagKey}

讀取

DetectDominantLanguage

准許偵測文本中存在的語言

讀取

DetectEntities

准許檢測指定文字文件中已命名的實體 (「人」、「地點」、「位置」等)

entity-recognizer-endpoint

aws:ResourceTag/${TagKey}

讀取

DetectKeyPhrases

准許偵測文字中最具指示性內容的片語

讀取

DetectPiiEntities

准許檢測指定文本文件中的個人識別資訊實體 (「姓名」、「SSN」、「PIN」等)

讀取

DetectSentiment

准許偵測文件中的文字情緒 (正面、負面、中立或混合)

讀取

DetectSyntax

准許檢測文本文檔中的語法資訊 (如語音部分,令牌)

讀取

DetectTargetedSentiment

准許在文件中偵測與特定實體 (例如品牌或產品) 相關的情緒

讀取

DetectToxicContent

准許刪除給定文字區段清單中的有毒內容

讀取

ImportModel

准許匯入已訓練的 Comprehend 模型

文件分類器*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:ModelKmsKey

寫入

entity-recognizer*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:ModelKmsKey

ListDatasets

准許取得與飛輪相關聯的資料集清單

飛輪*

aws:ResourceTag/${TagKey}

讀取

ListDocumentClassificationJobs

准許取得已提交文件的分類任務清單

讀取

ListDocumentClassifierSummaries

准許取得您所建立的文件分類器摘要清單

讀取

ListDocumentClassifiers

准許取得您所建立的文件分類器清單

讀取

ListDominantLanguageDetectionJobs

准許取得您提交的主要語言偵測任務清單

讀取

ListEndpoints

准許取得您建立的所有現有端點清單

讀取

ListEntitiesDetectionJobs

准許取得已提交實體的偵測任務清單

讀取

ListEntityRecognizerSummaries

准許取得您所建立的實體辨識器摘要清單

讀取

ListEntityRecognizers

准許取得已建立的所有實體辨識器屬性清單,包含目前訓練中的辨識器

讀取

ListEventsDetectionJobs

准許取得已提交的事件偵測任務清單

讀取

ListFlywheelIterationHistory

准許取得與飛輪相關聯的迭代清單

飛輪*

aws:ResourceTag/${TagKey}

讀取

ListFlywheels

准許取得您所建立的飛輪清單

讀取

ListKeyPhrasesDetectionJobs

准許取得已提交的金鑰片語偵測任務清單

讀取

ListPiiEntitiesDetectionJobs

准許取得已提交 PII 實體的偵測任務清單

讀取

ListSentimentDetectionJobs

准許取得已提交的情緒偵測任務清單

讀取

ListTagsForResource

准許列出資源的標籤

document-classification-job

aws:ResourceTag/${TagKey}

讀取

文件分類器

aws:ResourceTag/${TagKey}

document-classifier-endpoint

aws:ResourceTag/${TagKey}

dominant-language-detection-job

aws:ResourceTag/${TagKey}

entities-detection-job

aws:ResourceTag/${TagKey}

entity-recognizer

aws:ResourceTag/${TagKey}

entity-recognizer-endpoint

aws:ResourceTag/${TagKey}

events-detection-job

aws:ResourceTag/${TagKey}

飛輪

aws:ResourceTag/${TagKey}

flywheel-dataset

aws:ResourceTag/${TagKey}

key-phrases-detection-job

aws:ResourceTag/${TagKey}

pii-entities-detection-job

aws:ResourceTag/${TagKey}

sentiment-detection-job

aws:ResourceTag/${TagKey}

targeted-sentiment-detection-job

aws:ResourceTag/${TagKey}

topics-detection-job

aws:ResourceTag/${TagKey}

ListTargetedSentimentDetectionJobs

准許取得已提交的目標情緒偵測任務清單

讀取

ListTopicsDetectionJobs

准許取得已提交的主題偵測任務清單

讀取

PutResourcePolicy

准許將政策連接至資源

文件分類器*

aws:ResourceTag/${TagKey}

寫入

entity-recognizer*

aws:ResourceTag/${TagKey}

StartDocumentClassificationJob

准許啟動非同步文件分類任務

document-classification-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

文件分類器

aws:ResourceTag/${TagKey}

飛輪

aws:ResourceTag/${TagKey}

StartDominantLanguageDetectionJob

准許啟動文件集合的非同步主導語言偵測任務

dominant-language-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

StartEntitiesDetectionJob

准許啟動文件集合的非同步實體偵測任務

entities-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

entity-recognizer

aws:ResourceTag/${TagKey}

飛輪

aws:ResourceTag/${TagKey}

StartEventsDetectionJob

准許啟動文件集合的非同步事件偵測任務

events-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

寫入

StartFlywheelIteration

准許啟動飛輪的飛輪迭代

飛輪*

aws:ResourceTag/${TagKey}

寫入

StartKeyPhrasesDetectionJob

准許啟動文件集合的非同步關鍵詞語偵測任務

key-phrases-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

StartPiiEntitiesDetectionJob

准許啟動文件集合的非同步 PII 實體偵測任務

pii-entities-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

寫入

StartSentimentDetectionJob

准許啟動文件集合的非同步情緒偵測任務

sentiment-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

StartTargetedSentimentDetectionJob

准許開始文件集合的非同步目標情緒偵測任務

targeted-sentiment-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

StartTopicsDetectionJob

准許啟動非同步任務來偵測文件集合中最常見的主題,以及和每個主題相關聯的片語。

topics-detection-job*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

comprehend:OutputKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

寫入

StopDominantLanguageDetectionJob

准許停止主要語言偵測任務

dominant-language-detection-job*

aws:ResourceTag/${TagKey}

寫入

StopEntitiesDetectionJob

准許停止實體偵測任務

entities-detection-job*

aws:ResourceTag/${TagKey}

寫入

StopEventsDetectionJob

准許停止事件偵測任務

events-detection-job*

aws:ResourceTag/${TagKey}

寫入

StopKeyPhrasesDetectionJob

准許停止關鍵片語偵測任務

key-phrases-detection-job*

aws:ResourceTag/${TagKey}

寫入

StopPiiEntitiesDetectionJob

准許停止 PII 實體偵測任務

pii-entities-detection-job*

aws:ResourceTag/${TagKey}

寫入

StopSentimentDetectionJob

准許停止情緒偵測任務

sentiment-detection-job*

aws:ResourceTag/${TagKey}

寫入

StopTargetedSentimentDetectionJob

准許停止目標情緒偵測任務

targeted-sentiment-detection-job*

aws:ResourceTag/${TagKey}

寫入

StopTrainingDocumentClassifier

准許停止先前建立的文件分類器訓練任務

文件分類器*

aws:ResourceTag/${TagKey}

寫入

StopTrainingEntityRecognizer

准許停止先前建立的實體辨識器訓練任務

entity-recognizer*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許使用指定金鑰值配對來標記資源

document-classification-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

文件分類器

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

document-classifier-endpoint

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

dominant-language-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

entities-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

entity-recognizer

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

entity-recognizer-endpoint

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

events-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

飛輪

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

flywheel-dataset

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

key-phrases-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

pii-entities-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

sentiment-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

targeted-sentiment-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

topics-detection-job

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許使用指定密鑰取消標記資源

document-classification-job

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

文件分類器

aws:ResourceTag/${TagKey}

aws:TagKeys

document-classifier-endpoint

aws:ResourceTag/${TagKey}

aws:TagKeys

dominant-language-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

entities-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

entity-recognizer

aws:ResourceTag/${TagKey}

aws:TagKeys

entity-recognizer-endpoint

aws:ResourceTag/${TagKey}

aws:TagKeys

events-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

飛輪

aws:ResourceTag/${TagKey}

aws:TagKeys

flywheel-dataset

aws:ResourceTag/${TagKey}

aws:TagKeys

key-phrases-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

pii-entities-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

sentiment-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

targeted-sentiment-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

topics-detection-job

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateEndpoint

准許更新指定端點相關資訊

document-classifier-endpoint*

aws:ResourceTag/${TagKey}

寫入

entity-recognizer-endpoint*

aws:ResourceTag/${TagKey}

飛輪

aws:ResourceTag/${TagKey}

UpdateFlywheel

准許更新飛輪組態

文件分類器

aws:ResourceTag/${TagKey}

寫入

entity-recognizer

aws:ResourceTag/${TagKey}

飛輪*

aws:ResourceTag/${TagKey}

comprehend:ModelKmsKey

comprehend:VolumeKmsKey

comprehend:VpcSecurityGroupIds

comprehend:VpcSubnets

Amazon Comprehend 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

document-classification-job

arn:${Partition}:comprehend:${Region}:${Account}:document-classification-job/${JobId}

aws:ResourceTag/${TagKey}

文件分類器

arn:${Partition}:comprehend:${Region}:${Account}:document-classifier/${DocumentClassifierName}

aws:ResourceTag/${TagKey}

document-classifier-endpoint

arn:${Partition}:comprehend:${Region}:${Account}:document-classifier-endpoint/${DocumentClassifierEndpointName}

aws:ResourceTag/${TagKey}

dominant-language-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:dominant-language-detection-job/${JobId}

aws:ResourceTag/${TagKey}

entities-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:entities-detection-job/${JobId}

aws:ResourceTag/${TagKey}

entity-recognizer

arn:${Partition}:comprehend:${Region}:${Account}:entity-recognizer/${EntityRecognizerName}

aws:ResourceTag/${TagKey}

entity-recognizer-endpoint

arn:${Partition}:comprehend:${Region}:${Account}:entity-recognizer-endpoint/${EntityRecognizerEndpointName}

aws:ResourceTag/${TagKey}

events-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:events-detection-job/${JobId}

aws:ResourceTag/${TagKey}

飛輪

arn:${Partition}:comprehend:${Region}:${Account}:flywheel/${FlywheelName}

aws:ResourceTag/${TagKey}

flywheel-dataset

arn:${Partition}:comprehend:${Region}:${Account}:flywheel/${FlywheelName}/dataset/${DatasetName}

aws:ResourceTag/${TagKey}

key-phrases-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:key-phrases-detection-job/${JobId}

aws:ResourceTag/${TagKey}

pii-entities-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:pii-entities-detection-job/${JobId}

aws:ResourceTag/${TagKey}

sentiment-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:sentiment-detection-job/${JobId}

aws:ResourceTag/${TagKey}

targeted-sentiment-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:targeted-sentiment-detection-job/${JobId}

aws:ResourceTag/${TagKey}

topics-detection-job

arn:${Partition}:comprehend:${Region}:${Account}:topics-detection-job/${JobId}

aws:ResourceTag/${TagKey}

Amazon Comprehend 條件索引鍵

Amazon Comprehend 會定義下列條件金鑰,可用於 IAM 政策的 Condition 元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

透過要求資源建立請求中存在標籤值來篩選存取權

String

aws:ResourceTag/${TagKey}

透過要求與資源相關聯的標籤值來篩選存取權

String

aws:TagKeys

透過要求請求中存在強制性標籤來篩選存取權

ArrayOfString

comprehend:DataLakeKmsKey

透過與請求中飛輪資源相關聯的 DataLake Kms 金鑰篩選存取

ARN

comprehend:FlywheelIterationId

依飛輪的特定迭代 ID 篩選存取

String

comprehend:ModelKmsKey

依與請求中之資源相關聯的模型 KMS 金鑰篩選存取權

ARN

comprehend:OutputKmsKey

依與請求中之資源相關聯的輸出 KMS 金鑰篩選存取權

ARN

comprehend:VolumeKmsKey

依與請求中之資源相關聯的磁碟區 KMS 金鑰篩選存取權

ARN

comprehend:VpcSecurityGroupIds

依與請求中之資源相關聯的所有 VPC 安全群組 ID 清單篩選存取權

ArrayOfString

comprehend:VpcSubnets

依與請求中之資源相關聯的所有 VPC 子網路清單篩選存取權

ArrayOfString