iotanalytics:ListDatasetContents

List

iotanalytics:ListDatasetContents is a List access-level action in the iotanalytics service. Lists information about dataset contents that have been created

Resource types

ARNs that iotanalytics:ListDatasetContents can be scoped to in an IAM policy.

arn:${Partition}:iotanalytics:${Region}:${Account}:dataset/${DatasetName}
dataset

Condition keys

Keys you can use in the Condition block of a policy that grants iotanalytics:ListDatasetContents.

aws:RequestTag/${TagKey} String

Filters access based on the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access based on the presence of tag keys in the request

iotanalytics:ResourceTag/${TagKey} String

Filters access by the tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIotanalyticsListDatasetContents",
      "Effect": "Allow",
      "Action": "iotanalytics:ListDatasetContents",
      "Resource": "*"
    }
  ]
}

Related actions in iotanalytics

View all iotanalytics actions →