Last active
January 17, 2019 06:26
-
-
Save tarun4279/6d6457c89e114e7ebef321d480fce48f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSSigner awsSigner = new AWSSigner(new DefaultAWSCredentialsProviderChain(), region.getName(), SERVICE_NAME, | |
() -> LocalDateTime.now(ZoneId.of("UTC"))); | |
AWSSigningRequestInterceptor requestInterceptor = new AWSSigningRequestInterceptor(awsSigner); | |
// extract httpclient builder of the aws resource client and set the request interceptor | |
builder.addInterceptorLast(requestInterceptor); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment