AWS IAM documentation change
Summary
Added SAP ABAP SDK code example for GenerateCredentialReport action
Security assessment
This change documents security auditing capabilities. Credential reports are security features, but the change doesn't address a specific vulnerability.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_GenerateCredentialReport_section.md b/IAM/latest/UserGuide/iam_example_iam_GenerateCredentialReport_section.md index 506ca5c75..bc0851a0b 100644 --- a//IAM/latest/UserGuide/iam_example_iam_GenerateCredentialReport_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_GenerateCredentialReport_section.md @@ -124,0 +125,27 @@ 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->generatecredentialreport( ). + MESSAGE 'Credential report generation started.' TYPE 'I'. + CATCH /aws1/cx_iamlimitexceededex. + MESSAGE 'Report generation limit exceeded.' TYPE 'E'. + CATCH /aws1/cx_iamservicefailureex. + MESSAGE 'Service failure when generating credential report.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [GenerateCredentialReport](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_.