aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

EC2 IMDS Client Does Not Support Logger or ClientLogMode which prevents logging of HTTP Request and Responses

Open skmcgrail opened this issue 4 years ago • 0 comments

EC2 IMDS Client does not attach the RequestResponseLogger deserialize middleware which results in the ClientLogMode options being ignored.

Additionally the IMDS client does not call AddSetLoggerMiddleware to register the clients logger with the stack middleware.

When fixing this issue the Logger and ClientLogMode will also need to support being resolved from aws.Config via the NewFromConfig constructor.

skmcgrail avatar Jun 29 '21 23:06 skmcgrail