AWS code-library documentation change
Summary
Added SAP ABAP SDK code example for DeleteAlias operation with error handling
Security assessment
The change demonstrates proper alias deletion implementation but doesn't address any security vulnerability. It's a routine documentation update without security-specific content.
Diff
diff --git a/code-library/latest/ug/kms_example_kms_DeleteAlias_section.md b/code-library/latest/ug/kms_example_kms_DeleteAlias_section.md index d3c3468af..bb50aba04 100644 --- a//code-library/latest/ug/kms_example_kms_DeleteAlias_section.md +++ b//code-library/latest/ug/kms_example_kms_DeleteAlias_section.md @@ -159,0 +160,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/kms#code-examples). + + + TRY. + " iv_alias_name = 'alias/my-key-alias' + lo_kms->deletealias( iv_aliasname = iv_alias_name ). + MESSAGE 'Alias deleted successfully.' TYPE 'I'. + CATCH /aws1/cx_kmsnotfoundexception. + MESSAGE 'Alias not found.' TYPE 'E'. + CATCH /aws1/cx_kmskmsinternalex. + MESSAGE 'An internal error occurred.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [DeleteAlias](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +