Using ToUniversalTime()
results in an incorrect timestamp as the UTC conversion is repeated when the event is marshalled:
https://github.com/aws/aws-sdk-net/blob/0fb3f01067713d215363ec098a92d3ee05898434/sdk/src/Core/Amazon.Runtime/Internal/Transform/CustomMarshallTransformations.cs#L12
|
$logEntry.Timestamp = (Get-Date).ToUniversalTime() |
This isn't too obvious from the docs, perhaps it could also be clarified there?