Package software.amazon.awssdk.crt.s3
Interface S3ExpressCredentialsProviderHandler
-
public interface S3ExpressCredentialsProviderHandler
Interface to override the S3Express Credentials provider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Void>
destroyProvider()
Invoked when the S3 client starts to destroy to clean up related resource.CompletableFuture<Credentials>
getS3ExpressCredentials(S3ExpressCredentialsProperties properties, Credentials origCredentials)
To resolve the S3Express Credentials.
-
-
-
Method Detail
-
getS3ExpressCredentials
CompletableFuture<Credentials> getS3ExpressCredentials(S3ExpressCredentialsProperties properties, Credentials origCredentials)
To resolve the S3Express Credentials. Invoked when a single request needs to be signed.- Parameters:
properties
- The properties needed to derive the S3Express credentials from.origCredentials
- The original Credentials for fetching S3Express credentials.- Returns:
- The future to be resolved when the S3 Express credentials are resolved.
-
destroyProvider
CompletableFuture<Void> destroyProvider()
Invoked when the S3 client starts to destroy to clean up related resource.- Returns:
- The future to be resolved when the resource finishes cleaning up.
-
-