Create Policy Store Alias
| verifiedpermissions_create_policy_store_alias | R Documentation |
Creates a policy store alias for the specified policy store¶
Description¶
Creates a policy store alias for the specified policy store. A policy store alias is an alternative identifier that you can use to reference a policy store in API operations.
This operation is idempotent. If multiple CreatePolicyStoreAlias
requests are made where the aliasName and policyStoreId fields are
the same between the requests, subsequent requests will be ignored. For
each duplicate CreatePolicyStoreAlias request, a Success response will
be returned and a new policy store alias will not be created.
Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations.
Usage¶
verifiedpermissions_create_policy_store_alias(aliasName, policyStoreId)
Arguments¶
aliasName |
[required] Specifies the name of the policy store alias to create. The name must be unique within your Amazon Web Services account and Amazon Web Services Region. The alias name must always be prefixed with |
policyStoreId |
[required] Specifies the ID of the policy store to associate with the alias. The associated policy store must be specified using its ID. The alias name cannot be used. |
Value¶
A list with the following syntax:
list(
aliasName = "string",
policyStoreId = "string",
aliasArn = "string",
createdAt = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$create_policy_store_alias(
aliasName = "string",
policyStoreId = "string"
)