mobiletargeting:UpdateSegment

Write

mobiletargeting:UpdateSegment is a Write access-level action in the mobiletargeting service. Grants permission to update a specific segment

Resource types

ARNs that mobiletargeting:UpdateSegment can be scoped to in an IAM policy.

arn:${Partition}:mobiletargeting:${Region}:${Account}:apps/${AppId}/segments/${SegmentId} required
segment

Condition keys

Keys you can use in the Condition block of a policy that grants mobiletargeting:UpdateSegment.

aws:RequestTag/${TagKey} String

Filters access by a key that is present in the request the user makes to the pinpoint service

aws:TagKeys ArrayOfString

Filters access by the list of all the tag key names present in the request the user makes to the pinpoint service

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMobiletargetingUpdateSegment",
      "Effect": "Allow",
      "Action": "mobiletargeting:UpdateSegment",
      "Resource": "*"
    }
  ]
}

Related actions in mobiletargeting

View all mobiletargeting actions →