Retrieves information about a group (batch) of policies¶
Description¶
Retrieves information about a group (batch) of policies.
The batch_get_policy operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission verifiedpermissions:GetPolicy in their IAM policies.
Usage¶
Arguments¶
-
requests[required] An array of up to 100 policies you want information about.
Value¶
A list with the following syntax:
list(
results = list(
list(
policyStoreId = "string",
policyId = "string",
policyType = "STATIC"|"TEMPLATE_LINKED",
definition = list(
static = list(
description = "string",
statement = "string"
),
templateLinked = list(
policyTemplateId = "string",
principal = list(
entityType = "string",
entityId = "string"
),
resource = list(
entityType = "string",
entityId = "string"
)
)
),
createdDate = as.POSIXct(
"2015-01-01"
),
lastUpdatedDate = as.POSIXct(
"2015-01-01"
),
name = "string"
)
),
errors = list(
list(
code = "POLICY_STORE_NOT_FOUND"|"POLICY_NOT_FOUND"|"POLICY_STORE_ALIAS_NOT_FOUND",
policyStoreId = "string",
policyId = "string",
message = "string"
)
)
)