machinelearning:DeleteDataSource

Write

machinelearning:DeleteDataSource is a Write access-level action in the machinelearning service. Assigns the DELETED status to a DataSource, rendering it unusable

Resource types

ARNs that machinelearning:DeleteDataSource can be scoped to in an IAM policy.

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

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows machinelearning:DeleteDataSource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMachinelearningDeleteDataSource",
      "Effect": "Allow",
      "Action": "machinelearning:DeleteDataSource",
      "Resource": "*"
    }
  ]
}

Related actions in machinelearning

View all machinelearning actions →