V2 SNS Service NewFromConfig config discrepancy. #1925
Unanswered
nahwinrajan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to the SDK and kind of confused between documentation and the actual code.
Since the SDK is divided into Core and services, I am expecting that client from service folder will accept config from
github.com/aws/aws-sdk-go-v2/config
but instead it still requiregithub.com/aws/aws-sdk-go-v2/aws
Config struct.Am pretty confident that the introduction document showed that we can use the
config.LoadDefaultConfig
directly instead re-converting it back toaws.Config
.Is, getting default-config from
config.LoadDefaultConfig
then convert it back manually toaws.Config
indeed the purpose ?P.S: I know that there case of custom tinkering with the configuration, but the default setting is really good.
aws-sdk-go-v2/service/sns/api_client.go
Line 227 in 1a5887a
Beta Was this translation helpful? Give feedback.
All reactions