Class AmazonS3KmsHandler
Custom pipeline handler to enable sig V4 for Get requests.
public class AmazonS3KmsHandler : PipelineHandler
- Inheritance
-
AmazonS3KmsHandler
Constructors
AmazonS3KmsHandler()
public AmazonS3KmsHandler()
Methods
InvokeAsync<T>(IExecutionContext)
Calls pre invoke logic before calling the next handler in the pipeline.
public override Task<T> InvokeAsync<T>(IExecutionContext executionContext) where T : AmazonWebServiceResponse, new()
Parameters
executionContext
IExecutionContextThe execution context, it contains the request and response context.
Returns
- Task<T>
A task that represents the asynchronous operation.
Type Parameters
T
The response type for the current request.
InvokeSync(IExecutionContext)
Calls pre invoke logic before calling the next handler in the pipeline.
public override void InvokeSync(IExecutionContext executionContext)
Parameters
executionContext
IExecutionContextThe execution context which contains both the requests and response context.
PreInvoke(IExecutionContext)
Custom pipeline handler to enable sig V4 for Get requests.
protected virtual void PreInvoke(IExecutionContext executionContext)
Parameters
executionContext
IExecutionContext