Describe the feature
Currently, the AWSClient class has a private vector of Interceptors. This vector is hardcoded and there is no way to mutate it. Will it be possible to have an AddInterceptors/SetInterceptors where we can supply a vector of interceptors that will be added to this m_interceptors vector?
This will allow callers to add middleware to the existing clients cleanly.
Use Case
This feature can help in adding custom middleware while communicating with AWS.
For e.g. I am adding custom headers to the response being sent by S3 and having an interceptors would allow me to access the http response in my custom interceptor.
Proposed Solution
No response
Other Information
This feature request is based on this discussion: #3813
Acknowledgements
Describe the feature
Currently, the
AWSClientclass has a private vector ofInterceptors. This vector is hardcoded and there is no way to mutate it. Will it be possible to have anAddInterceptors/SetInterceptorswhere we can supply a vector of interceptors that will be added to thism_interceptorsvector?This will allow callers to add middleware to the existing clients cleanly.
Use Case
This feature can help in adding custom middleware while communicating with AWS.
For e.g. I am adding custom headers to the response being sent by S3 and having an interceptors would allow me to access the http response in my custom interceptor.
Proposed Solution
No response
Other Information
This feature request is based on this discussion: #3813
Acknowledgements