AWS IAM documentation change
Summary
Added SAP ABAP SDK code example for UpdateAccessKey operation
Security assessment
The change adds a programming example for the UpdateAccessKey API using SAP ABAP. There is no evidence of security vulnerability fixes or security incident references. The example demonstrates routine API usage without security-specific context.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md b/IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md index 030420a4c..cd0425a0a 100644 --- a//IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_UpdateAccessKey_section.md @@ -468,0 +469,28 @@ 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->updateaccesskey( + iv_accesskeyid = iv_access_key_id + iv_status = iv_status + iv_username = iv_user_name ). + MESSAGE 'Access key updated successfully.' TYPE 'I'. + CATCH /aws1/cx_iamnosuchentityex. + MESSAGE 'Access key or user does not exist.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [UpdateAccessKey](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +