Skip to contents

List policy versions

Usage

aws_policy_list_versions(name, ...)

Arguments

name

(character) a policy name. required. within the function we lookup the policy arn which is what's passed to the AWS API

...

additional named arguments passed on to internal paws method (see link below to its docs)

Value

tibble with columns:

  • Document

  • VersionId

  • IsDefaultVersion

  • CreateDate

Examples

if (FALSE) { # interactive()
pols <- aws_policies()
aws_policy_list_versions(pols$PolicyName[1])
}