frauddetector:GetLabels

List

frauddetector:GetLabels is a List access-level action in the frauddetector service. Grants permission to get all labels or a specific label if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse as part of your request. A null pagination token fetches the records from the beginning

Resource types

ARNs that frauddetector:GetLabels can be scoped to in an IAM policy.

arn:${Partition}:frauddetector:${Region}:${Account}:label/${ResourcePath}
label

Condition keys

Keys you can use in the Condition block of a policy that grants frauddetector:GetLabels.

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowFrauddetectorGetLabels",
      "Effect": "Allow",
      "Action": "frauddetector:GetLabels",
      "Resource": "*"
    }
  ]
}

Related actions in frauddetector

View all frauddetector actions →