View a markdown version of this page

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

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

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

參考資料:

Amazon Machine Learning 定義的 API 操作

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

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

AddTags

machinelearning:AddTags

標記、寫入

CreateBatchPrediction

machinelearning:CreateBatchPrediction

寫入

CreateDataSourceFromRedshift

machinelearning:CreateDataSourceFromRedshift

寫入

iam:PassRole

寫入

CreateDataSourceFromS3

machinelearning:CreateDataSourceFromS3

寫入

CreateEvaluation

machinelearning:CreateEvaluation

寫入

CreateMLModel

machinelearning:CreateMLModel

寫入

CreateRealtimeEndpoint

machinelearning:CreateRealtimeEndpoint

寫入

DeleteBatchPrediction

machinelearning:DeleteBatchPrediction

寫入

DeleteDataSource

machinelearning:DeleteDataSource

寫入

DeleteEvaluation

machinelearning:DeleteEvaluation

寫入

DeleteMLModel

machinelearning:DeleteMLModel

寫入

DeleteRealtimeEndpoint

machinelearning:DeleteRealtimeEndpoint

寫入

DescribeBatchPredictions

machinelearning:DescribeBatchPredictions

清單

DescribeDataSources

machinelearning:DescribeDataSources

清單

DescribeEvaluations

machinelearning:DescribeEvaluations

清單

DescribeMLModels

machinelearning:DescribeMLModels

清單

DescribeTags

machinelearning:DescribeTags

清單

GetBatchPrediction

machinelearning:GetBatchPrediction

讀取

GetDataSource

machinelearning:GetDataSource

讀取

GetEvaluation

machinelearning:GetEvaluation

讀取

GetMLModel

machinelearning:GetMLModel

讀取

預測

machinelearning:Predict

寫入

Amazon Machine Learning 定義的動作

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

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

AddTags

將一或多個標籤新增至物件,最多可達 10 個物件。每個標籤皆包含一個金鑰和一個選用值。

batchprediction

標記、寫入

資料來源

評估

ml 模型

CreateBatchPrediction

產生觀察的群組預測

batchprediction*

寫入

資料來源*

ml 模型*

CreateDataSourceFromRDS

從 Amazon RDS 建立 DataSource 物件

資料來源*

寫入

CreateDataSourceFromRedshift

從 Amazon Redshift 叢集上託管的資料庫建立 DataSource

資料來源*

寫入

CreateDataSourceFromS3

從 S3 建立 DataSource 物件

資料來源*

寫入

CreateEvaluation

建立新的 MLModel 評估

資料來源*

寫入

評估*

ml 模型*

CreateMLModel

建立新 MLModel

資料來源*

寫入

ml 模型*

CreateRealtimeEndpoint

建立即時的 MLModel 端點

ml 模型*

寫入

DeleteBatchPrediction

將「已刪除」(DELETED) 狀態指派到 BatchPrediction,因此無法使用

batchprediction*

寫入

DeleteDataSource

將「已刪除」(DELETED) 狀態指派到 DataSource,因此無法使用

資料來源*

寫入

DeleteEvaluation

將「已刪除」(DELETED) 狀態指派到評估,因此無法使用

評估*

寫入

DeleteMLModel

將「已刪除」(DELETED) 狀態指派到 MLModel,因此無法使用

ml 模型*

寫入

DeleteRealtimeEndpoint

刪除即時 MLModel 端點

ml 模型*

寫入

DeleteTags

刪除與 ML 物件相連的指定標籤。完成此操作之後,您無法恢復已刪除的標籤

batchprediction

標記、寫入

資料來源

評估

ml 模型

DescribeBatchPredictions

傳回符合要求中搜尋條件的 BatchPrediction 操作清單

清單

DescribeDataSources

傳回符合要求中搜尋條件的 DataSource 清單

清單

DescribeEvaluations

傳回符合要求中搜尋條件的 DescribeEvaluations 清單

清單

DescribeMLModels

傳回符合要求中搜尋條件的 MLModel 清單

清單

DescribeTags

說明您的一或多個 Amazon ML 物件標籤

batchprediction

清單

資料來源

評估

ml 模型

GetBatchPrediction

傳回 BatchPrediction,其中包含詳細的中繼資料、狀態和資料檔案的資訊

batchprediction*

讀取

GetDataSource

傳回 DataSource,其中包含中繼資料和資料檔案的資訊,以及 DataSource 的目前狀態

資料來源*

讀取

GetEvaluation

傳回評估,其中包含中繼資料以及評估的目前狀態

資料來源*

讀取

GetMLModel

傳回 MLModel,其中包含詳細的中繼資料和資料來源的資料,以及 MLModel 目前狀態

ml 模型*

讀取

預測

產生使用指定的 ML Model 觀察預測

ml 模型*

寫入

UpdateBatchPrediction

更新 BatchPrediction 的 BatchPredictionName

batchprediction*

寫入

UpdateDataSource

更新 DataSource 的 DataSourceName

資料來源*

寫入

UpdateEvaluation

更新評估的 EvaluationName

評估*

寫入

UpdateMLModel

更新的 MLModelName 與 MLModel 的 ScoreThreshold

ml 模型*

寫入

Amazon Machine Learning 定義的資源類型

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

資源類型 ARN 條件索引鍵

batchprediction

arn:${Partition}:machinelearning:${Region}:${Account}:batchprediction/${BatchPredictionId}

資料來源

arn:${Partition}:machinelearning:${Region}:${Account}:datasource/${DatasourceId}

評估

arn:${Partition}:machinelearning:${Region}:${Account}:evaluation/${EvaluationId}

ml 模型

arn:${Partition}:machinelearning:${Region}:${Account}:mlmodel/${MlModelId}

Amazon Machine Learning 的條件索引鍵

Amazon Machine Learning 沒有可在政策陳述式 Condition元素中使用的服務特定條件索引鍵。