AWS kms documentation change
Summary
Added SAP ABAP SDK code example for DeleteAlias operation
Security assessment
Added alias deletion example with error cases. Documents security feature (key management) without addressing specific security issues.
Diff
diff --git a/kms/latest/developerguide/example_kms_DeleteAlias_section.md b/kms/latest/developerguide/example_kms_DeleteAlias_section.md index bc079f723..1624e3bcf 100644 --- a//kms/latest/developerguide/example_kms_DeleteAlias_section.md +++ b//kms/latest/developerguide/example_kms_DeleteAlias_section.md @@ -157,0 +158,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_. + + + +