forecast:UntagResource

Tagging

forecast:UntagResource is a Tagging access-level action in the forecast service. Grants permission to delete the specified tags for a resource

Resource types

ARNs that forecast:UntagResource can be scoped to in an IAM policy.

arn:${Partition}:forecast:${Region}:${Account}:dataset/${ResourceId}
dataset
arn:${Partition}:forecast:${Region}:${Account}:dataset-group/${ResourceId}
datasetGroup
arn:${Partition}:forecast:${Region}:${Account}:dataset-import-job/${ResourceId}
datasetImportJob
arn:${Partition}:forecast:${Region}:${Account}:forecast-endpoint/${ResourceId}
endpoint
arn:${Partition}:forecast:${Region}:${Account}:explainability/${ResourceId}
explainability
arn:${Partition}:forecast:${Region}:${Account}:explainability-export/${ResourceId}
explainabilityExport
arn:${Partition}:forecast:${Region}:${Account}:forecast/${ResourceId}
forecast
arn:${Partition}:forecast:${Region}:${Account}:forecast-export-job/${ResourceId}
forecastExport
arn:${Partition}:forecast:${Region}:${Account}:monitor/${ResourceId}
monitor
arn:${Partition}:forecast:${Region}:${Account}:predictor/${ResourceId}
predictor
arn:${Partition}:forecast:${Region}:${Account}:predictor-backtest-export-job/${ResourceId}
predictorBacktestExportJob
arn:${Partition}:forecast:${Region}:${Account}:what-if-analysis/${ResourceId}
whatIfAnalysis
arn:${Partition}:forecast:${Region}:${Account}:what-if-forecast/${ResourceId}
whatIfForecast
arn:${Partition}:forecast:${Region}:${Account}:what-if-forecast-export/${ResourceId}
whatIfForecastExport

Condition keys

Keys you can use in the Condition block of a policy that grants forecast:UntagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowForecastUntagResource",
      "Effect": "Allow",
      "Action": "forecast:UntagResource",
      "Resource": "*"
    }
  ]
}

Related actions in forecast

View all forecast actions →