AWS IAM documentation change
Summary
Added SAP ABAP SDK code example for CreateAccountAlias action with error handling for existing aliases and limits
Security assessment
This adds documentation for account alias management in SAP ABAP. The error handling cases don't reference security vulnerabilities or weaknesses. Account aliases are convenience features without direct security implications.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_CreateAccountAlias_section.md b/IAM/latest/UserGuide/iam_example_iam_CreateAccountAlias_section.md index 4896892e4..1023403cc 100644 --- a//IAM/latest/UserGuide/iam_example_iam_CreateAccountAlias_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_CreateAccountAlias_section.md @@ -387,0 +388,28 @@ List, create, and delete account aliases. +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->createaccountalias( + iv_accountalias = iv_account_alias ). + MESSAGE 'Account alias created successfully.' TYPE 'I'. + CATCH /aws1/cx_iamentityalrdyexex. + MESSAGE 'Account alias already exists.' TYPE 'E'. + CATCH /aws1/cx_iamlimitexceededex. + MESSAGE 'Account alias limit exceeded.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [CreateAccountAlias](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +