What is the C# API equivalent to customizedAccessLogTag in C++? #2060
-
I want to add custom tags to S3 access log as described below. I know there is a C++ API customizedAccessLogTag for it. Does anyone know how to do that in C#? Any feedback or idea is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@Leo99Light Thanks for posting the question. Unfortunately, there is no equivalent property of C++ API Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@Leo99Light Thanks for posting the question. Unfortunately, there is no equivalent property of C++ API
customizedAccessLogTag
in AWS SDK for .NETTransferUtility
. However, the documentation for Custom access log information specifies that the value is a parameter withx-
prefix. Also, https://sdk.amazonaws.com/cpp/api/LATEST/struct_aws_1_1_transfer_1_1_transfer_manager_configuration.html#a8f5d7ff6515b28523d99fcaabf62f655 specifies thatcustomizedAccessLogTag
is just a map of key-value pairs. You may try workaround of adding these custom values with keys havingx-
as prefix inHeaders
collection ofTransferUtilityUploadRequest
. I'm unsure if it would work, but worth giving a try.Thanks,
A…