Implement Stringify methods for the Go SDK structs that respect @sensitive #1883
Labels
feature-request
A feature should be added or improved.
l
Effort estimation: large
p3
This is a minor priority issue
queued
This issues is on the AWS team's backlog
Describe the feature
It would be nice if the
Prettify
function from https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/internal/awsutil were public (i.e. not within aninternal
path)Use Case
Debugging v2 structs is tedious without this function being available. This behavior is different from aws-sdk-go, which called
Prettify
inString()
methods.. making it even easier to inspect these when debugging.v1 also exposes prettify publicly (
github.com/aws/aws-sdk-go/aws/awsutil
), and that sorta works.. however it does not format some of the v2 structs properly.Proposed Solution
Expose
Prettify
in a public moduleOther Information
No response
Acknowledgements
AWS Go SDK V2 Module Versions Used
n/a
Go version used
1.19
The text was updated successfully, but these errors were encountered: