AWS IAM documentation change
Summary
Added SAP ABAP SDK code example for CreateUser API
Security assessment
Routine documentation update showing user creation. No security vulnerabilities or security features addressed.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md b/IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md index 78b15d88d..df1a90803 100644 --- a//IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_CreateUser_section.md @@ -767,0 +768,30 @@ 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->createuser( + iv_username = iv_user_name ). + MESSAGE 'User created successfully.' TYPE 'I'. + CATCH /aws1/cx_iamentityalrdyexex. + MESSAGE 'User already exists.' TYPE 'E'. + CATCH /aws1/cx_iamlimitexceededex. + MESSAGE 'Limit exceeded for IAM users.' TYPE 'E'. + CATCH /aws1/cx_iamnosuchentityex. + MESSAGE 'Entity does not exist.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [CreateUser](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +