AWS code-library documentation change
Summary
Added SAP ABAP SDK code example for PutBucketAcl API with grant write permissions example
Security assessment
Documents ACL modification capabilities which are security-related configurations, but does not address specific vulnerabilities.
Diff
diff --git a/code-library/latest/ug/s3_example_s3_PutBucketAcl_section.md b/code-library/latest/ug/s3_example_s3_PutBucketAcl_section.md index ff39f184d..8bbe58e92 100644 --- a//code-library/latest/ug/s3_example_s3_PutBucketAcl_section.md +++ b//code-library/latest/ug/s3_example_s3_PutBucketAcl_section.md @@ -510,0 +511,29 @@ 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/s3#code-examples). + + + TRY. + " Example: Grant log delivery access to a bucket + " iv_grantwrite = 'uri=http://acs.amazonaws.com/groups/s3/LogDelivery' + lo_s3->putbucketacl( + iv_bucket = iv_bucket_name + iv_grantwrite = iv_grantwrite ). + MESSAGE 'Bucket ACL updated.' TYPE 'I'. + CATCH /aws1/cx_s3_nosuchbucket. + MESSAGE 'Bucket does not exist.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [PutBucketAcl](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +