AWS IAM documentation change
Summary
Added SAP ABAP SDK code example for UpdateUser operation
Security assessment
The change adds a programming example for updating IAM users using SAP ABAP. No security vulnerabilities or security features are referenced. The example shows standard error handling for non-existent users and naming conflicts without security implications.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md b/IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md index 62a56ed84..a18ff34f2 100644 --- a//IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_UpdateUser_section.md @@ -376,0 +377,29 @@ 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. + lo_iam->updateuser( + iv_username = iv_user_name + iv_newusername = iv_new_user_name ). + MESSAGE 'User updated successfully.' TYPE 'I'. + CATCH /aws1/cx_iamnosuchentityex. + MESSAGE 'User does not exist.' TYPE 'E'. + CATCH /aws1/cx_iamentityalrdyexex. + MESSAGE 'New user name already exists.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [UpdateUser](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_.