AWS Clean Rooms ML 的動作、資源和條件索引鍵 - 服務授權參考

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

AWS Clean Rooms ML 的動作、資源和條件索引鍵

AWS Clean Rooms ML (服務字首:cleanrooms-ml) 提供下列服務特有的資源、動作和條件內容索引鍵,可用於 IAM 許可政策。

參考資料:

AWS Clean Rooms ML 定義的動作

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

「動作」資料表的資源類型欄會指出每個動作是否支援資源層級的許可。如果此欄沒有值,您必須在政策陳述式的 Resource 元素中指定政策適用的所有資源 ("*")。如果資料欄包含資源類型,則您可以在具有該動作的陳述式中指定該類型的 ARN。如果動作具有一或多個必要資源,呼叫者必須具有對這些資源使用動作的許可。表格中的必要資源會以星號 (*) 表示。如果您使用 IAM 政策中的 Resource 元素限制資源存取,則每種必要的資源類型必須要有 ARN 或模式。某些動作支援多種資源類型。如果資源類型是選用 (未顯示為必要),則您可以選擇使用其中一種選用資源類型。

「動作」資料表的條件索引鍵欄包含您可以在政策陳述式的 Condition 元素中指定的索引鍵。如需有關與服務資源相關聯之條件索引鍵的詳細資訊,請參閱「資源類型」資料表的條件索引鍵欄。

注意

資源條件索引鍵會列在資源類型資料表中。您可以在「動作」資料表的資源類型 (*必填) 欄中找到適用於動作的資源類型連結。「資源類型」資料表中的資源類型包括條件索引鍵欄,其中包含套用至「動作」資料表中動作的資源條件索引鍵。

如需下表各欄的詳細資訊,請參閱動作資料表

動作 描述 存取層級 資源類型 (*必填項目) 條件索引鍵 相依動作
CancelTrainedModel 准許取消訓練過的模型 寫入

TrainedModel*

aws:RequestTag/${TagKey}

aws:TagKeys

CancelTrainedModelInferenceJob 准許取消訓練過的模型推論任務 寫入

TrainedModelInferenceJob*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateAudienceModel 准許建立受眾模型 寫入

trainingdataset*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateConfiguredAudienceModel 准許建立設定受眾模型 寫入

audiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateConfiguredModelAlgorithm 准許建立設定的模型演算法 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

CreateConfiguredModelAlgorithmAssociation 准許建立設定的模型演算法關聯 寫入

ConfiguredModelAlgorithm*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateMLInputChannel 准許建立 ML 輸入通道 寫入

ConfiguredModelAlgorithmAssociation*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateTrainedModel 准許建立訓練過的模型 寫入

ConfiguredModelAlgorithmAssociation*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateTrainingDataset 准許建立訓練資料集或種子受眾。在 Clean Rooms ML 中,TrainingDataset 是指向 Glue 資料表的中繼資料,該資料表在受眾模型建立期間處於唯讀狀態 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteAudienceGenerationJob 准許刪除指定的對象產生任務,並移除與任務相關聯的所有資料 寫入

audiencegenerationjob*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteAudienceModel 准許刪除指定的對象產生任務,並移除與任務相關聯的所有資料 寫入

audiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteConfiguredAudienceModel 准許刪除指定的設定受眾模型 寫入

configuredaudiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteConfiguredAudienceModelPolicy 准許刪除指定的受眾模型政策 寫入

configuredaudiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteConfiguredModelAlgorithm 准許刪除設定的模型演算法 寫入

ConfiguredModelAlgorithm*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteConfiguredModelAlgorithmAssociation 准許刪除設定的模型演算法關聯 寫入

ConfiguredModelAlgorithmAssociation*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteMLConfiguration 准許刪除 ML 組態 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteMLInputChannelData 准許刪除與 ML 輸入通道相關聯的所有資料 寫入

MLInputChannel*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteTrainedModelOutput 准許刪除與訓練模型相關聯的所有輸出 寫入

TrainedModel*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteTrainingDataset 准許刪除訓練資料集 寫入

trainingdataset*

aws:RequestTag/${TagKey}

aws:TagKeys

GetAudienceGenerationJob 准許傳回受眾產生任務的相關資訊 讀取

audiencegenerationjob*

aws:RequestTag/${TagKey}

aws:TagKeys

GetAudienceModel 准許傳回受眾模型的相關資訊 讀取

audiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

GetCollaborationConfiguredModelAlgorithmAssociation 准許傳回協作中任何成員所建立之已設定模型演算法關聯的相關資訊 讀取

ConfiguredModelAlgorithmAssociation*

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

GetCollaborationMLInputChannel 准許傳回協作中任何成員所建立之 ML 輸入管道的相關資訊 讀取

MLInputChannel*

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

GetCollaborationTrainedModel 准許傳回協作中任何成員所建立之訓練模型的相關資訊 讀取

TrainedModel*

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

GetConfiguredAudienceModel 准許傳回設定受眾模型的相關資訊 讀取

configuredaudiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

GetConfiguredAudienceModelPolicy 准許傳回設定受眾模型政策的相關資訊 讀取

configuredaudiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

GetConfiguredModelAlgorithm 准許傳回已設定模型演算法的相關資訊 讀取

ConfiguredModelAlgorithm*

aws:RequestTag/${TagKey}

aws:TagKeys

GetConfiguredModelAlgorithmAssociation 准許傳回已設定模型演算法關聯的相關資訊 讀取

ConfiguredModelAlgorithmAssociation*

aws:RequestTag/${TagKey}

aws:TagKeys

GetMLConfiguration 准許傳回 ML 組態的相關資訊 讀取

aws:RequestTag/${TagKey}

aws:TagKeys

GetMLInputChannel 准許傳回 ML 輸入頻道的相關資訊 讀取

MLInputChannel*

aws:RequestTag/${TagKey}

aws:TagKeys

GetTrainedModel 准許傳回有關訓練模型的資訊 讀取

TrainedModel*

aws:RequestTag/${TagKey}

aws:TagKeys

GetTrainedModelInferenceJob 准許傳回訓練模型推論任務的相關資訊 讀取

TrainedModelInferenceJob*

aws:RequestTag/${TagKey}

aws:TagKeys

GetTrainingDataset 准許傳回訓練資料集的相關資訊 讀取

trainingdataset*

aws:RequestTag/${TagKey}

aws:TagKeys

ListAudienceExportJobs 准許傳回受眾匯出任務的清單 清單

audiencegenerationjob

aws:RequestTag/${TagKey}

aws:TagKeys

ListAudienceGenerationJobs 准許傳回受眾產生任務的清單 清單

configuredaudiencemodel

aws:RequestTag/${TagKey}

aws:TagKeys

ListAudienceModels 准許傳回受眾模型的清單 清單
ListCollaborationConfiguredModelAlgorithmAssociations 准許傳回協作中任何成員建立的已設定模型演算法清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

ListCollaborationMLInputChannels 准許傳回協作中任何成員建立的 ML 輸入通道清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

ListCollaborationTrainedModelExportJobs 准許傳回協作中任何成員啟動的已訓練模型匯出任務清單 清單

TrainedModel*

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

ListCollaborationTrainedModelInferenceJobs 准許傳回由協作中任何成員啟動的訓練模型推論任務清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

ListCollaborationTrainedModels 准許傳回協作中任何成員建立的訓練模型清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

ListConfiguredAudienceModels 准許傳回設定受眾模型的清單 清單
ListConfiguredModelAlgorithmAssociations 准許傳回已設定模型演算法關聯的清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

ListConfiguredModelAlgorithms 准許傳回設定的模型演算法清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

ListMLInputChannels 准許傳回 ML 輸入通道清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

ListTagsForResource 准許傳回所提供資源的標籤清單 清單

audiencegenerationjob

audiencemodel

configuredaudiencemodel

trainingdataset

aws:TagKeys

aws:ResourceTag/${TagKey}

ListTrainedModelInferenceJobs 准許傳回訓練過的模型推論任務清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

ListTrainedModels 准許傳回訓練過的模型清單 清單

aws:RequestTag/${TagKey}

aws:TagKeys

ListTrainingDatasets 准許傳回訓練資料集的清單 清單
PutConfiguredAudienceModelPolicy 准許建立或更新設定受眾模型的資源政策 許可管理

configuredaudiencemodel*

PutMLConfiguration 准許放置 ML 組態 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

StartAudienceExportJob 准許在產生受眾之後匯出指定大小的受眾 寫入

audiencegenerationjob*

aws:RequestTag/${TagKey}

aws:TagKeys

StartAudienceGenerationJob 准許啟動受眾產生任務 寫入

configuredaudiencemodel*

aws:RequestTag/${TagKey}

aws:TagKeys

cleanrooms-ml:CollaborationId

StartTrainedModelExportJob 准許啟動訓練過的模型匯出任務 寫入

TrainedModel*

aws:RequestTag/${TagKey}

aws:TagKeys

StartTrainedModelInferenceJob 准許啟動訓練過的模型推論任務 寫入

ConfiguredModelAlgorithmAssociation*

MLInputChannel*

TrainedModel*

aws:RequestTag/${TagKey}

aws:TagKeys

TagResource 准許標記特定的資源 標記

ConfiguredModelAlgorithm

ConfiguredModelAlgorithmAssociation

MLInputChannel

TrainedModel

TrainedModelInferenceJob

audiencegenerationjob

audiencemodel

configuredaudiencemodel

trainingdataset

aws:TagKeys

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

UnTagResource 准許取消標記特定的資源 標記

ConfiguredModelAlgorithm

ConfiguredModelAlgorithmAssociation

MLInputChannel

TrainedModel

TrainedModelInferenceJob

audiencegenerationjob

audiencemodel

configuredaudiencemodel

trainingdataset

aws:TagKeys

aws:ResourceTag/${TagKey}

UpdateConfiguredAudienceModel 准許更新設定受眾模型。 寫入

configuredaudiencemodel*

audiencemodel

aws:RequestTag/${TagKey}

aws:TagKeys

AWS Clean Rooms ML 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。動作表格中的每個動作都代表可使用該動作指定的資源類型。資源類型也能定義您可以在政策中包含哪些條件索引鍵。這些索引鍵都會顯示在「資源類型」資料表的最後一欄。如需下表各欄的詳細資訊,請參閱資源類型資料表

資源類型 ARN 條件索引鍵
trainingdataset arn:${Partition}:cleanrooms-ml:${Region}:${Account}:training-dataset/${ResourceId}

aws:ResourceTag/${TagKey}

audiencemodel arn:${Partition}:cleanrooms-ml:${Region}:${Account}:audience-model/${ResourceId}

aws:ResourceTag/${TagKey}

configuredaudiencemodel arn:${Partition}:cleanrooms-ml:${Region}:${Account}:configured-audience-model/${ResourceId}

aws:ResourceTag/${TagKey}

audiencegenerationjob arn:${Partition}:cleanrooms-ml:${Region}:${Account}:audience-generation-job/${ResourceId}

aws:ResourceTag/${TagKey}

ConfiguredModelAlgorithm arn:${Partition}:cleanrooms-ml:${Region}:${Account}:configured-model-algorithm/${ResourceId}

aws:ResourceTag/${TagKey}

ConfiguredModelAlgorithmAssociation arn:${Partition}:cleanrooms-ml:${Region}:${Account}:membership/${MembershipId}/configured-model-algorithm-association/${ResourceId}

aws:ResourceTag/${TagKey}

MLInputChannel arn:${Partition}:cleanrooms-ml:${Region}:${Account}:membership/${MembershipId}/ml-input-channel/${ResourceId}

aws:ResourceTag/${TagKey}

TrainedModel arn:${Partition}:cleanrooms-ml:${Region}:${Account}:membership/${MembershipId}/trained-model/${ResourceId}

aws:ResourceTag/${TagKey}

TrainedModelInferenceJob arn:${Partition}:cleanrooms-ml:${Region}:${Account}:membership/${MembershipId}/trained-model-inference-job/${ResourceId}

aws:ResourceTag/${TagKey}

AWS Clean Rooms ML 的條件索引鍵

AWS Clean Rooms ML 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。您可以使用這些索引鍵來縮小套用政策陳述式的條件。如需下表各欄的詳細資訊,請參閱條件索引鍵表

若要檢視所有服務都可使用的全域條件鍵,請參閱可用全域條件鍵

條件索引鍵 描述 Type
aws:RequestTag/${TagKey} 依請求中的標籤鍵值對是否存在篩選存取權 字串
aws:ResourceTag/${TagKey} 依連接到資源的標籤鍵值對篩選存取權 字串
aws:TagKeys 依請求中是否存在標籤索引鍵來篩選存取 ArrayOfString
cleanrooms-ml:CollaborationId 依 Clean Rooms 協作 ID 篩選存取權 字串