AWS IAM documentation change
Summary
Added SAP ABAP SDK code example for ListPolicies API
Security assessment
Change adds routine SDK implementation example without security context. No vulnerabilities or security improvements are addressed.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_ListPolicies_section.md b/IAM/latest/UserGuide/iam_example_iam_ListPolicies_section.md index 400edf92f..9d74190be 100644 --- a//IAM/latest/UserGuide/iam_example_iam_ListPolicies_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_ListPolicies_section.md @@ -684,0 +685,25 @@ There's more on GitHub. Find the complete example and learn how to set up and ru +SAP ABAP + + +**SDK for SAP ABAP** + + +###### Note + +There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/iam#code-examples). + + + TRY. + oo_result = lo_iam->listpolicies( iv_scope = iv_scope ). + MESSAGE 'Retrieved policy list.' TYPE 'I'. + CATCH /aws1/cx_iamservicefailureex. + MESSAGE 'Service failure when listing policies.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [ListPolicies](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +