AWS IAM documentation change
Summary
Fixed API operation names from singular to plural (e.g., GetContextKeyForCustomPolicy to GetContextKeysForCustomPolicy) in the policy simulator documentation.
Security assessment
This change corrects typographical errors in API references, ensuring documentation accuracy for policy testing tools. No security issue is mentioned or implied; it is a minor editorial fix.
Diff
diff --git a/IAM/latest/UserGuide/access_policies_testing-policies.md b/IAM/latest/UserGuide/access_policies_testing-policies.md index 8a5c34c4d..dad674e24 100644 --- a//IAM/latest/UserGuide/access_policies_testing-policies.md +++ b//IAM/latest/UserGuide/access_policies_testing-policies.md @@ -209 +209 @@ JSON -The policy simulator API operations [GetContextKeyForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeyForCustomPolicy.html) and [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) allow you to test policies that are not yet attached to a user, user group, or role. To test such policies, you pass the policies as strings to the API. These policies are used only in the simulation and do not disclose sensitive information. You can also use the API to test policies that are attached to IAM users, IAM groups, or roles in your AWS account. To do that, you must provide users with permissions to call [GetContextKeyForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeyForPrincipalPolicy.html) and [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html). +The policy simulator API operations [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) and [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) allow you to test policies that are not yet attached to a user, user group, or role. To test such policies, you pass the policies as strings to the API. These policies are used only in the simulation and do not disclose sensitive information. You can also use the API to test policies that are attached to IAM users, IAM groups, or roles in your AWS account. To do that, you must provide users with permissions to call [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html) and [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html).