Fix IamPolicy code example #4229
Labels
bug
This issue is a bug.
documentation
This is a problem with documentation.
p2
This is a standard priority issue
Describe the issue
The second code snippet in the Javadoc contains an error.
The eighth line of the snippet:
does not work because
getPolicyVersionResponse.policyVersion().document()
returns a URL-encoded string.I needed to change it to the following for the example to work:
Links
https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/policybuilder/iam/IamPolicy.html
The text was updated successfully, but these errors were encountered: